Home
last modified time | relevance | path

Searched refs:bw_div (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Ddce_calcs.c438 …data->pitch_in_pixels_after_surface_type[i] = bw_div(data->pitch_in_pixels[i], bw_int_to_fixed(2)); in calculate_bandwidth()
439 data->src_width_after_surface_type = bw_div(data->src_width[i], bw_int_to_fixed(2)); in calculate_bandwidth()
440 data->src_height_after_surface_type = bw_div(data->src_height[i], bw_int_to_fixed(2)); in calculate_bandwidth()
441 data->hsr_after_surface_type = bw_div(data->h_scale_ratio[i], bw_int_to_fixed(2)); in calculate_bandwidth()
442 data->vsr_after_surface_type = bw_div(data->v_scale_ratio[i], bw_int_to_fixed(2)); in calculate_bandwidth()
528 …w_mtn(data->hsr[i], bw_int_to_fixed(1)) && bw_leq(data->hsr[i], bw_ceil2(bw_div(data->h_taps[i], b… in calculate_bandwidth()
555 data->source_width_in_lb = bw_div(data->source_width_pixels[i], data->hsr[i]); in calculate_bandwidth()
562 …data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(2401171875ul, 100000000), bw_int_to_f… in calculate_bandwidth()
565 …data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(300234375, 10000000), bw_int_to_fixed… in calculate_bandwidth()
571 …data->lb_partitions[i] = bw_floor2(bw_div(data->lb_size_per_component[i], data->lb_line_pitch), bw… in calculate_bandwidth()
[all …]
/linux-6.12.1/drivers/interconnect/imx/
Dimx8mn.c16 .bw_div = 4,
22 .bw_div = 4,
Dimx8mm.c19 .bw_div = 16,
25 .bw_div = 16,
Dimx8mq.c17 .bw_div = 4,
23 .bw_div = 4,
Dimx.h58 unsigned int bw_mul, bw_div; member
Dimx8mp.c17 .bw_div = 16,
Dimx.c71 do_div(freq, node_data->desc->adj->bw_div); in imx_icc_node_set()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/
Dbw_fixed.h121 static inline struct bw_fixed bw_div(const struct bw_fixed arg1, const struct bw_fixed arg2) in bw_div() function