Home
last modified time | relevance | path

Searched refs:log_bpp (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/udl/
Dudl_transfer.c35 static inline u16 get_pixel_val16(const uint8_t *pixel, int log_bpp) in get_pixel_val16() argument
38 if (log_bpp == 1) in get_pixel_val16()
77 const uint8_t *const cmd_buffer_end, int log_bpp) in udl_compress_hline16() argument
79 const int bpp = 1 << log_bpp; in udl_compress_hline16()
105 (unsigned long)(pixel_end - pixel) >> log_bpp, in udl_compress_hline16()
106 (unsigned long)(cmd_buffer_end - 1 - cmd) / 2) << log_bpp); in udl_compress_hline16()
108 pixel_val16 = get_pixel_val16(pixel, log_bpp); in udl_compress_hline16()
120 pixel_val16 = get_pixel_val16(pixel, log_bpp); in udl_compress_hline16()
129 raw_pixel_start) >> log_bpp) + 1) & 0xFF; in udl_compress_hline16()
132 *cmd++ = (((pixel - start) >> log_bpp) - 1) & 0xFF; in udl_compress_hline16()
[all …]
Dudl_modeset.c254 int log_bpp; in udl_handle_damage() local
259 log_bpp = ret; in udl_handle_damage()
274 const int byte_offset = line_offset + (clip->x1 << log_bpp); in udl_handle_damage()
275 const int dev_byte_offset = (fb->width * i + clip->x1) << log_bpp; in udl_handle_damage()
276 const int byte_width = drm_rect_width(clip) << log_bpp; in udl_handle_damage()
277 ret = udl_render_hline(dev, log_bpp, &urb, (char *)vaddr, in udl_handle_damage()
Dudl_drv.h85 int udl_render_hline(struct drm_device *dev, int log_bpp, struct urb **urb_ptr,