/linux-6.6.21/drivers/gpu/drm/tegra/ |
D | fbdev.c | 75 unsigned int bytes_per_pixel; in tegra_fbdev_probe() local 83 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); in tegra_fbdev_probe() 87 cmd.pitches[0] = round_up(sizes->surface_width * bytes_per_pixel, in tegra_fbdev_probe() 122 offset = info->var.xoffset * bytes_per_pixel + in tegra_fbdev_probe()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dce_calcs.c | 185 data->bytes_per_pixel[0] = 1; in calculate_bandwidth() 186 data->bytes_per_pixel[2] = 1; in calculate_bandwidth() 189 data->bytes_per_pixel[1] = 2; in calculate_bandwidth() 190 data->bytes_per_pixel[3] = 2; in calculate_bandwidth() 199 data->bytes_per_pixel[0] = 2; in calculate_bandwidth() 200 data->bytes_per_pixel[2] = 2; in calculate_bandwidth() 207 data->bytes_per_pixel[0] = 4; in calculate_bandwidth() 208 data->bytes_per_pixel[2] = 4; in calculate_bandwidth() 378 data->bytes_per_pixel[maximum_number_of_surfaces - 2] = 1; in calculate_bandwidth() 379 data->bytes_per_pixel[maximum_number_of_surfaces - 1] = 2; in calculate_bandwidth() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dsc/ |
D | dscc_types.h | 45 uint32_t bytes_per_pixel; /* In u3.28 format */ member
|
D | rc_calc_dpi.c | 117 dsc_params->bytes_per_pixel = (uint32_t)tmp; in dscc_compute_dsc_parameters()
|
/linux-6.6.21/drivers/media/test-drivers/vivid/ |
D | vivid-osd.c | 104 dev->display_byte_stride = var->xres * dev->bytes_per_pixel; in vivid_fb_set_var() 270 dev->bytes_per_pixel = dev->bits_per_pixel / 8; in vivid_fb_init_vidmode() 275 dev->display_byte_stride = start_window.width * dev->bytes_per_pixel; in vivid_fb_init_vidmode()
|
D | vivid-core.h | 298 int bytes_per_pixel; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | dsc.h | 50 uint32_t bytes_per_pixel; /* Bytes per pixel in u3.28 format */ member
|
/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
D | virtual_isys.c | 722 s32 bytes_per_pixel; in calculate_ibuf_ctrl_cfg() local 728 bytes_per_pixel = ceil_div(bits_per_pixel, bits_per_byte); in calculate_ibuf_ctrl_cfg() 731 * bytes_per_pixel; in calculate_ibuf_ctrl_cfg() 762 cfg->dest_buf_cfg.stride = bytes_per_pixel in calculate_ibuf_ctrl_cfg()
|
/linux-6.6.21/drivers/video/fbdev/vermilion/ |
D | vermilion.h | 209 u32 bytes_per_pixel; member
|
D | vermilion.c | 779 vinfo->bytes_per_pixel = var->bits_per_pixel >> 3; in vmlfb_set_par_locked() 780 vinfo->stride = ALIGN(var->xres_virtual * vinfo->bytes_per_pixel, 0x40); in vmlfb_set_par_locked() 863 var->xoffset * vinfo->bytes_per_pixel); in vmlfb_set_par_locked() 950 var->xoffset * vinfo->bytes_per_pixel); in vmlfb_pan_display()
|
/linux-6.6.21/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
D | frame.c | 42 unsigned int bytes_per_pixel); 466 unsigned int bytes_per_pixel) in frame_init_single_plane() argument 470 stride = subpixels_per_line * bytes_per_pixel; in frame_init_single_plane()
|
/linux-6.6.21/drivers/media/test-drivers/ |
D | vim2m.c | 446 unsigned int width, height, bytesperline, bytes_per_pixel; in device_process() local 454 bytes_per_pixel = q_data_in->fmt->depth >> 3; in device_process() 532 p_in_x[1] = p_line - x_offset * bytes_per_pixel; in device_process() 534 p_in_x[1] = p_line + x_offset * bytes_per_pixel; in device_process() 549 p_in_x[0] = p_line - x_offset * bytes_per_pixel; in device_process() 551 p_in_x[0] = p_line + x_offset * bytes_per_pixel; in device_process()
|
/linux-6.6.21/drivers/media/pci/ivtv/ |
D | ivtvfb.c | 165 int bytes_per_pixel; member 227 oi->display_byte_stride = osd->pixel_stride * oi->bytes_per_pixel; in ivtvfb_set_osd_coords() 550 oi->bytes_per_pixel = var->bits_per_pixel / 8; in ivtvfb_set_var() 973 oi->bytes_per_pixel = oi->bits_per_pixel / 8; in ivtvfb_init_vidmode() 1001 start_window.width * oi->bytes_per_pixel; in ivtvfb_init_vidmode()
|
/linux-6.6.21/drivers/video/fbdev/ |
D | imxfb.c | 896 int bytes_per_pixel; in imxfb_probe() local 951 bytes_per_pixel = (m->bpp + 7) / 8; in imxfb_probe() 954 m->mode.xres * m->mode.yres * bytes_per_pixel); in imxfb_probe()
|
/linux-6.6.21/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 762 uint64_t bytes_per_pixel = (bits_per_pixel + 7) / 8; in mgag200_calculate_mode_bandwidth() local 775 bandwidth = pixels_per_second * bytes_per_pixel * 100; in mgag200_calculate_mode_bandwidth()
|
/linux-6.6.21/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 314 int bytes_per_pixel; in intelfbhw_validate_mode() local 321 bytes_per_pixel = var->bits_per_pixel / 8; in intelfbhw_validate_mode() 322 if (bytes_per_pixel == 3) in intelfbhw_validate_mode() 323 bytes_per_pixel = 4; in intelfbhw_validate_mode() 326 tmp = var->yres_virtual * var->xres_virtual * bytes_per_pixel; in intelfbhw_validate_mode()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/ |
D | link_dpms.c | 741 uint32_t bytes_per_pixel_int = config->bytes_per_pixel / precision; in dsc_optc_config_log() 742 uint32_t bytes_per_pixel_mod = config->bytes_per_pixel % precision; in dsc_optc_config_log() 754 config->bytes_per_pixel, bytes_per_pixel_int, (uint32_t)ll_bytes_per_pix_fraq); in dsc_optc_config_log() 820 dsc_optc_cfg.bytes_per_pixel, in link_set_dsc_on_stream() 831 dsc_optc_cfg.bytes_per_pixel, in link_set_dsc_on_stream()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/ |
D | dce_calcs.h | 374 uint32_t bytes_per_pixel[maximum_number_of_surfaces]; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dsc.c | 447 dsc_optc_cfg->bytes_per_pixel = dsc_params.bytes_per_pixel; in dsc_prepare_config()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 507 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member 673 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce_v6_0_average_bandwidth() 725 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); in dce_v6_0_latency_watermark() 727 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v6_0_latency_watermark() 876 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v6_0_program_watermarks() 903 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v6_0_program_watermarks()
|
D | dce_v8_0.c | 642 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member 808 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce_v8_0_average_bandwidth() 860 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); in dce_v8_0_latency_watermark() 862 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v8_0_latency_watermark() 1002 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v8_0_program_watermarks() 1041 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v8_0_program_watermarks()
|
D | dce_v10_0.c | 703 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member 869 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce_v10_0_average_bandwidth() 921 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); in dce_v10_0_latency_watermark() 923 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v10_0_latency_watermark() 1063 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v10_0_program_watermarks() 1102 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v10_0_program_watermarks()
|
D | dce_v11_0.c | 735 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member 901 bpp.full = dfixed_const(wm->bytes_per_pixel); in dce_v11_0_average_bandwidth() 953 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); in dce_v11_0_latency_watermark() 955 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); in dce_v11_0_latency_watermark() 1095 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v11_0_program_watermarks() 1134 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */ in dce_v11_0_program_watermarks()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_hwseq.c | 139 dsc_optc_cfg.bytes_per_pixel, in update_dsc_on_stream()
|
/linux-6.6.21/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 46 #define GEOM(xshift, yshift, bytes_per_pixel) { \ argument 49 .cpp = (bytes_per_pixel), \
|