Searched refs:hs_cfg (Results 1 - 9 of 9) sorted by relevance

/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dethtool.c14 u32 conditions = le32_to_cpu(priv->adapter->hs_cfg.conditions);
50 priv->adapter->hs_cfg.conditions = cpu_to_le32(conditions);
H A Dsta_ioctl.c399 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg)
406 if (!hs_cfg)
418 if (hs_cfg->is_invoke_hostcmd) {
419 if (hs_cfg->conditions == HS_CFG_CANCEL) {
425 prev_cond = le32_to_cpu(adapter->hs_cfg
427 adapter->hs_cfg.conditions =
428 cpu_to_le32(hs_cfg->conditions);
429 } else if (hs_cfg->conditions) {
430 adapter->hs_cfg.conditions =
431 cpu_to_le32(hs_cfg
398 mwifiex_set_hs_params(struct mwifiex_private *priv, u16 action, int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg) argument
[all...]
H A Dsta_cmd.c354 struct host_cmd_ds_802_11_hs_cfg_enh *hs_cfg = &cmd->params.opt_hs_cfg; local
355 u8 *tlv = (u8 *)hs_cfg + sizeof(struct host_cmd_ds_802_11_hs_cfg_enh);
372 memcpy(((u8 *) hs_cfg) +
378 tlv = (u8 *)hs_cfg
385 hs_cfg->action = cpu_to_le16(HS_ACTIVATE);
386 hs_cfg->params.hs_activate.resp_ctrl = cpu_to_le16(RESP_NEEDED);
392 hs_cfg->action = cpu_to_le16(HS_CONFIGURE);
393 hs_cfg->params.hs_config.conditions = hscfg_param->conditions;
394 hs_cfg->params.hs_config.gpio = hscfg_param->gpio;
395 hs_cfg
[all...]
H A Dinit.c262 adapter->hs_cfg.conditions = cpu_to_le32(HS_CFG_COND_DEF);
263 adapter->hs_cfg.gpio = HS_CFG_GPIO_DEF;
264 adapter->hs_cfg.gap = HS_CFG_GAP_DEF;
H A Dcfg80211.c3467 struct mwifiex_ds_hs_cfg hs_cfg; local
3516 memset(&hs_cfg, 0, sizeof(hs_cfg));
3517 hs_cfg.conditions = le32_to_cpu(adapter->hs_cfg.conditions);
3521 hs_cfg.conditions |= HS_CFG_COND_MAC_EVENT;
3527 hs_cfg.conditions |= HS_CFG_COND_MAC_EVENT;
3531 hs_cfg.is_invoke_hostcmd = false;
3532 hs_cfg.gpio = adapter->hs_cfg
[all...]
H A Dioctl.h292 struct mwifiex_ds_hs_cfg hs_cfg; member in union:mwifiex_ds_pm_cfg::__anon1897
H A Dcmdevt.c712 struct host_cmd_ds_802_11_hs_cfg_enh *hs_cfg = local
715 if (le16_to_cpu(hs_cfg->action) == HS_ACTIVATE)
H A Dmain.h962 struct mwifiex_hs_config_param hs_cfg; member in struct:mwifiex_adapter
1118 int cmd_type, struct mwifiex_ds_hs_cfg *hs_cfg);
/linux-master/drivers/i2c/busses/
H A Di2c-bcm-kona.c156 const struct hs_bus_speed_cfg *hs_cfg; member in struct:bcm_kona_i2c_dev
528 writel((dev->hs_cfg->prescale << TIM_PRESCALE_SHIFT) |
529 (dev->hs_cfg->time_p << TIM_P_SHIFT) |
530 (dev->hs_cfg->no_div << TIM_NO_DIV_SHIFT) |
531 (dev->hs_cfg->time_div << TIM_DIV_SHIFT),
534 writel((dev->hs_cfg->hs_hold << HSTIM_HS_HOLD_SHIFT) |
535 (dev->hs_cfg->hs_high_phase << HSTIM_HS_HIGH_PHASE_SHIFT) |
536 (dev->hs_cfg->hs_setup << HSTIM_HS_SETUP_SHIFT),
620 if (dev->hs_cfg) {
674 if (dev->hs_cfg) {
[all...]

Completed in 144 milliseconds