Home
last modified time | relevance | path

Searched refs:cmd_len (Results 76 - 100 of 465) sorted by relevance

12345678910>>...19

/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dfw.c164 u32 cmd_len, u8 *cmdbuffer) in _rtl92ee_fill_h2c_command()
298 switch (cmd_len) { in _rtl92ee_fill_h2c_command()
304 cmdbuffer + buf_index, cmd_len); in _rtl92ee_fill_h2c_command()
317 cmdbuffer + buf_index+3, cmd_len-3); in _rtl92ee_fill_h2c_command()
333 "switch case %#x not processed\n", cmd_len); in _rtl92ee_fill_h2c_command()
356 u8 element_id, u32 cmd_len, u8 *cmdbuffer) in rtl92ee_fill_h2c_cmd()
368 memcpy(tmp_cmdbuf, cmdbuffer, cmd_len); in rtl92ee_fill_h2c_cmd()
369 _rtl92ee_fill_h2c_command(hw, element_id, cmd_len, (u8 *)&tmp_cmdbuf); in rtl92ee_fill_h2c_cmd()
857 u8 *cmd_buf, u8 cmd_len) in rtl92ee_c2h_ra_report_handler()
163 _rtl92ee_fill_h2c_command(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *cmdbuffer) _rtl92ee_fill_h2c_command() argument
355 rtl92ee_fill_h2c_cmd(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *cmdbuffer) rtl92ee_fill_h2c_cmd() argument
856 rtl92ee_c2h_ra_report_handler(struct ieee80211_hw *hw, u8 *cmd_buf, u8 cmd_len) rtl92ee_c2h_ra_report_handler() argument
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/
H A Diosm_ipc_mux_codec.c88 cmdh->cmd_len = cpu_to_le16(offsetof(struct mux_cmdh, param) + in ipc_mux_acb_add_cmd()
95 le16_to_cpu(cmdh->cmd_len)); in ipc_mux_acb_add_cmd()
113 cmdh->cmd_len = cpu_to_le16(offsetof(struct mux_lite_cmdh, param) + in ipc_mux_lite_add_cmd()
120 skb_put(acb->skb, le16_to_cpu(cmdh->cmd_len)); in ipc_mux_lite_add_cmd()
233 __le16 cmd_len, int size) in ipc_mux_dl_cmds_decode_process()
256 if (cmd_len == cpu_to_le16(size)) in ipc_mux_dl_cmds_decode_process()
287 if (cmd_len == cpu_to_le16(size)) in ipc_mux_dl_cmds_decode_process()
332 cmdh->cmd_len, size)) { in ipc_mux_dl_cmd_decode()
500 cmdh->cmd_len, size)) { in ipc_mux_dl_acbcmd_decode()
230 ipc_mux_dl_cmds_decode_process(struct iosm_mux *ipc_mux, union mux_cmd_param *param, __le32 command_type, u8 if_id, __le16 cmd_len, int size) ipc_mux_dl_cmds_decode_process() argument
/kernel/linux/linux-5.10/block/
H A Dbsg.c75 sreq->cmd_len = hdr->request_len; in bsg_scsi_fill_hdr()
76 if (sreq->cmd_len > BLK_MAX_CDB) { in bsg_scsi_fill_hdr()
77 sreq->cmd = kzalloc(sreq->cmd_len, GFP_KERNEL); in bsg_scsi_fill_hdr()
82 if (copy_from_user(sreq->cmd, uptr64(hdr->request), sreq->cmd_len)) in bsg_scsi_fill_hdr()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_logging.c204 if (cmd->cmd_len > 16) { in scsi_print_command()
208 for (k = 0; k < cmd->cmd_len; k += 16) { in scsi_print_command()
209 size_t linelen = min(cmd->cmd_len - k, 16); in scsi_print_command()
228 hex_dump_to_buffer(cmd->cmnd, cmd->cmd_len, 16, 1, in scsi_print_command()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
H A Dcmd.c394 size_t cmd_len; in wl1251_cmd_template_set() local
401 cmd_len = ALIGN(sizeof(*cmd) + buf_len, 4); in wl1251_cmd_template_set()
403 cmd = kzalloc(cmd_len, GFP_KERNEL); in wl1251_cmd_template_set()
414 ret = wl1251_cmd_send(wl, cmd_id, cmd, cmd_len); in wl1251_cmd_template_set()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_logging.c204 if (cmd->cmd_len > 16) { in scsi_print_command()
208 for (k = 0; k < cmd->cmd_len; k += 16) { in scsi_print_command()
209 size_t linelen = min(cmd->cmd_len - k, 16); in scsi_print_command()
228 hex_dump_to_buffer(cmd->cmnd, cmd->cmd_len, 16, 1, in scsi_print_command()
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/
H A Dcmd.c384 size_t cmd_len; in wl1251_cmd_template_set() local
391 cmd_len = ALIGN(sizeof(*cmd) + buf_len, 4); in wl1251_cmd_template_set()
393 cmd = kzalloc(cmd_len, GFP_KERNEL); in wl1251_cmd_template_set()
402 ret = wl1251_cmd_send(wl, cmd_id, cmd, cmd_len); in wl1251_cmd_template_set()
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_eh.h39 unsigned char cmd_len; member
/kernel/linux/linux-5.10/include/xen/interface/io/
H A Dvscsiif.h114 * of the CDB is in cmd_len. sc_data_direction specifies the direction of data
193 uint8_t cmd_len; /* valid CDB bytes */ member
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_eh.h39 unsigned char cmd_len; member
/third_party/toybox/toys/other/
H A Deject.c41 header->cmd_len = 6; in remove_scsi()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dscan.c622 u16 cmd_len = 0; in iwlagn_request_scan() local
843 cmd_len = iwl_fill_probe_req( in iwlagn_request_scan()
853 cmd_len = iwl_fill_probe_req( in iwlagn_request_scan()
862 scan->tx_cmd.len = cpu_to_le16(cmd_len); in iwlagn_request_scan()
871 (void *)&scan->data[cmd_len]); in iwlagn_request_scan()
877 (void *)&scan->data[cmd_len]); in iwlagn_request_scan()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dfw.c29 u32 cmd_len, u8 *cmdbuffer) in _rtl8723e_fill_h2c_command()
143 switch (cmd_len) { in _rtl8723e_fill_h2c_command()
210 cmd_len); in _rtl8723e_fill_h2c_command()
233 u8 element_id, u32 cmd_len, u8 *cmdbuffer) in rtl8723e_fill_h2c_cmd()
244 memcpy(tmp_cmdbuf, cmdbuffer, cmd_len); in rtl8723e_fill_h2c_cmd()
245 _rtl8723e_fill_h2c_command(hw, element_id, cmd_len, in rtl8723e_fill_h2c_cmd()
28 _rtl8723e_fill_h2c_command(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *cmdbuffer) _rtl8723e_fill_h2c_command() argument
232 rtl8723e_fill_h2c_cmd(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *cmdbuffer) rtl8723e_fill_h2c_cmd() argument
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dscan.c618 u16 cmd_len = 0; in iwlagn_request_scan() local
845 cmd_len = iwl_fill_probe_req( in iwlagn_request_scan()
855 cmd_len = iwl_fill_probe_req( in iwlagn_request_scan()
864 scan->tx_cmd.len = cpu_to_le16(cmd_len); in iwlagn_request_scan()
873 (void *)&scan->data[cmd_len]); in iwlagn_request_scan()
879 (void *)&scan->data[cmd_len]); in iwlagn_request_scan()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dfw.c29 u32 cmd_len, u8 *cmdbuffer) in _rtl8723e_fill_h2c_command()
143 switch (cmd_len) { in _rtl8723e_fill_h2c_command()
210 cmd_len); in _rtl8723e_fill_h2c_command()
233 u8 element_id, u32 cmd_len, u8 *cmdbuffer) in rtl8723e_fill_h2c_cmd()
244 memcpy(tmp_cmdbuf, cmdbuffer, cmd_len); in rtl8723e_fill_h2c_cmd()
245 _rtl8723e_fill_h2c_command(hw, element_id, cmd_len, in rtl8723e_fill_h2c_cmd()
28 _rtl8723e_fill_h2c_command(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *cmdbuffer) _rtl8723e_fill_h2c_command() argument
232 rtl8723e_fill_h2c_cmd(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *cmdbuffer) rtl8723e_fill_h2c_cmd() argument
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/
H A Dmock_wpa_ctrl.cpp215 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, char *reply, size_t *reply_len, in wpa_ctrl_request() argument
221 (void)cmd_len; in wpa_ctrl_request()
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c180 ptrdiff_t cmd_len; in pcan_usb_fd_send_cmd() local
189 cmd_len = cmd_tail - cmd_head; in pcan_usb_fd_send_cmd()
190 if (cmd_len <= (PCAN_UFD_CMD_BUFFER_SIZE - sizeof(u64))) { in pcan_usb_fd_send_cmd()
192 cmd_len += sizeof(u64); in pcan_usb_fd_send_cmd()
196 packet_len = cmd_len; in pcan_usb_fd_send_cmd()
215 cmd_len -= packet_len; in pcan_usb_fd_send_cmd()
217 if (cmd_len < PCAN_UFD_LOSPD_PKT_SIZE) in pcan_usb_fd_send_cmd()
218 packet_len = cmd_len; in pcan_usb_fd_send_cmd()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dfw.c27 u32 cmd_len, u8 *p_cmdbuffer) in _rtl8723be_fill_h2c_command()
140 switch (cmd_len) { in _rtl8723be_fill_h2c_command()
146 p_cmdbuffer + buf_index, cmd_len); in _rtl8723be_fill_h2c_command()
159 p_cmdbuffer + buf_index+3, cmd_len-3); in _rtl8723be_fill_h2c_command()
175 cmd_len); in _rtl8723be_fill_h2c_command()
198 u32 cmd_len, u8 *p_cmdbuffer) in rtl8723be_fill_h2c_cmd()
210 memcpy(tmp_cmdbuf, p_cmdbuffer, cmd_len); in rtl8723be_fill_h2c_cmd()
211 _rtl8723be_fill_h2c_command(hw, element_id, cmd_len, in rtl8723be_fill_h2c_cmd()
26 _rtl8723be_fill_h2c_command(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *p_cmdbuffer) _rtl8723be_fill_h2c_command() argument
197 rtl8723be_fill_h2c_cmd(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *p_cmdbuffer) rtl8723be_fill_h2c_cmd() argument
/kernel/linux/linux-5.10/sound/pci/pcxhr/
H A Dpcxhr_core.c602 if (snd_BUG_ON(rmh->cmd_len >= PCXHR_SIZE_MAX_CMD)) in pcxhr_send_msg_nolock()
627 if (rmh->cmd_len > 1) in pcxhr_send_msg_nolock()
645 if (rmh->cmd_len > 1) { in pcxhr_send_msg_nolock()
647 data = rmh->cmd_len - 1; in pcxhr_send_msg_nolock()
658 for (i=1; i < rmh->cmd_len; i++) { in pcxhr_send_msg_nolock()
722 rmh->cmd_len = 1; in pcxhr_init_rmh()
745 rmh->cmd_len = 2; in pcxhr_set_pipe_cmd_params()
979 rmh.cmd_len = 3; in pcxhr_write_io_num_reg_cont()
H A Dpcxhr.c271 rmh.cmd_len = 3; in pcxhr_get_clock_reg()
332 rmh.cmd_len = 2; in pcxhr_sub_set_clock()
341 rmh.cmd_len = 2; in pcxhr_sub_set_clock()
362 rmh.cmd_len = 2; in pcxhr_sub_set_clock()
404 rmh.cmd_len = 3; in pcxhr_set_clock()
444 rmh.cmd_len = 2; in pcxhr_sub_get_external_clock()
604 rmh.cmd_len = 2; in pcxhr_set_format()
611 rmh.cmd_len = 3; in pcxhr_set_format()
614 rmh.cmd[rmh.cmd_len++] = header >> 8; in pcxhr_set_format()
615 rmh.cmd[rmh.cmd_len in pcxhr_set_format()
[all...]
/kernel/linux/linux-6.6/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c201 ptrdiff_t cmd_len; in pcan_usb_fd_send_cmd() local
210 cmd_len = cmd_tail - cmd_head; in pcan_usb_fd_send_cmd()
211 if (cmd_len <= (PCAN_UFD_CMD_BUFFER_SIZE - sizeof(u64))) { in pcan_usb_fd_send_cmd()
213 cmd_len += sizeof(u64); in pcan_usb_fd_send_cmd()
217 packet_len = cmd_len; in pcan_usb_fd_send_cmd()
236 cmd_len -= packet_len; in pcan_usb_fd_send_cmd()
238 if (cmd_len < PCAN_UFD_LOSPD_PKT_SIZE) in pcan_usb_fd_send_cmd()
239 packet_len = cmd_len; in pcan_usb_fd_send_cmd()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dfw.c27 u32 cmd_len, u8 *p_cmdbuffer) in _rtl8723be_fill_h2c_command()
140 switch (cmd_len) { in _rtl8723be_fill_h2c_command()
146 p_cmdbuffer + buf_index, cmd_len); in _rtl8723be_fill_h2c_command()
159 p_cmdbuffer + buf_index+3, cmd_len-3); in _rtl8723be_fill_h2c_command()
175 cmd_len); in _rtl8723be_fill_h2c_command()
198 u32 cmd_len, u8 *p_cmdbuffer) in rtl8723be_fill_h2c_cmd()
210 memcpy(tmp_cmdbuf, p_cmdbuffer, cmd_len); in rtl8723be_fill_h2c_cmd()
211 _rtl8723be_fill_h2c_command(hw, element_id, cmd_len, in rtl8723be_fill_h2c_cmd()
26 _rtl8723be_fill_h2c_command(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *p_cmdbuffer) _rtl8723be_fill_h2c_command() argument
197 rtl8723be_fill_h2c_cmd(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *p_cmdbuffer) rtl8723be_fill_h2c_cmd() argument
/kernel/linux/linux-6.6/sound/pci/pcxhr/
H A Dpcxhr_core.c602 if (snd_BUG_ON(rmh->cmd_len >= PCXHR_SIZE_MAX_CMD)) in pcxhr_send_msg_nolock()
627 if (rmh->cmd_len > 1) in pcxhr_send_msg_nolock()
645 if (rmh->cmd_len > 1) { in pcxhr_send_msg_nolock()
647 data = rmh->cmd_len - 1; in pcxhr_send_msg_nolock()
658 for (i=1; i < rmh->cmd_len; i++) { in pcxhr_send_msg_nolock()
722 rmh->cmd_len = 1; in pcxhr_init_rmh()
745 rmh->cmd_len = 2; in pcxhr_set_pipe_cmd_params()
979 rmh.cmd_len = 3; in pcxhr_write_io_num_reg_cont()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_surface.c262 uint32_t cmd_len; in vmw_surface_define_encode() local
265 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode()
269 cmd->header.size = cmd_len; in vmw_surface_define_encode()
1071 uint32_t cmd_len, cmd_id, submit_len; in vmw_gb_surface_create() local
1107 cmd_len = sizeof(cmd4->body); in vmw_gb_surface_create()
1111 cmd_len = sizeof(cmd3->body); in vmw_gb_surface_create()
1116 cmd_len = sizeof(cmd2->body); in vmw_gb_surface_create()
1120 cmd_len = sizeof(cmd->body); in vmw_gb_surface_create()
1135 cmd4->header.size = cmd_len; in vmw_gb_surface_create()
1151 cmd3->header.size = cmd_len; in vmw_gb_surface_create()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_surface.c259 uint32_t cmd_len; in vmw_surface_define_encode() local
262 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode()
266 cmd->header.size = cmd_len; in vmw_surface_define_encode()
1038 uint32_t cmd_len, cmd_id, submit_len; in vmw_gb_surface_create() local
1074 cmd_len = sizeof(cmd4->body); in vmw_gb_surface_create()
1078 cmd_len = sizeof(cmd3->body); in vmw_gb_surface_create()
1083 cmd_len = sizeof(cmd2->body); in vmw_gb_surface_create()
1087 cmd_len = sizeof(cmd->body); in vmw_gb_surface_create()
1102 cmd4->header.size = cmd_len; in vmw_gb_surface_create()
1118 cmd3->header.size = cmd_len; in vmw_gb_surface_create()
[all...]

Completed in 28 milliseconds

12345678910>>...19