| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | bmi.c | 27 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 D | exynos-acpm-dvfs.c | 23 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 D | mb862xxfb_accel.c | 188 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 D | tegra-se-aes.c | 269 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/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
| H A D | tx-gen2.c | 1211 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 D | tx.c | 1362 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_enqueue_hcmd() local 1383 cmdlen[i] = cmd->len[i]; in iwl_pcie_enqueue_hcmd() 1392 if (copy > cmdlen[i]) in iwl_pcie_enqueue_hcmd() 1393 copy = cmdlen[i]; in iwl_pcie_enqueue_hcmd() 1394 cmdlen[i] -= copy; in iwl_pcie_enqueue_hcmd() 1418 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_enqueue_hcmd() 1428 copy_size += cmdlen[i]; in iwl_pcie_enqueue_hcmd() 1568 if (!cmdlen[i]) in iwl_pcie_enqueue_hcmd() 1576 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_enqueue_hcmd() 1584 iwl_pcie_txq_build_tfd(trans, txq, phys_addr, cmdlen[i], false); in iwl_pcie_enqueue_hcmd()
|
| /linux/drivers/platform/olpc/ |
| H A D | olpc-xo175-ec.c | 276 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 D | fun_dev.c | 469 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 D | sierra_net.c | 320 u8 *cmd, int cmdlen, const char * cmd_name) in sierra_net_send_cmd() argument 327 0, priv->ifnum, cmd, cmdlen); in sierra_net_send_cmd() 329 if (status != cmdlen && status != -ENODEV) in sierra_net_send_cmd()
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_connect.c | 1253 int i, cmdlen; in xdisconnect() local 1268 cmdlen = strlen(cmd); in xdisconnect() 1269 if (!inet_ntop(addr.ss_family, raw_addr, &cmd[cmdlen], in xdisconnect() 1270 sizeof(cmd) - cmdlen)) in xdisconnect()
|
| /linux/drivers/net/ieee802154/ |
| H A D | ca8210.c | 2525 int i, cmdlen; in ca8210_test_int_user_read() local 2549 cmdlen = fifo_buffer[1]; in ca8210_test_int_user_read() 2550 bytes_not_copied = cmdlen + 2; in ca8210_test_int_user_read() 2561 dev_dbg(&priv->spi->dev, "test_interface: Cmd len = %d\n", cmdlen); in ca8210_test_int_user_read() 2564 for (i = 0; i < cmdlen + 2; i++) in ca8210_test_int_user_read() 2569 return cmdlen + 2; in ca8210_test_int_user_read()
|
| /linux/drivers/scsi/ |
| H A D | scsi_transport_fc.c | 4097 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_host_dispatch() local 4101 if (job->request_len < cmdlen) { in fc_bsg_host_dispatch() 4109 cmdlen += sizeof(struct fc_bsg_host_add_rport); in fc_bsg_host_dispatch() 4113 cmdlen += sizeof(struct fc_bsg_host_del_rport); in fc_bsg_host_dispatch() 4117 cmdlen += sizeof(struct fc_bsg_host_els); in fc_bsg_host_dispatch() 4127 cmdlen += sizeof(struct fc_bsg_host_ct); in fc_bsg_host_dispatch() 4137 cmdlen += sizeof(struct fc_bsg_host_vendor); in fc_bsg_host_dispatch() 4190 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_rport_dispatch() local 4194 if (job->request_len < cmdlen) { in fc_bsg_rport_dispatch() 4202 cmdlen += sizeof(struct fc_bsg_rport_els); in fc_bsg_rport_dispatch() [all …]
|
| H A D | scsi_transport_iscsi.c | 1483 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 D | nvme-fc-driver.h | 213 u16 cmdlen; member
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | debugfs.c | 1011 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/qla2xxx/ |
| H A D | qla_nvme.c | 687 cmd_pkt->nvme_cmnd_dseg_len = cpu_to_le16(fd->cmdlen); in qla2x00_start_nvme_mq()
|
| /linux/drivers/nvme/target/ |
| H A D | fcloop.c | 690 fcpreq->cmdaddr, fcpreq->cmdlen); in fcloop_fcp_recv_work()
|
| /linux/drivers/nvme/host/ |
| H A D | fc.c | 2069 op->fcp_req.cmdlen = sizeof(op->cmd_iu); in __nvme_fc_init_request()
|