Home
last modified time | relevance | path

Searched refs:cmd_no (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_hydra.c257 u8 cmd_no; member
292 u8 cmd_no; member
531 if (cmd->header.cmd_no == CMD_EXTENDED) in kvaser_usb_hydra_cmd_size()
560 if (cmd->header.cmd_no == CMD_EXTENDED) { in kvaser_usb_hydra_ktime_from_cmd()
567 } else if (cmd->header.cmd_no == CMD_RX_MESSAGE) { in kvaser_usb_hydra_ktime_from_cmd()
569 } else if (cmd->header.cmd_no == CMD_TX_ACKNOWLEDGE) { in kvaser_usb_hydra_ktime_from_cmd()
577 u8 cmd_no, int channel) in kvaser_usb_hydra_send_simple_cmd() argument
587 cmd->header.cmd_no = cmd_no; in kvaser_usb_hydra_send_simple_cmd()
617 u8 cmd_no) in kvaser_usb_hydra_send_simple_cmd_async() argument
628 cmd->header.cmd_no = cmd_no; in kvaser_usb_hydra_send_simple_cmd_async()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcmdevt.c30 u32 cmd_no, void *data_buf, bool sync) in mwifiex_init_cmd_node() argument
33 cmd_node->cmd_no = cmd_no; in mwifiex_init_cmd_node()
83 cmd_node->cmd_no = 0; in mwifiex_clean_cmd_node()
187 cmd_node->cmd_no = cmd_code; in mwifiex_dnld_cmd_to_fw()
542 int mwifiex_send_cmd(struct mwifiex_private *priv, u16 cmd_no, in mwifiex_send_cmd() argument
562 cmd_no != HostCmd_CMD_802_11_HS_CFG_ENH) { in mwifiex_send_cmd()
581 if (cmd_no != HostCmd_CMD_FUNC_INIT) { in mwifiex_send_cmd()
590 if (adapter->mfg_mode && cmd_no) { in mwifiex_send_cmd()
596 cmd_no != HostCmd_CMD_802_11_HS_CFG_ENH) { in mwifiex_send_cmd()
611 mwifiex_init_cmd_node(priv, cmd_node, cmd_no, data_buf, sync); in mwifiex_send_cmd()
[all …]
H A Dsta_cmd.c2015 static int mwifiex_is_cmd_supported(struct mwifiex_private *priv, u16 cmd_no) in mwifiex_is_cmd_supported() argument
2018 switch (cmd_no) { in mwifiex_is_cmd_supported()
2038 int mwifiex_sta_prepare_cmd(struct mwifiex_private *priv, uint16_t cmd_no, in mwifiex_sta_prepare_cmd() argument
2045 if (mwifiex_is_cmd_supported(priv, cmd_no)) { in mwifiex_sta_prepare_cmd()
2048 cmd_no); in mwifiex_sta_prepare_cmd()
2053 switch (cmd_no) { in mwifiex_sta_prepare_cmd()
2144 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_sta_prepare_cmd()
2155 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_sta_prepare_cmd()
2165 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_sta_prepare_cmd()
2176 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_sta_prepare_cmd()
[all …]
H A Dsta_ioctl.c1263 u16 cmd_no; in mwifiex_reg_mem_ioctl_reg_rw() local
1267 cmd_no = HostCmd_CMD_MAC_REG_ACCESS; in mwifiex_reg_mem_ioctl_reg_rw()
1270 cmd_no = HostCmd_CMD_BBP_REG_ACCESS; in mwifiex_reg_mem_ioctl_reg_rw()
1273 cmd_no = HostCmd_CMD_RF_REG_ACCESS; in mwifiex_reg_mem_ioctl_reg_rw()
1276 cmd_no = HostCmd_CMD_PMIC_REG_ACCESS; in mwifiex_reg_mem_ioctl_reg_rw()
1279 cmd_no = HostCmd_CMD_CAU_REG_ACCESS; in mwifiex_reg_mem_ioctl_reg_rw()
1285 return mwifiex_send_cmd(priv, cmd_no, action, 0, reg_rw, true); in mwifiex_reg_mem_ioctl_reg_rw()
H A Duap_cmd.c931 int mwifiex_uap_prepare_cmd(struct mwifiex_private *priv, u16 cmd_no, in mwifiex_uap_prepare_cmd() argument
937 switch (cmd_no) { in mwifiex_uap_prepare_cmd()
948 cmd->command = cpu_to_le16(cmd_no); in mwifiex_uap_prepare_cmd()
967 "PREP_CMD: unknown cmd %#x\n", cmd_no); in mwifiex_uap_prepare_cmd()
H A Dmain.h732 u32 cmd_no; member
1079 int mwifiex_send_cmd(struct mwifiex_private *priv, u16 cmd_no,
1131 int mwifiex_sta_prepare_cmd(struct mwifiex_private *, uint16_t cmd_no,
1134 int mwifiex_uap_prepare_cmd(struct mwifiex_private *priv, uint16_t cmd_no,
H A Dscan.c604 u32 tlv_idx, rates_size, cmd_no; in mwifiex_scan_channel_list() local
742 cmd_no = HostCmd_CMD_802_11_SCAN_EXT; in mwifiex_scan_channel_list()
744 cmd_no = HostCmd_CMD_802_11_SCAN; in mwifiex_scan_channel_list()
746 ret = mwifiex_send_cmd(priv, cmd_no, HostCmd_ACT_GEN_SET, in mwifiex_scan_channel_list()
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.c148 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()