Searched refs:log_bpp (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/drm/udl/ |
H A D | udl_transfer.c | 36 static inline u16 get_pixel_val16(const uint8_t *pixel, int log_bpp) in get_pixel_val16() argument 39 if (log_bpp == 1) in get_pixel_val16() 78 const uint8_t *const cmd_buffer_end, int log_bpp) in udl_compress_hline16() argument 80 const int bpp = 1 << log_bpp; in udl_compress_hline16() 106 (unsigned long)(pixel_end - pixel) >> log_bpp, in udl_compress_hline16() 107 (unsigned long)(cmd_buffer_end - 1 - cmd) / 2) << log_bpp); in udl_compress_hline16() 109 pixel_val16 = get_pixel_val16(pixel, log_bpp); in udl_compress_hline16() 121 pixel_val16 = get_pixel_val16(pixel, log_bpp); in udl_compress_hline16() 130 raw_pixel_start) >> log_bpp) + 1) & 0xFF; in udl_compress_hline16() 133 *cmd++ = (((pixel - start) >> log_bpp) - 1) & 0xFF; in udl_compress_hline16() [all …]
|
H A D | udl_modeset.c | 212 int log_bpp; in udl_handle_damage() local 217 log_bpp = ret; in udl_handle_damage() 226 const int byte_offset = line_offset + (clip->x1 << log_bpp); in udl_handle_damage() 227 const int dev_byte_offset = (fb->width * i + clip->x1) << log_bpp; in udl_handle_damage() 228 const int byte_width = drm_rect_width(clip) << log_bpp; in udl_handle_damage() 229 ret = udl_render_hline(dev, log_bpp, &urb, (char *)vaddr, in udl_handle_damage()
|
H A D | udl_drv.h | 88 int udl_render_hline(struct drm_device *dev, int log_bpp, struct urb **urb_ptr,
|