/drivers/net/wimax/i2400m/ |
D | sdio-fw.c | 94 size_t cmd_size, int flags) in i2400ms_bus_bm_cmd_send() argument 102 size_t cmd_size_a = ALIGN(cmd_size, I2400MS_BLK_SIZE); in i2400ms_bus_bm_cmd_send() 105 i2400m, _cmd, cmd_size); in i2400ms_bus_bm_cmd_send() 107 if (cmd_size > I2400M_BM_CMD_BUF_SIZE) in i2400ms_bus_bm_cmd_send() 110 memcpy(i2400m->bm_cmd_buf, _cmd, cmd_size); /* Prep command */ in i2400ms_bus_bm_cmd_send() 112 if (cmd_size_a > cmd_size) /* Zero pad space */ in i2400ms_bus_bm_cmd_send() 113 memset(i2400m->bm_cmd_buf + cmd_size, 0, cmd_size_a - cmd_size); in i2400ms_bus_bm_cmd_send() 120 opcode, cmd_size, cmd_size_a); in i2400ms_bus_bm_cmd_send() 121 d_dump(5, dev, cmd, cmd_size); in i2400ms_bus_bm_cmd_send() 132 result = cmd_size; in i2400ms_bus_bm_cmd_send() [all …]
|
D | usb-fw.c | 161 size_t cmd_size, int flags) in i2400mu_bus_bm_cmd_send() argument 168 size_t cmd_size_a = ALIGN(cmd_size, 16); /* USB restriction */ in i2400mu_bus_bm_cmd_send() 171 i2400m, _cmd, cmd_size); in i2400mu_bus_bm_cmd_send() 173 if (cmd_size > I2400M_BM_CMD_BUF_SIZE) in i2400mu_bus_bm_cmd_send() 175 memcpy(i2400m->bm_cmd_buf, _cmd, cmd_size); in i2400mu_bus_bm_cmd_send() 177 if (cmd_size_a > cmd_size) /* Zero pad space */ in i2400mu_bus_bm_cmd_send() 178 memset(i2400m->bm_cmd_buf + cmd_size, 0, cmd_size_a - cmd_size); in i2400mu_bus_bm_cmd_send() 184 result = i2400mu_tx_bulk_out(i2400mu, i2400m->bm_cmd_buf, cmd_size); in i2400mu_bus_bm_cmd_send() 190 if (result != cmd_size) { /* all was transferred? */ in i2400mu_bus_bm_cmd_send() 192 "(%zu vs %zu submitted)\n", opcode, result, cmd_size); in i2400mu_bus_bm_cmd_send() [all …]
|
D | fw.c | 332 const struct i2400m_bootrom_header *cmd, size_t cmd_size, in i2400m_bm_cmd() argument 341 i2400m, cmd, cmd_size, ack, ack_size); in i2400m_bm_cmd() 346 memcpy(i2400m->bm_cmd_buf, cmd, cmd_size); in i2400m_bm_cmd() 347 result = i2400m->bus_bm_cmd_send(i2400m, cmd, cmd_size, flags); in i2400m_bm_cmd() 380 i2400m, cmd, cmd_size, ack, ack_size, (int) result); in i2400m_bm_cmd()
|
/drivers/uwb/ |
D | reset.c | 69 struct uwb_rccb *cmd, size_t cmd_size, in uwb_rc_cmd_async() argument 85 needtofree = rc->filter_cmd(rc, &cmd, &cmd_size); in uwb_rc_cmd_async() 100 result = rc->cmd(rc, cmd, cmd_size); in uwb_rc_cmd_async() 168 struct uwb_rccb *cmd, size_t cmd_size, in __uwb_rc_cmd() argument 181 result = uwb_rc_cmd_async(rc, cmd_name, cmd, cmd_size, in __uwb_rc_cmd() 224 struct uwb_rccb *cmd, size_t cmd_size, in uwb_rc_cmd() argument 231 cmd, cmd_size, reply, reply_size, in uwb_rc_cmd() 267 struct uwb_rccb *cmd, size_t cmd_size, in uwb_rc_vcmd() argument 271 return __uwb_rc_cmd(rc, cmd_name, cmd, cmd_size, NULL, 0, in uwb_rc_vcmd() 292 size_t cmd_size = sizeof(*cmd); in uwb_rc_reset() local [all …]
|
D | whc-rc.c | 91 const struct uwb_rccb *cmd, size_t cmd_size) in whcrc_cmd() argument 98 if (cmd_size >= 4096) in whcrc_cmd() 120 memmove(whcrc->cmd_buf, cmd, cmd_size); in whcrc_cmd() 126 le_writel(urccmd | URCCMD_ACTIVE | URCCMD_IWR | cmd_size, in whcrc_cmd()
|
D | hwa-rc.c | 599 int hwarc_cmd(struct uwb_rc *uwb_rc, const struct uwb_rccb *cmd, size_t cmd_size) in hwarc_cmd() argument 606 (void *) cmd, cmd_size, 100 /* FIXME: this is totally arbitrary */); in hwarc_cmd()
|
D | uwb-internal.h | 96 struct uwb_rccb *cmd, size_t cmd_size,
|
/drivers/uwb/i1480/dfu/ |
D | dfu.c | 91 ssize_t i1480_cmd(struct i1480 *i1480, const char *cmd_name, size_t cmd_size, in i1480_cmd() argument 107 result = i1480->cmd(i1480, cmd_name, cmd_size); in i1480_cmd()
|
D | usb.c | 292 int i1480_usb_cmd(struct i1480 *i1480, const char *cmd_name, size_t cmd_size) in i1480_usb_cmd() argument 321 cmd, cmd_size, in i1480_usb_cmd()
|
D | i1480-dfu.h | 121 int (*cmd)(struct i1480 *, const char *cmd_name, size_t cmd_size);
|
/drivers/scsi/ |
D | mvsas.c | 637 u32 cmd_size; member 771 offset = slot->cmd_size + MVS_OAF_SZ + in mvs_hba_sb_dump() 814 mvs_hexdump(slot->cmd_size, (u8 *) slot->buf, (u32) slot->buf_dma); in mvs_hba_memory_dump() 817 mvs_hexdump(MVS_OAF_SZ, (u8 *) slot->buf + slot->cmd_size, in mvs_hba_memory_dump() 818 (u32) slot->buf_dma + slot->cmd_size); in mvs_hba_memory_dump() 824 (u8 *) slot->buf + slot->cmd_size + MVS_OAF_SZ, in mvs_hba_memory_dump() 825 (u32) slot->buf_dma + slot->cmd_size + MVS_OAF_SZ); in mvs_hba_memory_dump() 1661 slot->cmd_size = req_len; in mvs_task_prep_smp() 1862 slot->cmd_size = MVS_ATA_CMD_SZ; in mvs_task_prep_ata() 1974 slot->cmd_size = MVS_SSP_CMD_SZ; in mvs_task_prep_ssp()
|
D | sg.c | 532 int mxsize, cmd_size, k; in sg_write() local 577 cmd_size = sfp->next_cmd_len; in sg_write() 580 cmd_size = COMMAND_SIZE(opcode); /* based on SCSI command group */ in sg_write() 582 cmd_size = 12; in sg_write() 585 "sg_write: scsi opcode=0x%02x, cmd_size=%d\n", (int) opcode, cmd_size)); in sg_write() 587 input_size = count - cmd_size; in sg_write() 597 hp->cmd_len = (unsigned char) cmd_size; in sg_write() 607 hp->dxferp = (char __user *)buf + cmd_size; in sg_write() 615 if (__copy_from_user(cmnd, buf, cmd_size)) in sg_write()
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-sta.c | 507 size_t cmd_size = sizeof(struct iwl_wep_cmd); in iwl_send_static_wepkey_cmd() local 514 memset(wep_cmd, 0, cmd_size + in iwl_send_static_wepkey_cmd() 534 cmd_size += sizeof(struct iwl_wep_key) * WEP_KEYS_MAX; in iwl_send_static_wepkey_cmd() 536 cmd.len = cmd_size; in iwl_send_static_wepkey_cmd()
|
/drivers/net/wireless/ |
D | atmel.c | 576 void *cmd, int cmd_size); 578 void *cmd, int cmd_size); 4021 void *cmd, int cmd_size) in atmel_send_command() argument 4025 cmd, cmd_size); in atmel_send_command() 4032 void *cmd, int cmd_size) in atmel_send_command_wait() argument 4036 atmel_send_command(priv, command, cmd, cmd_size); in atmel_send_command_wait()
|
/drivers/scsi/qla2xxx/ |
D | qla_mbx.c | 1424 uint16_t cmd_size, size_t buf_size) in qla2x00_send_sns() argument 1438 mcp->mb[1] = cmd_size; in qla2x00_send_sns()
|