Home
last modified time | relevance | path

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

/Linux-v5.4/arch/s390/kernel/
Dcpcmd.c27 static int diag8_noresponse(int cmdlen) in diag8_noresponse() argument
30 register unsigned long reg3 asm ("3") = cmdlen; in diag8_noresponse()
38 static int diag8_response(int cmdlen, char *response, int *rlen) in diag8_response() argument
42 register unsigned long reg4 asm ("4") = cmdlen | 0x40000000L; in diag8_response()
62 int cmdlen; in __cpcmd() local
66 cmdlen = strlen(cmd); in __cpcmd()
67 BUG_ON(cmdlen > 240); in __cpcmd()
68 memcpy(cpcmd_buf, cmd, cmdlen); in __cpcmd()
69 ASCEBC(cpcmd_buf, cmdlen); in __cpcmd()
75 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
[all …]
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dbmi.c31 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.done); in ath10k_bmi_done() local
44 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); in ath10k_bmi_done()
58 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info() local
71 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); in ath10k_bmi_get_target_info()
96 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info_sdio() local
115 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &tmp, &resplen); in ath10k_bmi_get_target_info_sdio()
165 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.read_mem); in ath10k_bmi_read_memory() local
184 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, in ath10k_bmi_read_memory()
204 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.write_soc_reg); in ath10k_bmi_write_soc_reg() local
220 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); in ath10k_bmi_write_soc_reg()
[all …]
/Linux-v5.4/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c191 u32 cmdlen; in mb86290fb_imageblit() local
212 cmdlen = 9 + height * step; in mb86290fb_imageblit()
229 cmdlen = 3 + height * step; in mb86290fb_imageblit()
235 cmdlen = 3 + height * step; in mb86290fb_imageblit()
244 cmd = kmalloc_array(cmdlen, 4, GFP_DMA); in mb86290fb_imageblit()
248 mb862xxfb_write_fifo(cmdlen, cmd, info); in mb86290fb_imageblit()
/Linux-v5.4/drivers/usb/storage/
Dshuttle_usbat.c533 int cmdlen; in usbat_hp8200e_rw_block_test() local
553 cmdlen = 16; in usbat_hp8200e_rw_block_test()
569 cmdlen = 8; in usbat_hp8200e_rw_block_test()
572 command[cmdlen-8] = (direction==DMA_TO_DEVICE ? 0x40 : 0xC0); in usbat_hp8200e_rw_block_test()
573 command[cmdlen-7] = access | in usbat_hp8200e_rw_block_test()
576 command[cmdlen-6] = data_reg; in usbat_hp8200e_rw_block_test()
577 command[cmdlen-5] = status_reg; in usbat_hp8200e_rw_block_test()
578 command[cmdlen-4] = timeout; in usbat_hp8200e_rw_block_test()
579 command[cmdlen-3] = qualifier; in usbat_hp8200e_rw_block_test()
580 command[cmdlen-2] = LSB_of(len); in usbat_hp8200e_rw_block_test()
[all …]
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx-gen2.c683 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_gen2_enqueue_hcmd() local
691 cmdlen[i] = cmd->len[i]; in iwl_pcie_gen2_enqueue_hcmd()
700 if (copy > cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd()
701 copy = cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd()
702 cmdlen[i] -= copy; in iwl_pcie_gen2_enqueue_hcmd()
726 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_gen2_enqueue_hcmd()
736 copy_size += cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd()
859 if (!cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd()
867 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_gen2_enqueue_hcmd()
873 iwl_pcie_gen2_set_tb(trans, tfd, phys_addr, cmdlen[i]); in iwl_pcie_gen2_enqueue_hcmd()
Dtx.c1541 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_enqueue_hcmd() local
1561 cmdlen[i] = cmd->len[i]; in iwl_pcie_enqueue_hcmd()
1570 if (copy > cmdlen[i]) in iwl_pcie_enqueue_hcmd()
1571 copy = cmdlen[i]; in iwl_pcie_enqueue_hcmd()
1572 cmdlen[i] -= copy; in iwl_pcie_enqueue_hcmd()
1596 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_enqueue_hcmd()
1606 copy_size += cmdlen[i]; in iwl_pcie_enqueue_hcmd()
1743 if (!cmdlen[i]) in iwl_pcie_enqueue_hcmd()
1751 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_enqueue_hcmd()
1759 iwl_pcie_txq_build_tfd(trans, txq, phys_addr, cmdlen[i], false); in iwl_pcie_enqueue_hcmd()
Dtrans.c2922 u32 cmdlen = 0; in iwl_trans_pcie_get_cmdlen() local
2926 cmdlen += iwl_pcie_tfd_tb_get_len(trans, tfd, i); in iwl_trans_pcie_get_cmdlen()
2928 return cmdlen; in iwl_trans_pcie_get_cmdlen()
3276 u32 caplen, cmdlen; in iwl_trans_pcie_dump_data() local
3283 cmdlen = iwl_trans_pcie_get_cmdlen(trans, in iwl_trans_pcie_dump_data()
3286 caplen = min_t(u32, TFD_MAX_PAYLOAD_SIZE, cmdlen); in iwl_trans_pcie_dump_data()
3288 if (cmdlen) { in iwl_trans_pcie_dump_data()
3290 txcmd->cmdlen = cpu_to_le32(cmdlen); in iwl_trans_pcie_dump_data()
/Linux-v5.4/block/
Dscsi_ioctl.c411 unsigned int in_len, out_len, bytes, opcode, cmdlen; in sg_scsi_ioctl() local
444 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl()
450 req->cmd_len = cmdlen; in sg_scsi_ioctl()
451 if (copy_from_user(req->cmd, sic->data, cmdlen)) in sg_scsi_ioctl()
454 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len)) in sg_scsi_ioctl()
/Linux-v5.4/drivers/platform/olpc/
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-v5.4/drivers/net/usb/
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-v5.4/drivers/net/wireless/intel/iwlwifi/fw/
Derror-dump.h153 __le32 cmdlen; member
/Linux-v5.4/include/linux/
Dnvme-fc-driver.h138 u16 cmdlen; member
/Linux-v5.4/drivers/scsi/
Dscsi_transport_fc.c3595 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_host_dispatch() local
3599 if (job->request_len < cmdlen) { in fc_bsg_host_dispatch()
3607 cmdlen += sizeof(struct fc_bsg_host_add_rport); in fc_bsg_host_dispatch()
3611 cmdlen += sizeof(struct fc_bsg_host_del_rport); in fc_bsg_host_dispatch()
3615 cmdlen += sizeof(struct fc_bsg_host_els); in fc_bsg_host_dispatch()
3625 cmdlen += sizeof(struct fc_bsg_host_ct); in fc_bsg_host_dispatch()
3635 cmdlen += sizeof(struct fc_bsg_host_vendor); in fc_bsg_host_dispatch()
3688 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_rport_dispatch() local
3692 if (job->request_len < cmdlen) { in fc_bsg_rport_dispatch()
3700 cmdlen += sizeof(struct fc_bsg_rport_els); in fc_bsg_rport_dispatch()
[all …]
Dscsi_transport_iscsi.c1488 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in iscsi_bsg_host_dispatch() local
1500 cmdlen += sizeof(struct iscsi_bsg_host_vendor); in iscsi_bsg_host_dispatch()
1514 if (job->request_len < cmdlen) { in iscsi_bsg_host_dispatch()
/Linux-v5.4/drivers/net/ieee802154/
Dca8210.c2567 int i, cmdlen; in ca8210_test_int_user_read() local
2591 cmdlen = fifo_buffer[1]; in ca8210_test_int_user_read()
2592 bytes_not_copied = cmdlen + 2; in ca8210_test_int_user_read()
2603 dev_dbg(&priv->spi->dev, "test_interface: Cmd len = %d\n", cmdlen); in ca8210_test_int_user_read()
2606 for (i = 0; i < cmdlen + 2; i++) in ca8210_test_int_user_read()
2611 return cmdlen + 2; in ca8210_test_int_user_read()
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Ddebugfs.c1022 int cmdlen = len - sizeof(struct wmi_cmd_hdr); in wil_write_file_wmi() local
1026 if (cmdlen < 0) in wil_write_file_wmi()
1039 cmd = (cmdlen > 0) ? &wmi[1] : NULL; in wil_write_file_wmi()
1042 rc1 = wmi_send(wil, cmdid, vif->mid, cmd, cmdlen); in wil_write_file_wmi()
1045 wil_info(wil, "0x%04x[%d] -> %d\n", cmdid, cmdlen, rc1); in wil_write_file_wmi()
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_nvme.c790 sgl->sge_len = cpu_to_le32(nCmd->cmdlen); in lpfc_nvme_adj_fcp_sgls()
837 wqe->generic.bde.tus.f.bdeSize = nCmd->cmdlen; in lpfc_nvme_adj_fcp_sgls()
1268 (nCmd->rsplen + nCmd->cmdlen)); in lpfc_nvme_prep_io_cmd()
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c4902 u32 cmdlen; in rtw_ioctl_wext_private() local
4933 cmdlen = strlen(cmdname); in rtw_ioctl_wext_private()
4937 if (cmdlen > 0) in rtw_ioctl_wext_private()
4938 cmdlen += 1; /* skip one space */ in rtw_ioctl_wext_private()
4939 ptr += cmdlen; in rtw_ioctl_wext_private()
4940 len -= cmdlen; in rtw_ioctl_wext_private()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_nvme.c461 cmd_pkt->nvme_cmnd_dseg_len = cpu_to_le16(fd->cmdlen); in qla2x00_start_nvme_mq()
/Linux-v5.4/drivers/nvme/target/
Dfcloop.c457 fcpreq->cmdaddr, fcpreq->cmdlen); in fcloop_fcp_recv_work()
/Linux-v5.4/drivers/nvme/host/
Dfc.c1725 op->fcp_req.cmdlen = sizeof(op->cmd_iu); in __nvme_fc_init_request()