Home
last modified time | relevance | path

Searched refs:req_bw (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_dpia_bw.c252 static void set_usb4_req_bw_req(struct dc_link *link, int req_bw) in set_usb4_req_bw_req() argument
258 if (req_bw > link->dpia_bw_alloc_config.estimated_bw) { in set_usb4_req_bw_req()
261 req_bw = link->dpia_bw_alloc_config.estimated_bw; in set_usb4_req_bw_req()
264 temp = req_bw * link->dpia_bw_alloc_config.bw_granularity; in set_usb4_req_bw_req()
272 req_bw = requested_bw * (Kbps_TO_Gbps / link->dpia_bw_alloc_config.bw_granularity); in set_usb4_req_bw_req()
273 if (req_bw && (req_bw == link->dpia_bw_alloc_config.allocated_bw)) { in set_usb4_req_bw_req()
467 bool link_dp_dpia_allocate_usb4_bandwidth_for_stream(struct dc_link *link, int req_bw) in link_dp_dpia_allocate_usb4_bandwidth_for_stream() argument
474 link->dpia_bw_alloc_config.allocated_bw, req_bw); in link_dp_dpia_allocate_usb4_bandwidth_for_stream()
479 set_usb4_req_bw_req(link, req_bw); in link_dp_dpia_allocate_usb4_bandwidth_for_stream()
Dlink_dp_capability.h78 struct dc_link_settings *link_setting, uint32_t req_bw);
82 uint32_t req_bw,
Dlink_dp_capability.c657 …cide_dp_link_settings(struct dc_link *link, struct dc_link_settings *link_setting, uint32_t req_bw) in decide_dp_link_settings() argument
665 if (req_bw > dp_link_bandwidth_kbps(link, &link->verified_link_cap)) in decide_dp_link_settings()
677 if (req_bw <= link_bw) { in decide_dp_link_settings()
700 struct dc_link_settings *link_setting, uint32_t req_bw) in edp_decide_link_settings() argument
732 if (req_bw <= link_bw) { in edp_decide_link_settings()
758 uint32_t req_bw, in decide_edp_link_settings_with_dsc() argument
783 if (req_bw > dp_link_bandwidth_kbps(link, &link->verified_link_cap)) in decide_edp_link_settings_with_dsc()
795 if (req_bw <= link_bw) { in decide_edp_link_settings_with_dsc()
852 if (req_bw <= link_bw) { in decide_edp_link_settings_with_dsc()
907 …uint32_t req_bw = dc_bandwidth_in_kbps_from_timing(&stream->timing, dc_link_get_highest_encoding_f… in link_decide_link_settings() local
[all …]
Dlink_dp_dpia_bw.h64 bool link_dp_dpia_allocate_usb4_bandwidth_for_stream(struct dc_link *link, int req_bw);
Dlink_edp_panel_control.c318 uint32_t req_bw; in edp_is_ilr_optimization_required() local
344 req_bw = dc_bandwidth_in_kbps_from_timing(crtc_timing, dc_link_get_highest_encoding_format(link)); in edp_is_ilr_optimization_required()
347 edp_decide_link_settings(link, &link_setting, req_bw); in edp_is_ilr_optimization_required()
349 decide_edp_link_settings_with_dsc(link, &link_setting, req_bw, LINK_RATE_UNKNOWN); in edp_is_ilr_optimization_required()
Dlink_dp_training.c1703 uint32_t req_bw; in perform_link_training_with_retries() local
1718 req_bw = dc_bandwidth_in_kbps_from_timing(&stream->timing, link_encoding); in perform_link_training_with_retries()
1720 is_link_bw_low = (req_bw > link_bw); in perform_link_training_with_retries()
1727 __func__, link->link_index, req_bw, link_bw); in perform_link_training_with_retries()
/drivers/gpu/drm/amd/display/dc/link/
Dlink_validation.c264 uint32_t req_bw; in dp_validate_mode_timing() local
289 req_bw = dc_bandwidth_in_kbps_from_timing(timing, dc_link_get_highest_encoding_format(link)); in dp_validate_mode_timing()
292 if (req_bw <= max_bw) { in dp_validate_mode_timing()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_exports.c294 struct dc_link_settings *link_setting, uint32_t req_bw) in dc_link_decide_edp_link_settings() argument
296 return link->dc->link_srv->edp_decide_link_settings(link, link_setting, req_bw); in dc_link_decide_edp_link_settings()
/drivers/gpu/drm/amd/display/dc/inc/
Dlink.h209 struct dc_link_settings *link_setting, uint32_t req_bw);
/drivers/media/tuners/
Dmxl5005s.c3996 u32 req_mode, req_bw = 0; in mxl5005s_set_params() local
4004 req_bw = MXL5005S_BANDWIDTH_6MHZ; in mxl5005s_set_params()
4008 req_bw = MXL5005S_BANDWIDTH_6MHZ; in mxl5005s_set_params()
4014 req_bw = MXL5005S_BANDWIDTH_6MHZ; in mxl5005s_set_params()
4017 req_bw = MXL5005S_BANDWIDTH_7MHZ; in mxl5005s_set_params()
4021 req_bw = MXL5005S_BANDWIDTH_8MHZ; in mxl5005s_set_params()
4030 req_bw != state->Chan_Bandwidth) { in mxl5005s_set_params()
4032 ret = mxl5005s_reconfigure(fe, req_mode, req_bw); in mxl5005s_set_params()
/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.c1595 u32 max_bw, req_bw, bpp; in cdns_mhdp_bandwidth_ok() local
1605 req_bw = mode->clock * bpp / 8; in cdns_mhdp_bandwidth_ok()
1607 if (req_bw > max_bw) { in cdns_mhdp_bandwidth_ok()
1610 mode->name, req_bw, max_bw); in cdns_mhdp_bandwidth_ok()
/drivers/gpu/drm/amd/display/dc/
Ddc.h1855 uint32_t req_bw);
2085 void dc_link_set_usb4_req_bw_req(struct dc_link *link, int req_bw);