bytes_per_pixel 665 drivers/dma/ipu/ipu_idmac.c stride_bytes = stride * bytes_per_pixel(pixel_fmt); bytes_per_pixel 700 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c u32 bytes_per_pixel; /* bytes per pixel display + overlay */ bytes_per_pixel 866 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c bpp.full = dfixed_const(wm->bytes_per_pixel); bytes_per_pixel 918 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); bytes_per_pixel 920 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); bytes_per_pixel 1060 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 1099 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 726 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c u32 bytes_per_pixel; /* bytes per pixel display + overlay */ bytes_per_pixel 892 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c bpp.full = dfixed_const(wm->bytes_per_pixel); bytes_per_pixel 944 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); bytes_per_pixel 946 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); bytes_per_pixel 1086 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 1125 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 499 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c u32 bytes_per_pixel; /* bytes per pixel display + overlay */ bytes_per_pixel 665 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c bpp.full = dfixed_const(wm->bytes_per_pixel); bytes_per_pixel 717 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); bytes_per_pixel 719 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); bytes_per_pixel 868 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 895 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 635 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c u32 bytes_per_pixel; /* bytes per pixel display + overlay */ bytes_per_pixel 801 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c bpp.full = dfixed_const(wm->bytes_per_pixel); bytes_per_pixel 853 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); bytes_per_pixel 855 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); bytes_per_pixel 995 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 1034 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 397 drivers/gpu/drm/amd/display/dc/calcs/calcs_logger.h DC_LOG_BANDWIDTH_CALCS(" [uint32_t] bytes_per_pixel[%d]:%d", i, data->bytes_per_pixel[i]); bytes_per_pixel 170 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[0] = 1; bytes_per_pixel 171 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[2] = 1; bytes_per_pixel 174 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[1] = 2; bytes_per_pixel 175 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[3] = 2; bytes_per_pixel 184 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[0] = 2; bytes_per_pixel 185 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[2] = 2; bytes_per_pixel 192 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[0] = 4; bytes_per_pixel 193 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[2] = 4; bytes_per_pixel 363 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[maximum_number_of_surfaces - 2] = 1; bytes_per_pixel 364 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[maximum_number_of_surfaces - 1] = 2; bytes_per_pixel 574 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c if (data->enable[i] && data->fbc_en[i] == 1 && (bw_equ(data->rotation_angle[i], bw_int_to_fixed(90)) || bw_equ(data->rotation_angle[i], bw_int_to_fixed(270)) || data->stereo_mode[i] != bw_def_mono || data->bytes_per_pixel[i] != 4)) { bytes_per_pixel 688 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c switch (data->bytes_per_pixel[i]) { bytes_per_pixel 737 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c switch (data->bytes_per_pixel[i]) { bytes_per_pixel 844 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->request_bandwidth[i] = bw_div(bw_mul(bw_div(bw_mul(bw_div(bw_mul(bw_max2(data->lb_lines_in_per_line_out_in_beginning_of_frame[i], data->lb_lines_in_per_line_out_in_middle_of_frame[i]), data->source_width_rounded_up_to_chunks[i]), (bw_div(data->h_total[i], data->pixel_rate[i]))), bw_int_to_fixed(data->bytes_per_pixel[i])), data->useful_bytes_per_request[i]), data->lines_interleaved_in_mem_access[i]), data->latency_hiding_lines[i]); bytes_per_pixel 903 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->data_buffer_size[i] = bw_min2(bw_mul(bw_mul(bw_int_to_fixed(max_chunks_fbc_mode), bw_int_to_fixed(pixels_per_chunk)), bw_int_to_fixed(data->bytes_per_pixel[i])), bw_mul(bw_int_to_fixed(dceip->max_dmif_buffer_allocated), bw_int_to_fixed(dceip->graphics_dmif_size))); bytes_per_pixel 906 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->data_buffer_size[i] = bw_min2(bw_mul(bw_mul(bw_int_to_fixed(max_chunks_fbc_mode), bw_int_to_fixed(pixels_per_chunk)), bw_int_to_fixed(data->bytes_per_pixel[i])), bw_int_to_fixed(dceip->graphics_dmif_size)); bytes_per_pixel 912 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->data_buffer_size[i] = bw_min2(bw_mul(bw_mul(bw_int_to_fixed(data->max_chunks_non_fbc_mode[i]), bw_int_to_fixed(pixels_per_chunk)), bw_int_to_fixed(data->bytes_per_pixel[i])), bw_mul(bw_int_to_fixed(dceip->max_dmif_buffer_allocated), bw_int_to_fixed(dceip->graphics_dmif_size))); bytes_per_pixel 915 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->data_buffer_size[i] = bw_min2(bw_mul(bw_mul(bw_int_to_fixed(data->max_chunks_non_fbc_mode[i]), bw_int_to_fixed(pixels_per_chunk)), bw_int_to_fixed(data->bytes_per_pixel[i])), bw_int_to_fixed(dceip->graphics_dmif_size)); bytes_per_pixel 925 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->memory_chunk_size_in_bytes[i] = bw_mul(bw_mul(bw_int_to_fixed(dceip->chunk_width), data->lines_interleaved_in_mem_access[i]), bw_int_to_fixed(data->bytes_per_pixel[i])); bytes_per_pixel 926 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->pipe_chunk_size_in_bytes[i] = bw_mul(bw_mul(bw_int_to_fixed(dceip->chunk_width), bw_int_to_fixed(dceip->lines_interleaved_into_lb)), bw_int_to_fixed(data->bytes_per_pixel[i])); bytes_per_pixel 996 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->scatter_gather_page_width[i] = bw_div(bw_int_to_fixed(4096), bw_int_to_fixed(data->bytes_per_pixel[i])); bytes_per_pixel 1003 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c switch (data->bytes_per_pixel[i]) { bytes_per_pixel 1022 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c switch (data->bytes_per_pixel[i]) { bytes_per_pixel 1099 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_page_close_open = bw_mul(data->lines_interleaved_in_mem_access[i], bw_max2(bw_mul(bw_mul(bw_mul(bw_int_to_fixed(data->bytes_per_pixel[i]), data->tile_width_in_pixels), bw_int_to_fixed(vbios->number_of_dram_banks)), bw_int_to_fixed(data->number_of_dram_channels)), bw_mul(bw_int_to_fixed(data->bytes_per_pixel[i]), data->scatter_gather_page_width[i]))); bytes_per_pixel 1101 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c else if (data->scatter_gather_enable_for_pipe[i] == 1 && tiling_mode[i] == bw_def_linear && bw_equ(bw_mod((bw_mul(data->pitch_in_pixels_after_surface_type[i], bw_int_to_fixed(data->bytes_per_pixel[i]))), data->inefficient_linear_pitch_in_bytes), bw_int_to_fixed(0))) { bytes_per_pixel 1180 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_data_for_first_output_pixel[i] = bw_div(bw_mul(bw_mul(data->src_pixels_for_first_output_pixel[i], bw_int_to_fixed(data->bytes_per_pixel[i])), data->bytes_per_request[i]), data->useful_bytes_per_request[i]); bytes_per_pixel 1182 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->src_data_for_last_output_pixel[i] = bw_div(bw_mul(bw_mul(bw_mul(data->source_width_rounded_up_to_chunks[i], bw_max2(bw_ceil2(data->v_filter_init[i], bw_int_to_fixed(dceip->lines_interleaved_into_lb)), data->lines_interleaved_in_mem_access[i])), bw_int_to_fixed(data->bytes_per_pixel[i])), data->bytes_per_request[i]), data->useful_bytes_per_request[i]); bytes_per_pixel 1304 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->minimum_latency_hiding[i] = bw_sub(bw_div(bw_mul((bw_div((bw_add(bw_sub(data->lb_partitions[i], bw_int_to_fixed(2)), bw_div(bw_div(data->data_buffer_size[i], bw_int_to_fixed(data->bytes_per_pixel[i])), data->source_width_pixels[i]))), data->vsr[i])), data->h_total[i]), data->pixel_rate[i]), data->total_dmifmc_urgent_latency); bytes_per_pixel 1306 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->minimum_latency_hiding[i] = bw_sub(bw_div(bw_mul((bw_div((bw_add(bw_sub(data->lb_partitions[i], bw_int_to_fixed(1)), bw_div(bw_div(data->data_buffer_size[i], bw_int_to_fixed(data->bytes_per_pixel[i])), data->source_width_pixels[i]))), data->vsr[i])), data->h_total[i]), data->pixel_rate[i]), data->total_dmifmc_urgent_latency); bytes_per_pixel 1309 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->minimum_latency_hiding[i] = bw_sub(bw_div(bw_mul((bw_div((bw_add(bw_int_to_fixed(1 + data->line_buffer_prefetch[i]), bw_div(bw_div(data->data_buffer_size[i], bw_int_to_fixed(data->bytes_per_pixel[i])), data->source_width_pixels[i]))), data->vsr[i])), data->h_total[i]), data->pixel_rate[i]), data->total_dmifmc_urgent_latency); bytes_per_pixel 1328 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->dispclk_required_for_blackout_recovery[i][j] = bw_max2(data->dispclk_required_for_blackout_recovery[i][j], bw_div(bw_mul(bw_div(bw_div((bw_sub(bw_mul(bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]), (bw_add(vbios->blackout_duration, vbios->maximum_blackout_recovery_time))), data->adjusted_data_buffer_size[k])), bw_int_to_fixed(data->bytes_per_pixel[k])), (bw_sub(vbios->maximum_blackout_recovery_time, bw_sub(bw_mul(bw_int_to_fixed(2), data->total_dmifmc_urgent_latency), data->dmif_burst_time[i][j])))), data->latency_hiding_lines[k]), data->lines_interleaved_in_mem_access[k])); bytes_per_pixel 1338 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->dispclk_required_for_blackout_recovery[i][j] = bw_max2(data->dispclk_required_for_blackout_recovery[i][j], bw_div(bw_mul(bw_div(bw_div((bw_sub(bw_mul(bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]), (bw_add(vbios->blackout_duration, vbios->maximum_blackout_recovery_time))), data->adjusted_data_buffer_size[k])), bw_int_to_fixed(data->bytes_per_pixel[k])), (bw_sub(vbios->maximum_blackout_recovery_time, (bw_add(bw_mul(bw_int_to_fixed(2), data->total_dmifmc_urgent_latency), data->dmif_burst_time[i][j]))))), data->latency_hiding_lines[k]), data->lines_interleaved_in_mem_access[k])); bytes_per_pixel 1477 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->average_bandwidth_no_compression[i] = bw_div(bw_mul(bw_mul(bw_div(bw_mul(data->source_width_rounded_up_to_chunks[i], bw_int_to_fixed(data->bytes_per_pixel[i])), (bw_div(data->h_total[i], data->pixel_rate[i]))), data->vsr[i]), data->bytes_per_request[i]), data->useful_bytes_per_request[i]); bytes_per_pixel 1797 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->blackout_recovery_time = bw_max2(data->blackout_recovery_time, bw_div((bw_add(bw_mul(bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]), vbios->blackout_duration), bw_sub(bw_div(bw_mul(bw_mul(bw_mul((bw_add(bw_mul(bw_int_to_fixed(2), data->total_dmifmc_urgent_latency), data->dmif_burst_time[data->y_clk_level][data->sclk_level])), data->dispclk), bw_int_to_fixed(data->bytes_per_pixel[k])), data->lines_interleaved_in_mem_access[k]), data->latency_hiding_lines[k]), data->adjusted_data_buffer_size[k]))), (bw_sub(bw_div(bw_mul(bw_mul(data->dispclk, bw_int_to_fixed(data->bytes_per_pixel[k])), data->lines_interleaved_in_mem_access[k]), data->latency_hiding_lines[k]), bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]))))); bytes_per_pixel 1803 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->blackout_recovery_time = bw_max2(data->blackout_recovery_time, bw_div((bw_add(bw_mul(bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]), vbios->blackout_duration), bw_sub(bw_div(bw_mul(bw_mul(bw_mul((bw_add(bw_add(bw_mul(bw_int_to_fixed(2), vbios->mcifwrmc_urgent_latency), data->dmif_burst_time[data->y_clk_level][data->sclk_level]), data->mcifwr_burst_time[data->y_clk_level][data->sclk_level])), data->dispclk), bw_int_to_fixed(data->bytes_per_pixel[k])), data->lines_interleaved_in_mem_access[k]), data->latency_hiding_lines[k]), data->adjusted_data_buffer_size[k]))), (bw_sub(bw_div(bw_mul(bw_mul(data->dispclk, bw_int_to_fixed(data->bytes_per_pixel[k])), data->lines_interleaved_in_mem_access[k]), data->latency_hiding_lines[k]), bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]))))); bytes_per_pixel 1820 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->pixels_per_data_fifo_entry[i] = bw_div(bw_int_to_fixed(64), bw_int_to_fixed(data->bytes_per_pixel[i])); bytes_per_pixel 1826 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->pixels_per_data_fifo_entry[i] = bw_div(bw_int_to_fixed(16), bw_int_to_fixed(data->bytes_per_pixel[i])); bytes_per_pixel 1850 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->chunk_request_time = bw_add(data->chunk_request_time, (bw_div((bw_div(bw_int_to_fixed(pixels_per_chunk * data->bytes_per_pixel[i]), data->useful_bytes_per_request[i])), bw_min2(sclk[data->sclk_level], bw_div(data->dispclk, bw_int_to_fixed(2)))))); bytes_per_pixel 1929 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->stutter_refresh_duration[i] = bw_sub(bw_mul(bw_div(bw_div(bw_mul(bw_div(bw_div(data->adjusted_data_buffer_size[i], bw_int_to_fixed(data->bytes_per_pixel[i])), data->source_width_rounded_up_to_chunks[i]), data->h_total[i]), data->vsr[i]), data->pixel_rate[i]), data->compression_rate[i]), bw_max2(bw_int_to_fixed(0), bw_sub(data->stutter_exit_watermark[i], bw_div(bw_mul((bw_sub(data->lb_partitions[i], bw_int_to_fixed(1))), data->h_total[i]), data->pixel_rate[i])))); bytes_per_pixel 1930 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->stutter_dmif_buffer_size[i] = bw_div(bw_mul(bw_mul(bw_div(bw_mul(bw_mul(data->stutter_refresh_duration[i], bw_int_to_fixed(data->bytes_per_pixel[i])), data->source_width_rounded_up_to_chunks[i]), data->h_total[i]), data->vsr[i]), data->pixel_rate[i]), data->compression_rate[i]); bytes_per_pixel 1941 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->total_bytes_requested = bw_fixed_to_int(bw_add(bw_int_to_fixed(data->total_bytes_requested), (bw_mul(bw_mul(data->source_height_rounded_up_to_chunks[i], data->source_width_rounded_up_to_chunks[i]), bw_int_to_fixed(data->bytes_per_pixel[i]))))); bytes_per_pixel 2826 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[num_displays + 4] = 2; bytes_per_pixel 2835 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[num_displays + 4] = 4; bytes_per_pixel 2839 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[num_displays + 4] = 8; bytes_per_pixel 2842 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[num_displays + 4] = 4; bytes_per_pixel 2929 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[num_displays + 4] = 2; bytes_per_pixel 2938 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[num_displays + 4] = 4; bytes_per_pixel 2942 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[num_displays + 4] = 8; bytes_per_pixel 2945 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[num_displays + 4] = 4; bytes_per_pixel 2960 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[num_displays + 4] = 4; bytes_per_pixel 2970 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c data->bytes_per_pixel[num_displays + 4] = 4; bytes_per_pixel 349 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c uint32_t bytes_per_pixel_int = config->bytes_per_pixel / precision; bytes_per_pixel 350 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c uint32_t bytes_per_pixel_mod = config->bytes_per_pixel % precision; bytes_per_pixel 361 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c config->bytes_per_pixel, bytes_per_pixel_int, (uint32_t)ll_bytes_per_pix_fraq); bytes_per_pixel 426 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c dsc_optc_cfg.bytes_per_pixel, bytes_per_pixel 437 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c dsc_optc_cfg.bytes_per_pixel, bytes_per_pixel 381 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_optc_cfg->bytes_per_pixel = dsc_params.bytes_per_pixel; bytes_per_pixel 46 drivers/gpu/drm/amd/display/dc/dsc/dscc_types.h uint32_t bytes_per_pixel; /* In u3.28 format */ bytes_per_pixel 123 drivers/gpu/drm/amd/display/dc/dsc/rc_calc_dpi.c dsc_params->bytes_per_pixel = (uint32_t)dsc_ceil(d_bytes_per_pixel * 0x10000000); bytes_per_pixel 374 drivers/gpu/drm/amd/display/dc/inc/dce_calcs.h uint32_t bytes_per_pixel[maximum_number_of_surfaces]; bytes_per_pixel 46 drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h uint32_t bytes_per_pixel; /* Bytes per pixel in u3.28 format */ bytes_per_pixel 64 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c unsigned int bytes_per_pixel; bytes_per_pixel 72 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); bytes_per_pixel 76 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c mode_cmd.pitches[0] = mode_cmd.width * bytes_per_pixel; bytes_per_pixel 1542 drivers/gpu/drm/mgag200/mgag200_mode.c uint64_t bytes_per_pixel = (bits_per_pixel + 7) / 8; bytes_per_pixel 1555 drivers/gpu/drm/mgag200/mgag200_mode.c bandwidth = pixels_per_second * bytes_per_pixel * 100; bytes_per_pixel 53 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c #define GEOM(xshift, yshift, bytes_per_pixel) { \ bytes_per_pixel 56 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c .cpp = (bytes_per_pixel), \ bytes_per_pixel 8930 drivers/gpu/drm/radeon/cik.c u32 bytes_per_pixel; /* bytes per pixel display + overlay */ bytes_per_pixel 9096 drivers/gpu/drm/radeon/cik.c bpp.full = dfixed_const(wm->bytes_per_pixel); bytes_per_pixel 9148 drivers/gpu/drm/radeon/cik.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); bytes_per_pixel 9150 drivers/gpu/drm/radeon/cik.c a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); bytes_per_pixel 9291 drivers/gpu/drm/radeon/cik.c wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 9331 drivers/gpu/drm/radeon/cik.c wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 1942 drivers/gpu/drm/radeon/evergreen.c u32 bytes_per_pixel; /* bytes per pixel display + overlay */ bytes_per_pixel 2052 drivers/gpu/drm/radeon/evergreen.c bpp.full = dfixed_const(wm->bytes_per_pixel); bytes_per_pixel 2092 drivers/gpu/drm/radeon/evergreen.c lb_fill_bw = min(dfixed_trunc(a), wm->disp_clk * wm->bytes_per_pixel / 1000); bytes_per_pixel 2094 drivers/gpu/drm/radeon/evergreen.c a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); bytes_per_pixel 2201 drivers/gpu/drm/radeon/evergreen.c wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 2228 drivers/gpu/drm/radeon/evergreen.c wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 2068 drivers/gpu/drm/radeon/si.c u32 bytes_per_pixel; /* bytes per pixel display + overlay */ bytes_per_pixel 2195 drivers/gpu/drm/radeon/si.c bpp.full = dfixed_const(wm->bytes_per_pixel); bytes_per_pixel 2238 drivers/gpu/drm/radeon/si.c lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); bytes_per_pixel 2240 drivers/gpu/drm/radeon/si.c a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); bytes_per_pixel 2350 drivers/gpu/drm/radeon/si.c wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 2377 drivers/gpu/drm/radeon/si.c wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ bytes_per_pixel 47 drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c unsigned int bytes_per_pixel; bytes_per_pixel 53 drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); bytes_per_pixel 57 drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c mode_cmd.pitches[0] = sizes->surface_width * bytes_per_pixel; bytes_per_pixel 90 drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c offset = fbi->var.xoffset * bytes_per_pixel; bytes_per_pixel 211 drivers/gpu/drm/tegra/fb.c unsigned int bytes_per_pixel; bytes_per_pixel 219 drivers/gpu/drm/tegra/fb.c bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); bytes_per_pixel 223 drivers/gpu/drm/tegra/fb.c cmd.pitches[0] = round_up(sizes->surface_width * bytes_per_pixel, bytes_per_pixel 259 drivers/gpu/drm/tegra/fb.c offset = info->var.xoffset * bytes_per_pixel + bytes_per_pixel 165 drivers/media/pci/ivtv/ivtvfb.c int bytes_per_pixel; bytes_per_pixel 227 drivers/media/pci/ivtv/ivtvfb.c oi->display_byte_stride = osd->pixel_stride * oi->bytes_per_pixel; bytes_per_pixel 550 drivers/media/pci/ivtv/ivtvfb.c oi->bytes_per_pixel = var->bits_per_pixel / 8; bytes_per_pixel 973 drivers/media/pci/ivtv/ivtvfb.c oi->bytes_per_pixel = oi->bits_per_pixel / 8; bytes_per_pixel 1001 drivers/media/pci/ivtv/ivtvfb.c start_window.width * oi->bytes_per_pixel; bytes_per_pixel 452 drivers/media/platform/vim2m.c unsigned int width, height, bytesperline, bytes_per_pixel; bytes_per_pixel 460 drivers/media/platform/vim2m.c bytes_per_pixel = q_data_in->fmt->depth >> 3; bytes_per_pixel 538 drivers/media/platform/vim2m.c p_in_x[1] = p_line - x_offset * bytes_per_pixel; bytes_per_pixel 540 drivers/media/platform/vim2m.c p_in_x[1] = p_line + x_offset * bytes_per_pixel; bytes_per_pixel 555 drivers/media/platform/vim2m.c p_in_x[0] = p_line - x_offset * bytes_per_pixel; bytes_per_pixel 557 drivers/media/platform/vim2m.c p_in_x[0] = p_line + x_offset * bytes_per_pixel; bytes_per_pixel 283 drivers/media/platform/vivid/vivid-core.h int bytes_per_pixel; bytes_per_pixel 104 drivers/media/platform/vivid/vivid-osd.c dev->display_byte_stride = var->xres * dev->bytes_per_pixel; bytes_per_pixel 272 drivers/media/platform/vivid/vivid-osd.c dev->bytes_per_pixel = dev->bits_per_pixel / 8; bytes_per_pixel 277 drivers/media/platform/vivid/vivid-osd.c dev->display_byte_stride = start_window.width * dev->bytes_per_pixel; bytes_per_pixel 479 drivers/media/usb/usbvision/usbvision-core.c int clipmask_index, bytes_per_pixel; bytes_per_pixel 495 drivers/media/usb/usbvision/usbvision-core.c bytes_per_pixel = frame->v4l2_format.bytes_per_pixel; bytes_per_pixel 496 drivers/media/usb/usbvision/usbvision-core.c stretch_bytes = (usbvision->stretch_width - 1) * bytes_per_pixel; bytes_per_pixel 868 drivers/media/usb/usbvision/usbvision-core.c int clipmask_even_index, clipmask_odd_index, bytes_per_pixel; bytes_per_pixel 878 drivers/media/usb/usbvision/usbvision-core.c bytes_per_pixel = frame->v4l2_format.bytes_per_pixel; bytes_per_pixel 879 drivers/media/usb/usbvision/usbvision-core.c stretch_bytes = (usbvision->stretch_width - 1) * bytes_per_pixel; bytes_per_pixel 1758 drivers/media/usb/usbvision/usbvision-core.c usbvision->palette.bytes_per_pixel); bytes_per_pixel 698 drivers/media/usb/usbvision/usbvision-video.c usbvision->palette.bytes_per_pixel; bytes_per_pixel 820 drivers/media/usb/usbvision/usbvision-video.c usbvision->curwidth * usbvision->palette.bytes_per_pixel; bytes_per_pixel 849 drivers/media/usb/usbvision/usbvision-video.c usbvision->palette.bytes_per_pixel; bytes_per_pixel 264 drivers/media/usb/usbvision/usbvision.h int bytes_per_pixel; bytes_per_pixel 856 drivers/video/fbdev/imxfb.c int bytes_per_pixel; bytes_per_pixel 924 drivers/video/fbdev/imxfb.c bytes_per_pixel = (m->bpp + 7) / 8; bytes_per_pixel 927 drivers/video/fbdev/imxfb.c m->mode.xres * m->mode.yres * bytes_per_pixel); bytes_per_pixel 316 drivers/video/fbdev/intelfb/intelfbhw.c int bytes_per_pixel; bytes_per_pixel 323 drivers/video/fbdev/intelfb/intelfbhw.c bytes_per_pixel = var->bits_per_pixel / 8; bytes_per_pixel 324 drivers/video/fbdev/intelfb/intelfbhw.c if (bytes_per_pixel == 3) bytes_per_pixel 325 drivers/video/fbdev/intelfb/intelfbhw.c bytes_per_pixel = 4; bytes_per_pixel 328 drivers/video/fbdev/intelfb/intelfbhw.c tmp = var->yres_virtual * var->xres_virtual * bytes_per_pixel; bytes_per_pixel 772 drivers/video/fbdev/vermilion/vermilion.c vinfo->bytes_per_pixel = var->bits_per_pixel >> 3; bytes_per_pixel 773 drivers/video/fbdev/vermilion/vermilion.c vinfo->stride = ALIGN(var->xres_virtual * vinfo->bytes_per_pixel, 0x40); bytes_per_pixel 856 drivers/video/fbdev/vermilion/vermilion.c var->xoffset * vinfo->bytes_per_pixel); bytes_per_pixel 943 drivers/video/fbdev/vermilion/vermilion.c var->xoffset * vinfo->bytes_per_pixel); bytes_per_pixel 209 drivers/video/fbdev/vermilion/vermilion.h u32 bytes_per_pixel;