| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sta_ioctl.c | 411 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg) in mwifiex_set_hs_params() argument 418 if (!hs_cfg) in mwifiex_set_hs_params() 430 if (hs_cfg->is_invoke_hostcmd) { in mwifiex_set_hs_params() 431 if (hs_cfg->conditions == HS_CFG_CANCEL) { in mwifiex_set_hs_params() 437 prev_cond = le32_to_cpu(adapter->hs_cfg in mwifiex_set_hs_params() 439 adapter->hs_cfg.conditions = in mwifiex_set_hs_params() 440 cpu_to_le32(hs_cfg->conditions); in mwifiex_set_hs_params() 441 } else if (hs_cfg->conditions) { in mwifiex_set_hs_params() 442 adapter->hs_cfg.conditions = in mwifiex_set_hs_params() 443 cpu_to_le32(hs_cfg->conditions); in mwifiex_set_hs_params() [all …]
|
| H A D | ethtool.c | 26 u32 conditions = le32_to_cpu(priv->adapter->hs_cfg.conditions); in mwifiex_ethtool_get_wol() 62 priv->adapter->hs_cfg.conditions = cpu_to_le32(conditions); in mwifiex_ethtool_set_wol()
|
| H A D | sta_cmd.c | 366 struct host_cmd_ds_802_11_hs_cfg_enh *hs_cfg = &cmd->params.opt_hs_cfg; in mwifiex_cmd_802_11_hs_cfg() local 367 u8 *tlv = (u8 *)hs_cfg + sizeof(struct host_cmd_ds_802_11_hs_cfg_enh); in mwifiex_cmd_802_11_hs_cfg() 384 memcpy(((u8 *) hs_cfg) + in mwifiex_cmd_802_11_hs_cfg() 390 tlv = (u8 *)hs_cfg in mwifiex_cmd_802_11_hs_cfg() 397 hs_cfg->action = cpu_to_le16(HS_ACTIVATE); in mwifiex_cmd_802_11_hs_cfg() 398 hs_cfg->params.hs_activate.resp_ctrl = cpu_to_le16(RESP_NEEDED); in mwifiex_cmd_802_11_hs_cfg() 400 hs_cfg->action = cpu_to_le16(HS_CONFIGURE); in mwifiex_cmd_802_11_hs_cfg() 401 hs_cfg->params.hs_config.conditions = hscfg_param->conditions; in mwifiex_cmd_802_11_hs_cfg() 402 hs_cfg->params.hs_config.gpio = hscfg_param->gpio; in mwifiex_cmd_802_11_hs_cfg() 403 hs_cfg->params.hs_config.gap = hscfg_param->gap; in mwifiex_cmd_802_11_hs_cfg() [all …]
|
| H A D | init.c | 273 adapter->hs_cfg.conditions = cpu_to_le32(HS_CFG_COND_DEF); in mwifiex_init_adapter() 274 adapter->hs_cfg.gpio = HS_CFG_GPIO_DEF; in mwifiex_init_adapter() 275 adapter->hs_cfg.gap = HS_CFG_GAP_DEF; in mwifiex_init_adapter()
|
| H A D | cfg80211.c | 3419 struct mwifiex_ds_hs_cfg hs_cfg; in mwifiex_cfg80211_suspend() local 3468 memset(&hs_cfg, 0, sizeof(hs_cfg)); in mwifiex_cfg80211_suspend() 3469 hs_cfg.conditions = le32_to_cpu(adapter->hs_cfg.conditions); in mwifiex_cfg80211_suspend() 3473 hs_cfg.conditions |= HS_CFG_COND_MAC_EVENT; in mwifiex_cfg80211_suspend() 3479 hs_cfg.conditions |= HS_CFG_COND_MAC_EVENT; in mwifiex_cfg80211_suspend() 3483 hs_cfg.is_invoke_hostcmd = false; in mwifiex_cfg80211_suspend() 3484 hs_cfg.gpio = adapter->hs_cfg.gpio; in mwifiex_cfg80211_suspend() 3485 hs_cfg.gap = adapter->hs_cfg.gap; in mwifiex_cfg80211_suspend() 3487 MWIFIEX_SYNC_CMD, &hs_cfg); in mwifiex_cfg80211_suspend()
|
| H A D | ioctl.h | 303 struct mwifiex_ds_hs_cfg hs_cfg; member
|
| H A D | main.h | 987 struct mwifiex_hs_config_param hs_cfg; member 1142 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg);
|
| /OK3568_Linux_fs/kernel/drivers/i2c/busses/ |
| H A D | i2c-bcm-kona.c | 166 const struct hs_bus_speed_cfg *hs_cfg; member 538 writel((dev->hs_cfg->prescale << TIM_PRESCALE_SHIFT) | in bcm_kona_i2c_config_timing_hs() 539 (dev->hs_cfg->time_p << TIM_P_SHIFT) | in bcm_kona_i2c_config_timing_hs() 540 (dev->hs_cfg->no_div << TIM_NO_DIV_SHIFT) | in bcm_kona_i2c_config_timing_hs() 541 (dev->hs_cfg->time_div << TIM_DIV_SHIFT), in bcm_kona_i2c_config_timing_hs() 544 writel((dev->hs_cfg->hs_hold << HSTIM_HS_HOLD_SHIFT) | in bcm_kona_i2c_config_timing_hs() 545 (dev->hs_cfg->hs_high_phase << HSTIM_HS_HIGH_PHASE_SHIFT) | in bcm_kona_i2c_config_timing_hs() 546 (dev->hs_cfg->hs_setup << HSTIM_HS_SETUP_SHIFT), in bcm_kona_i2c_config_timing_hs() 630 if (dev->hs_cfg) { in bcm_kona_i2c_xfer() 684 if (dev->hs_cfg) { in bcm_kona_i2c_xfer() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/ |
| H A D | mlan_misc.c | 742 if (pm->param.hs_cfg.is_invoke_hostcmd == MTRUE) { in wlan_pm_ioctl_hscfg() 743 if (pm->param.hs_cfg.conditions == in wlan_pm_ioctl_hscfg() 750 prev_cond = pmadapter->hs_cfg.conditions; in wlan_pm_ioctl_hscfg() 751 pmadapter->hs_cfg.conditions = in wlan_pm_ioctl_hscfg() 752 pm->param.hs_cfg.conditions; in wlan_pm_ioctl_hscfg() 753 } else if (pmadapter->hs_cfg.conditions == in wlan_pm_ioctl_hscfg() 766 hs_cfg)); in wlan_pm_ioctl_hscfg() 769 if (pm->param.hs_cfg.conditions == in wlan_pm_ioctl_hscfg() 772 pmadapter->hs_cfg.conditions = prev_cond; in wlan_pm_ioctl_hscfg() 775 pmadapter->hs_cfg.conditions = in wlan_pm_ioctl_hscfg() [all …]
|
| H A D | mlan_init.c | 668 pmadapter->hs_cfg.conditions = HOST_SLEEP_DEF_COND; in wlan_init_adapter() 669 pmadapter->hs_cfg.gpio = HOST_SLEEP_DEF_GPIO; in wlan_init_adapter() 670 pmadapter->hs_cfg.gap = HOST_SLEEP_DEF_GAP; in wlan_init_adapter()
|
| H A D | mlan_uap_ioctl.c | 376 pmadapter->hs_cfg.conditions = HOST_SLEEP_DEF_COND; in wlan_uap_bss_ioctl_reset() 377 pmadapter->hs_cfg.gpio = HOST_SLEEP_DEF_GPIO; in wlan_uap_bss_ioctl_reset() 378 pmadapter->hs_cfg.gap = HOST_SLEEP_DEF_GAP; in wlan_uap_bss_ioctl_reset()
|
| H A D | mlan_ioctl.h | 2878 mlan_ds_hs_cfg hs_cfg; member
|
| H A D | mlan_cmdevt.c | 1468 (pmadapter->hs_cfg.conditions == HOST_SLEEP_CFG_CANCEL)) in wlan_prepare_cmd() 2521 if (pmadapter->hs_cfg.gap == HOST_SLEEP_CFG_GAP_FF) in wlan_process_hs_config()
|
| H A D | mlan_main.h | 2107 hs_config_param hs_cfg; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/ |
| H A D | moal_uap.c | 1180 ds_hs_cfg hs_cfg; in woal_uap_hs_cfg() local 1188 memset(&hs_cfg, 0, sizeof(ds_hs_cfg)); in woal_uap_hs_cfg() 1196 if (copy_from_user(&hs_cfg, req->ifr_data, sizeof(ds_hs_cfg))) { in woal_uap_hs_cfg() 1204 hs_cfg.flags, hs_cfg.conditions, (int)hs_cfg.gpio, hs_cfg.gap); in woal_uap_hs_cfg() 1207 if ((hs_cfg.flags & HS_CFG_FLAG_CONDITION) && in woal_uap_hs_cfg() 1208 (hs_cfg.conditions != HOST_SLEEP_CFG_CANCEL || in woal_uap_hs_cfg() 1219 if (hs_cfg.flags & HS_CFG_FLAG_SET) { in woal_uap_hs_cfg() 1221 if (hs_cfg.flags != HS_CFG_FLAG_ALL) { in woal_uap_hs_cfg() 1225 if (hs_cfg.flags & HS_CFG_FLAG_CONDITION) in woal_uap_hs_cfg() 1226 hscfg.conditions = hs_cfg.conditions; in woal_uap_hs_cfg() [all …]
|
| H A D | mlan_ioctl.h | 2878 mlan_ds_hs_cfg hs_cfg; member
|
| H A D | moal_ioctl.c | 2542 memcpy(&pmcfg->param.hs_cfg, hscfg, sizeof(mlan_ds_hs_cfg)); in woal_set_get_hs_params() 2548 memcpy(hscfg, &pmcfg->param.hs_cfg, in woal_set_get_hs_params()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/ |
| H A D | mlan_misc.c | 739 if (pm->param.hs_cfg.is_invoke_hostcmd == MTRUE) { in wlan_pm_ioctl_hscfg() 740 if (pm->param.hs_cfg.conditions == in wlan_pm_ioctl_hscfg() 747 prev_cond = pmadapter->hs_cfg.conditions; in wlan_pm_ioctl_hscfg() 748 pmadapter->hs_cfg.conditions = in wlan_pm_ioctl_hscfg() 749 pm->param.hs_cfg.conditions; in wlan_pm_ioctl_hscfg() 750 } else if (pmadapter->hs_cfg.conditions == in wlan_pm_ioctl_hscfg() 762 (t_void *)(&pmadapter->hs_cfg)); in wlan_pm_ioctl_hscfg() 765 if (pm->param.hs_cfg.conditions == in wlan_pm_ioctl_hscfg() 768 pmadapter->hs_cfg.conditions = prev_cond; in wlan_pm_ioctl_hscfg() 771 pmadapter->hs_cfg.conditions = in wlan_pm_ioctl_hscfg() [all …]
|
| H A D | mlan_init.c | 865 pmadapter->hs_cfg.conditions = HOST_SLEEP_DEF_COND; in wlan_init_adapter() 866 pmadapter->hs_cfg.gpio = HOST_SLEEP_DEF_GPIO; in wlan_init_adapter() 867 pmadapter->hs_cfg.gap = HOST_SLEEP_DEF_GAP; in wlan_init_adapter()
|
| H A D | mlan_ioctl.h | 3381 mlan_ds_hs_cfg hs_cfg; member
|
| H A D | mlan_main.h | 2706 hs_config_param hs_cfg;
|
| H A D | mlan_cmdevt.c | 1954 (pmadapter->hs_cfg.conditions == HOST_SLEEP_CFG_CANCEL)) in wlan_prepare_cmd() 3096 if (pmadapter->hs_cfg.gap == HOST_SLEEP_CFG_GAP_FF) in wlan_process_hs_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/ |
| H A D | moal_uap.c | 1519 ds_hs_cfg hs_cfg; in woal_uap_hs_cfg() local 1527 memset(&hs_cfg, 0, sizeof(ds_hs_cfg)); in woal_uap_hs_cfg() 1535 if (copy_from_user(&hs_cfg, req->ifr_data, sizeof(ds_hs_cfg))) { in woal_uap_hs_cfg() 1543 hs_cfg.flags, hs_cfg.conditions, (int)hs_cfg.gpio, hs_cfg.gap); in woal_uap_hs_cfg() 1546 if ((hs_cfg.flags & HS_CFG_FLAG_CONDITION) && in woal_uap_hs_cfg() 1547 (hs_cfg.conditions != HOST_SLEEP_CFG_CANCEL || in woal_uap_hs_cfg() 1558 if (hs_cfg.flags & HS_CFG_FLAG_SET) { in woal_uap_hs_cfg() 1560 if (hs_cfg.flags != HS_CFG_FLAG_ALL) { in woal_uap_hs_cfg() 1564 if (hs_cfg.flags & HS_CFG_FLAG_CONDITION) in woal_uap_hs_cfg() 1565 hscfg.conditions = hs_cfg.conditions; in woal_uap_hs_cfg() [all …]
|
| H A D | mlan_ioctl.h | 3381 mlan_ds_hs_cfg hs_cfg; member
|
| H A D | moal_ioctl.c | 3265 moal_memcpy_ext(priv->phandle, &pmcfg->param.hs_cfg, hscfg, in woal_set_get_hs_params() 3273 &pmcfg->param.hs_cfg, in woal_set_get_hs_params()
|