/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmutil/ |
D | d11.c | 28 static u16 d11n_bw(enum brcmu_chan_bw bw) in d11n_bw() argument 30 switch (bw) { in d11n_bw() 43 if (ch->bw == BRCMU_CHAN_BW_20) in brcmu_d11n_encchspec() 52 0, d11n_bw(ch->bw)); in brcmu_d11n_encchspec() 60 static u16 d11ac_bw(enum brcmu_chan_bw bw) in d11ac_bw() argument 62 switch (bw) { in d11ac_bw() 79 if (ch->bw == BRCMU_CHAN_BW_20 || ch->sb == BRCMU_CHAN_SB_NONE) in brcmu_d11ac_encchspec() 87 0, d11ac_bw(ch->bw)); in brcmu_d11ac_encchspec() 105 ch->bw = BRCMU_CHAN_BW_20; in brcmu_d11n_decchspec() 109 ch->bw = BRCMU_CHAN_BW_40; in brcmu_d11n_decchspec() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | reg.c | 457 u16 bw; in ath11k_reg_adjust_bw() local 462 bw = end_freq - start_freq; in ath11k_reg_adjust_bw() 463 bw = min_t(u16, bw, max_bw); in ath11k_reg_adjust_bw() 465 if (bw >= 80 && bw < 160) in ath11k_reg_adjust_bw() 466 bw = 80; in ath11k_reg_adjust_bw() 467 else if (bw >= 40 && bw < 80) in ath11k_reg_adjust_bw() 468 bw = 40; in ath11k_reg_adjust_bw() 469 else if (bw >= 20 && bw < 40) in ath11k_reg_adjust_bw() 470 bw = 20; in ath11k_reg_adjust_bw() 472 bw = 0; in ath11k_reg_adjust_bw() [all …]
|
D | debugfs_sta.c | 21 int gi, mcs, bw, nss; in ath11k_debugfs_sta_add_tx_stats() local 29 bw = ath11k_mac_mac80211_bw_to_ath11k_bw(txrate->bw); in ath11k_debugfs_sta_add_tx_stats() 85 STATS_OP_FMT(AMPDU).bw[0][bw] += in ath11k_debugfs_sta_add_tx_stats() 91 STATS_OP_FMT(AMPDU).bw[1][bw] += in ath11k_debugfs_sta_add_tx_stats() 101 STATS_OP_FMT(SUCC).bw[0][bw] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats() 105 STATS_OP_FMT(SUCC).bw[1][bw] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats() 109 STATS_OP_FMT(FAIL).bw[0][bw] += peer_stats->failed_bytes; in ath11k_debugfs_sta_add_tx_stats() 113 STATS_OP_FMT(FAIL).bw[1][bw] += peer_stats->failed_pkts; in ath11k_debugfs_sta_add_tx_stats() 117 STATS_OP_FMT(RETRY).bw[0][bw] += peer_stats->retry_bytes; in ath11k_debugfs_sta_add_tx_stats() 121 STATS_OP_FMT(RETRY).bw[1][bw] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats() [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp_bbr.c | 91 struct minmax bw; /* Max recent delivery rate in pkts/uS << 24 */ member 217 return minmax_get(&bbr->bw); in bbr_max_bw() 254 static unsigned long bbr_bw_to_pacing_rate(struct sock *sk, u32 bw, int gain) in bbr_bw_to_pacing_rate() argument 256 u64 rate = bw; in bbr_bw_to_pacing_rate() 268 u64 bw; in bbr_init_pacing_rate_from_rtt() local 277 bw = (u64)tp->snd_cwnd * BW_UNIT; in bbr_init_pacing_rate_from_rtt() 278 do_div(bw, rtt_us); in bbr_init_pacing_rate_from_rtt() 279 sk->sk_pacing_rate = bbr_bw_to_pacing_rate(sk, bw, bbr_high_gain); in bbr_init_pacing_rate_from_rtt() 283 static void bbr_set_pacing_rate(struct sock *sk, u32 bw, int gain) in bbr_set_pacing_rate() argument 287 unsigned long rate = bbr_bw_to_pacing_rate(sk, bw, gain); in bbr_set_pacing_rate() [all …]
|
D | tcp_yeah.c | 115 u64 bw; in tcp_yeah_cong_avoid() local 133 bw = tp->snd_cwnd; in tcp_yeah_cong_avoid() 134 bw *= rtt - yeah->vegas.baseRTT; in tcp_yeah_cong_avoid() 135 do_div(bw, rtt); in tcp_yeah_cong_avoid() 136 queue = bw; in tcp_yeah_cong_avoid()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | dib7000m.c | 316 static int dib7000m_set_bandwidth(struct dib7000m_state *state, u32 bw) in dib7000m_set_bandwidth() argument 320 if (!bw) in dib7000m_set_bandwidth() 321 bw = 8000; in dib7000m_set_bandwidth() 324 state->current_bandwidth = bw; in dib7000m_set_bandwidth() 334 timf = timf * (bw / 50) / 160; in dib7000m_set_bandwidth() 382 … dib7000m_reset_pll_common(struct dib7000m_state *state, const struct dibx000_bandwidth_config *bw) in dib7000m_reset_pll_common() argument 384 dib7000m_write_word(state, 18, (u16) (((bw->internal*1000) >> 16) & 0xffff)); in dib7000m_reset_pll_common() 385 dib7000m_write_word(state, 19, (u16) ( (bw->internal*1000) & 0xffff)); in dib7000m_reset_pll_common() 386 dib7000m_write_word(state, 21, (u16) ( (bw->ifreq >> 16) & 0xffff)); in dib7000m_reset_pll_common() 387 dib7000m_write_word(state, 22, (u16) ( bw->ifreq & 0xffff)); in dib7000m_reset_pll_common() [all …]
|
D | dib7000p.c | 373 static int dib7000p_set_bandwidth(struct dib7000p_state *state, u32 bw) in dib7000p_set_bandwidth() argument 378 state->current_bandwidth = bw; in dib7000p_set_bandwidth() 382 timf = state->cfg.bw->timf; in dib7000p_set_bandwidth() 388 timf = timf * (bw / 50) / 160; in dib7000p_set_bandwidth() 449 struct dibx000_bandwidth_config *bw = &state->cfg.bw[0]; in dib7000p_reset_pll() local 453 …dib7000p_write_word(state, 1856, (!bw->pll_reset << 13) | (bw->pll_range << 12) | (bw->pll_ratio <… in dib7000p_reset_pll() 458 dib7000p_write_word(state, 1857, dib7000p_read_word(state, 1857) | (!bw->pll_bypass << 15)); in dib7000p_reset_pll() 461 clk_cfg0 = (1 << 15) | ((bw->pll_ratio & 0x3f) << 9) | in dib7000p_reset_pll() 462 …(bw->modulo << 7) | (bw->ADClkSrc << 6) | (bw->IO_CLK_en_core << 5) | (bw->bypclk_div << 2) | (bw-… in dib7000p_reset_pll() 467 …dib7000p_write_word(state, 903, (bw->pll_prediv << 5) | (((bw->pll_ratio >> 6) & 0x3) << 3) | (bw-… in dib7000p_reset_pll() [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf-tuner.c | 79 u8 bw) in mxl111sf_calc_phy_tune_regs() argument 84 switch (bw) { in mxl111sf_calc_phy_tune_regs() 186 static int mxl1x1sf_tune_rf(struct dvb_frontend *fe, u32 freq, u8 bw) in mxl1x1sf_tune_rf() argument 193 mxl_dbg("(freq = %d, bw = 0x%x)", freq, bw); in mxl1x1sf_tune_rf() 206 reg_ctrl_array = mxl111sf_calc_phy_tune_regs(freq, bw); in mxl1x1sf_tune_rf() 268 u8 bw; in mxl111sf_tuner_set_params() local 275 bw = 0; /* ATSC */ in mxl111sf_tuner_set_params() 278 bw = 1; /* US CABLE */ in mxl111sf_tuner_set_params() 283 bw = 6; in mxl111sf_tuner_set_params() 286 bw = 7; in mxl111sf_tuner_set_params() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_debug.c | 352 context->bw_ctx.bw.dcn.clk.dispclk_khz, in context_clock_trace() 353 context->bw_ctx.bw.dcn.clk.dppclk_khz, in context_clock_trace() 354 context->bw_ctx.bw.dcn.clk.dcfclk_khz, in context_clock_trace() 355 context->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz, in context_clock_trace() 356 context->bw_ctx.bw.dcn.clk.fclk_khz, in context_clock_trace() 357 context->bw_ctx.bw.dcn.clk.socclk_khz); in context_clock_trace() 360 context->bw_ctx.bw.dcn.clk.dispclk_khz, in context_clock_trace() 361 context->bw_ctx.bw.dcn.clk.dppclk_khz, in context_clock_trace() 362 context->bw_ctx.bw.dcn.clk.dcfclk_khz, in context_clock_trace() 363 context->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz, in context_clock_trace() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
D | dce110_clk_mgr.c | 183 context->bw_ctx.bw.dce.all_displays_in_sync; in dce11_pplib_apply_display_requirements() 185 context->bw_ctx.bw.dce.nbp_state_change_enable == false; in dce11_pplib_apply_display_requirements() 187 context->bw_ctx.bw.dce.cpuc_state_change_enable == false; in dce11_pplib_apply_display_requirements() 189 context->bw_ctx.bw.dce.cpup_state_change_enable == false; in dce11_pplib_apply_display_requirements() 191 context->bw_ctx.bw.dce.blackout_recovery_time_us; in dce11_pplib_apply_display_requirements() 204 pp_display_cfg->min_memory_clock_khz = context->bw_ctx.bw.dce.yclk_khz in dce11_pplib_apply_display_requirements() 210 context->bw_ctx.bw.dce.sclk_khz); in dce11_pplib_apply_display_requirements() 223 = context->bw_ctx.bw.dce.sclk_deep_sleep_khz; in dce11_pplib_apply_display_requirements() 254 int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz; in dce11_update_clocks() 269 context->bw_ctx.bw.dce.dispclk_khz = dce_set_clock(clk_mgr_base, patched_disp_clk); in dce11_update_clocks()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 907 &context->bw_ctx.bw.dce)) in dce112_validate_bandwidth() 915 if (memcmp(&dc->current_state->bw_ctx.bw.dce, in dce112_validate_bandwidth() 916 &context->bw_ctx.bw.dce, sizeof(context->bw_ctx.bw.dce))) { in dce112_validate_bandwidth() 930 context->bw_ctx.bw.dce.nbp_state_change_wm_ns[0].b_mark, in dce112_validate_bandwidth() 931 context->bw_ctx.bw.dce.nbp_state_change_wm_ns[0].a_mark, in dce112_validate_bandwidth() 932 context->bw_ctx.bw.dce.urgent_wm_ns[0].b_mark, in dce112_validate_bandwidth() 933 context->bw_ctx.bw.dce.urgent_wm_ns[0].a_mark, in dce112_validate_bandwidth() 934 context->bw_ctx.bw.dce.stutter_exit_wm_ns[0].b_mark, in dce112_validate_bandwidth() 935 context->bw_ctx.bw.dce.stutter_exit_wm_ns[0].a_mark, in dce112_validate_bandwidth() 936 context->bw_ctx.bw.dce.nbp_state_change_wm_ns[1].b_mark, in dce112_validate_bandwidth() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
D | phy.c | 1323 u8 bw, u8 rs, u8 ch, s8 pwr_limit) in rtw_phy_set_tx_power_limit() argument 1334 if (regd >= RTW_REGD_MAX || bw >= RTW_CHANNEL_WIDTH_MAX || in rtw_phy_set_tx_power_limit() 1338 regd, band, bw, rs, ch_idx, pwr_limit); in rtw_phy_set_tx_power_limit() 1343 hal->tx_pwr_limit_2g[regd][bw][rs][ch_idx] = pwr_limit; in rtw_phy_set_tx_power_limit() 1344 ww = hal->tx_pwr_limit_2g[RTW_REGD_WW][bw][rs][ch_idx]; in rtw_phy_set_tx_power_limit() 1346 hal->tx_pwr_limit_2g[RTW_REGD_WW][bw][rs][ch_idx] = ww; in rtw_phy_set_tx_power_limit() 1348 hal->tx_pwr_limit_5g[regd][bw][rs][ch_idx] = pwr_limit; in rtw_phy_set_tx_power_limit() 1349 ww = hal->tx_pwr_limit_5g[RTW_REGD_WW][bw][rs][ch_idx]; in rtw_phy_set_tx_power_limit() 1351 hal->tx_pwr_limit_5g[RTW_REGD_WW][bw][rs][ch_idx] = ww; in rtw_phy_set_tx_power_limit() 1358 u8 bw, u8 ch_idx, u8 rs_ht, u8 rs_vht) in rtw_xref_5g_txpwr_lmt() argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_resource.c | 987 &context->bw_ctx.bw.dce)) in dce110_validate_bandwidth() 997 if (memcmp(&dc->current_state->bw_ctx.bw.dce, in dce110_validate_bandwidth() 998 &context->bw_ctx.bw.dce, sizeof(context->bw_ctx.bw.dce))) { in dce110_validate_bandwidth() 1012 context->bw_ctx.bw.dce.nbp_state_change_wm_ns[0].b_mark, in dce110_validate_bandwidth() 1013 context->bw_ctx.bw.dce.nbp_state_change_wm_ns[0].a_mark, in dce110_validate_bandwidth() 1014 context->bw_ctx.bw.dce.urgent_wm_ns[0].b_mark, in dce110_validate_bandwidth() 1015 context->bw_ctx.bw.dce.urgent_wm_ns[0].a_mark, in dce110_validate_bandwidth() 1016 context->bw_ctx.bw.dce.stutter_exit_wm_ns[0].b_mark, in dce110_validate_bandwidth() 1017 context->bw_ctx.bw.dce.stutter_exit_wm_ns[0].a_mark, in dce110_validate_bandwidth() 1018 context->bw_ctx.bw.dce.nbp_state_change_wm_ns[1].b_mark, in dce110_validate_bandwidth() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dcn_calcs.c | 564 context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_exit_ns = 566 context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_enter_plus_exit_ns = 568 context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = 570 context->bw_ctx.bw.dcn.watermarks.b.pte_meta_urgent_ns = v->ptemeta_urgent_watermark * 1000; 571 context->bw_ctx.bw.dcn.watermarks.b.urgent_ns = v->urgent_watermark * 1000; 578 context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_exit_ns = 580 context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_enter_plus_exit_ns = 582 context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns = 584 context->bw_ctx.bw.dcn.watermarks.c.pte_meta_urgent_ns = v->ptemeta_urgent_watermark * 1000; 585 context->bw_ctx.bw.dcn.watermarks.c.urgent_ns = v->urgent_watermark * 1000; [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_sched.c | 1990 static void ice_set_clear_cir_bw(struct ice_bw_type_info *bw_t_info, u32 bw) in ice_set_clear_cir_bw() argument 1992 if (bw == ICE_SCHED_DFLT_BW) { in ice_set_clear_cir_bw() 1994 bw_t_info->cir_bw.bw = 0; in ice_set_clear_cir_bw() 1998 bw_t_info->cir_bw.bw = bw; in ice_set_clear_cir_bw() 2009 static void ice_set_clear_eir_bw(struct ice_bw_type_info *bw_t_info, u32 bw) in ice_set_clear_eir_bw() argument 2011 if (bw == ICE_SCHED_DFLT_BW) { in ice_set_clear_eir_bw() 2013 bw_t_info->eir_bw.bw = 0; in ice_set_clear_eir_bw() 2023 bw_t_info->eir_bw.bw = bw; in ice_set_clear_eir_bw() 2034 static void ice_set_clear_shared_bw(struct ice_bw_type_info *bw_t_info, u32 bw) in ice_set_clear_shared_bw() argument 2036 if (bw == ICE_SCHED_DFLT_BW) { in ice_set_clear_shared_bw() [all …]
|
/kernel/linux/linux-5.10/include/net/ |
D | regulatory.h | 234 #define REG_RULE_EXT(start, end, bw, gain, eirp, dfs_cac, reg_flags) \ argument 238 .freq_range.max_bandwidth_khz = MHZ_TO_KHZ(bw), \ 245 #define REG_RULE(start, end, bw, gain, eirp, reg_flags) \ argument 246 REG_RULE_EXT(start, end, bw, gain, eirp, 0, reg_flags)
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | mcu.c | 15 int mt76x2_mcu_set_channel(struct mt76x02_dev *dev, u8 channel, u8 bw, in mt76x2_mcu_set_channel() argument 21 u8 bw; in mt76x2_mcu_set_channel() member 31 .bw = bw, in mt76x2_mcu_set_channel()
|
D | usb_phy.c | 87 u8 channel = chan->hw_value, bw, bw_index; in mt76x2u_phy_set_channel() local 96 bw = 1; in mt76x2u_phy_set_channel() 110 bw = 2; in mt76x2u_phy_set_channel() 115 bw = 0; in mt76x2u_phy_set_channel() 123 mt76x2_configure_tx_delay(dev, chan->band, bw); in mt76x2u_phy_set_channel() 137 ret = mt76x2_mcu_set_channel(dev, channel, bw, bw_index, scan); in mt76x2u_phy_set_channel()
|
/kernel/linux/linux-5.10/drivers/memory/samsung/ |
D | exynos-srom.c | 72 u32 cs, bw; in exynos_srom_configure_bank() local 90 bw = readl_relaxed(srom->reg_base + EXYNOS_SROM_BW); in exynos_srom_configure_bank() 91 bw = (bw & ~(EXYNOS_SROM_BW__CS_MASK << bank)) | (cs << bank); in exynos_srom_configure_bank() 92 writel_relaxed(bw, srom->reg_base + EXYNOS_SROM_BW); in exynos_srom_configure_bank()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 266 ssize_t bw; in do_rnd_write() local 278 bw = write(fd, buf, do_w); in do_rnd_write() 279 if (bw < 0) in do_rnd_write() 291 return bw; in do_rnd_write() 300 ssize_t bw; in do_write() local 302 bw = write(fd, buf + offset, len - offset); in do_write() 303 if (bw < 0) { in do_write() 308 written = (size_t)bw; in do_write() 398 ssize_t bw; in copyfd_io_poll() local 400 bw = do_rnd_write(peerfd, wbuf + woff, wlen); in copyfd_io_poll() [all …]
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
D | mxl5007t.c | 381 enum mxl5007t_bw_mhz bw) in mxl5007t_set_bw_bits() argument 385 switch (bw) { in mxl5007t_set_bw_bits() 407 u32 rf_freq, enum mxl5007t_bw_mhz bw) in mxl5007t_calc_rf_tune_regs() argument 416 mxl5007t_set_bw_bits(state, bw); in mxl5007t_calc_rf_tune_regs() 530 enum mxl5007t_bw_mhz bw) in mxl5007t_tuner_rf_tune() argument 536 rf_tune_regs = mxl5007t_calc_rf_tune_regs(state, rf_freq_hz, bw); in mxl5007t_tuner_rf_tune() 604 enum mxl5007t_bw_mhz bw; in mxl5007t_set_params() local 612 bw = MxL_BW_6MHz; in mxl5007t_set_params() 616 bw = MxL_BW_6MHz; in mxl5007t_set_params() 623 bw = MxL_BW_6MHz; in mxl5007t_set_params() [all …]
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | client_writeback.c | 185 unsigned long bw = wb->avg_write_bandwidth; in hmdfs_update_dirty_limit() local 192 if (bw > hwb->max_write_bandwidth) in hmdfs_update_dirty_limit() 193 hwb->max_write_bandwidth = bw; in hmdfs_update_dirty_limit() 195 if (bw < hwb->min_write_bandwidth) in hmdfs_update_dirty_limit() 196 hwb->min_write_bandwidth = bw; in hmdfs_update_dirty_limit() 197 hwb->avg_write_bandwidth = bw; in hmdfs_update_dirty_limit() 204 bw = max(bw, hwb->bw_thresh_lowerlimit); in hmdfs_update_dirty_limit() 205 thresh = bw * time_limit / roundup_pow_of_two(HZ); in hmdfs_update_dirty_limit() 245 unsigned long bw = wb->avg_write_bandwidth; in hmdfs_wb_pause() local 255 t = wb_dirty / (1 + bw / roundup_pow_of_two(1 + HZ / 8)); in hmdfs_wb_pause()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | rate.h | 137 u32 bw = rspec_get_bw(rspec); in rspec_is40mhz() local 139 return bw == PHY_TXC1_BW_40MHZ || bw == PHY_TXC1_BW_40MHZ_DUP; in rspec_is40mhz() 236 bool mcsallow, u8 bw, u8 txstreams); 243 void brcms_c_rateset_bw_mcs_filter(struct brcms_c_rateset *rateset, u8 bw);
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
D | phy.c | 967 u32 freq, enum carl9170_bw bw) in carl9170_init_rf_bank4_pwr() argument 975 switch (bw) { in carl9170_init_rf_bank4_pwr() 1036 enum carl9170_bw bw) in carl9170_get_hw_dyn_params() argument 1052 return &carl9170_phy_freq_params[chanidx].params[bw]; in carl9170_get_hw_dyn_params() 1260 enum carl9170_bw bw, struct ar9170_calctl_edges edges[]) in carl9170_get_heavy_clip() argument 1271 if (bw == CARL9170_BW_40_BELOW || bw == CARL9170_BW_40_ABOVE) in carl9170_get_heavy_clip() 1291 static void carl9170_calc_ctl(struct ar9170 *ar, u32 freq, enum carl9170_bw bw) in carl9170_calc_ctl() argument 1366 freq, bw, EDGES(ctl_idx, 1)); in carl9170_calc_ctl() 1372 if (bw == CARL9170_BW_40_BELOW) in carl9170_calc_ctl() 1429 enum carl9170_bw bw) in carl9170_set_power_cal() argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 246 int bw = FIELD_GET(MT_RXWI_RATE_BW, rate); in mt7601u_phy_get_rssi() local 255 val -= lna[aux_lna][bw][lna_id]; in mt7601u_phy_get_rssi() 278 if (dev->bw != MT_BW_20) in mt7601u_set_bw_filter() 296 t = &bbp_mode_table[dev->temp_mode][dev->bw]; in mt7601u_load_bbp_temp_table_bw() 319 t[dev->bw].regs, t[dev->bw].n); in mt7601u_bbp_temp() 326 if (hw_chan != 14 || dev->bw != MT_BW_20) { in mt7601u_apply_ch14_fixup() 377 u8 bw; in __mt7601u_phy_set_channel() local 380 bw = MT_BW_20; in __mt7601u_phy_set_channel() 385 bw = MT_BW_40; in __mt7601u_phy_set_channel() 395 if (bw != dev->bw || chan_ext_below != dev->chan_ext_below) { in __mt7601u_phy_set_channel() [all …]
|