Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/ath/ath12k/
H A Dreg.c402 u32 freq_diff, max_bw; in ath12k_reg_intersect_rules() local
416 max_bw = min_t(u32, rule1->freq_range.max_bandwidth_khz, in ath12k_reg_intersect_rules()
418 new_rule->freq_range.max_bandwidth_khz = min_t(u32, max_bw, freq_diff); in ath12k_reg_intersect_rules()
507 ath12k_reg_adjust_bw(u16 start_freq, u16 end_freq, u16 max_bw) in ath12k_reg_adjust_bw() argument
512 bw = min_t(u16, bw, max_bw); in ath12k_reg_adjust_bw()
541 u8 *rule_idx, u32 flags, u16 max_bw) in ath12k_reg_update_weather_radar_band() argument
550 ETSI_WEATHER_RADAR_BAND_LOW, max_bw); in ath12k_reg_update_weather_radar_band()
570 max_bw); in ath12k_reg_update_weather_radar_band()
595 reg_rule->end_freq, max_bw); in ath12k_reg_update_weather_radar_band()
622 u16 max_bw; in ath12k_reg_build_regd() local
[all …]
H A Dreg.h40 u16 max_bw; member
/linux/drivers/net/wireless/ath/ath11k/
H A Dreg.c398 u32 freq_diff, max_bw; in ath11k_reg_intersect_rules() local
412 max_bw = min_t(u32, rule1->freq_range.max_bandwidth_khz, in ath11k_reg_intersect_rules()
414 new_rule->freq_range.max_bandwidth_khz = min_t(u32, max_bw, freq_diff); in ath11k_reg_intersect_rules()
508 ath11k_reg_adjust_bw(u16 start_freq, u16 end_freq, u16 max_bw) in ath11k_reg_adjust_bw() argument
516 bw = min_t(u16, bw, max_bw); in ath11k_reg_adjust_bw()
548 u8 *rule_idx, u32 flags, u16 max_bw) in ath11k_reg_update_weather_radar_band() argument
562 ETSI_WEATHER_RADAR_BAND_LOW, max_bw); in ath11k_reg_update_weather_radar_band()
585 bw = ath11k_reg_adjust_bw(start_freq, end_freq, max_bw); in ath11k_reg_update_weather_radar_band()
604 reg_rule->end_freq, max_bw); in ath11k_reg_update_weather_radar_band()
650 u16 max_bw; in ath11k_reg_build_regd() local
[all …]
/linux/drivers/thunderbolt/
H A Dquirks.c40 port->max_bw = 16376; in quirk_usb3_maximum_bandwidth()
42 port->max_bw); in quirk_usb3_maximum_bandwidth()
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_validation.c263 uint32_t max_bw; in dp_validate_mode_timing() local
288 max_bw = dp_link_bandwidth_kbps(link, link_setting); in dp_validate_mode_timing()
297 if (req_bw <= max_bw) { in dp_validate_mode_timing()
/linux/net/mac80211/
H A Dchan.c286 enum nl80211_chan_width max_bw = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_get_max_required_bw() local
296 max_bw = max(max_bw, ieee80211_get_sta_bw(sta, link_id)); in ieee80211_get_max_required_bw()
299 return max_bw; in ieee80211_get_max_required_bw()
310 enum nl80211_chan_width max_bw = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_get_chanctx_max_required_bw() local
367 max_bw = max(max_bw, width); in ieee80211_get_chanctx_max_required_bw()
374 max_bw = max(max_bw, ctx->conf.def.width); in ieee80211_get_chanctx_max_required_bw()
376 return max_bw; in ieee80211_get_chanctx_max_required_bw()
390 enum nl80211_chan_width max_bw; in _ieee80211_recalc_chanctx_min_def() local
408 max_bw = ieee80211_get_chanctx_max_required_bw(local, ctx, rsvd_for, in _ieee80211_recalc_chanctx_min_def()
413 while (min_def.width > max_bw) in _ieee80211_recalc_chanctx_min_def()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dcb.h29 __le32 max_bw;
H A Dbnxt_dcb.c134 req->queue_id0_max_bw = cos2bw.max_bw; in bnxt_hwrm_queue_cos2bw_cfg()
169 cos2bw.max_bw = resp->queue_id0_max_bw; in bnxt_hwrm_queue_cos2bw_qcfg()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_bw.h20 unsigned int max_bw[I915_MAX_DBUF_SLICES]; member
/linux/drivers/media/test-drivers/vidtv/
H A 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/net/batman-adv/
H A Dbat_v.c566 u32 max_bw = 0, bw; in batadv_v_gw_get_best_gw_node() local
576 if (curr_gw && bw <= max_bw) in batadv_v_gw_get_best_gw_node()
583 max_bw = bw; in batadv_v_gw_get_best_gw_node()
/linux/drivers/usb/host/
H A Dxhci-mtk-sch.c424 u32 max_bw = 0; in get_max_bw() local
434 if (bw > max_bw) in get_max_bw()
435 max_bw = bw; in get_max_bw()
438 return max_bw; in get_max_bw()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c670 !IS_VALID_BW(np_cfg[i].max_bw)) in validate_npar_config()
709 nic_info.max_tx_bw = np_cfg[i].max_bw; in qlcnic_sysfs_write_npar_config()
717 adapter->npars[index].max_bw = nic_info.max_tx_bw; in qlcnic_sysfs_write_npar_config()
762 np_cfg[pci_func].max_bw = nic_info.max_tx_bw; in qlcnic_sysfs_read_npar_config()
931 pci_cfg[i].max_bw = pci_info[i].tx_max_bw; in qlcnic_sysfs_read_pci_config()
H A Dqlcnic_83xx_vnic.c112 npar->phy_port, npar->min_bw, npar->max_bw, in qlcnic_83xx_init_mgmt_vnic()
H A Dqlcnic.h1291 u16 max_bw; member
1334 u16 max_bw; member
1345 u16 max_bw; member
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mcp.h1080 int qed_configure_pf_max_bandwidth(struct qed_dev *cdev, u8 max_bw);
1084 u8 max_bw);
H A Dqed_dev.c5272 u8 max_bw) in __qed_configure_pf_max_bandwidth() argument
5276 p_hwfn->mcp_info->func_info.bandwidth_max = max_bw; in __qed_configure_pf_max_bandwidth()
5278 if (!p_link->line_speed && (max_bw != 100)) in __qed_configure_pf_max_bandwidth()
5281 p_link->speed = (p_link->line_speed * max_bw) / 100; in __qed_configure_pf_max_bandwidth()
5288 if (max_bw == 100) in __qed_configure_pf_max_bandwidth()
5302 int qed_configure_pf_max_bandwidth(struct qed_dev *cdev, u8 max_bw) in qed_configure_pf_max_bandwidth() argument
5306 if (max_bw < 1 || max_bw > 100) { in qed_configure_pf_max_bandwidth()
5324 p_link, max_bw); in qed_configure_pf_max_bandwidth()
H A Dqed_mcp.c1341 u8 max_bw, min_bw; in qed_mcp_handle_link_change() local
1424 max_bw = p_hwfn->mcp_info->func_info.bandwidth_max; in qed_mcp_handle_link_change()
1428 __qed_configure_pf_max_bandwidth(p_hwfn, p_ptt, p_link, max_bw); in qed_mcp_handle_link_change()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq_cmd.h1377 u8 max_bw; /* 0-3, limit = 2^max */ member
1402 u8 max_bw; /* 0-3, limit = 2^max */ member
1506 u8 max_bw[16]; /* bandwidth limit */ member
H A Di40e_prototype.h337 u32 *max_bw, u32 *min_bw, bool *min_valid,
H A Di40e.h677 u32 max_bw; member
H A Di40e_common.c4282 u32 *max_bw, u32 *min_bw, in i40e_read_bw_from_alt_ram() argument
4297 status = i40e_aq_alternate_read(hw, max_bw_addr, max_bw, in i40e_read_bw_from_alt_ram()
4305 if (*max_bw & I40E_ALT_BW_VALID_MASK) in i40e_read_bw_from_alt_ram()
/linux/drivers/gpu/drm/bridge/cadence/
H A Dcdns-mhdp8546-core.c1597 u32 max_bw, req_bw, bpp; in cdns_mhdp_bandwidth_ok() local
1608 max_bw = lanes * rate; in cdns_mhdp_bandwidth_ok()
1609 if (req_bw > max_bw) { in cdns_mhdp_bandwidth_ok()
1612 mode->name, req_bw, max_bw); in cdns_mhdp_bandwidth_ok()
/linux/kernel/sched/
H A Ddeadline.c1435 if (u_inact + rq->dl.extra_bw > rq->dl.max_bw - dl_se->dl_bw) in grub_reclaim()
1438 u_act = rq->dl.max_bw - u_inact - rq->dl.extra_bw; in grub_reclaim()
3199 dl_rq->max_bw = dl_rq->extra_bw = 1 << BW_SHIFT; in init_dl_rq_bw_ratio()
3203 dl_rq->max_bw = dl_rq->extra_bw = in init_dl_rq_bw_ratio()
/linux/net/wireless/
H A Dreg.c643 __be32 start, end, max_bw; member
691 if (rule->len < offsetofend(struct fwdb_rule, max_bw)) in valid_rule()
953 rrule->freq_range.max_bandwidth_khz = be32_to_cpu(rule->max_bw); in regdb_query_country()

12