Home
last modified time | relevance | path

Searched refs:cmd_len (Results 51 - 75 of 464) sorted by relevance

12345678910>>...19

/kernel/linux/linux-6.6/drivers/input/rmi4/
H A Drmi_spi.c123 int cmd_len = 0; in rmi_spi_xfer() local
133 cmd_len += 2; in rmi_spi_xfer()
138 cmd_len += 4; in rmi_spi_xfer()
142 total_tx_len = cmd_len + tx_len; in rmi_spi_xfer()
183 memcpy(&rmi_spi->tx_buf[cmd_len], tx_buf, tx_len); in rmi_spi_xfer()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dfw.c166 u8 element_id, u32 cmd_len, in _rtl88e_fill_h2c_command()
278 switch (cmd_len) { in _rtl88e_fill_h2c_command()
284 cmd_b + buf_index, cmd_len); in _rtl88e_fill_h2c_command()
297 cmd_b + buf_index+3, cmd_len-3); in _rtl88e_fill_h2c_command()
313 "switch case %#x not processed\n", cmd_len); in _rtl88e_fill_h2c_command()
336 u8 element_id, u32 cmd_len, u8 *cmdbuffer) in rtl88e_fill_h2c_cmd()
348 memcpy(tmp_cmdbuf, cmdbuffer, cmd_len); in rtl88e_fill_h2c_cmd()
349 _rtl88e_fill_h2c_command(hw, element_id, cmd_len, (u8 *)&tmp_cmdbuf); in rtl88e_fill_h2c_cmd()
165 _rtl88e_fill_h2c_command(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *cmd_b) _rtl88e_fill_h2c_command() argument
335 rtl88e_fill_h2c_cmd(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *cmdbuffer) rtl88e_fill_h2c_cmd() argument
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dfw.c166 u8 element_id, u32 cmd_len, in _rtl88e_fill_h2c_command()
278 switch (cmd_len) { in _rtl88e_fill_h2c_command()
284 cmd_b + buf_index, cmd_len); in _rtl88e_fill_h2c_command()
297 cmd_b + buf_index+3, cmd_len-3); in _rtl88e_fill_h2c_command()
313 "switch case %#x not processed\n", cmd_len); in _rtl88e_fill_h2c_command()
336 u8 element_id, u32 cmd_len, u8 *cmdbuffer) in rtl88e_fill_h2c_cmd()
348 memcpy(tmp_cmdbuf, cmdbuffer, cmd_len); in rtl88e_fill_h2c_cmd()
349 _rtl88e_fill_h2c_command(hw, element_id, cmd_len, (u8 *)&tmp_cmdbuf); in rtl88e_fill_h2c_cmd()
165 _rtl88e_fill_h2c_command(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *cmd_b) _rtl88e_fill_h2c_command() argument
335 rtl88e_fill_h2c_cmd(struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *cmdbuffer) rtl88e_fill_h2c_cmd() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dwpa_ctrl.c553 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() argument
573 _cmd_len = os_strlen(ctrl->cookie) + 1 + cmd_len; in wpa_ctrl_request()
582 os_memcpy(pos, cmd, cmd_len); in wpa_ctrl_request()
587 _cmd_len = cmd_len; in wpa_ctrl_request()
801 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() argument
808 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL)) in wpa_ctrl_request()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Dwpa_ctrl.c517 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() argument
535 _cmd_len = os_strlen(ctrl->cookie) + 1 + cmd_len; in wpa_ctrl_request()
544 os_memcpy(pos, cmd, cmd_len); in wpa_ctrl_request()
549 _cmd_len = cmd_len; in wpa_ctrl_request()
760 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() argument
767 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL)) in wpa_ctrl_request()
/kernel/linux/linux-5.10/include/scsi/
H A Dsg.h48 unsigned char cmd_len; /* [i] SCSI command length */ member
77 unsigned char cmd_len; /* [i] SCSI command length ( <= 16 bytes) */ member
H A Dscsi_request.h12 unsigned short cmd_len; member
/kernel/linux/linux-6.6/include/scsi/
H A Dsg.h44 unsigned char cmd_len; /* [i] SCSI command length */ member
73 unsigned char cmd_len; /* [i] SCSI command length ( <= 16 bytes) */ member
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/
H A Diosm_ipc_mux_codec.h91 * @cmd_len: Length (in bytes) of the Aggregated Command Block.
102 __le16 cmd_len; member
195 * @cmd_len: Length (in bytes) of the command. This length shall
208 __le16 cmd_len; member
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
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dwpa_priv.c631 size_t cmd_len; in wpa_priv_receive() local
652 cmd_len = res - sizeof(int); in wpa_priv_receive()
662 wpa_priv_cmd_scan(iface, cmd_buf, cmd_len); in wpa_priv_receive()
668 wpa_priv_cmd_associate(iface, cmd_buf, cmd_len); in wpa_priv_receive()
677 wpa_priv_cmd_set_key(iface, cmd_buf, cmd_len); in wpa_priv_receive()
684 cmd_buf, cmd_len); in wpa_priv_receive()
693 wpa_priv_cmd_l2_send(iface, &from, fromlen, cmd_buf, cmd_len); in wpa_priv_receive()
697 if (pos + cmd_len >= buf + sizeof(buf)) in wpa_priv_receive()
699 pos[cmd_len] = '\0'; in wpa_priv_receive()
703 wpa_priv_cmd_authenticate(iface, cmd_buf, cmd_len); in wpa_priv_receive()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dwpa_priv.c640 size_t cmd_len; in wpa_priv_receive() local
661 cmd_len = res - sizeof(int); in wpa_priv_receive()
671 wpa_priv_cmd_scan(iface, cmd_buf, cmd_len); in wpa_priv_receive()
677 wpa_priv_cmd_associate(iface, cmd_buf, cmd_len); in wpa_priv_receive()
686 wpa_priv_cmd_set_key(iface, cmd_buf, cmd_len); in wpa_priv_receive()
693 cmd_buf, cmd_len); in wpa_priv_receive()
702 wpa_priv_cmd_l2_send(iface, &from, fromlen, cmd_buf, cmd_len); in wpa_priv_receive()
706 if (pos + cmd_len >= buf + sizeof(buf)) in wpa_priv_receive()
708 pos[cmd_len] = '\0'; in wpa_priv_receive()
712 wpa_priv_cmd_authenticate(iface, cmd_buf, cmd_len); in wpa_priv_receive()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dgdth.c356 scp->cmd_len = 12; in __gdth_execute()
989 cp_count = ha->cmd_len; in gdth_copy_command()
1140 ha->cmd_len = sizeof(gdth_cmd_str); in gdth_internal_cmd()
1984 scp->cmnd[0],scp->cmd_len,hdrive)); in gdth_fill_cache_cmd()
2043 if (scp->cmd_len == 16) { in gdth_fill_cache_cmd()
2048 } else if (scp->cmd_len == 10) { in gdth_fill_cache_cmd()
2108 ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.cache64.sg_lst) + in gdth_fill_cache_cmd()
2117 ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.cache.sg_lst) + in gdth_fill_cache_cmd()
2120 if (ha->cmd_len & 3) in gdth_fill_cache_cmd()
2121 ha->cmd_len in gdth_fill_cache_cmd()
[all...]
/kernel/linux/linux-5.10/drivers/ide/
H A Dide-park.c37 scsi_req(rq)->cmd_len = 1; in issue_park_cmd()
55 scsi_req(rq)->cmd_len = 1; in issue_park_cmd()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dfw.h151 u32 cmd_len, u8 *cmdbuffer);
158 u8 *cmd_buf, u8 cmd_len);
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-5.10/drivers/usb/storage/
H A Ddebug.c139 usb_stor_dbg(us, "Command %s (%d bytes)\n", what, srb->cmd_len); in usb_stor_show_command()
140 usb_stor_dbg(us, "bytes: %*ph\n", min_t(int, srb->cmd_len, 16), in usb_stor_show_command()
/kernel/linux/linux-6.6/drivers/usb/storage/
H A Ddebug.c138 usb_stor_dbg(us, "Command %s (%d bytes)\n", what, srb->cmd_len); in usb_stor_show_command()
139 usb_stor_dbg(us, "bytes: %*ph\n", min_t(int, srb->cmd_len, 16), in usb_stor_show_command()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dfw.h151 u32 cmd_len, u8 *cmdbuffer);
158 u8 *cmd_buf, u8 cmd_len);
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-5.10/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c43 priv->cmd_len = 0; in pucan_init_cmd()
51 if (priv->cmd_len + sizeof(*cmd) > priv->cmd_maxlen) in pucan_add_cmd()
54 cmd = priv->cmd_buffer + priv->cmd_len; in pucan_add_cmd()
60 priv->cmd_len += sizeof(*cmd); in pucan_add_cmd()
791 priv->cmd_len = 0; in alloc_peak_canfd_dev()
/kernel/linux/linux-6.6/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c44 priv->cmd_len = 0; in pucan_init_cmd()
52 if (priv->cmd_len + sizeof(*cmd) > priv->cmd_maxlen) in pucan_add_cmd()
55 cmd = priv->cmd_buffer + priv->cmd_len; in pucan_add_cmd()
61 priv->cmd_len += sizeof(*cmd); in pucan_add_cmd()
834 priv->cmd_len = 0; in alloc_peak_canfd_dev()
/kernel/linux/linux-5.10/include/linux/
H A Dfsi-sbefifo.h19 int sbefifo_submit(struct device *dev, const __be32 *command, size_t cmd_len,
/kernel/linux/linux-6.6/include/linux/
H A Dfsi-sbefifo.h19 int sbefifo_submit(struct device *dev, const __be32 *command, size_t cmd_len,
/third_party/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/
H A Dtbio.h69 unsigned short cmd_len; /* length of cmd */ member

Completed in 23 milliseconds

12345678910>>...19