Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath10k/
H A Dbmi.c25 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.done); in ath10k_bmi_done() local
38 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); in ath10k_bmi_done()
52 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info() local
65 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); in ath10k_bmi_get_target_info()
90 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info_sdio() local
109 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &tmp, &resplen); in ath10k_bmi_get_target_info_sdio()
159 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.read_mem); in ath10k_bmi_read_memory() local
178 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, in ath10k_bmi_read_memory()
199 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.write_soc_reg); in ath10k_bmi_write_soc_reg() local
215 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); in ath10k_bmi_write_soc_reg()
[all …]
/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/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/
H A Dtx-gen2.c1219 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_gen2_enqueue_hcmd() local
1231 cmdlen[i] = cmd->len[i]; in iwl_pcie_gen2_enqueue_hcmd()
1240 if (copy > cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd()
1241 copy = cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd()
1242 cmdlen[i] -= copy; in iwl_pcie_gen2_enqueue_hcmd()
1266 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_gen2_enqueue_hcmd()
1276 copy_size += cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd()
1401 if (!cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd()
1409 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_gen2_enqueue_hcmd()
1415 iwl_txq_gen2_set_tb(trans, tfd, phys_addr, cmdlen[i]); in iwl_pcie_gen2_enqueue_hcmd()
H A Dtx.c1361 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_enqueue_hcmd() local
1382 cmdlen[i] = cmd->len[i]; in iwl_pcie_enqueue_hcmd()
1391 if (copy > cmdlen[i]) in iwl_pcie_enqueue_hcmd()
1392 copy = cmdlen[i]; in iwl_pcie_enqueue_hcmd()
1393 cmdlen[i] -= copy; in iwl_pcie_enqueue_hcmd()
1417 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_enqueue_hcmd()
1427 copy_size += cmdlen[i]; in iwl_pcie_enqueue_hcmd()
1567 if (!cmdlen[i]) in iwl_pcie_enqueue_hcmd()
1575 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_enqueue_hcmd()
1583 iwl_pcie_txq_build_tfd(trans, txq, phys_addr, cmdlen[i], false); in iwl_pcie_enqueue_hcmd()
/linux/drivers/gpu/drm/panel/
H A Dpanel-novatek-nt35510.c585 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()
/linux/drivers/scsi/
H A Dscsi_ioctl.c525 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()
H A Dscsi_transport_fc.c4084 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_host_dispatch() local
4088 if (job->request_len < cmdlen) { in fc_bsg_host_dispatch()
4096 cmdlen += sizeof(struct fc_bsg_host_add_rport); in fc_bsg_host_dispatch()
4100 cmdlen += sizeof(struct fc_bsg_host_del_rport); in fc_bsg_host_dispatch()
4104 cmdlen += sizeof(struct fc_bsg_host_els); in fc_bsg_host_dispatch()
4114 cmdlen += sizeof(struct fc_bsg_host_ct); in fc_bsg_host_dispatch()
4124 cmdlen += sizeof(struct fc_bsg_host_vendor); in fc_bsg_host_dispatch()
4177 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_rport_dispatch() local
4181 if (job->request_len < cmdlen) { in fc_bsg_rport_dispatch()
4189 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/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.c320 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 Dmptcp_connect.c1222 int i, cmdlen; in xdisconnect() local
1237 cmdlen = strlen(cmd); in xdisconnect()
1238 if (!inet_ntop(addr.ss_family, raw_addr, &cmd[cmdlen], in xdisconnect()
1239 sizeof(cmd) - cmdlen)) in xdisconnect()
/linux/drivers/net/ieee802154/
H A Dca8210.c2527 int i, cmdlen; in ca8210_test_int_user_read() local
2551 cmdlen = fifo_buffer[1]; in ca8210_test_int_user_read()
2552 bytes_not_copied = cmdlen + 2; in ca8210_test_int_user_read()
2563 dev_dbg(&priv->spi->dev, "test_interface: Cmd len = %d\n", cmdlen); in ca8210_test_int_user_read()
2566 for (i = 0; i < cmdlen + 2; i++) in ca8210_test_int_user_read()
2571 return cmdlen + 2; in ca8210_test_int_user_read()
/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()
1287 (nCmd->rsplen + nCmd->cmdlen)); in lpfc_nvme_prep_io_cmd()
/linux/drivers/nvme/target/
H A Dfcloop.c652 fcpreq->cmdaddr, fcpreq->cmdlen); in fcloop_fcp_recv_work()
/linux/drivers/nvme/host/
H A Dfc.c2058 op->fcp_req.cmdlen = sizeof(op->cmd_iu); in __nvme_fc_init_request()