| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/ |
| H A D | ssvdevice.c | 156 char buf[MAX_CHARS_PER_LINE], cfg_cmd[32], cfg_value[32]; in sta_cfg_set() local 178 memset(cfg_cmd, '\0', sizeof(cfg_cmd)); in sta_cfg_set() 184 sscanf(buf, "%s = %s", cfg_cmd, cfg_value); in sta_cfg_set() 185 if (!ischar(cfg_cmd) || !ischar(cfg_value)) { in sta_cfg_set() 191 for(s=0; cfg_cmds[s].cfg_cmd != NULL; s++) { in sta_cfg_set() 192 if (strcmp(cfg_cmds[s].cfg_cmd, cfg_cmd)==0) { in sta_cfg_set() 199 if (!is_cmd_support && strlen(cfg_cmd) > 0) { in sta_cfg_set() 200 printk("ERROR Unsupported command: %s", cfg_cmd); in sta_cfg_set()
|
| H A D | ssv_cmd.h | 32 u8 *cfg_cmd; member
|
| H A D | ssv_cmd.c | 272 for(s=0; cfg_cmds[s].cfg_cmd!=NULL; s++) { in ssv_cmd_cfg() 273 if (strcmp(cfg_cmds[s].cfg_cmd, argv[1])==0) { in ssv_cmd_cfg()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/i825xx/ |
| H A D | sun3_82586.c | 409 volatile struct configure_cmd_struct *cfg_cmd; in init586() local 418 cfg_cmd = (struct configure_cmd_struct *)ptr; /* configure-command */ in init586() 419 cfg_cmd->cmd_status = 0; in init586() 420 cfg_cmd->cmd_cmd = swab16(CMD_CONFIGURE | CMD_LAST); in init586() 421 cfg_cmd->cmd_link = 0xffff; in init586() 423 cfg_cmd->byte_cnt = 0x0a; /* number of cfg bytes */ in init586() 424 cfg_cmd->fifo = fifo; /* fifo-limit (8=tx:32/rx:64) */ in init586() 425 cfg_cmd->sav_bf = 0x40; /* hold or discard bad recv frames (bit 7) */ in init586() 426 cfg_cmd->adr_len = 0x2e; /* addr_len |!src_insert |pre-len |loopback */ in init586() 427 cfg_cmd->priority = 0x00; in init586() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | core.c | 1760 struct wlan_pwr_cfg cfg_cmd; in rtl_hal_pwrseqcmdparsing() local 1769 cfg_cmd = pwrcfgcmd[ary_idx]; in rtl_hal_pwrseqcmdparsing() 1773 GET_PWR_CFG_OFFSET(cfg_cmd), in rtl_hal_pwrseqcmdparsing() 1774 GET_PWR_CFG_CUT_MASK(cfg_cmd), in rtl_hal_pwrseqcmdparsing() 1775 GET_PWR_CFG_FAB_MASK(cfg_cmd), in rtl_hal_pwrseqcmdparsing() 1776 GET_PWR_CFG_INTF_MASK(cfg_cmd), in rtl_hal_pwrseqcmdparsing() 1777 GET_PWR_CFG_BASE(cfg_cmd), GET_PWR_CFG_CMD(cfg_cmd), in rtl_hal_pwrseqcmdparsing() 1778 GET_PWR_CFG_MASK(cfg_cmd), GET_PWR_CFG_VALUE(cfg_cmd)); in rtl_hal_pwrseqcmdparsing() 1780 if ((GET_PWR_CFG_FAB_MASK(cfg_cmd)&faversion) && in rtl_hal_pwrseqcmdparsing() 1781 (GET_PWR_CFG_CUT_MASK(cfg_cmd)&cut_version) && in rtl_hal_pwrseqcmdparsing() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/ |
| H A D | mlan_cmdevt.c | 8492 HostCmd_DS_CMD_RX_ABORT_CFG *cfg_cmd = in wlan_cmd_rxabortcfg() local 8501 cfg_cmd->action = wlan_cpu_to_le16(cmd_action); in wlan_cmd_rxabortcfg() 8504 cfg_cmd->enable = (t_u8)cfg->enable; in wlan_cmd_rxabortcfg() 8505 cfg_cmd->rssi_threshold = (t_s8)cfg->rssi_threshold; in wlan_cmd_rxabortcfg() 8524 HostCmd_DS_CMD_RX_ABORT_CFG *cfg_cmd = in wlan_ret_rxabortcfg() local 8532 misc_cfg->param.rx_abort_cfg.enable = (t_u8)cfg_cmd->enable; in wlan_ret_rxabortcfg() 8534 (t_s8)cfg_cmd->rssi_threshold; in wlan_ret_rxabortcfg() 8553 HostCmd_DS_CMD_RX_ABORT_CFG_EXT *cfg_cmd = in wlan_cmd_rxabortcfg_ext() local 8563 cfg_cmd->action = wlan_cpu_to_le16(cmd_action); in wlan_cmd_rxabortcfg_ext() 8566 cfg_cmd->enable = (t_u8)cfg->enable; in wlan_cmd_rxabortcfg_ext() [all …]
|
| H A D | mlan_sta_event.c | 1387 HostCmd_DS_GET_CH_LOAD *cfg_cmd = MNULL; in wlan_ops_sta_process_event() local 1390 cfg_cmd = (HostCmd_DS_GET_CH_LOAD *)ptr; in wlan_ops_sta_process_event() 1391 pmpriv->ch_load_param = wlan_le16_to_cpu(cfg_cmd->ch_load); in wlan_ops_sta_process_event() 1392 pmpriv->noise = wlan_le16_to_cpu(cfg_cmd->noise); in wlan_ops_sta_process_event() 1393 pmpriv->rx_quality = wlan_le16_to_cpu(cfg_cmd->rx_quality); in wlan_ops_sta_process_event()
|
| H A D | mlan_uap_cmdevent.c | 4515 HostCmd_DS_STATS *cfg_cmd = (HostCmd_DS_STATS *)&resp->params.stats; in wlan_ret_stats() local 4517 t_u8 *pBuf = (t_u8 *)&cfg_cmd->tlv_buffer; in wlan_ret_stats() 5844 HostCmd_DS_GET_CH_LOAD *cfg_cmd = MNULL; in wlan_ops_uap_process_event() local 5847 cfg_cmd = (HostCmd_DS_GET_CH_LOAD *)ptr; in wlan_ops_uap_process_event() 5848 pmpriv->ch_load_param = wlan_le16_to_cpu(cfg_cmd->ch_load); in wlan_ops_uap_process_event() 5849 pmpriv->noise = wlan_le16_to_cpu(cfg_cmd->noise); in wlan_ops_uap_process_event() 5850 pmpriv->rx_quality = wlan_le16_to_cpu(cfg_cmd->rx_quality); in wlan_ops_uap_process_event()
|
| H A D | mlan_sta_cmd.c | 2892 HostCmd_DS_CMD_ARB_CONFIG *cfg_cmd = in wlan_cmd_arb_cfg() local 2901 cfg_cmd->action = wlan_cpu_to_le16(cmd_action); in wlan_cmd_arb_cfg() 2904 cfg_cmd->arb_mode = wlan_cpu_to_le32(misc_cfg->arb_mode); in wlan_cmd_arb_cfg()
|
| H A D | mlan_sta_cmdresp.c | 2548 HostCmd_DS_CMD_ARB_CONFIG *cfg_cmd = in wlan_ret_arb_cfg() local 2557 wlan_le32_to_cpu(cfg_cmd->arb_mode); in wlan_ret_arb_cfg()
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | eepro100.c | 481 struct descriptor *ias_cmd, *cfg_cmd; in eepro100_init() local 524 cfg_cmd = (struct descriptor *) &tx_ring[tx_cur]; in eepro100_init() 525 cfg_cmd->command = cpu_to_le16 ((CONFIG_SYS_CMD_SUSPEND | CONFIG_SYS_CMD_CONFIGURE)); in eepro100_init() 526 cfg_cmd->status = 0; in eepro100_init() 527 cfg_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init() 529 memcpy (cfg_cmd->params, i82558_config_cmd, in eepro100_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | rs-fw.c | 460 struct iwl_tlc_config_cmd cfg_cmd = { in rs_fw_rate_init() local 471 u16 cmd_size = sizeof(cfg_cmd); in rs_fw_rate_init() 483 rs_fw_set_supp_rates(sta, sband, &cfg_cmd); in rs_fw_rate_init() 492 &cfg_cmd); in rs_fw_rate_init()
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | xhci.c | 3105 struct xhci_command *stop_cmd, *cfg_cmd; in xhci_endpoint_reset() local 3151 cfg_cmd = xhci_alloc_command_with_ctx(xhci, true, GFP_NOWAIT); in xhci_endpoint_reset() 3152 if (!cfg_cmd) in xhci_endpoint_reset() 3169 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset() 3177 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset() 3198 ctrl_ctx = xhci_get_input_control_ctx(cfg_cmd->in_ctx); in xhci_endpoint_reset() 3201 xhci_free_command(xhci, cfg_cmd); in xhci_endpoint_reset() 3207 xhci_setup_input_ctx_for_config_ep(xhci, cfg_cmd->in_ctx, vdev->out_ctx, in xhci_endpoint_reset() 3209 xhci_endpoint_copy(xhci, cfg_cmd->in_ctx, vdev->out_ctx, ep_index); in xhci_endpoint_reset() 3211 err = xhci_queue_configure_endpoint(xhci, cfg_cmd, cfg_cmd->in_ctx->dma, in xhci_endpoint_reset() [all …]
|