Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_hydra.c229 u8 cmd_no; member
255 u8 cmd_no; member
460 if (cmd->header.cmd_no == CMD_EXTENDED) in kvaser_usb_hydra_cmd_size()
490 if (cmd->header.cmd_no == CMD_EXTENDED) { in kvaser_usb_hydra_ktime_from_rx_cmd()
504 u8 cmd_no, int channel) in kvaser_usb_hydra_send_simple_cmd() argument
513 cmd->header.cmd_no = cmd_no; in kvaser_usb_hydra_send_simple_cmd()
542 u8 cmd_no) in kvaser_usb_hydra_send_simple_cmd_async() argument
552 cmd->header.cmd_no = cmd_no; in kvaser_usb_hydra_send_simple_cmd_async()
572 static int kvaser_usb_hydra_wait_cmd(const struct kvaser_usb *dev, u8 cmd_no, in kvaser_usb_hydra_wait_cmd() argument
579 if (cmd->header.cmd_no == CMD_EXTENDED) { in kvaser_usb_hydra_wait_cmd()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A Dcmdevt.c42 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 …]
H A Dsta_cmd.c1914 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 …]
H A Dsta_ioctl.c1223 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()
H A Duap_cmd.c779 int mwifiex_uap_prepare_cmd(struct mwifiex_private *priv, u16 cmd_no, in mwifiex_uap_prepare_cmd() argument
785 switch (cmd_no) { in mwifiex_uap_prepare_cmd()
794 cmd->command = cpu_to_le16(cmd_no); in mwifiex_uap_prepare_cmd()
808 "PREP_CMD: unknown cmd %#x\n", cmd_no); in mwifiex_uap_prepare_cmd()
H A Dmain.h751 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,
H A Dscan.c628 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/
H A Dmlan_sta_cmd.c792 IN t_u16 cmd_no, in wlan_cmd_802_11_deauthenticate() argument
799 cmd->command = wlan_cpu_to_le16(cmd_no); in wlan_cmd_802_11_deauthenticate()
806 if (cmd_no == HostCmd_CMD_802_11_DEAUTHENTICATE) in wlan_cmd_802_11_deauthenticate()
2860 wlan_is_cmd_allowed(mlan_private *priv, IN t_u16 cmd_no) in wlan_is_cmd_allowed() argument
2865 switch (cmd_no) { in wlan_is_cmd_allowed()
2896 IN t_u16 cmd_no, in wlan_ops_sta_prepare_cmd() argument
2908 if (wlan_is_cmd_allowed(pmpriv, cmd_no)) { in wlan_ops_sta_prepare_cmd()
2909 PRINTM(MERROR, "FW don't support the command 0x%x\n", cmd_no); in wlan_ops_sta_prepare_cmd()
2913 switch (cmd_no) { in wlan_ops_sta_prepare_cmd()
2972 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_sta_prepare_cmd()
[all …]
H A Dmlan_uap.h67 IN t_u16 cmd_no,
H A Dmlan_uap_cmdevent.c3716 IN t_u16 cmd_no, in wlan_ops_uap_prepare_cmd() argument
3730 switch (cmd_no) { in wlan_ops_uap_prepare_cmd()
3737 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
3740 if ((HOST_CMD_APCMD_BSS_START == cmd_no) && in wlan_ops_uap_prepare_cmd()
3762 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
3767 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
3852 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
3865 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
3874 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
3970 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
[all …]
H A Dmlan_cmdevt.c1358 IN t_u16 cmd_no, in wlan_prepare_cmd() argument
1386 if ((cmd_no != HostCmd_CMD_FUNC_INIT) in wlan_prepare_cmd()
1425 cmd_ptr->command = cmd_no; in wlan_prepare_cmd()
1429 if (cmd_no) in wlan_prepare_cmd()
1430 ret = pmpriv->ops.prepare_cmd(pmpriv, cmd_no, cmd_action, in wlan_prepare_cmd()
1441 cmd_no); in wlan_prepare_cmd()
1455 if (cmd_no == HostCmd_CMD_802_11_SCAN in wlan_prepare_cmd()
1456 || cmd_no == HostCmd_CMD_802_11_SCAN_EXT) { in wlan_prepare_cmd()
1457 if (cmd_no == HostCmd_CMD_802_11_SCAN_EXT && in wlan_prepare_cmd()
1466 if ((cmd_no == HostCmd_CMD_802_11_HS_CFG_ENH) && in wlan_prepare_cmd()
H A Dmlan_misc.c1528 t_u16 cmd_action = 0, cmd_no; in wlan_reg_mem_ioctl_reg_rw() local
1540 cmd_no = HostCmd_CMD_MAC_REG_ACCESS; in wlan_reg_mem_ioctl_reg_rw()
1543 cmd_no = HostCmd_CMD_BBP_REG_ACCESS; in wlan_reg_mem_ioctl_reg_rw()
1546 cmd_no = HostCmd_CMD_RF_REG_ACCESS; in wlan_reg_mem_ioctl_reg_rw()
1549 cmd_no = HostCmd_CMD_CAU_REG_ACCESS; in wlan_reg_mem_ioctl_reg_rw()
1552 cmd_no = HostCmd_CMD_TARGET_ACCESS; in wlan_reg_mem_ioctl_reg_rw()
1561 ret = wlan_prepare_cmd(pmpriv, cmd_no, cmd_action, in wlan_reg_mem_ioctl_reg_rw()
H A Dmlan_main.h941 IN t_u16 cmd_no,
2282 IN t_u16 cmd_no,
2581 IN t_u16 cmd_no,
H A Dmlan_scan.c610 t_u32 cmd_no; in wlan_scan_channel_list() local
909 cmd_no = HostCmd_CMD_802_11_SCAN_EXT; in wlan_scan_channel_list()
911 cmd_no = HostCmd_CMD_802_11_SCAN; in wlan_scan_channel_list()
913 cmd_no, in wlan_scan_channel_list()
H A Dmlan_sta_ioctl.c1836 IN t_u16 cmd_no, IN pmlan_ioctl_req pioctl_req) in wlan_power_ioctl_get_power() argument
1845 cmd_no, in wlan_power_ioctl_get_power()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_uap.h41 mlan_status wlan_ops_uap_prepare_cmd(t_void *priv, t_u16 cmd_no,
H A Dmlan_sta_cmd.c978 t_u16 cmd_no, in wlan_cmd_802_11_deauthenticate() argument
986 cmd->command = wlan_cpu_to_le16(cmd_no); in wlan_cmd_802_11_deauthenticate()
993 if (cmd_no == HostCmd_CMD_802_11_DEAUTHENTICATE) in wlan_cmd_802_11_deauthenticate()
3519 static mlan_status wlan_is_cmd_allowed(mlan_private *priv, t_u16 cmd_no) in wlan_is_cmd_allowed() argument
3526 switch (cmd_no) { in wlan_is_cmd_allowed()
3605 mlan_status wlan_ops_sta_prepare_cmd(t_void *priv, t_u16 cmd_no, in wlan_ops_sta_prepare_cmd() argument
3616 if (wlan_is_cmd_allowed(pmpriv, cmd_no)) { in wlan_ops_sta_prepare_cmd()
3617 PRINTM(MERROR, "FW don't support the command 0x%x\n", cmd_no); in wlan_ops_sta_prepare_cmd()
3621 switch (cmd_no) { in wlan_ops_sta_prepare_cmd()
3698 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_sta_prepare_cmd()
[all …]
H A Dmlan_cmdevt.c250 t_u16 cmd_no) in wlan_queue_cmd() argument
255 if (MFALSE == wlan_is_cmd_allowed_during_scan(cmd_no)) { in wlan_queue_cmd()
257 cmd_no); in wlan_queue_cmd()
835 t_u32 cmd_no, t_void *pioctl_buf, in wlan_init_cmd_node() argument
847 pcmd_node->cmd_no = cmd_no; in wlan_init_cmd_node()
940 pcmd_node->cmd_no = 0; in wlan_clean_cmd_node()
1110 t_u16 *cmd_no) in wlan_cmd_host_cmd() argument
1119 *cmd_no = wlan_le16_to_cpu(cmd->command); in wlan_cmd_host_cmd()
1120 PRINTM(MCMND, "Prepare Host command: 0x%x size = %d\n", *cmd_no, in wlan_cmd_host_cmd()
1253 pcmd_node->cmd_no = cmd_code; in wlan_dnld_cmd_to_fw()
[all …]
H A Dmlan_uap_cmdevent.c4551 mlan_status wlan_ops_uap_prepare_cmd(t_void *priv, t_u16 cmd_no, in wlan_ops_uap_prepare_cmd() argument
4564 switch (cmd_no) { in wlan_ops_uap_prepare_cmd()
4571 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
4600 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
4605 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
4694 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
4706 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
4714 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
4815 cmd_ptr->command = wlan_cpu_to_le16(cmd_no); in wlan_ops_uap_prepare_cmd()
4931 PRINTM(MERROR, "PREP_CMD: unknown command- %#x\n", cmd_no); in wlan_ops_uap_prepare_cmd()
H A Dmlan_misc.c1629 t_u16 cmd_action = 0, cmd_no; in wlan_reg_mem_ioctl_reg_rw() local
1646 cmd_no = HostCmd_CMD_MAC_REG_ACCESS; in wlan_reg_mem_ioctl_reg_rw()
1654 cmd_no = HostCmd_CMD_BBP_REG_ACCESS; in wlan_reg_mem_ioctl_reg_rw()
1662 cmd_no = HostCmd_CMD_RF_REG_ACCESS; in wlan_reg_mem_ioctl_reg_rw()
1665 cmd_no = HostCmd_CMD_CAU_REG_ACCESS; in wlan_reg_mem_ioctl_reg_rw()
1668 cmd_no = HostCmd_CMD_TARGET_ACCESS; in wlan_reg_mem_ioctl_reg_rw()
1676 cmd_no = HostCmd_CMD_BCA_REG_ACCESS; in wlan_reg_mem_ioctl_reg_rw()
1683 cmd_no = HostCmd_CMD_REG_ACCESS; in wlan_reg_mem_ioctl_reg_rw()
1693 ret = wlan_prepare_cmd(pmpriv, cmd_no, cmd_action, 0, in wlan_reg_mem_ioctl_reg_rw()
H A Dmlan_main.h1012 mlan_status (*prepare_cmd)(t_void *priv, t_u16 cmd_no, t_u16 cmd_action,
1477 t_u32 cmd_no;
2914 mlan_status wlan_prepare_cmd(pmlan_private priv, t_u16 cmd_no, t_u16 cmd_action,
3342 mlan_status wlan_ops_sta_prepare_cmd(t_void *priv, t_u16 cmd_no,
H A Dmlan_scan.c682 t_u32 cmd_no; in wlan_scan_channel_list() local
1054 cmd_no = HostCmd_CMD_802_11_SCAN_EXT; in wlan_scan_channel_list()
1056 cmd_no = HostCmd_CMD_802_11_SCAN; in wlan_scan_channel_list()
1057 ret = wlan_prepare_cmd(pmpriv, cmd_no, HostCmd_ACT_GEN_SET, 0, in wlan_scan_channel_list()
H A Dmlan_sta_ioctl.c1714 t_u16 cmd_no, in wlan_power_ioctl_get_power() argument
1723 ret = wlan_prepare_cmd(pmpriv, cmd_no, HostCmd_ACT_GEN_GET, 0, in wlan_power_ioctl_get_power()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dgdth.c985 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()
/OK3568_Linux_fs/kernel/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()