Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/s390/kernel/
A Dcpcmd.c27 static int diag8_noresponse(int cmdlen) in diag8_noresponse() argument
31 : [ry] "+&d" (cmdlen) in diag8_noresponse()
34 return cmdlen; in diag8_noresponse()
44 ry.even = cmdlen | 0x40000000L; in diag8_response()
66 int cmdlen; in __cpcmd() local
70 cmdlen = strlen(cmd); in __cpcmd()
71 BUG_ON(cmdlen > 240); in __cpcmd()
72 memcpy(cpcmd_buf, cmd, cmdlen); in __cpcmd()
73 ASCEBC(cpcmd_buf, cmdlen); in __cpcmd()
79 rc = diag8_response(cmdlen, response, &rlen); in __cpcmd()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/ath10k/
A 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
89 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info_sdio() local
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
228 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.read_soc_reg); in ath10k_bmi_read_soc_reg() local
308 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.execute); in ath10k_bmi_execute() local
431 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.lz_start); in ath10k_bmi_lz_stream_start() local
[all …]
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/pcie/
A Dtx-gen2.c41 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_gen2_enqueue_hcmd() local
50 cmdlen[i] = cmd->len[i]; in iwl_pcie_gen2_enqueue_hcmd()
59 if (copy > cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd()
60 copy = cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd()
61 cmdlen[i] -= copy; in iwl_pcie_gen2_enqueue_hcmd()
85 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_gen2_enqueue_hcmd()
95 copy_size += cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd()
218 if (!cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd()
226 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_gen2_enqueue_hcmd()
232 iwl_txq_gen2_set_tb(trans, tfd, phys_addr, cmdlen[i]); in iwl_pcie_gen2_enqueue_hcmd()
A Dtx.c916 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_enqueue_hcmd() local
937 cmdlen[i] = cmd->len[i]; in iwl_pcie_enqueue_hcmd()
946 if (copy > cmdlen[i]) in iwl_pcie_enqueue_hcmd()
947 copy = cmdlen[i]; in iwl_pcie_enqueue_hcmd()
948 cmdlen[i] -= copy; in iwl_pcie_enqueue_hcmd()
972 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_enqueue_hcmd()
982 copy_size += cmdlen[i]; in iwl_pcie_enqueue_hcmd()
1119 if (!cmdlen[i]) in iwl_pcie_enqueue_hcmd()
1127 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_enqueue_hcmd()
1135 iwl_pcie_txq_build_tfd(trans, txq, phys_addr, cmdlen[i], false); in iwl_pcie_enqueue_hcmd()
A Dtrans.c3027 u32 cmdlen = 0; in iwl_trans_pcie_get_cmdlen() local
3031 cmdlen += iwl_txq_gen1_tfd_tb_get_len(trans, tfd, i); in iwl_trans_pcie_get_cmdlen()
3033 return cmdlen; in iwl_trans_pcie_get_cmdlen()
3377 u32 caplen, cmdlen; in iwl_trans_pcie_dump_data() local
3384 cmdlen = iwl_trans_pcie_get_cmdlen(trans, in iwl_trans_pcie_dump_data()
3387 caplen = min_t(u32, TFD_MAX_PAYLOAD_SIZE, cmdlen); in iwl_trans_pcie_dump_data()
3389 if (cmdlen) { in iwl_trans_pcie_dump_data()
3391 txcmd->cmdlen = cpu_to_le32(cmdlen); in iwl_trans_pcie_dump_data()
/linux-6.3-rc2/drivers/mtd/devices/
A Dmchp48l640.c173 int cmdlen; in mchp48l640_write_page() local
188 cmdlen = mchp48l640_mkcmd(flash, MCHP48L640_CMD_WRITE, to, cmd); in mchp48l640_write_page()
189 memcpy(&cmd[cmdlen], buf, len); in mchp48l640_write_page()
190 ret = spi_write(flash->spi, cmd, cmdlen + len); in mchp48l640_write_page()
241 int cmdlen; in mchp48l640_read_page() local
252 cmdlen = mchp48l640_mkcmd(flash, MCHP48L640_CMD_READ, from, cmd); in mchp48l640_read_page()
253 ret = spi_write_then_read(flash->spi, cmd, cmdlen, buf, len); in mchp48l640_read_page()
/linux-6.3-rc2/drivers/video/fbdev/mb862xx/
A 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()
/linux-6.3-rc2/drivers/usb/storage/
A 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()
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()
581 command[cmdlen-1] = MSB_of(len); in usbat_hp8200e_rw_block_test()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/panel/
A 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()
/linux-6.3-rc2/drivers/scsi/
A Dscsi_ioctl.c509 unsigned int in_len, out_len, bytes, opcode, cmdlen; in sg_scsi_ioctl() local
543 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl()
549 scmd->cmd_len = cmdlen; in sg_scsi_ioctl()
550 if (copy_from_user(scmd->cmnd, sic->data, cmdlen)) in sg_scsi_ioctl()
553 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len)) in sg_scsi_ioctl()
A Dscsi_transport_fc.c4090 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_host_dispatch() local
4094 if (job->request_len < cmdlen) { in fc_bsg_host_dispatch()
4102 cmdlen += sizeof(struct fc_bsg_host_add_rport); in fc_bsg_host_dispatch()
4106 cmdlen += sizeof(struct fc_bsg_host_del_rport); in fc_bsg_host_dispatch()
4110 cmdlen += sizeof(struct fc_bsg_host_els); in fc_bsg_host_dispatch()
4120 cmdlen += sizeof(struct fc_bsg_host_ct); in fc_bsg_host_dispatch()
4130 cmdlen += sizeof(struct fc_bsg_host_vendor); in fc_bsg_host_dispatch()
4183 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_rport_dispatch() local
4187 if (job->request_len < cmdlen) { in fc_bsg_rport_dispatch()
4195 cmdlen += sizeof(struct fc_bsg_rport_els); in fc_bsg_rport_dispatch()
[all …]
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-6.3-rc2/drivers/platform/olpc/
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-6.3-rc2/drivers/net/ethernet/fungible/funcore/
A Dfun_dev.c470 unsigned int cmdlen = cmd->len8 * 8; in fun_submit_admin_sync_cmd() local
491 cmdlen, cmd); in fun_submit_admin_sync_cmd()
505 ctx.rsp_status, cmdlen, cmd); in fun_submit_admin_sync_cmd()
/linux-6.3-rc2/drivers/net/usb/
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-6.3-rc2/drivers/net/wireless/intel/iwlwifi/fw/
A Derror-dump.h97 __le32 cmdlen; member
/linux-6.3-rc2/drivers/net/ieee802154/
A Dca8210.c2528 int i, cmdlen; in ca8210_test_int_user_read() local
2552 cmdlen = fifo_buffer[1]; in ca8210_test_int_user_read()
2553 bytes_not_copied = cmdlen + 2; in ca8210_test_int_user_read()
2564 dev_dbg(&priv->spi->dev, "test_interface: Cmd len = %d\n", cmdlen); in ca8210_test_int_user_read()
2567 for (i = 0; i < cmdlen + 2; i++) in ca8210_test_int_user_read()
2572 return cmdlen + 2; in ca8210_test_int_user_read()
/linux-6.3-rc2/include/linux/
A Dnvme-fc-driver.h213 u16 cmdlen; member
/linux-6.3-rc2/drivers/net/wireless/ath/wil6210/
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-6.3-rc2/drivers/scsi/lpfc/
A Dlpfc_nvme.c848 sgl->sge_len = cpu_to_le32(nCmd->cmdlen); in lpfc_nvme_adj_fcp_sgls()
895 wqe->generic.bde.tus.f.bdeSize = nCmd->cmdlen; in lpfc_nvme_adj_fcp_sgls()
1283 (nCmd->rsplen + nCmd->cmdlen)); in lpfc_nvme_prep_io_cmd()
/linux-6.3-rc2/drivers/scsi/qla2xxx/
A Dqla_nvme.c530 cmd_pkt->nvme_cmnd_dseg_len = cpu_to_le16(fd->cmdlen); in qla2x00_start_nvme_mq()
/linux-6.3-rc2/drivers/nvme/target/
A Dfcloop.c641 fcpreq->cmdaddr, fcpreq->cmdlen); in fcloop_fcp_recv_work()
/linux-6.3-rc2/drivers/nvme/host/
A Dfc.c2106 op->fcp_req.cmdlen = sizeof(op->cmd_iu); in __nvme_fc_init_request()

Completed in 75 milliseconds