Home
last modified time | relevance | path

Searched refs:new_chan (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/i2c/muxes/
Di2c-demux-pinctrl.c54 static int i2c_demux_activate_master(struct i2c_demux_pinctrl_priv *priv, u32 new_chan) in i2c_demux_activate_master() argument
60 ret = of_changeset_apply(&priv->chan[new_chan].chgset); in i2c_demux_activate_master()
64 adap = of_find_i2c_adapter_by_node(priv->chan[new_chan].parent_np); in i2c_demux_activate_master()
94 priv->chan[new_chan].parent_adap = adap; in i2c_demux_activate_master()
95 priv->cur_chan = new_chan; in i2c_demux_activate_master()
123 of_changeset_revert(&priv->chan[new_chan].chgset); in i2c_demux_activate_master()
125 dev_err(priv->dev, "failed to setup demux-adapter %d (%d)\n", new_chan, ret); in i2c_demux_activate_master()
148 static int i2c_demux_change_master(struct i2c_demux_pinctrl_priv *priv, u32 new_chan) in i2c_demux_change_master() argument
152 if (new_chan == priv->cur_chan) in i2c_demux_change_master()
159 return i2c_demux_activate_master(priv, new_chan); in i2c_demux_change_master()
/linux-6.1.9/net/mac80211/
Dspectmgmt.c32 struct ieee80211_channel *new_chan; in ieee80211_parse_ch_switch_ie() local
86 new_chan = ieee80211_get_channel(sdata->local->hw.wiphy, new_freq); in ieee80211_parse_ch_switch_ie()
87 if (!new_chan || new_chan->flags & IEEE80211_CHAN_DISABLED) { in ieee80211_parse_ch_switch_ie()
108 cfg80211_chandef_create(&csa_ie->chandef, new_chan, in ieee80211_parse_ch_switch_ie()
112 cfg80211_chandef_create(&csa_ie->chandef, new_chan, in ieee80211_parse_ch_switch_ie()
116 cfg80211_chandef_create(&csa_ie->chandef, new_chan, in ieee80211_parse_ch_switch_ie()
120 cfg80211_chandef_create(&csa_ie->chandef, new_chan, in ieee80211_parse_ch_switch_ie()
/linux-6.1.9/net/wireless/
Dibss.c250 struct ieee80211_channel *new_chan = NULL; in cfg80211_ibss_wext_join() local
266 new_chan = chan; in cfg80211_ibss_wext_join()
270 if (new_chan) in cfg80211_ibss_wext_join()
274 if (!new_chan) in cfg80211_ibss_wext_join()
277 cfg80211_chandef_create(&wdev->wext.ibss.chandef, new_chan, in cfg80211_ibss_wext_join()