/Linux-v4.19/arch/s390/kernel/ |
D | cpcmd.c | 27 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-v4.19/drivers/net/wireless/ath/ath10k/ |
D | bmi.c | 42 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.done); in ath10k_bmi_done() local 55 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); in ath10k_bmi_done() 69 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info() local 82 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); in ath10k_bmi_get_target_info() 107 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info_sdio() local 126 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &tmp, &resplen); in ath10k_bmi_get_target_info_sdio() 176 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.read_mem); in ath10k_bmi_read_memory() local 195 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, in ath10k_bmi_read_memory() 215 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.write_soc_reg); in ath10k_bmi_write_soc_reg() local 231 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); in ath10k_bmi_write_soc_reg() [all …]
|
/Linux-v4.19/drivers/video/fbdev/mb862xx/ |
D | mb862xxfb_accel.c | 195 u32 cmdlen; in mb86290fb_imageblit() local 216 cmdlen = 9 + height * step; in mb86290fb_imageblit() 233 cmdlen = 3 + height * step; in mb86290fb_imageblit() 239 cmdlen = 3 + height * step; in mb86290fb_imageblit() 248 cmd = kmalloc_array(cmdlen, 4, GFP_DMA); in mb86290fb_imageblit() 252 mb862xxfb_write_fifo(cmdlen, cmd, info); in mb86290fb_imageblit()
|
/Linux-v4.19/drivers/usb/storage/ |
D | shuttle_usbat.c | 532 int cmdlen; in usbat_hp8200e_rw_block_test() local 552 cmdlen = 16; in usbat_hp8200e_rw_block_test() 568 cmdlen = 8; in usbat_hp8200e_rw_block_test() 571 command[cmdlen-8] = (direction==DMA_TO_DEVICE ? 0x40 : 0xC0); in usbat_hp8200e_rw_block_test() 572 command[cmdlen-7] = access | in usbat_hp8200e_rw_block_test() 575 command[cmdlen-6] = data_reg; in usbat_hp8200e_rw_block_test() 576 command[cmdlen-5] = status_reg; in usbat_hp8200e_rw_block_test() 577 command[cmdlen-4] = timeout; in usbat_hp8200e_rw_block_test() 578 command[cmdlen-3] = qualifier; in usbat_hp8200e_rw_block_test() 579 command[cmdlen-2] = LSB_of(len); in usbat_hp8200e_rw_block_test() [all …]
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | tx-gen2.c | 656 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_gen2_enqueue_hcmd() local 664 cmdlen[i] = cmd->len[i]; in iwl_pcie_gen2_enqueue_hcmd() 673 if (copy > cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd() 674 copy = cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd() 675 cmdlen[i] -= copy; in iwl_pcie_gen2_enqueue_hcmd() 699 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_gen2_enqueue_hcmd() 709 copy_size += cmdlen[i]; in iwl_pcie_gen2_enqueue_hcmd() 832 if (!cmdlen[i]) in iwl_pcie_gen2_enqueue_hcmd() 840 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_gen2_enqueue_hcmd() 846 iwl_pcie_gen2_set_tb(trans, tfd, phys_addr, cmdlen[i]); in iwl_pcie_gen2_enqueue_hcmd()
|
D | tx.c | 1490 u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; in iwl_pcie_enqueue_hcmd() local 1510 cmdlen[i] = cmd->len[i]; in iwl_pcie_enqueue_hcmd() 1519 if (copy > cmdlen[i]) in iwl_pcie_enqueue_hcmd() 1520 copy = cmdlen[i]; in iwl_pcie_enqueue_hcmd() 1521 cmdlen[i] -= copy; in iwl_pcie_enqueue_hcmd() 1545 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_enqueue_hcmd() 1555 copy_size += cmdlen[i]; in iwl_pcie_enqueue_hcmd() 1692 if (!cmdlen[i]) in iwl_pcie_enqueue_hcmd() 1700 cmdlen[i], DMA_TO_DEVICE); in iwl_pcie_enqueue_hcmd() 1708 iwl_pcie_txq_build_tfd(trans, txq, phys_addr, cmdlen[i], false); in iwl_pcie_enqueue_hcmd()
|
D | trans.c | 2731 u32 cmdlen = 0; in iwl_trans_pcie_get_cmdlen() local 2735 cmdlen += iwl_pcie_tfd_tb_get_len(trans, tfd, i); in iwl_trans_pcie_get_cmdlen() 2737 return cmdlen; in iwl_trans_pcie_get_cmdlen() 3080 u32 caplen, cmdlen; in iwl_trans_pcie_dump_data() local 3082 cmdlen = iwl_trans_pcie_get_cmdlen(trans, in iwl_trans_pcie_dump_data() 3085 caplen = min_t(u32, TFD_MAX_PAYLOAD_SIZE, cmdlen); in iwl_trans_pcie_dump_data() 3087 if (cmdlen) { in iwl_trans_pcie_dump_data() 3089 txcmd->cmdlen = cpu_to_le32(cmdlen); in iwl_trans_pcie_dump_data()
|
/Linux-v4.19/block/ |
D | scsi_ioctl.c | 425 unsigned int in_len, out_len, bytes, opcode, cmdlen; in sg_scsi_ioctl() local 458 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl() 464 req->cmd_len = cmdlen; in sg_scsi_ioctl() 465 if (copy_from_user(req->cmd, sic->data, cmdlen)) in sg_scsi_ioctl() 468 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len)) in sg_scsi_ioctl()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/ |
D | error-dump.h | 154 __le32 cmdlen; member
|
/Linux-v4.19/drivers/media/usb/dvb-usb/ |
D | friio.c | 215 static int cmdlen = sizeof(streaming_init_cmds) / 2; variable 357 for (i = 0; i < cmdlen; i++) { in friio_initialize()
|
/Linux-v4.19/drivers/net/usb/ |
D | sierra_net.c | 332 u8 *cmd, int cmdlen, const char * cmd_name) in sierra_net_send_cmd() argument 339 0, priv->ifnum, cmd, cmdlen); in sierra_net_send_cmd() 341 if (status != cmdlen && status != -ENODEV) in sierra_net_send_cmd()
|
/Linux-v4.19/include/linux/ |
D | nvme-fc-driver.h | 150 u16 cmdlen; member
|
/Linux-v4.19/drivers/scsi/ |
D | scsi_transport_fc.c | 3609 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_host_dispatch() local 3613 if (job->request_len < cmdlen) { in fc_bsg_host_dispatch() 3621 cmdlen += sizeof(struct fc_bsg_host_add_rport); in fc_bsg_host_dispatch() 3625 cmdlen += sizeof(struct fc_bsg_host_del_rport); in fc_bsg_host_dispatch() 3629 cmdlen += sizeof(struct fc_bsg_host_els); in fc_bsg_host_dispatch() 3639 cmdlen += sizeof(struct fc_bsg_host_ct); in fc_bsg_host_dispatch() 3649 cmdlen += sizeof(struct fc_bsg_host_vendor); in fc_bsg_host_dispatch() 3707 int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ in fc_bsg_rport_dispatch() local 3711 if (job->request_len < cmdlen) { in fc_bsg_rport_dispatch() 3719 cmdlen += sizeof(struct fc_bsg_rport_els); in fc_bsg_rport_dispatch() [all …]
|
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()
|
/Linux-v4.19/drivers/net/ieee802154/ |
D | ca8210.c | 2566 int i, cmdlen; in ca8210_test_int_user_read() local 2590 cmdlen = fifo_buffer[1]; in ca8210_test_int_user_read() 2591 bytes_not_copied = cmdlen + 2; in ca8210_test_int_user_read() 2602 dev_dbg(&priv->spi->dev, "test_interface: Cmd len = %d\n", cmdlen); in ca8210_test_int_user_read() 2605 for (i = 0; i < cmdlen + 2; i++) in ca8210_test_int_user_read() 2610 return cmdlen + 2; in ca8210_test_int_user_read()
|
/Linux-v4.19/drivers/net/wireless/ath/wil6210/ |
D | debugfs.c | 1022 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-v4.19/drivers/staging/rtlwifi/phydm/ |
D | phydm_rainfo.c | 358 u8 cmdlen = H2C_0X42_LENGTH; in odm_rssi_monitor_check_ce() local 420 odm_fill_h2c_cmd(dm, ODM_H2C_RSSI_REPORT, cmdlen, in odm_rssi_monitor_check_ce()
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 4976 u32 cmdlen; in rtw_ioctl_wext_private() local 5008 cmdlen = strlen(cmdname); in rtw_ioctl_wext_private() 5012 if (cmdlen > 0) in rtw_ioctl_wext_private() 5013 cmdlen += 1; /* skip one space */ in rtw_ioctl_wext_private() 5014 ptr += cmdlen; in rtw_ioctl_wext_private() 5015 len -= cmdlen; in rtw_ioctl_wext_private()
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_nvme.c | 787 sgl->sge_len = cpu_to_le32(nCmd->cmdlen); in lpfc_nvme_adj_fcp_sgls() 834 wqe->generic.bde.tus.f.bdeSize = nCmd->cmdlen; in lpfc_nvme_adj_fcp_sgls() 1266 (nCmd->rsplen + nCmd->cmdlen)); in lpfc_nvme_prep_io_cmd()
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | qla_nvme.c | 398 cmd_pkt->nvme_cmnd_dseg_len = cpu_to_le16(fd->cmdlen); in qla2x00_start_nvme_mq()
|
/Linux-v4.19/drivers/nvme/target/ |
D | fcloop.c | 432 fcpreq->cmdaddr, fcpreq->cmdlen); in fcloop_fcp_recv_work()
|
/Linux-v4.19/drivers/nvme/host/ |
D | fc.c | 1693 op->fcp_req.cmdlen = sizeof(op->cmd_iu); in __nvme_fc_init_request()
|
/Linux-v4.19/drivers/s390/net/ |
D | qeth_core_main.c | 2999 __u32 command, __u32 cmdlen) in qeth_get_adapter_cmd() argument 3008 cmd->data.setadapterparms.hdr.cmdlength = cmdlen; in qeth_get_adapter_cmd()
|