Home
last modified time | relevance | path

Searched refs:max_bw (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dreg.c350 u32 freq_diff, max_bw; in ath11k_reg_intersect_rules() local
364 max_bw = min_t(u32, rule1->freq_range.max_bandwidth_khz, in ath11k_reg_intersect_rules()
366 new_rule->freq_range.max_bandwidth_khz = min_t(u32, max_bw, freq_diff); in ath11k_reg_intersect_rules()
455 ath11k_reg_adjust_bw(u16 start_freq, u16 end_freq, u16 max_bw) in ath11k_reg_adjust_bw() argument
463 bw = min_t(u16, bw, max_bw); in ath11k_reg_adjust_bw()
494 u8 *rule_idx, u32 flags, u16 max_bw) in ath11k_reg_update_weather_radar_band() argument
508 ETSI_WEATHER_RADAR_BAND_LOW, max_bw); in ath11k_reg_update_weather_radar_band()
531 bw = ath11k_reg_adjust_bw(start_freq, end_freq, max_bw); in ath11k_reg_update_weather_radar_band()
550 reg_rule->end_freq, max_bw); in ath11k_reg_update_weather_radar_band()
579 u16 max_bw; in ath11k_reg_build_regd() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_bw.c172 for (i = 0; i < ARRAY_SIZE(dev_priv->max_bw); i++) { in icl_get_bw_info()
173 struct intel_bw_info *bi = &dev_priv->max_bw[i]; in icl_get_bw_info()
231 for (i = 0; i < ARRAY_SIZE(dev_priv->max_bw); i++) { in icl_max_bw()
233 &dev_priv->max_bw[i]; in icl_max_bw()
374 int max_bw = 0; in skl_bw_calc_min_cdclk() local
442 max_bw += crtc_bw->used_bw[slice_id]; in skl_bw_calc_min_cdclk()
446 new_bw_state->min_cdclk = max_bw / 64; in skl_bw_calc_min_cdclk()
513 unsigned int max_bw_point = 0, max_bw = 0; in intel_bw_atomic_check() local
514 unsigned int num_qgv_points = dev_priv->max_bw[0].num_qgv_points; in intel_bw_atomic_check()
578 if (max_data_rate > max_bw) { in intel_bw_atomic_check()
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Dchan.c226 enum nl80211_chan_width max_bw = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_get_max_required_bw() local
235 max_bw = max(max_bw, ieee80211_get_sta_bw(&sta->sta)); in ieee80211_get_max_required_bw()
239 return max_bw; in ieee80211_get_max_required_bw()
247 enum nl80211_chan_width max_bw = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_get_chanctx_max_required_bw() local
290 max_bw = max(max_bw, width); in ieee80211_get_chanctx_max_required_bw()
296 max_bw = max(max_bw, conf->def.width); in ieee80211_get_chanctx_max_required_bw()
300 return max_bw; in ieee80211_get_chanctx_max_required_bw()
311 enum nl80211_chan_width max_bw; in ieee80211_recalc_chanctx_min_def() local
329 max_bw = ieee80211_get_chanctx_max_required_bw(local, &ctx->conf); in ieee80211_recalc_chanctx_min_def()
333 while (min_def.width > max_bw) in ieee80211_recalc_chanctx_min_def()
Drx.c3297 enum ieee80211_sta_rx_bandwidth max_bw, new_bw; in ieee80211_rx_h_action() local
3306 max_bw = IEEE80211_STA_RX_BW_20; in ieee80211_rx_h_action()
3308 max_bw = ieee80211_sta_cap_rx_bw(rx->sta); in ieee80211_rx_h_action()
3311 rx->sta->cur_max_bandwidth = max_bw; in ieee80211_rx_h_action()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.h28 __le32 max_bw; member
Dbnxt_sriov.c305 req.max_bw = cpu_to_le32(max_tx_rate); in bnxt_set_vf_bw()
487 req.max_bw = cpu_to_le32(vf->max_tx_rate); in __bnxt_set_vf_params()
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dtunnel.c378 static int tb_dp_reduce_bandwidth(int max_bw, u32 in_rate, u32 in_lanes, in tb_dp_reduce_bandwidth() argument
411 if (tb_dp_bandwidth(dp_bw[i][0], dp_bw[i][1]) <= max_bw) { in tb_dp_reduce_bandwidth()
426 int ret, max_bw; in tb_dp_xchg_caps() local
476 max_bw = tunnel->max_down; in tb_dp_xchg_caps()
478 max_bw = tunnel->max_up; in tb_dp_xchg_caps()
480 if (max_bw && bw > max_bw) { in tb_dp_xchg_caps()
483 ret = tb_dp_reduce_bandwidth(max_bw, in_rate, in_lanes, in tb_dp_xchg_caps()
Dusb4.c1639 int ret, max_bw; in usb4_usb3_port_write_allocated_bandwidth() local
1643 max_bw = max(upstream_bw, downstream_bw); in usb4_usb3_port_write_allocated_bandwidth()
1645 if (mbps_to_usb3_bw(max_bw, scale) < 4096) in usb4_usb3_port_write_allocated_bandwidth()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vidtv/
Dvidtv_tuner.c301 u32 max_bw = fe->ops.tuner_ops.info.bandwidth_max; in vidtv_tuner_set_params() local
304 c->bandwidth_hz < min_bw || c->bandwidth_hz > max_bw) { in vidtv_tuner_set_params()
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-mtk-sch.c364 u32 max_bw = 0; in get_max_bw() local
376 if (bw > max_bw) in get_max_bw()
377 max_bw = bw; in get_max_bw()
380 return max_bw; in get_max_bw()
/kernel/linux/linux-5.10/net/bluetooth/
Da2mp.h81 __le32 max_bw; member
Da2mp.c924 rsp.max_bw = cpu_to_le32(hdev->amp_max_bw); in a2mp_send_getinfo_rsp()
/kernel/linux/linux-5.10/net/batman-adv/
Dbat_v.c748 u32 max_bw = 0, bw; in batadv_v_gw_get_best_gw_node() local
758 if (curr_gw && bw <= max_bw) in batadv_v_gw_get_best_gw_node()
766 max_bw = bw; in batadv_v_gw_get_best_gw_node()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c671 !IS_VALID_BW(np_cfg[i].max_bw)) in validate_npar_config()
710 nic_info.max_tx_bw = np_cfg[i].max_bw; in qlcnic_sysfs_write_npar_config()
718 adapter->npars[index].max_bw = nic_info.max_tx_bw; in qlcnic_sysfs_write_npar_config()
763 np_cfg[pci_func].max_bw = nic_info.max_tx_bw; in qlcnic_sysfs_read_npar_config()
932 pci_cfg[i].max_bw = pci_info[i].tx_max_bw; in qlcnic_sysfs_read_pci_config()
Dqlcnic_83xx_vnic.c112 npar->phy_port, npar->min_bw, npar->max_bw, in qlcnic_83xx_init_mgmt_vnic()
Dqlcnic.h1291 u16 max_bw; member
1334 u16 max_bw; member
1345 u16 max_bw; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.h1028 int qed_configure_pf_max_bandwidth(struct qed_dev *cdev, u8 max_bw);
1032 u8 max_bw);
Dqed_dev.c5175 u8 max_bw) in __qed_configure_pf_max_bandwidth() argument
5179 p_hwfn->mcp_info->func_info.bandwidth_max = max_bw; in __qed_configure_pf_max_bandwidth()
5181 if (!p_link->line_speed && (max_bw != 100)) in __qed_configure_pf_max_bandwidth()
5184 p_link->speed = (p_link->line_speed * max_bw) / 100; in __qed_configure_pf_max_bandwidth()
5191 if (max_bw == 100) in __qed_configure_pf_max_bandwidth()
5205 int qed_configure_pf_max_bandwidth(struct qed_dev *cdev, u8 max_bw) in qed_configure_pf_max_bandwidth() argument
5209 if (max_bw < 1 || max_bw > 100) { in qed_configure_pf_max_bandwidth()
5227 p_link, max_bw); in qed_configure_pf_max_bandwidth()
Dqed_mcp.c1310 u8 max_bw, min_bw; in qed_mcp_handle_link_change() local
1393 max_bw = p_hwfn->mcp_info->func_info.bandwidth_max; in qed_mcp_handle_link_change()
1397 __qed_configure_pf_max_bandwidth(p_hwfn, p_ptt, p_link, max_bw); in qed_mcp_handle_link_change()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h238 u16 seid, u16 credit, u8 max_bw,
301 u32 *max_bw, u32 *min_bw, bool *min_valid,
Di40e_adminq_cmd.h1373 u8 max_bw; /* 0-3, limit = 2^max */ member
1398 u8 max_bw; /* 0-3, limit = 2^max */ member
1502 u8 max_bw[16]; /* bandwidth limit */ member
Di40e.h650 u32 max_bw; member
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.c1576 u32 max_bw, req_bw, bpp; in cdns_mhdp_bandwidth_ok() local
1587 max_bw = lanes * rate; in cdns_mhdp_bandwidth_ok()
1588 if (req_bw > max_bw) { in cdns_mhdp_bandwidth_ok()
1591 mode->name, req_bw, max_bw); in cdns_mhdp_bandwidth_ok()
/kernel/linux/linux-5.10/net/wireless/
Dreg.c621 __be32 start, end, max_bw; member
669 if (rule->len < offsetofend(struct fwdb_rule, max_bw)) in valid_rule()
969 rrule->freq_range.max_bandwidth_khz = be32_to_cpu(rule->max_bw); in regdb_query_country()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dp.c2332 uint32_t max_bw; in dp_validate_mode_timing() local
2351 max_bw = dc_link_bandwidth_kbps(link, link_setting); in dp_validate_mode_timing()
2353 if (req_bw <= max_bw) { in dp_validate_mode_timing()

12