/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_hydra.c | 236 u8 cmd_no; member 262 u8 cmd_no; member 474 if (cmd->header.cmd_no == CMD_EXTENDED) in kvaser_usb_hydra_cmd_size() 504 if (cmd->header.cmd_no == CMD_EXTENDED) { in kvaser_usb_hydra_ktime_from_rx_cmd() 518 u8 cmd_no, int channel) in kvaser_usb_hydra_send_simple_cmd() argument 528 cmd->header.cmd_no = cmd_no; in kvaser_usb_hydra_send_simple_cmd() 558 u8 cmd_no) in kvaser_usb_hydra_send_simple_cmd_async() argument 569 cmd->header.cmd_no = cmd_no; in kvaser_usb_hydra_send_simple_cmd_async() 589 static int kvaser_usb_hydra_wait_cmd(const struct kvaser_usb *dev, u8 cmd_no, in kvaser_usb_hydra_wait_cmd() argument 596 if (cmd->header.cmd_no == CMD_EXTENDED) { in kvaser_usb_hydra_wait_cmd() [all …]
|
/drivers/net/wireless/marvell/mwifiex/ |
D | cmdevt.c | 42 u32 cmd_no, void *data_buf, bool sync) in mwifiex_init_cmd_node() argument 45 cmd_node->cmd_no = cmd_no; in mwifiex_init_cmd_node() 95 cmd_node->cmd_no = 0; in mwifiex_clean_cmd_node() 201 cmd_node->cmd_no = cmd_code; in mwifiex_dnld_cmd_to_fw() 558 int mwifiex_send_cmd(struct mwifiex_private *priv, u16 cmd_no, in mwifiex_send_cmd() argument 578 cmd_no != HostCmd_CMD_802_11_HS_CFG_ENH) { in mwifiex_send_cmd() 597 if (cmd_no != HostCmd_CMD_FUNC_INIT) { in mwifiex_send_cmd() 606 if (adapter->mfg_mode && cmd_no) { in mwifiex_send_cmd() 622 mwifiex_init_cmd_node(priv, cmd_node, cmd_no, data_buf, sync); in mwifiex_send_cmd() 633 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_send_cmd() [all …]
|
D | sta_cmd.c | 1914 static int mwifiex_is_cmd_supported(struct mwifiex_private *priv, u16 cmd_no) in mwifiex_is_cmd_supported() argument 1917 switch (cmd_no) { in mwifiex_is_cmd_supported() 1937 int mwifiex_sta_prepare_cmd(struct mwifiex_private *priv, uint16_t cmd_no, in mwifiex_sta_prepare_cmd() argument 1944 if (mwifiex_is_cmd_supported(priv, cmd_no)) { in mwifiex_sta_prepare_cmd() 1947 cmd_no); in mwifiex_sta_prepare_cmd() 1952 switch (cmd_no) { in mwifiex_sta_prepare_cmd() 2043 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_sta_prepare_cmd() 2054 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_sta_prepare_cmd() 2064 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_sta_prepare_cmd() 2075 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_sta_prepare_cmd() [all …]
|
D | sta_ioctl.c | 1223 u16 cmd_no; in mwifiex_reg_mem_ioctl_reg_rw() local 1227 cmd_no = HostCmd_CMD_MAC_REG_ACCESS; in mwifiex_reg_mem_ioctl_reg_rw() 1230 cmd_no = HostCmd_CMD_BBP_REG_ACCESS; in mwifiex_reg_mem_ioctl_reg_rw() 1233 cmd_no = HostCmd_CMD_RF_REG_ACCESS; in mwifiex_reg_mem_ioctl_reg_rw() 1236 cmd_no = HostCmd_CMD_PMIC_REG_ACCESS; in mwifiex_reg_mem_ioctl_reg_rw() 1239 cmd_no = HostCmd_CMD_CAU_REG_ACCESS; in mwifiex_reg_mem_ioctl_reg_rw() 1245 return mwifiex_send_cmd(priv, cmd_no, action, 0, reg_rw, true); in mwifiex_reg_mem_ioctl_reg_rw()
|
D | uap_cmd.c | 787 int mwifiex_uap_prepare_cmd(struct mwifiex_private *priv, u16 cmd_no, in mwifiex_uap_prepare_cmd() argument 793 switch (cmd_no) { in mwifiex_uap_prepare_cmd() 802 cmd->command = cpu_to_le16(cmd_no); in mwifiex_uap_prepare_cmd() 816 "PREP_CMD: unknown cmd %#x\n", cmd_no); in mwifiex_uap_prepare_cmd()
|
D | main.h | 751 u32 cmd_no; member 1096 int mwifiex_send_cmd(struct mwifiex_private *priv, u16 cmd_no, 1147 int mwifiex_sta_prepare_cmd(struct mwifiex_private *, uint16_t cmd_no, 1150 int mwifiex_uap_prepare_cmd(struct mwifiex_private *priv, uint16_t cmd_no,
|
D | scan.c | 628 u32 tlv_idx, rates_size, cmd_no; in mwifiex_scan_channel_list() local 770 cmd_no = HostCmd_CMD_802_11_SCAN_EXT; in mwifiex_scan_channel_list() 772 cmd_no = HostCmd_CMD_802_11_SCAN; in mwifiex_scan_channel_list() 774 ret = mwifiex_send_cmd(priv, cmd_no, HostCmd_ACT_GEN_SET, in mwifiex_scan_channel_list()
|
/drivers/scsi/ |
D | gdth.c | 985 u16 cp_count,dp_offset,cmd_no; in gdth_copy_command() local 991 cmd_no = ha->cmd_cnt; in gdth_copy_command() 1006 &dp6_ptr->u.ic.comm_queue[cmd_no].offset); in gdth_copy_command() 1008 &dp6_ptr->u.ic.comm_queue[cmd_no].serv_id); in gdth_copy_command() 1013 &dp6c_ptr->u.ic.comm_queue[cmd_no].offset); in gdth_copy_command() 1015 &dp6c_ptr->u.ic.comm_queue[cmd_no].serv_id); in gdth_copy_command() 1020 &dp6m_ptr->u.ic.comm_queue[cmd_no].offset); in gdth_copy_command() 1022 &dp6m_ptr->u.ic.comm_queue[cmd_no].serv_id); in gdth_copy_command()
|
/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.c | 148 static struct sk_buff *qtnf_cmd_alloc_new_cmdskb(u8 macid, u8 vifid, u16 cmd_no, in qtnf_cmd_alloc_new_cmdskb() argument 157 pr_err("VIF%u.%u CMD %u: alloc failed\n", macid, vifid, cmd_no); in qtnf_cmd_alloc_new_cmdskb() 166 cmd->cmd_id = cpu_to_le16(cmd_no); in qtnf_cmd_alloc_new_cmdskb()
|