Home
last modified time | relevance | path

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

/linux-6.12.1/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_get_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.12.1/net/mac80211/
Dspectmgmt.c232 struct ieee80211_channel *new_chan; in ieee80211_parse_ch_switch_ie() local
296 new_chan = ieee80211_get_channel(sdata->local->hw.wiphy, new_freq); in ieee80211_parse_ch_switch_ie()
297 if (!new_chan || new_chan->flags & IEEE80211_CHAN_DISABLED) { in ieee80211_parse_ch_switch_ie()
319 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
323 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
327 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
331 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
351 new_chandef.chan = new_chan; in ieee80211_parse_ch_switch_ie()
363 if (!ieee80211_operating_class_to_chandef(new_op_class, new_chan, in ieee80211_parse_ch_switch_ie()
/linux-6.12.1/net/wireless/
Dibss.c229 struct ieee80211_channel *new_chan = NULL; in cfg80211_ibss_wext_join() local
245 new_chan = chan; in cfg80211_ibss_wext_join()
249 if (new_chan) in cfg80211_ibss_wext_join()
253 if (!new_chan) in cfg80211_ibss_wext_join()
256 cfg80211_chandef_create(&wdev->wext.ibss.chandef, new_chan, in cfg80211_ibss_wext_join()