| /drivers/net/wireless/ath/ath10k/ |
| 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 92 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info_sdio() local 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 231 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.read_soc_reg); in ath10k_bmi_read_soc_reg() local 311 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.execute); in ath10k_bmi_execute() local 434 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.lz_start); in ath10k_bmi_lz_stream_start() local [all …]
|
| /drivers/mtd/devices/ |
| A D | mchp48l640.c | 175 int cmdlen; in mchp48l640_write_page() local 190 cmdlen = mchp48l640_mkcmd(flash, MCHP48L640_CMD_WRITE, to, cmd); in mchp48l640_write_page() 191 memcpy(&cmd[cmdlen], buf, len); in mchp48l640_write_page() 192 ret = spi_write(flash->spi, cmd, cmdlen + len); in mchp48l640_write_page() 249 int cmdlen; in mchp48l640_read_page() local 260 cmdlen = mchp48l640_mkcmd(flash, MCHP48L640_CMD_READ, from, cmd); in mchp48l640_read_page() 261 ret = spi_write_then_read(flash->spi, cmd, cmdlen, buf, len); in mchp48l640_read_page()
|
| /drivers/video/fbdev/mb862xx/ |
| 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()
|
| /drivers/crypto/tegra/ |
| 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() 760 unsigned int cmdlen; in tegra_gcm_do_gmac() local 769 cmdlen = tegra_gmac_prep_cmd(ctx, rctx); in tegra_gcm_do_gmac() 777 int cmdlen, ret; in tegra_gcm_do_crypt() local 803 int cmdlen, ret, offset; in tegra_gcm_do_final() local 933 int cmdlen; in tegra_ccm_do_cbcmac() local 1119 unsigned int cmdlen, offset = 0; in tegra_ccm_do_ctr() local 1149 cmdlen = tegra_ctr_prep_cmd(ctx, rctx); in tegra_ccm_do_ctr() 1575 unsigned int nblks, nresidue, cmdlen; in tegra_cmac_do_update() local [all …]
|
| /drivers/usb/storage/ |
| A D | shuttle_usbat.c | 534 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() 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() 582 command[cmdlen-1] = MSB_of(len); in usbat_hp8200e_rw_block_test() [all …]
|
| /drivers/firmware/samsung/ |
| A D | exynos-acpm-pmic.c | 46 static void acpm_pmic_set_xfer(struct acpm_xfer *xfer, u32 *cmd, size_t cmdlen, in acpm_pmic_set_xfer() argument 51 xfer->txlen = cmdlen; in acpm_pmic_set_xfer() 52 xfer->rxlen = cmdlen; in acpm_pmic_set_xfer()
|
| /drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
| 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()
|
| 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()
|
| A D | trans.c | 3243 u32 cmdlen = 0; in iwl_trans_pcie_get_cmdlen() local 3247 cmdlen += iwl_txq_gen1_tfd_tb_get_len(trans, tfd, i); in iwl_trans_pcie_get_cmdlen() 3249 return cmdlen; in iwl_trans_pcie_get_cmdlen() 3593 u32 caplen, cmdlen; in iwl_trans_pcie_dump_data() local 3600 cmdlen = iwl_trans_pcie_get_cmdlen(trans, in iwl_trans_pcie_dump_data() 3603 caplen = min_t(u32, TFD_MAX_PAYLOAD_SIZE, cmdlen); in iwl_trans_pcie_dump_data() 3605 if (cmdlen) { in iwl_trans_pcie_dump_data() 3607 txcmd->cmdlen = cpu_to_le32(cmdlen); in iwl_trans_pcie_dump_data()
|
| /drivers/scsi/ |
| A D | scsi_ioctl.c | 525 unsigned int in_len, out_len, bytes, opcode, cmdlen; in sg_scsi_ioctl() local 559 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl() 565 scmd->cmd_len = cmdlen; in sg_scsi_ioctl() 566 if (copy_from_user(scmd->cmnd, sic->data, cmdlen)) in sg_scsi_ioctl() 569 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len)) in sg_scsi_ioctl()
|
| A D | scsi_transport_fc.c | 4096 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_host_dispatch() local 4100 if (job->request_len < cmdlen) { in fc_bsg_host_dispatch() 4108 cmdlen += sizeof(struct fc_bsg_host_add_rport); in fc_bsg_host_dispatch() 4112 cmdlen += sizeof(struct fc_bsg_host_del_rport); in fc_bsg_host_dispatch() 4116 cmdlen += sizeof(struct fc_bsg_host_els); in fc_bsg_host_dispatch() 4126 cmdlen += sizeof(struct fc_bsg_host_ct); in fc_bsg_host_dispatch() 4136 cmdlen += sizeof(struct fc_bsg_host_vendor); in fc_bsg_host_dispatch() 4189 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_rport_dispatch() local 4193 if (job->request_len < cmdlen) { in fc_bsg_rport_dispatch() 4201 cmdlen += sizeof(struct fc_bsg_rport_els); in fc_bsg_rport_dispatch() [all …]
|
| 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()
|
| /drivers/gpu/drm/panel/ |
| A D | panel-novatek-nt35510.c | 585 u8 cmd, u8 cmdlen, const u8 *seq) in nt35510_send_long() argument 589 int chunk = cmdlen; in nt35510_send_long() 602 while (cmdwritten < cmdlen) { in nt35510_send_long() 603 chunk = cmdlen - cmdwritten; in nt35510_send_long() 614 dev_dbg(nt->dev, "sent command %02x %02x bytes\n", cmd, cmdlen); in nt35510_send_long()
|
| /drivers/platform/olpc/ |
| 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()
|
| /drivers/net/usb/ |
| 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()
|
| /drivers/net/ethernet/fungible/funcore/ |
| 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()
|
| /drivers/net/ieee802154/ |
| 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()
|
| /drivers/net/wireless/intel/iwlwifi/fw/ |
| A D | error-dump.h | 110 __le32 cmdlen; member
|
| /drivers/net/wireless/ath/wil6210/ |
| 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()
|
| /drivers/scsi/lpfc/ |
| A D | lpfc_nvme.c | 850 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() 1287 (nCmd->rsplen + nCmd->cmdlen)); in lpfc_nvme_prep_io_cmd()
|
| /drivers/scsi/qla2xxx/ |
| A D | qla_nvme.c | 687 cmd_pkt->nvme_cmnd_dseg_len = cpu_to_le16(fd->cmdlen); in qla2x00_start_nvme_mq()
|
| /drivers/nvme/target/ |
| A D | fcloop.c | 689 fcpreq->cmdaddr, fcpreq->cmdlen); in fcloop_fcp_recv_work()
|
| /drivers/nvme/host/ |
| A D | fc.c | 2065 op->fcp_req.cmdlen = sizeof(op->cmd_iu); in __nvme_fc_init_request()
|