Searched defs:cmd (Results 226 - 250 of 2055) sorted by relevance

1234567891011>>

/drivers/s390/cio/
H A Dorb.h86 struct cmd_orb cmd; member in union:orb
/drivers/sbus/char/
H A Ddisplay7seg.c103 static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
114 switch (cmd) {
/drivers/scsi/
H A Da2091.c41 static int dma_setup(struct scsi_cmnd *cmd, int dir_in) argument
43 struct Scsi_Host *instance = cmd->device->host;
48 unsigned long addr = virt_to_bus(cmd->SCp.ptr);
52 wh->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff;
76 memcpy(wh->dma_bounce_buffer, cmd->SCp.ptr,
77 cmd->SCp.this_residual);
95 cache_clear(addr, cmd->SCp.this_residual);
98 cache_push(addr, cmd->SCp.this_residual);
150 static int a2091_bus_reset(struct scsi_cmnd *cmd) argument
152 struct Scsi_Host *instance = cmd
[all...]
/drivers/scsi/aacraid/
H A Dcomminit.c206 struct aac_close *cmd; local
214 cmd = (struct aac_close *) fib_data(fibctx);
216 cmd->command = cpu_to_le32(VM_CloseAll);
217 cmd->cid = cpu_to_le32(0xfffffffe);
/drivers/scsi/aic7xxx/
H A Daic7xxx_93cx6.c111 send_seeprom_cmd(struct seeprom_descriptor *sd, const struct seeprom_cmd *cmd) argument
121 for (i = 0; i < cmd->len; i++) {
122 if (cmd->bits[i] != 0)
128 if (cmd->bits[i] != 0)
/drivers/scsi/qla4xxx/
H A Dql4_nvram.c13 static inline void eeprom_cmd(uint32_t cmd, struct scsi_qla_host *ha) argument
15 writel(cmd, isp_nvram(ha));
45 static int fm93c56a_cmd(struct scsi_qla_host * ha, int cmd, int addr) argument
66 (cmd & mask) ? AUBURN_EEPROM_DO_1 : AUBURN_EEPROM_DO_0;
81 cmd = cmd << 1;
/drivers/staging/android/uapi/
H A Dion.h119 * @cmd: the custom ioctl function to call
123 * This works just like the regular cmd and arg fields of an ioctl.
126 unsigned int cmd; member in struct:ion_custom_data
/drivers/staging/bcm/
H A DBcmnet.c127 static int bcm_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) argument
129 cmd->supported = 0;
130 cmd->advertising = 0;
131 cmd->speed = SPEED_10000;
132 cmd->duplex = DUPLEX_FULL;
133 cmd->port = PORT_TP;
134 cmd->phy_address = 0;
135 cmd->transceiver = XCVR_INTERNAL;
136 cmd->autoneg = AUTONEG_DISABLE;
137 cmd
[all...]
/drivers/staging/comedi/drivers/
H A Dc6xdigio.c81 unsigned int cmd,
92 return c6xdigio_write_data(dev, cmd, status);
98 unsigned int cmd = C6XDIGIO_DATA_PWM | C6XDIGIO_DATA_CHAN(chan); local
107 c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00);
109 c6xdigio_write_data(dev, cmd | bits | (1 << 2), 0x80);
111 c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00);
113 c6xdigio_write_data(dev, cmd | bits | (1 << 2), 0x80);
115 c6xdigio_write_data(dev, cmd | bits | (0 << 2), 0x00);
123 unsigned int cmd = C6XDIGIO_DATA_ENCODER | C6XDIGIO_DATA_CHAN(chan); local
127 c6xdigio_write_data(dev, cmd,
79 c6xdigio_get_encoder_bits(struct comedi_device *dev, unsigned int *bits, unsigned int cmd, unsigned int status) argument
[all...]
H A Dni_labpc_isadma.c37 static unsigned int labpc_suggest_transfer_size(const struct comedi_cmd *cmd) argument
42 if (cmd->convert_src == TRIG_TIMER)
43 freq = 1000000000 / cmd->convert_arg;
63 struct comedi_cmd *cmd = &s->async->cmd; local
73 devpriv->dma_transfer_size = labpc_suggest_transfer_size(cmd);
74 if (cmd->stop_src == TRIG_COUNT &&
90 struct comedi_cmd *cmd = &async->cmd; local
112 if (cmd
[all...]
/drivers/staging/line6/
H A Dmidibuf.c257 int cmd = this->command_prev; local
259 if ((cmd >= 0x80) && (cmd < 0xf0))
260 if ((mask & (1 << (cmd & 0x0f))) == 0)
/drivers/staging/lustre/lnet/selftest/
H A Dconctl.c816 lstcon_ioctl_entry(unsigned int cmd, struct libcfs_ioctl_data *data) argument
822 if (cmd != IOC_LIBCFS_LNETST)
/drivers/staging/lustre/lustre/libcfs/
H A Dmodule.c220 static int libcfs_ioctl_int(struct cfs_psdev_file *pfile, unsigned long cmd, argument
225 switch (cmd) {
275 err = hand->handle_ioctl(cmd, data);
291 static int libcfs_ioctl(struct cfs_psdev_file *pfile, unsigned long cmd, void *arg) argument
301 /* 'cmd' and permissions get checked in our arch-specific caller */
309 err = libcfs_ioctl_int(pfile, cmd, arg, data);
/drivers/staging/nvec/
H A Dnvec_ps2.c67 static int ps2_sendcommand(struct serio *ser_dev, unsigned char cmd) argument
71 buf[2] = cmd & 0xff;
73 dev_dbg(&ser_dev->dev, "Sending ps2 cmd %02x\n", cmd);
/drivers/staging/rtl8188eu/os_dep/
H A Drtw_android.c148 int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd) argument
181 DBG_88E("%s: Android private cmd \"%s\" on %s\n",
191 DBG_88E("%s: Ignore private cmd \"%s\" - iface %s is down\n",
/drivers/target/iscsi/
H A Discsi_target_tmr.c39 struct iscsi_cmd *cmd,
43 struct iscsi_conn *conn = cmd->conn;
44 struct iscsi_tmr_req *tmr_req = cmd->tmr_req;
45 struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req;
114 struct iscsi_cmd *cmd,
118 struct iscsi_conn *conn = cmd->conn;
120 struct iscsi_tmr_req *tmr_req = cmd->tmr_req;
121 struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req;
186 struct iscsi_cmd *cmd,
193 ret = iscsit_remove_cmd_from_connection_recovery(cmd, ses
38 iscsit_tmr_abort_task( struct iscsi_cmd *cmd, unsigned char *buf) argument
113 iscsit_tmr_task_reassign( struct iscsi_cmd *cmd, unsigned char *buf) argument
185 iscsit_task_reassign_remove_cmd( struct iscsi_cmd *cmd, struct iscsi_conn_recovery *cr, struct iscsi_session *sess) argument
206 struct iscsi_cmd *cmd = tmr_req->ref_cmd; local
234 iscsit_task_reassign_complete_write( struct iscsi_cmd *cmd, struct iscsi_tmr_req *tmr_req) argument
306 iscsit_task_reassign_complete_read( struct iscsi_cmd *cmd, struct iscsi_tmr_req *tmr_req) argument
359 iscsit_task_reassign_complete_none( struct iscsi_cmd *cmd, struct iscsi_tmr_req *tmr_req) argument
374 struct iscsi_cmd *cmd = tmr_req->ref_cmd; local
423 struct iscsi_cmd *cmd; local
462 iscsit_tmr_post_handler(struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
485 iscsit_task_reassign_prepare_unsolicited_dataout( struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
557 struct iscsi_cmd *cmd = tmr_req->ref_cmd; local
[all...]
/drivers/target/
H A Dtarget_core_tmr.c83 struct se_cmd *cmd,
90 if ((tmr_nacl && (tmr_nacl != cmd->se_sess->se_node_acl)) && tas) {
92 transport_send_task_abort(cmd);
95 transport_cmd_finish_abort(cmd, remove);
99 struct se_cmd *cmd)
106 if (reg->pr_res_key == cmd->pr_res_key)
179 struct se_cmd *cmd; local
193 cmd = tmr_p->task_cmd;
194 if (!cmd) {
203 if (target_check_cdb_and_preempt(preempt_and_abort_list, cmd))
81 core_tmr_handle_tas_abort( struct se_node_acl *tmr_nacl, struct se_cmd *cmd, int tas) argument
98 target_check_cdb_and_preempt(struct list_head *list, struct se_cmd *cmd) argument
242 struct se_cmd *cmd, *next; local
[all...]
/drivers/target/tcm_fc/
H A Dtfc_io.c62 struct ft_cmd *cmd = container_of(se_cmd, struct ft_cmd, se_cmd); local
83 if (cmd->aborted)
89 ep = fc_seq_exch(cmd->seq);
91 cmd->seq = lport->tt.seq_start_next(cmd->seq);
110 struct fc_seq *seq = cmd->seq;
130 cmd->sess->max_frame;
144 fr_max_payload(fp) = cmd->sess->max_frame;
207 struct ft_cmd *cmd = container_of(work, struct ft_cmd, work); local
209 target_execute_cmd(&cmd
215 ft_recv_write_data(struct ft_cmd *cmd, struct fc_frame *fp) argument
348 ft_invl_hw_context(struct ft_cmd *cmd) argument
[all...]
/drivers/usb/host/
H A Dehci-timer.c330 u32 cmd, status; local
347 cmd = ehci_readl(ehci, &ehci->regs->command);
357 if ((status & STS_IAA) || !(cmd & CMD_IAAD)) {
362 ehci_dbg(ehci, "IAA watchdog: status %x cmd %x\n", status, cmd);
/drivers/usb/storage/
H A Dkarma.c102 static int rio_karma_send_command(char cmd, struct us_data *us) argument
109 usb_stor_dbg(us, "sending command %04x\n", cmd);
112 us->iobuf[5] = cmd;
142 usb_stor_dbg(us, "sent command %04x\n", cmd);
145 usb_stor_dbg(us, "command %04x failed\n", cmd);
/drivers/uwb/
H A Daddress.c55 * @cmd has to be allocated because USB cannot grok USB or vmalloc
64 struct uwb_rc_cmd_dev_addr_mgmt *cmd; local
67 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL);
68 if (cmd == NULL)
70 cmd->rccb.bCommandType = UWB_RC_CET_GENERAL;
71 cmd->rccb.wCommand = cpu_to_le16(UWB_RC_CMD_DEV_ADDR_MGMT);
72 cmd->bmOperationType = bmOperationType;
80 memcpy(cmd->baAddr, baAddr, size);
85 &cmd
[all...]
H A Die.c114 struct uwb_rccb *cmd = NULL; local
118 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL);
119 if (cmd == NULL)
122 cmd->bCommandType = UWB_RC_CET_GENERAL;
123 cmd->wCommand = cpu_to_le16(UWB_RC_CMD_GET_IE);
124 result = uwb_rc_vcmd(uwb_rc, "GET_IE", cmd, sizeof(*cmd),
127 kfree(cmd);
152 * @cmd
155 uwb_rc_set_ie(struct uwb_rc *rc, struct uwb_rc_cmd_set_ie *cmd) argument
[all...]
H A Dreset.c72 struct uwb_rccb *cmd, size_t cmd_size,
88 needtofree = rc->filter_cmd(rc, &cmd, &cmd_size);
97 neh = uwb_rc_neh_add(rc, cmd, expected_type, expected_event, cb, arg);
104 result = rc->cmd(rc, cmd, cmd_size);
113 kfree(cmd);
150 * @cmd: Pointer to rccb structure containing the command;
153 * @cmd_size: Size of the whole command buffer pointed to by @cmd.
172 struct uwb_rccb *cmd, size_t cmd_size,
185 result = uwb_rc_cmd_async(rc, cmd_name, cmd, cmd_siz
71 uwb_rc_cmd_async(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, u8 expected_type, u16 expected_event, uwb_rc_cmd_cb_f cb, void *arg) argument
171 __uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, struct uwb_rceb *reply, size_t reply_size, u8 expected_type, u16 expected_event, struct uwb_rceb **preply) argument
227 uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, struct uwb_rceb *reply, size_t reply_size) argument
270 uwb_rc_vcmd(struct uwb_rc *rc, const char *cmd_name, struct uwb_rccb *cmd, size_t cmd_size, u8 expected_type, u16 expected_event, struct uwb_rceb **preply) argument
295 struct uwb_rccb *cmd; local
[all...]
/drivers/uwb/i1480/dfu/
H A Dusb.c29 * wait_init_done and cmd for HWA command execution) and once that is
279 * @cmd: Pointer to command buffer
297 struct uwb_rccb *cmd = i1480->cmd_buf; local
320 cmd, cmd_size,
399 i1480->cmd = i1480_usb_cmd;
/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c151 unsigned int cmd, unsigned long arg)
157 switch (cmd) {
164 ret = vfio_spapr_iommu_eeh_ioctl(NULL, cmd, arg);
300 cmd, arg);
150 tce_iommu_ioctl(void *iommu_data, unsigned int cmd, unsigned long arg) argument

Completed in 353 milliseconds

1234567891011>>