Home
last modified time | relevance | path

Searched refs:current_channel (Results 1 – 25 of 61) sorted by relevance

123

/openbmc/linux/drivers/iio/adc/
H A Dad7949.c88 unsigned int current_channel; member
145 if (channel == ad7949_adc->current_channel) in ad7949_spi_read_channel()
164 ad7949_adc->current_channel = channel; in ad7949_spi_read_channel()
282 ad7949_adc->current_channel = 0; in ad7949_spi_init()
286 FIELD_PREP(AD7949_CFG_MASK_INX, ad7949_adc->current_channel) | in ad7949_spi_init()
298 ad7949_spi_read_channel(ad7949_adc, &val, ad7949_adc->current_channel); in ad7949_spi_init()
299 ad7949_spi_read_channel(ad7949_adc, &val, ad7949_adc->current_channel); in ad7949_spi_init()
/openbmc/u-boot/drivers/net/phy/
H A Dncsi.c82 unsigned int current_channel; member
98 nc = ncsi_priv->current_channel; in ncsi_active()
460 ncsi_priv->current_channel = 0; in ncsi_update_state()
476 nc = ncsi_priv->current_channel; in ncsi_update_state()
481 } else if (ncsi_priv->current_channel + 1 < in ncsi_update_state()
483 ncsi_priv->current_channel++; in ncsi_update_state()
626 ncsi_priv->current_channel = NCSI_CHANNEL_MAX; in ncsi_handle_aen()
816 ncsi_priv->current_channel); in ncsi_probe_packages()
819 ncsi_priv->current_channel); in ncsi_probe_packages()
837 ncsi_priv->current_channel = nc; in ncsi_probe_packages()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Ddm.c79 rtlphy->current_channel); in rtl92ce_dm_dynamic_txpower()
80 rtl92c_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92ce_dm_dynamic_txpower()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Ddm.c76 rtlphy->current_channel); in rtl92cu_dm_dynamic_txpower()
77 rtl92c_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92cu_dm_dynamic_txpower()
/openbmc/linux/drivers/net/ieee802154/
H A Dfakelb.c173 hw->phy->current_channel = 13; in fakelb_add_one()
174 phy->channel = hw->phy->current_channel; in fakelb_add_one()
H A Datusb.c862 atusb->hw->phy->current_channel = 11; /* reset default */ in atusb_get_and_conf_chip()
871 atusb->hw->phy->current_channel = 11; /* reset default */ in atusb_get_and_conf_chip()
882 atusb->hw->phy->current_channel = 5; in atusb_get_and_conf_chip()
H A Dat86rf230.c1475 lp->hw->phy->current_channel = 11; in at86rf230_detect_device()
1487 lp->hw->phy->current_channel = 5; in at86rf230_detect_device()
1498 lp->hw->phy->current_channel = 13; in at86rf230_detect_device()
/openbmc/linux/drivers/thermal/
H A Darmada_thermal.c75 int current_channel; member
329 if (priv->current_channel == channel) in armada_select_channel()
352 priv->current_channel = channel; in armada_select_channel()
905 priv->current_channel = -1; in armada_thermal_probe()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Ddm.c938 u8 channel = rtlphy->current_channel; in rtl8812ae_get_delta_swing_table()
1332 rtlphy->current_channel, in rtl8812ae_dm_txpwr_track_set_pwr()
1352 rtlphy->current_channel, RF90_PATH_A); in rtl8812ae_dm_txpwr_track_set_pwr()
1371 rtlphy->current_channel, RF90_PATH_A); in rtl8812ae_dm_txpwr_track_set_pwr()
1395 rtlphy->current_channel, RF90_PATH_B); in rtl8812ae_dm_txpwr_track_set_pwr()
1412 rtlphy->current_channel, RF90_PATH_B); in rtl8812ae_dm_txpwr_track_set_pwr()
1430 rtlphy->current_channel, RF90_PATH_B); in rtl8812ae_dm_txpwr_track_set_pwr()
1807 u8 channel = rtlphy->current_channel; in rtl8821ae_get_delta_swing_table()
1960 rtlphy->current_channel, in rtl8821ae_dm_txpwr_track_set_pwr()
1980 rtlphy->current_channel, RF90_PATH_A); in rtl8821ae_dm_txpwr_track_set_pwr()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dsw.c80 rtlpriv->phy.current_channel = 36; in rtl92d_init_sw_vars()
82 rtlpriv->phy.current_channel = 1; in rtl92d_init_sw_vars()
H A Ddm.c554 rtlphy->current_channel); in rtl92d_dm_dynamic_txpower()
555 rtl92d_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92d_dm_dynamic_txpower()
731 if (rtlphy->current_channel >= 100 && in rtl92d_bandtype_5G()
732 rtlphy->current_channel <= 165) in rtl92d_bandtype_5G()
791 rtl92d_get_rightchnlplace_for_iqk(rtlphy->current_channel); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
H A Dphy.c2242 "IQK:Start!!!channel %d\n", rtlphy->current_channel); in rtl92d_phy_iq_calibrate()
2342 rtlphy->current_channel); in rtl92d_phy_iq_calibrate()
2614 _rtl92d_phy_reload_lck_setting(hw, rtlpriv->phy.current_channel); in _rtl92d_phy_lc_calibrate_sw()
2822 u8 channel = rtlphy->current_channel; in rtl92d_phy_sw_chnl()
2843 if (rtlphy->current_channel > 14 && !(ret_value & BIT(0))) in rtl92d_phy_sw_chnl()
2845 else if (rtlphy->current_channel <= 14 && (ret_value & BIT(0))) in rtl92d_phy_sw_chnl()
2872 "switch to channel%d\n", rtlphy->current_channel); in rtl92d_phy_sw_chnl()
2878 rtlphy->current_channel, in rtl92d_phy_sw_chnl()
2907 rtl92d_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92d_phy_set_io()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dsar.c36 rtw_phy_set_tx_power_level(rtwdev, hal->current_channel); in rtw_apply_sar()
H A Ddebug.c662 ch = hal->current_channel; in rtw_debugfs_get_tx_pwr_tbl()
719 dm_info->rssi[RF_PATH_A] - 100, hal->current_channel); in rtw_debugfs_get_simple_phy_info()
747 seq_printf(m, "Current CH(fc) = %u\n", rtwdev->hal.current_channel); in rtw_debugfs_get_phy_info()
/openbmc/linux/net/mac802154/
H A Dcfg.c114 wpan_phy->current_channel == channel) in ieee802154_set_channel()
124 wpan_phy->current_channel = channel; in ieee802154_set_channel()
H A Dscan.c73 wpan_phy->current_channel); in mac802154_scan_cleanup_locked()
75 wpan_phy->current_channel); in mac802154_scan_cleanup_locked()
H A Dmib.c35 local->phy->current_channel = chan; in mac802154_dev_set_page_channel()
H A Dmain.c222 local->phy->current_channel); in ieee802154_register_hw()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dphy.c665 rtl8723e_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl8723e_phy_update_txpower_dbm()
826 "switch to channel%d\n", rtlphy->current_channel); in rtl8723e_phy_sw_chnl_callback()
833 (hw, rtlphy->current_channel, &rtlphy->sw_chnl_stage, in rtl8723e_phy_sw_chnl_callback()
857 WARN_ONCE((rtlphy->current_channel > 14), in rtl8723e_phy_sw_chnl()
1490 rtl8723e_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl8723e_phy_set_io()
H A Ddm.c410 rtlphy->current_channel); in rtl8723e_dm_dynamic_txpower()
411 rtl8723e_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl8723e_dm_dynamic_txpower()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
H A Dphy_common.c591 rtl92c_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92c_phy_update_txpower_dbm()
682 "switch to channel%d\n", rtlphy->current_channel); in rtl92c_phy_sw_chnl_callback()
689 (hw, rtlphy->current_channel, &rtlphy->sw_chnl_stage, in rtl92c_phy_sw_chnl_callback()
714 WARN_ONCE((rtlphy->current_channel > 14), in rtl92c_phy_sw_chnl()
1558 rtl92c_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92c_phy_set_io()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dphy.c1279 "switch to channel%d\n", rtlphy->current_channel); in rtl8723be_phy_sw_chnl_callback()
1286 rtlphy->current_channel, in rtl8723be_phy_sw_chnl_callback()
1312 WARN_ONCE((rtlphy->current_channel > 14), in rtl8723be_phy_sw_chnl()
1321 rtlphy->current_channel); in rtl8723be_phy_sw_chnl()
2367 idx = _get_right_chnl_place_for_iqk(rtlphy->current_channel); in rtl8723be_phy_iq_calibrate()
2466 rtl8723be_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl8723be_phy_set_io()
/openbmc/linux/net/ieee802154/
H A Dnl-phy.c48 nla_put_u8(msg, IEEE802154_ATTR_CHANNEL, phy->current_channel)) in ieee802154_nl_fill_phy()
/openbmc/linux/include/net/
H A Dcfg802154.h209 u8 current_channel; member
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dphy.c1161 "switch to channel%d\n", rtlphy->current_channel); in rtl88e_phy_sw_chnl_callback()
1168 (hw, rtlphy->current_channel, &rtlphy->sw_chnl_stage, in rtl88e_phy_sw_chnl_callback()
1192 WARN_ONCE((rtlphy->current_channel > 14), in rtl88e_phy_sw_chnl()
1201 rtlphy->current_channel); in rtl88e_phy_sw_chnl()
2110 rtl88e_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl88e_phy_set_io()

123