Searched refs:bw_div (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dce_calcs.c | 425 …data->pitch_in_pixels_after_surface_type[i] = bw_div(data->pitch_in_pixels[i], bw_int_to_fixed(2)); in calculate_bandwidth() 426 data->src_width_after_surface_type = bw_div(data->src_width[i], bw_int_to_fixed(2)); in calculate_bandwidth() 427 data->src_height_after_surface_type = bw_div(data->src_height[i], bw_int_to_fixed(2)); in calculate_bandwidth() 428 data->hsr_after_surface_type = bw_div(data->h_scale_ratio[i], bw_int_to_fixed(2)); in calculate_bandwidth() 429 data->vsr_after_surface_type = bw_div(data->v_scale_ratio[i], bw_int_to_fixed(2)); in calculate_bandwidth() 515 …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() 542 data->source_width_in_lb = bw_div(data->source_width_pixels[i], data->hsr[i]); in calculate_bandwidth() 549 …data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(2401171875ul, 100000000), bw_int_to_f… in calculate_bandwidth() 552 …data->lb_line_pitch = bw_ceil2(bw_mul(bw_div(bw_frc_to_fixed(300234375, 10000000), bw_int_to_fixed… in calculate_bandwidth() 558 …data->lb_partitions[i] = bw_floor2(bw_div(data->lb_size_per_component[i], data->lb_line_pitch), bw… in calculate_bandwidth() [all …]
|
/kernel/linux/linux-5.10/drivers/interconnect/imx/ |
D | imx8mn.c | 16 .bw_div = 4, 22 .bw_div = 4,
|
D | imx8mq.c | 17 .bw_div = 4, 23 .bw_div = 4,
|
D | imx8mm.c | 19 .bw_div = 16, 25 .bw_div = 16,
|
D | imx.h | 21 unsigned int bw_mul, bw_div; member
|
D | imx.c | 38 do_div(freq, node_data->desc->adj->bw_div); in imx_icc_node_set()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
D | bw_fixed.h | 121 static inline struct bw_fixed bw_div(const struct bw_fixed arg1, const struct bw_fixed arg2) in bw_div() function
|