Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
40 unsigned long _cmdlen = cmdlen | 0x40000000L; in diag8_response()
64 int cmdlen; in __cpcmd() local
68 cmdlen = strlen(cmd); in __cpcmd()
69 BUG_ON(cmdlen > 240); in __cpcmd()
70 memcpy(cpcmd_buf, cmd, cmdlen); in __cpcmd()
71 ASCEBC(cpcmd_buf, cmdlen); in __cpcmd()
77 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dbmi.c24 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.done); in ath10k_bmi_done() local
37 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); in ath10k_bmi_done()
51 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info() local
64 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); in ath10k_bmi_get_target_info()
89 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info_sdio() local
108 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &tmp, &resplen); in ath10k_bmi_get_target_info_sdio()
158 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.read_mem); in ath10k_bmi_read_memory() local
177 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, in ath10k_bmi_read_memory()
198 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.write_soc_reg); in ath10k_bmi_write_soc_reg() local
214 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); in ath10k_bmi_write_soc_reg()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx-gen2.c88 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_gen2_enqueue_hcmd() local
97 cmdlen[i] = cmd->len[i]; in iwl_pcie_gen2_enqueue_hcmd()
106 if (copy > cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd()
107 copy = cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd()
108 cmdlen[i] -= copy; in iwl_pcie_gen2_enqueue_hcmd()
132 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_gen2_enqueue_hcmd()
142 copy_size += cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd()
265 if (!cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd()
273 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_gen2_enqueue_hcmd()
279 iwl_txq_gen2_set_tb(trans, tfd, phys_addr, cmdlen[i]); in iwl_pcie_gen2_enqueue_hcmd()
Dtx.c1183 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_enqueue_hcmd() local
1204 cmdlen[i] = cmd->len[i]; in iwl_pcie_enqueue_hcmd()
1213 if (copy > cmdlen[i]) in iwl_pcie_enqueue_hcmd()
1214 copy = cmdlen[i]; in iwl_pcie_enqueue_hcmd()
1215 cmdlen[i] -= copy; in iwl_pcie_enqueue_hcmd()
1239 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_enqueue_hcmd()
1249 copy_size += cmdlen[i]; in iwl_pcie_enqueue_hcmd()
1386 if (!cmdlen[i]) in iwl_pcie_enqueue_hcmd()
1394 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_enqueue_hcmd()
1402 iwl_pcie_txq_build_tfd(trans, txq, phys_addr, cmdlen[i], false); in iwl_pcie_enqueue_hcmd()
Dtrans.c2981 u32 cmdlen = 0; in iwl_trans_pcie_get_cmdlen() local
2985 cmdlen += iwl_txq_gen1_tfd_tb_get_len(trans, tfd, i); in iwl_trans_pcie_get_cmdlen()
2987 return cmdlen; in iwl_trans_pcie_get_cmdlen()
3333 u32 caplen, cmdlen; in iwl_trans_pcie_dump_data() local
3340 cmdlen = iwl_trans_pcie_get_cmdlen(trans, in iwl_trans_pcie_dump_data()
3343 caplen = min_t(u32, TFD_MAX_PAYLOAD_SIZE, cmdlen); in iwl_trans_pcie_dump_data()
3345 if (cmdlen) { in iwl_trans_pcie_dump_data()
3347 txcmd->cmdlen = cpu_to_le32(cmdlen); in iwl_trans_pcie_dump_data()
/kernel/linux/linux-5.10/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c190 u32 cmdlen; in mb86290fb_imageblit() local
210 cmdlen = 9 + height * step; in mb86290fb_imageblit()
227 cmdlen = 3 + height * step; in mb86290fb_imageblit()
233 cmdlen = 3 + height * step; in mb86290fb_imageblit()
242 cmd = kmalloc_array(cmdlen, 4, GFP_DMA); in mb86290fb_imageblit()
246 mb862xxfb_write_fifo(cmdlen, cmd, info); in mb86290fb_imageblit()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-novatek-nt35510.c395 u8 cmd, u8 cmdlen, const u8 *seq) in nt35510_send_long() argument
399 int chunk = cmdlen; in nt35510_send_long()
412 while (cmdwritten < cmdlen) { in nt35510_send_long()
413 chunk = cmdlen - cmdwritten; in nt35510_send_long()
424 dev_dbg(nt->dev, "sent command %02x %02x bytes\n", cmd, cmdlen); in nt35510_send_long()
/kernel/linux/linux-5.10/block/
Dscsi_ioctl.c414 unsigned int in_len, out_len, bytes, opcode, cmdlen; in sg_scsi_ioctl() local
447 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl()
453 req->cmd_len = cmdlen; in sg_scsi_ioctl()
454 if (copy_from_user(req->cmd, sic->data, cmdlen)) in sg_scsi_ioctl()
457 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len)) in sg_scsi_ioctl()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_transport_fc.c3596 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_host_dispatch() local
3600 if (job->request_len < cmdlen) { in fc_bsg_host_dispatch()
3608 cmdlen += sizeof(struct fc_bsg_host_add_rport); in fc_bsg_host_dispatch()
3612 cmdlen += sizeof(struct fc_bsg_host_del_rport); in fc_bsg_host_dispatch()
3616 cmdlen += sizeof(struct fc_bsg_host_els); in fc_bsg_host_dispatch()
3626 cmdlen += sizeof(struct fc_bsg_host_ct); in fc_bsg_host_dispatch()
3636 cmdlen += sizeof(struct fc_bsg_host_vendor); in fc_bsg_host_dispatch()
3689 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_rport_dispatch() local
3693 if (job->request_len < cmdlen) { in fc_bsg_rport_dispatch()
3701 cmdlen += sizeof(struct fc_bsg_rport_els); in fc_bsg_rport_dispatch()
[all …]
Dscsi_transport_iscsi.c1479 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in iscsi_bsg_host_dispatch() local
1491 cmdlen += sizeof(struct iscsi_bsg_host_vendor); in iscsi_bsg_host_dispatch()
1505 if (job->request_len < cmdlen) { in iscsi_bsg_host_dispatch()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Derror-dump.h154 __le32 cmdlen; member
/kernel/linux/linux-5.10/include/linux/
Dnvme-fc-driver.h212 u16 cmdlen; member
/kernel/linux/linux-5.10/drivers/net/ieee802154/
Dca8210.c2570 int i, cmdlen; in ca8210_test_int_user_read() local
2594 cmdlen = fifo_buffer[1]; in ca8210_test_int_user_read()
2595 bytes_not_copied = cmdlen + 2; in ca8210_test_int_user_read()
2606 dev_dbg(&priv->spi->dev, "test_interface: Cmd len = %d\n", cmdlen); in ca8210_test_int_user_read()
2609 for (i = 0; i < cmdlen + 2; i++) in ca8210_test_int_user_read()
2614 return cmdlen + 2; in ca8210_test_int_user_read()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
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()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_nvme.c993 sgl->sge_len = cpu_to_le32(nCmd->cmdlen); in lpfc_nvme_adj_fcp_sgls()
1040 wqe->generic.bde.tus.f.bdeSize = nCmd->cmdlen; in lpfc_nvme_adj_fcp_sgls()
1390 (nCmd->rsplen + nCmd->cmdlen)); in lpfc_nvme_prep_io_cmd()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c4840 u32 cmdlen; in rtw_ioctl_wext_private() local
4871 cmdlen = strlen(cmdname); in rtw_ioctl_wext_private()
4875 if (cmdlen > 0) in rtw_ioctl_wext_private()
4876 cmdlen += 1; /* skip one space */ in rtw_ioctl_wext_private()
4877 ptr += cmdlen; in rtw_ioctl_wext_private()
4878 len -= cmdlen; in rtw_ioctl_wext_private()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_nvme.c478 cmd_pkt->nvme_cmnd_dseg_len = cpu_to_le16(fd->cmdlen); in qla2x00_start_nvme_mq()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dfcloop.c597 fcpreq->cmdaddr, fcpreq->cmdlen); in fcloop_fcp_recv_work()
/kernel/linux/linux-5.10/drivers/nvme/host/
Dfc.c2074 op->fcp_req.cmdlen = sizeof(op->cmd_iu); in __nvme_fc_init_request()