Home
last modified time | relevance | path

Searched refs:pixel_offset (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/vkms/
H A Dvkms_formats.c12 static size_t pixel_offset(const struct vkms_frame_info *frame_info, int x, int y) in pixel_offset() function
34 size_t offset = pixel_offset(frame_info, x, y); in packed_pixels_addr()
/openbmc/linux/drivers/video/fbdev/
H A Dpxa168fb.c351 int pixel_offset; in set_graphics_start() local
354 pixel_offset = (yoffset * var->xres_virtual) + xoffset; in set_graphics_start()
356 addr = fbi->fb_start_dma + (pixel_offset * (var->bits_per_pixel >> 3)); in set_graphics_start()