Home
last modified time | relevance | path

Searched refs:cmdlen (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/net/wireless/ath/ath10k/
H A Dbmi.c27 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.done); in ath10k_bmi_done() local
40 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); in ath10k_bmi_done()
54 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info() local
67 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); in ath10k_bmi_get_target_info()
92 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info_sdio() local
111 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &tmp, &resplen); in ath10k_bmi_get_target_info_sdio()
161 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.read_mem); in ath10k_bmi_read_memory() local
180 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, in ath10k_bmi_read_memory()
201 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.write_soc_reg); in ath10k_bmi_write_soc_reg() local
217 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); in ath10k_bmi_write_soc_reg()
[all …]
/linux/drivers/firmware/samsung/
H A Dexynos-acpm-dvfs.c23 static void acpm_dvfs_set_xfer(struct acpm_xfer *xfer, u32 *cmd, size_t cmdlen, in acpm_dvfs_set_xfer() argument
28 xfer->txlen = cmdlen; in acpm_dvfs_set_xfer()
32 xfer->rxlen = cmdlen; in acpm_dvfs_set_xfer()
/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c188 u32 cmdlen; in mb86290fb_imageblit() local
208 cmdlen = 9 + height * step; in mb86290fb_imageblit()
225 cmdlen = 3 + height * step; in mb86290fb_imageblit()
231 cmdlen = 3 + height * step; in mb86290fb_imageblit()
240 cmd = kmalloc_array(cmdlen, 4, GFP_DMA); in mb86290fb_imageblit()
244 mb862xxfb_write_fifo(cmdlen, cmd, info); in mb86290fb_imageblit()
/linux/drivers/crypto/tegra/
H A Dtegra-se-aes.c269 unsigned int cmdlen, key1_id, key2_id; in tegra_aes_do_one_req() local
317 cmdlen = tegra_aes_prep_cmd(ctx, rctx); in tegra_aes_do_one_req()
318 ret = tegra_se_host1x_submit(se, se->cmdbuf, cmdlen); in tegra_aes_do_one_req()
760 unsigned int cmdlen; in tegra_gcm_do_gmac() local
769 cmdlen = tegra_gmac_prep_cmd(ctx, rctx); in tegra_gcm_do_gmac()
771 return tegra_se_host1x_submit(se, se->cmdbuf, cmdlen); in tegra_gcm_do_gmac()
777 int cmdlen, ret; in tegra_gcm_do_crypt() local
787 cmdlen = tegra_gcm_crypt_prep_cmd(ctx, rctx); in tegra_gcm_do_crypt()
788 ret = tegra_se_host1x_submit(se, se->cmdbuf, cmdlen); in tegra_gcm_do_crypt()
803 int cmdlen, ret, offset; in tegra_gcm_do_final() local
[all …]
/linux/drivers/usb/storage/
H A Dshuttle_usbat.c534 int cmdlen; in usbat_hp8200e_rw_block_test() local
554 cmdlen = 16; in usbat_hp8200e_rw_block_test()
570 cmdlen = 8; in usbat_hp8200e_rw_block_test()
573 command[cmdlen-8] = (direction==DMA_TO_DEVICE ? 0x40 : 0xC0); in usbat_hp8200e_rw_block_test()
574 command[cmdlen-7] = access | in usbat_hp8200e_rw_block_test()
577 command[cmdlen-6] = data_reg; in usbat_hp8200e_rw_block_test()
578 command[cmdlen-5] = status_reg; in usbat_hp8200e_rw_block_test()
579 command[cmdlen-4] = timeout; in usbat_hp8200e_rw_block_test()
580 command[cmdlen-3] = qualifier; in usbat_hp8200e_rw_block_test()
581 command[cmdlen-2] = LSB_of(len); in usbat_hp8200e_rw_block_test()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/
H A Dtx-gen2.c1211 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_gen2_enqueue_hcmd() local
1223 cmdlen[i] = cmd->len[i]; in iwl_pcie_gen2_enqueue_hcmd()
1232 if (copy > cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd()
1233 copy = cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd()
1234 cmdlen[i] -= copy; in iwl_pcie_gen2_enqueue_hcmd()
1258 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_gen2_enqueue_hcmd()
1268 copy_size += cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd()
1393 if (!cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd()
1401 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_gen2_enqueue_hcmd()
1407 iwl_txq_gen2_set_tb(trans, tfd, phys_addr, cmdlen[i]); in iwl_pcie_gen2_enqueue_hcmd()
H A Dtx.c1359 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_enqueue_hcmd() local
1380 cmdlen[i] = cmd->len[i]; in iwl_pcie_enqueue_hcmd()
1389 if (copy > cmdlen[i]) in iwl_pcie_enqueue_hcmd()
1390 copy = cmdlen[i]; in iwl_pcie_enqueue_hcmd()
1391 cmdlen[i] -= copy; in iwl_pcie_enqueue_hcmd()
1415 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_enqueue_hcmd()
1425 copy_size += cmdlen[i]; in iwl_pcie_enqueue_hcmd()
1565 if (!cmdlen[i]) in iwl_pcie_enqueue_hcmd()
1573 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_enqueue_hcmd()
1581 iwl_pcie_txq_build_tfd(trans, txq, phys_addr, cmdlen[i], false); in iwl_pcie_enqueue_hcmd()
H A Dtrans.c3266 u32 cmdlen = 0; in iwl_trans_pcie_get_cmdlen() local
3270 cmdlen += iwl_txq_gen1_tfd_tb_get_len(trans, tfd, i); in iwl_trans_pcie_get_cmdlen()
3272 return cmdlen; in iwl_trans_pcie_get_cmdlen()
3616 u32 caplen, cmdlen; in iwl_trans_pcie_dump_data() local
3623 cmdlen = iwl_trans_pcie_get_cmdlen(trans, in iwl_trans_pcie_dump_data()
3626 caplen = min_t(u32, TFD_MAX_PAYLOAD_SIZE, cmdlen); in iwl_trans_pcie_dump_data()
3628 if (cmdlen) { in iwl_trans_pcie_dump_data()
3630 txcmd->cmdlen = cpu_to_le32(cmdlen); in iwl_trans_pcie_dump_data()
/linux/drivers/platform/olpc/
H A Dolpc-xo175-ec.c276 size_t cmdlen) in olpc_xo175_ec_send_command() argument
280 memcpy(&priv->tx_buf, cmd, cmdlen); in olpc_xo175_ec_send_command()
281 priv->xfer.len = cmdlen; in olpc_xo175_ec_send_command()
/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.c469 unsigned int cmdlen = cmd->len8 * 8; in fun_submit_admin_sync_cmd() local
490 cmdlen, cmd); in fun_submit_admin_sync_cmd()
504 ctx.rsp_status, cmdlen, cmd); in fun_submit_admin_sync_cmd()
/linux/drivers/net/usb/
H A Dsierra_net.c318 u8 *cmd, int cmdlen, const char * cmd_name) in sierra_net_send_cmd() argument
325 0, priv->ifnum, cmd, cmdlen); in sierra_net_send_cmd()
327 if (status != cmdlen && status != -ENODEV) in sierra_net_send_cmd()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c1325 int i, cmdlen; in xdisconnect() local
1340 cmdlen = strlen(cmd); in xdisconnect()
1341 if (!inet_ntop(addr.ss_family, raw_addr, &cmd[cmdlen], in xdisconnect()
1342 sizeof(cmd) - cmdlen)) in xdisconnect()
/linux/drivers/net/ieee802154/
H A Dca8210.c2524 int i, cmdlen; in ca8210_test_int_user_read() local
2548 cmdlen = fifo_buffer[1]; in ca8210_test_int_user_read()
2549 bytes_not_copied = cmdlen + 2; in ca8210_test_int_user_read()
2560 dev_dbg(&priv->spi->dev, "test_interface: Cmd len = %d\n", cmdlen); in ca8210_test_int_user_read()
2563 for (i = 0; i < cmdlen + 2; i++) in ca8210_test_int_user_read()
2568 return cmdlen + 2; in ca8210_test_int_user_read()
/linux/drivers/scsi/
H A Dscsi_transport_fc.c4139 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_host_dispatch() local
4143 if (job->request_len < cmdlen) { in fc_bsg_host_dispatch()
4151 cmdlen += sizeof(struct fc_bsg_host_add_rport); in fc_bsg_host_dispatch()
4155 cmdlen += sizeof(struct fc_bsg_host_del_rport); in fc_bsg_host_dispatch()
4159 cmdlen += sizeof(struct fc_bsg_host_els); in fc_bsg_host_dispatch()
4169 cmdlen += sizeof(struct fc_bsg_host_ct); in fc_bsg_host_dispatch()
4179 cmdlen += sizeof(struct fc_bsg_host_vendor); in fc_bsg_host_dispatch()
4232 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_rport_dispatch() local
4236 if (job->request_len < cmdlen) { in fc_bsg_rport_dispatch()
4244 cmdlen += sizeof(struct fc_bsg_rport_els); in fc_bsg_rport_dispatch()
[all …]
H A Dscsi_transport_iscsi.c1483 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in iscsi_bsg_host_dispatch() local
1495 cmdlen += sizeof(struct iscsi_bsg_host_vendor); in iscsi_bsg_host_dispatch()
1509 if (job->request_len < cmdlen) { in iscsi_bsg_host_dispatch()
/linux/include/linux/
H A Dnvme-fc-driver.h213 u16 cmdlen; member
/linux/drivers/net/wireless/ath/wil6210/
H A Ddebugfs.c1011 int cmdlen = len - sizeof(struct wmi_cmd_hdr); in wil_write_file_wmi() local
1015 if (cmdlen < 0 || *ppos != 0) in wil_write_file_wmi()
1022 cmd = (cmdlen > 0) ? &wmi[1] : NULL; in wil_write_file_wmi()
1025 rc1 = wmi_send(wil, cmdid, vif->mid, cmd, cmdlen); in wil_write_file_wmi()
1028 wil_info(wil, "0x%04x[%d] -> %d\n", cmdid, cmdlen, rc1); in wil_write_file_wmi()
/linux/drivers/scsi/lpfc/
H A Dlpfc_nvme.c850 sgl->sge_len = cpu_to_le32(nCmd->cmdlen); in lpfc_nvme_adj_fcp_sgls()
897 wqe->generic.bde.tus.f.bdeSize = nCmd->cmdlen; in lpfc_nvme_adj_fcp_sgls()
1283 (nCmd->rsplen + nCmd->cmdlen)); in lpfc_nvme_prep_io_cmd()
/linux/drivers/scsi/qla2xxx/
H A Dqla_nvme.c687 cmd_pkt->nvme_cmnd_dseg_len = cpu_to_le16(fd->cmdlen); in qla2x00_start_nvme_mq()
/linux/drivers/nvme/target/
H A Dfcloop.c697 fcpreq->cmdaddr, fcpreq->cmdlen); in fcloop_fcp_recv_work()
/linux/drivers/nvme/host/
H A Dfc.c2069 op->fcp_req.cmdlen = sizeof(op->cmd_iu); in __nvme_fc_init_request()