Home
last modified time | relevance | path

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

/drivers/net/wireless/mwifiex/
Dsta_ioctl.c406 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg) in mwifiex_set_hs_params() argument
413 if (!hs_cfg) in mwifiex_set_hs_params()
425 if (hs_cfg->is_invoke_hostcmd) { in mwifiex_set_hs_params()
426 if (hs_cfg->conditions == HS_CFG_CANCEL) { in mwifiex_set_hs_params()
431 prev_cond = le32_to_cpu(adapter->hs_cfg in mwifiex_set_hs_params()
433 adapter->hs_cfg.conditions = in mwifiex_set_hs_params()
434 cpu_to_le32(hs_cfg->conditions); in mwifiex_set_hs_params()
435 } else if (hs_cfg->conditions) { in mwifiex_set_hs_params()
436 adapter->hs_cfg.conditions = in mwifiex_set_hs_params()
437 cpu_to_le32(hs_cfg->conditions); in mwifiex_set_hs_params()
[all …]
Dethtool.c26 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()
Dsta_cmd.c352 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 memcpy(((u8 *) hs_cfg) + in mwifiex_cmd_802_11_hs_cfg()
379 hs_cfg->action = cpu_to_le16(HS_ACTIVATE); in mwifiex_cmd_802_11_hs_cfg()
380 hs_cfg->params.hs_activate.resp_ctrl = cpu_to_le16(RESP_NEEDED); in mwifiex_cmd_802_11_hs_cfg()
382 hs_cfg->action = cpu_to_le16(HS_CONFIGURE); in mwifiex_cmd_802_11_hs_cfg()
383 hs_cfg->params.hs_config.conditions = hscfg_param->conditions; in mwifiex_cmd_802_11_hs_cfg()
384 hs_cfg->params.hs_config.gpio = hscfg_param->gpio; in mwifiex_cmd_802_11_hs_cfg()
385 hs_cfg->params.hs_config.gap = hscfg_param->gap; in mwifiex_cmd_802_11_hs_cfg()
388 hs_cfg->params.hs_config.conditions, in mwifiex_cmd_802_11_hs_cfg()
389 hs_cfg->params.hs_config.gpio, in mwifiex_cmd_802_11_hs_cfg()
[all …]
Dinit.c259 adapter->hs_cfg.conditions = cpu_to_le32(HS_CFG_COND_DEF); in mwifiex_init_adapter()
260 adapter->hs_cfg.gpio = HS_CFG_GPIO_DEF; in mwifiex_init_adapter()
261 adapter->hs_cfg.gap = HS_CFG_GAP_DEF; in mwifiex_init_adapter()
Dcfg80211.c3125 struct mwifiex_ds_hs_cfg hs_cfg; in mwifiex_cfg80211_suspend() local
3157 memset(&hs_cfg, 0, sizeof(hs_cfg)); in mwifiex_cfg80211_suspend()
3158 hs_cfg.is_invoke_hostcmd = false; in mwifiex_cfg80211_suspend()
3159 hs_cfg.conditions = HS_CFG_COND_MAC_EVENT; in mwifiex_cfg80211_suspend()
3160 hs_cfg.gpio = HS_CFG_GPIO_DEF; in mwifiex_cfg80211_suspend()
3161 hs_cfg.gap = HS_CFG_GAP_DEF; in mwifiex_cfg80211_suspend()
3163 MWIFIEX_SYNC_CMD, &hs_cfg); in mwifiex_cfg80211_suspend()
Dioctl.h288 struct mwifiex_ds_hs_cfg hs_cfg; member
Dmain.h942 struct mwifiex_hs_config_param hs_cfg; member
1082 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg);
/drivers/i2c/busses/
Di2c-bcm-kona.c166 const struct hs_bus_speed_cfg *hs_cfg; member
541 writel((dev->hs_cfg->prescale << TIM_PRESCALE_SHIFT) | in bcm_kona_i2c_config_timing_hs()
542 (dev->hs_cfg->time_p << TIM_P_SHIFT) | in bcm_kona_i2c_config_timing_hs()
543 (dev->hs_cfg->no_div << TIM_NO_DIV_SHIFT) | in bcm_kona_i2c_config_timing_hs()
544 (dev->hs_cfg->time_div << TIM_DIV_SHIFT), in bcm_kona_i2c_config_timing_hs()
547 writel((dev->hs_cfg->hs_hold << HSTIM_HS_HOLD_SHIFT) | in bcm_kona_i2c_config_timing_hs()
548 (dev->hs_cfg->hs_high_phase << HSTIM_HS_HIGH_PHASE_SHIFT) | in bcm_kona_i2c_config_timing_hs()
549 (dev->hs_cfg->hs_setup << HSTIM_HS_SETUP_SHIFT), in bcm_kona_i2c_config_timing_hs()
633 if (dev->hs_cfg) { in bcm_kona_i2c_xfer()
687 if (dev->hs_cfg) { in bcm_kona_i2c_xfer()
[all …]