Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dreg.c389 u32 freq_diff, max_bw; in ath11k_reg_intersect_rules() local
403 max_bw = min_t(u32, rule1->freq_range.max_bandwidth_khz, in ath11k_reg_intersect_rules()
405 new_rule->freq_range.max_bandwidth_khz = min_t(u32, max_bw, freq_diff); in ath11k_reg_intersect_rules()
494 ath11k_reg_adjust_bw(u16 start_freq, u16 end_freq, u16 max_bw) in ath11k_reg_adjust_bw() argument
502 bw = min_t(u16, bw, max_bw); in ath11k_reg_adjust_bw()
533 u8 *rule_idx, u32 flags, u16 max_bw) in ath11k_reg_update_weather_radar_band() argument
547 ETSI_WEATHER_RADAR_BAND_LOW, max_bw); in ath11k_reg_update_weather_radar_band()
570 bw = ath11k_reg_adjust_bw(start_freq, end_freq, max_bw); in ath11k_reg_update_weather_radar_band()
589 reg_rule->end_freq, max_bw); in ath11k_reg_update_weather_radar_band()
618 u16 max_bw; in ath11k_reg_build_regd() local
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_bw.c783 if (old_crtc_bw->max_bw[slice] != new_crtc_bw->max_bw[slice] || in intel_bw_state_changed()
811 crtc_bw->max_bw[slice] = max(crtc_bw->max_bw[slice], data_rate); in skl_plane_calc_dbuf_bw()
858 unsigned int max_bw = 0; in intel_bw_dbuf_min_cdclk() local
868 max_bw = max(crtc_bw->max_bw[slice], max_bw); in intel_bw_dbuf_min_cdclk()
871 max_bw *= num_active_planes; in intel_bw_dbuf_min_cdclk()
873 total_max_bw = max(total_max_bw, max_bw); in intel_bw_dbuf_min_cdclk()
1042 unsigned int max_bw_point = 0, max_bw = 0; in intel_bw_atomic_check() local
1094 if (max_data_rate > max_bw) { in intel_bw_atomic_check()
1096 max_bw = max_data_rate; in intel_bw_atomic_check()
Dintel_bw.h20 unsigned int max_bw[I915_MAX_DBUF_SLICES]; member
/linux-6.1.9/net/mac80211/
Dchan.c245 enum nl80211_chan_width max_bw = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_get_max_required_bw() local
253 max_bw = max(max_bw, ieee80211_get_sta_bw(sta, link_id)); in ieee80211_get_max_required_bw()
256 return max_bw; in ieee80211_get_max_required_bw()
263 enum nl80211_chan_width max_bw = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_get_chanctx_vif_max_required_bw() local
310 max_bw = max(max_bw, width); in ieee80211_get_chanctx_vif_max_required_bw()
314 return max_bw; in ieee80211_get_chanctx_vif_max_required_bw()
322 enum nl80211_chan_width max_bw = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_get_chanctx_max_required_bw() local
333 max_bw = max(max_bw, width); in ieee80211_get_chanctx_max_required_bw()
340 max_bw = max(max_bw, conf->def.width); in ieee80211_get_chanctx_max_required_bw()
344 return max_bw; in ieee80211_get_chanctx_max_required_bw()
[all …]
Drx.c3430 enum ieee80211_sta_rx_bandwidth max_bw, new_bw; in ieee80211_rx_h_action() local
3439 max_bw = IEEE80211_STA_RX_BW_20; in ieee80211_rx_h_action()
3441 max_bw = ieee80211_sta_cap_rx_bw(rx->link_sta); in ieee80211_rx_h_action()
3444 rx->link_sta->cur_max_bandwidth = max_bw; in ieee80211_rx_h_action()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.h29 __le32 max_bw;
Dbnxt_sriov.c322 req->max_bw = cpu_to_le32(max_tx_rate); in bnxt_set_vf_bw()
512 req->max_bw = cpu_to_le32(vf->max_tx_rate); in __bnxt_set_vf_params()
/linux-6.1.9/drivers/thunderbolt/
Dtunnel.c461 static int tb_dp_reduce_bandwidth(int max_bw, u32 in_rate, u32 in_lanes, in tb_dp_reduce_bandwidth() argument
494 if (tb_dp_bandwidth(dp_bw[i][0], dp_bw[i][1]) <= max_bw) { in tb_dp_reduce_bandwidth()
509 int ret, max_bw; in tb_dp_xchg_caps() local
559 max_bw = tunnel->max_down; in tb_dp_xchg_caps()
561 max_bw = tunnel->max_up; in tb_dp_xchg_caps()
563 if (max_bw && bw > max_bw) { in tb_dp_xchg_caps()
566 ret = tb_dp_reduce_bandwidth(max_bw, in_rate, in_lanes, in tb_dp_xchg_caps()
/linux-6.1.9/drivers/usb/host/
Dxhci-mtk-sch.c368 u32 max_bw = 0; in get_max_bw() local
378 if (bw > max_bw) in get_max_bw()
379 max_bw = bw; in get_max_bw()
382 return max_bw; in get_max_bw()
/linux-6.1.9/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()
/linux-6.1.9/drivers/interconnect/qcom/
Dicc-rpm.c51 static int qcom_icc_set_qnoc_qos(struct icc_node *src, u64 max_bw) in qcom_icc_set_qnoc_qos() argument
96 static int qcom_icc_set_bimc_qos(struct icc_node *src, u64 max_bw) in qcom_icc_set_bimc_qos() argument
151 static int qcom_icc_set_noc_qos(struct icc_node *src, u64 max_bw) in qcom_icc_set_noc_qos() argument
/linux-6.1.9/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()
/linux-6.1.9/net/batman-adv/
Dbat_v.c585 u32 max_bw = 0, bw; in batadv_v_gw_get_best_gw_node() local
595 if (curr_gw && bw <= max_bw) in batadv_v_gw_get_best_gw_node()
602 max_bw = bw; in batadv_v_gw_get_best_gw_node()
/linux-6.1.9/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
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.h1080 int qed_configure_pf_max_bandwidth(struct qed_dev *cdev, u8 max_bw);
1084 u8 max_bw);
Dqed_dev.c5267 u8 max_bw) in __qed_configure_pf_max_bandwidth() argument
5271 p_hwfn->mcp_info->func_info.bandwidth_max = max_bw; in __qed_configure_pf_max_bandwidth()
5273 if (!p_link->line_speed && (max_bw != 100)) in __qed_configure_pf_max_bandwidth()
5276 p_link->speed = (p_link->line_speed * max_bw) / 100; in __qed_configure_pf_max_bandwidth()
5283 if (max_bw == 100) in __qed_configure_pf_max_bandwidth()
5297 int qed_configure_pf_max_bandwidth(struct qed_dev *cdev, u8 max_bw) in qed_configure_pf_max_bandwidth() argument
5301 if (max_bw < 1 || max_bw > 100) { in qed_configure_pf_max_bandwidth()
5319 p_link, max_bw); in qed_configure_pf_max_bandwidth()
Dqed_mcp.c1347 u8 max_bw, min_bw; in qed_mcp_handle_link_change() local
1430 max_bw = p_hwfn->mcp_info->func_info.bandwidth_max; in qed_mcp_handle_link_change()
1434 __qed_configure_pf_max_bandwidth(p_hwfn, p_ptt, p_link, max_bw); in qed_mcp_handle_link_change()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h271 u16 seid, u16 credit, u8 max_bw,
337 u32 *max_bw, u32 *min_bw, bool *min_valid,
Di40e_adminq_cmd.h1374 u8 max_bw; /* 0-3, limit = 2^max */ member
1399 u8 max_bw; /* 0-3, limit = 2^max */ member
1503 u8 max_bw[16]; /* bandwidth limit */ member
Di40e.h759 u32 max_bw; member
/linux-6.1.9/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.c1579 u32 max_bw, req_bw, bpp; in cdns_mhdp_bandwidth_ok() local
1590 max_bw = lanes * rate; in cdns_mhdp_bandwidth_ok()
1591 if (req_bw > max_bw) { in cdns_mhdp_bandwidth_ok()
1594 mode->name, req_bw, max_bw); in cdns_mhdp_bandwidth_ok()
/linux-6.1.9/net/wireless/
Dreg.c641 __be32 start, end, max_bw; member
689 if (rule->len < offsetofend(struct fwdb_rule, max_bw)) in valid_rule()
989 rrule->freq_range.max_bandwidth_khz = be32_to_cpu(rule->max_bw); in regdb_query_country()

12