Home
last modified time | relevance | path

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

123

/linux-6.1.9/net/mac802154/
Dmain.c122 if (BIT(phy->current_channel) & 0x1) in ieee802154_configure_durations()
125 else if (BIT(phy->current_channel) & 0x7FE) in ieee802154_configure_durations()
128 else if (BIT(phy->current_channel) & 0x7FFF800) in ieee802154_configure_durations()
133 if (BIT(phy->current_channel) & 0x1) in ieee802154_configure_durations()
136 else if (BIT(phy->current_channel) & 0x7FE) in ieee802154_configure_durations()
141 if (BIT(phy->current_channel) & 0x3FFF) in ieee802154_configure_durations()
Dcfg.c114 wpan_phy->current_channel == channel) in ieee802154_set_channel()
120 wpan_phy->current_channel = channel; in ieee802154_set_channel()
Dmib.c35 local->phy->current_channel = chan; in mac802154_dev_set_page_channel()
/linux-6.1.9/drivers/iio/adc/
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()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
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()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
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()
/linux-6.1.9/include/linux/
Ds3c_adc_battery.h23 const unsigned int current_channel; member
/linux-6.1.9/drivers/net/ieee802154/
Dfakelb.c173 hw->phy->current_channel = 13; in fakelb_add_one()
174 phy->channel = hw->phy->current_channel; in fakelb_add_one()
Datusb.c839 atusb->hw->phy->current_channel = 11; /* reset default */ in atusb_get_and_conf_chip()
848 atusb->hw->phy->current_channel = 11; /* reset default */ in atusb_get_and_conf_chip()
859 atusb->hw->phy->current_channel = 5; in atusb_get_and_conf_chip()
Dat86rf230.c1501 lp->hw->phy->current_channel = 11; in at86rf230_detect_device()
1513 lp->hw->phy->current_channel = 5; in at86rf230_detect_device()
1524 lp->hw->phy->current_channel = 13; in at86rf230_detect_device()
/linux-6.1.9/drivers/thermal/
Darmada_thermal.c77 int current_channel; member
331 if (priv->current_channel == channel) in armada_select_channel()
354 priv->current_channel = channel; in armada_select_channel()
894 priv->current_channel = -1; in armada_thermal_probe()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
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 …]
Dphy.c2587 rtlphy->current_channel); in _rtl8821ae_phy_get_txpower_by_rate()
3468 rtl8812ae_fixspur(hw, rtlphy->current_chan_bw, rtlphy->current_channel); in rtl8821ae_phy_set_bw_mode_callback()
3502 u8 channel = rtlphy->current_channel; in rtl8821ae_phy_sw_chnl_callback()
3507 "switch to channel%d\n", rtlphy->current_channel); in rtl8821ae_phy_sw_chnl_callback()
3558 u8 channel = rtlphy->current_channel; in rtl8821ae_phy_sw_chnl()
3575 if (rtlphy->current_channel > 14 && rtlhal->current_bandtype != BAND_ON_5G) in rtl8821ae_phy_sw_chnl()
3577 else if (rtlphy->current_channel <= 14 && rtlhal->current_bandtype != BAND_ON_2_4G) in rtl8821ae_phy_sw_chnl()
3586 rtlphy->current_channel, rtlhal->current_bandtype); in rtl8821ae_phy_sw_chnl()
3591 rtl8821ae_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl8821ae_phy_sw_chnl()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dsw.c80 rtlpriv->phy.current_channel = 36; in rtl92d_init_sw_vars()
82 rtlpriv->phy.current_channel = 1; in rtl92d_init_sw_vars()
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()
Dphy.c2249 "IQK:Start!!!channel %d\n", rtlphy->current_channel); in rtl92d_phy_iq_calibrate()
2349 rtlphy->current_channel); in rtl92d_phy_iq_calibrate()
2621 _rtl92d_phy_reload_lck_setting(hw, rtlpriv->phy.current_channel); in _rtl92d_phy_lc_calibrate_sw()
2829 u8 channel = rtlphy->current_channel; in rtl92d_phy_sw_chnl()
2850 if (rtlphy->current_channel > 14 && !(ret_value & BIT(0))) in rtl92d_phy_sw_chnl()
2852 else if (rtlphy->current_channel <= 14 && (ret_value & BIT(0))) in rtl92d_phy_sw_chnl()
2879 "switch to channel%d\n", rtlphy->current_channel); in rtl92d_phy_sw_chnl()
2885 rtlphy->current_channel, in rtl92d_phy_sw_chnl()
2914 rtl92d_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92d_phy_set_io()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dsar.c36 rtw_phy_set_tx_power_level(rtwdev, hal->current_channel); in rtw_apply_sar()
Ddebug.c629 ch = hal->current_channel; in rtw_debugfs_get_tx_pwr_tbl()
686 dm_info->rssi[RF_PATH_A] - 100, hal->current_channel); in rtw_debugfs_get_simple_phy_info()
714 seq_printf(m, "Current CH(fc) = %u\n", rtwdev->hal.current_channel); in rtw_debugfs_get_phy_info()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
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()
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()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dphy_common.c599 rtl92c_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92c_phy_update_txpower_dbm()
690 "switch to channel%d\n", rtlphy->current_channel); in rtl92c_phy_sw_chnl_callback()
697 (hw, rtlphy->current_channel, &rtlphy->sw_chnl_stage, in rtl92c_phy_sw_chnl_callback()
722 WARN_ONCE((rtlphy->current_channel > 14), in rtl92c_phy_sw_chnl()
1566 rtl92c_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92c_phy_set_io()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
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()
/linux-6.1.9/net/ieee802154/
Dnl-phy.c48 nla_put_u8(msg, IEEE802154_ATTR_CHANNEL, phy->current_channel)) in ieee802154_nl_fill_phy()
/linux-6.1.9/include/net/
Dcfg802154.h192 u8 current_channel; member
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dphy.c1167 "switch to channel%d\n", rtlphy->current_channel); in rtl88e_phy_sw_chnl_callback()
1174 (hw, rtlphy->current_channel, &rtlphy->sw_chnl_stage, in rtl88e_phy_sw_chnl_callback()
1198 WARN_ONCE((rtlphy->current_channel > 14), in rtl88e_phy_sw_chnl()
1207 rtlphy->current_channel); in rtl88e_phy_sw_chnl()
2116 rtl88e_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl88e_phy_set_io()

123