| /kernel/linux/linux-5.10/drivers/scsi/ |
| H A D | megaraid.c | 707 pthru->cdblen = cmd->cmd_len; in mega_build_cmd() 708 memcpy(pthru->cdb, cmd->cmnd, cmd->cmd_len); in mega_build_cmd() 761 if( cmd->cmd_len == 6 ) { in mega_build_cmd() 791 if( cmd->cmd_len == 10 ) { in mega_build_cmd() 817 if( cmd->cmd_len == 12 ) { in mega_build_cmd() 973 pthru->cdblen = cmd->cmd_len; in mega_prepare_passthru() 976 memcpy(pthru->cdb, cmd->cmnd, cmd->cmd_len); in mega_prepare_passthru() 1037 epthru->cdblen = cmd->cmd_len; in mega_prepare_extpassthru() 1040 memcpy(epthru->cdb, cmd->cmnd, cmd->cmd_len); in mega_prepare_extpassthru()
|
| H A D | aha152x.c | 108 * - updated COMMAND_SIZE to cmd_len 1050 unsigned char old_cmd_len = SCpnt->cmd_len; in aha152x_device_reset() 1064 SCpnt->cmd_len = 0; in aha152x_device_reset() 1076 SCpnt->cmd_len = old_cmd_len; in aha152x_device_reset() 1907 while(CMD_I<CURRENT_SC->cmd_len) { in cmd_run() 1917 if(CMD_I<CURRENT_SC->cmd_len) in cmd_end() 1920 CMD_I, CURRENT_SC->cmd_len); in cmd_end()
|
| H A D | esp_scsi.c | 772 if (!(cmd->cmd_len == 6 || cmd->cmd_len == 10 || cmd->cmd_len == 12)) in esp_maybe_execute_command() 830 esp->cmd_bytes_left = cmd->cmd_len; in esp_maybe_execute_command() 853 for (i = 0; i < cmd->cmd_len; i++) in esp_maybe_execute_command() 870 for (i = 0; i < cmd->cmd_len; i++) in esp_maybe_execute_command()
|
| /kernel/linux/linux-6.6/drivers/scsi/ |
| H A D | sd.c | 902 cmd->cmd_len = 10; in sd_setup_unmap_cmnd() 931 cmd->cmd_len = 16; in sd_setup_write_same16_cmnd() 958 cmd->cmd_len = 10; in sd_setup_write_same10_cmnd() 1070 cmd->cmd_len = 16; in sd_setup_flush_cmnd() 1073 cmd->cmd_len = 10; in sd_setup_flush_cmnd() 1086 cmd->cmd_len = SD_EXT_CDB_SIZE; in sd_setup_rw32_cmnd() 1103 cmd->cmd_len = 16; in sd_setup_rw16_cmnd() 1118 cmd->cmd_len = 10; in sd_setup_rw10_cmnd() 1147 cmd->cmd_len = 6; in sd_setup_rw6_cmnd()
|
| H A D | megaraid.c | 705 pthru->cdblen = cmd->cmd_len; in mega_build_cmd() 706 memcpy(pthru->cdb, cmd->cmnd, cmd->cmd_len); in mega_build_cmd() 759 if( cmd->cmd_len == 6 ) { in mega_build_cmd() 789 if( cmd->cmd_len == 10 ) { in mega_build_cmd() 815 if( cmd->cmd_len == 12 ) { in mega_build_cmd() 971 pthru->cdblen = cmd->cmd_len; in mega_prepare_passthru() 974 memcpy(pthru->cdb, cmd->cmnd, cmd->cmd_len); in mega_prepare_passthru() 1035 epthru->cdblen = cmd->cmd_len; in mega_prepare_extpassthru() 1038 memcpy(epthru->cdb, cmd->cmnd, cmd->cmd_len); in mega_prepare_extpassthru()
|
| H A D | scsi_lib.c | 228 scmd->cmd_len = COMMAND_SIZE(cmd[0]); in scsi_execute_cmd() 229 memcpy(scmd->cmnd, cmd, scmd->cmd_len); in scsi_execute_cmd() 1125 cmd->cmd_len = MAX_COMMAND_SIZE; in scsi_initialize_rq() 1503 if (cmd->cmd_len > cmd->device->host->max_cmd_len) { in scsi_dispatch_cmd() 1507 cmd->cmd_len, cmd->device->host->max_cmd_len)); in scsi_dispatch_cmd()
|
| H A D | aha152x.c | 108 * - updated COMMAND_SIZE to cmd_len 1076 unsigned char old_cmd_len = SCpnt->cmd_len; in aha152x_device_reset() 1090 SCpnt->cmd_len = 0; in aha152x_device_reset() 1102 SCpnt->cmd_len = old_cmd_len; in aha152x_device_reset() 1952 while(CMD_I<CURRENT_SC->cmd_len) { in cmd_run() 1962 if(CMD_I<CURRENT_SC->cmd_len) in cmd_end() 1965 CMD_I, CURRENT_SC->cmd_len); in cmd_end()
|
| H A D | esp_scsi.c | 772 if (!(cmd->cmd_len == 6 || cmd->cmd_len == 10 || cmd->cmd_len == 12)) in esp_maybe_execute_command() 830 esp->cmd_bytes_left = cmd->cmd_len; in esp_maybe_execute_command() 853 for (i = 0; i < cmd->cmd_len; i++) in esp_maybe_execute_command() 870 for (i = 0; i < cmd->cmd_len; i++) in esp_maybe_execute_command()
|
| /kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| H A D | hal_btc.c | 1704 c2h_event.cmd_len = (u1b_tmp & 0xF0) >> 4; in rtl_8723e_c2h_command_handle() 1707 "cmd_id: %d, cmd_len: %d, cmd_seq: %d\n", in rtl_8723e_c2h_command_handle() 1708 c2h_event.cmd_id, c2h_event.cmd_len, c2h_event.cmd_seq); in rtl_8723e_c2h_command_handle() 1716 ptmp_buf = kzalloc(c2h_event.cmd_len, GFP_KERNEL); in rtl_8723e_c2h_command_handle() 1724 for (index = 0; index < c2h_event.cmd_len; index++) in rtl_8723e_c2h_command_handle() 1746 rtl8723e_dm_bt_parse_bt_info(hw, ptmp_buf, c2h_event.cmd_len); in rtl_8723e_c2h_command_handle()
|
| /kernel/linux/linux-5.10/drivers/scsi/bnx2i/ |
| H A D | bnx2i_iscsi.c | 90 u32 cmd_len = cmd->req.total_data_transfer_length; in bnx2i_setup_write_cmd_bd_info() local 100 if (task->imm_count == cmd_len) in bnx2i_setup_write_cmd_bd_info() 111 if (buffer_offset != cmd_len) { in bnx2i_setup_write_cmd_bd_info() 1141 lpcnt = cmd->scsi_cmd->cmd_len / sizeof(dword); in bnx2i_cpy_scsi_cdb() 1150 if (sc->cmd_len & 0x3) { in bnx2i_cpy_scsi_cdb()
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| H A D | hal_btc.c | 1704 c2h_event.cmd_len = (u1b_tmp & 0xF0) >> 4; in rtl_8723e_c2h_command_handle() 1707 "cmd_id: %d, cmd_len: %d, cmd_seq: %d\n", in rtl_8723e_c2h_command_handle() 1708 c2h_event.cmd_id, c2h_event.cmd_len, c2h_event.cmd_seq); in rtl_8723e_c2h_command_handle() 1716 ptmp_buf = kzalloc(c2h_event.cmd_len, GFP_KERNEL); in rtl_8723e_c2h_command_handle() 1724 for (index = 0; index < c2h_event.cmd_len; index++) in rtl_8723e_c2h_command_handle() 1746 rtl8723e_dm_bt_parse_bt_info(hw, ptmp_buf, c2h_event.cmd_len); in rtl_8723e_c2h_command_handle()
|
| /kernel/linux/linux-6.6/drivers/scsi/bnx2i/ |
| H A D | bnx2i_iscsi.c | 90 u32 cmd_len = cmd->req.total_data_transfer_length; in bnx2i_setup_write_cmd_bd_info() local 100 if (task->imm_count == cmd_len) in bnx2i_setup_write_cmd_bd_info() 111 if (buffer_offset != cmd_len) { in bnx2i_setup_write_cmd_bd_info() 1141 lpcnt = cmd->scsi_cmd->cmd_len / sizeof(dword); in bnx2i_cpy_scsi_cdb() 1150 if (sc->cmd_len & 0x3) { in bnx2i_cpy_scsi_cdb()
|
| /device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
| H A D | wl_android.h | 119 int wl_handle_private_cmd(struct net_device *net, char *command, u32 cmd_len);
|
| /kernel/linux/linux-5.10/drivers/input/mouse/ |
| H A D | cyapa.h | 404 u8 *cmd, int cmd_len,
|
| /kernel/linux/linux-5.10/drivers/ide/ |
| H A D | ide-ioctls.c | 236 scsi_req(rq)->cmd_len = 1; in generic_drive_reset()
|
| /kernel/linux/linux-5.10/drivers/media/usb/as102/ |
| H A D | as10x_cmd.h | 473 uint16_t cmd_len);
|
| /kernel/linux/linux-6.6/drivers/media/usb/as102/ |
| H A D | as10x_cmd.h | 473 uint16_t cmd_len);
|
| /kernel/linux/linux-6.6/drivers/input/mouse/ |
| H A D | cyapa.h | 404 u8 *cmd, int cmd_len,
|
| /kernel/linux/linux-5.10/drivers/crypto/ |
| H A D | hifn_795x.c | 1078 u16 cmd_len; in hifn_setup_crypto_command() local 1107 cmd_len = buf_pos - buf; in hifn_setup_crypto_command() 1109 return cmd_len; in hifn_setup_crypto_command() 1117 int cmd_len, sa_idx; in hifn_setup_cmd_desc() local 1208 cmd_len = buf_pos - buf; in hifn_setup_cmd_desc() 1209 dma->cmdr[dma->cmdi].l = __cpu_to_le32(cmd_len | HIFN_D_VALID | in hifn_setup_cmd_desc()
|
| /kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | base.c | 2298 u8 cmd_id, cmd_len; in rtl_c2h_content_parsing() local 2302 cmd_len = skb->len - C2H_DATA_OFFSET; in rtl_c2h_content_parsing() 2314 rtl_tx_report_handler(hw, cmd_buf, cmd_len); in rtl_c2h_content_parsing() 2318 hal_ops->c2h_ra_report_handler(hw, cmd_buf, cmd_len); in rtl_c2h_content_parsing() 2324 btc_ops->btc_btinfo_notify(rtlpriv, cmd_buf, cmd_len); in rtl_c2h_content_parsing() 2330 btc_ops->btc_btmpinfo_notify(rtlpriv, cmd_buf, cmd_len); in rtl_c2h_content_parsing()
|
| /kernel/linux/linux-5.10/drivers/message/fusion/ |
| H A D | mptscsih.c | 1323 u32 cmd_len; in mptscsih_qcmd() local 1386 pScsiReq->CDBLength = SCpnt->cmd_len; in mptscsih_qcmd() 1396 cmd_len = SCpnt->cmd_len; in mptscsih_qcmd() 1397 for (ii=0; ii < cmd_len; ii++) in mptscsih_qcmd() 1400 for (ii=cmd_len; ii < 16; ii++) in mptscsih_qcmd()
|
| /kernel/linux/linux-6.6/drivers/message/fusion/ |
| H A D | mptscsih.c | 1322 u32 cmd_len; in mptscsih_qcmd() local 1385 pScsiReq->CDBLength = SCpnt->cmd_len; in mptscsih_qcmd() 1395 cmd_len = SCpnt->cmd_len; in mptscsih_qcmd() 1396 for (ii=0; ii < cmd_len; ii++) in mptscsih_qcmd() 1399 for (ii=cmd_len; ii < 16; ii++) in mptscsih_qcmd()
|
| /kernel/linux/linux-6.6/drivers/crypto/ |
| H A D | hifn_795x.c | 1078 u16 cmd_len; in hifn_setup_crypto_command() local 1107 cmd_len = buf_pos - buf; in hifn_setup_crypto_command() 1109 return cmd_len; in hifn_setup_crypto_command() 1117 int cmd_len, sa_idx; in hifn_setup_cmd_desc() local 1208 cmd_len = buf_pos - buf; in hifn_setup_cmd_desc() 1209 dma->cmdr[dma->cmdi].l = __cpu_to_le32(cmd_len | HIFN_D_VALID | in hifn_setup_cmd_desc()
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | base.c | 2291 u8 cmd_id, cmd_len; in rtl_c2h_content_parsing() local 2295 cmd_len = skb->len - C2H_DATA_OFFSET; in rtl_c2h_content_parsing() 2307 rtl_tx_report_handler(hw, cmd_buf, cmd_len); in rtl_c2h_content_parsing() 2311 hal_ops->c2h_ra_report_handler(hw, cmd_buf, cmd_len); in rtl_c2h_content_parsing() 2317 btc_ops->btc_btinfo_notify(rtlpriv, cmd_buf, cmd_len); in rtl_c2h_content_parsing() 2323 btc_ops->btc_btmpinfo_notify(rtlpriv, cmd_buf, cmd_len); in rtl_c2h_content_parsing()
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
| H A D | rtl8712_recv.c | 417 u16 cmd_len, drvinfo_sz; in r8712_rxcmd_event_hdl() local 428 cmd_len = (u16)(le32_to_cpu(voffset) & 0xffff); in r8712_rxcmd_event_hdl() 430 poffset += (cmd_len + 8);/*8 bytes alignment*/ in r8712_rxcmd_event_hdl()
|