/drivers/gpu/drm/tiny/ |
D | repaper.c | 208 u8 pixels = data[b] & 0xaa; in repaper_even_pixels() local 213 pixel_mask = (mask[b] ^ pixels) & 0xaa; in repaper_even_pixels() 219 pixels = 0xaa | ((pixels ^ 0xaa) >> 1); in repaper_even_pixels() 222 pixels = 0x55 + ((pixels ^ 0xaa) >> 1); in repaper_even_pixels() 225 pixels = 0x55 | (pixels ^ 0xaa); in repaper_even_pixels() 228 pixels = 0xaa | (pixels >> 1); in repaper_even_pixels() 232 pixels = (pixels & pixel_mask) | (~pixel_mask & 0x55); in repaper_even_pixels() 233 p1 = (pixels >> 6) & 0x03; in repaper_even_pixels() 234 p2 = (pixels >> 4) & 0x03; in repaper_even_pixels() 235 p3 = (pixels >> 2) & 0x03; in repaper_even_pixels() [all …]
|
/drivers/gpu/drm/vkms/ |
D | vkms_formats.c | 69 u16 *pixels = (u16 *)src_pixels; in ARGB16161616_to_argb_u16() local 71 out_pixel->a = le16_to_cpu(pixels[3]); in ARGB16161616_to_argb_u16() 72 out_pixel->r = le16_to_cpu(pixels[2]); in ARGB16161616_to_argb_u16() 73 out_pixel->g = le16_to_cpu(pixels[1]); in ARGB16161616_to_argb_u16() 74 out_pixel->b = le16_to_cpu(pixels[0]); in ARGB16161616_to_argb_u16() 79 u16 *pixels = (u16 *)src_pixels; in XRGB16161616_to_argb_u16() local 82 out_pixel->r = le16_to_cpu(pixels[2]); in XRGB16161616_to_argb_u16() 83 out_pixel->g = le16_to_cpu(pixels[1]); in XRGB16161616_to_argb_u16() 84 out_pixel->b = le16_to_cpu(pixels[0]); in XRGB16161616_to_argb_u16() 89 u16 *pixels = (u16 *)src_pixels; in RGB565_to_argb_u16() local [all …]
|
D | vkms_composer.c | 43 struct pixel_argb_u16 *out = output_buffer->pixels + x_dst; in pre_mul_alpha_blend() 44 struct pixel_argb_u16 *in = stage_buffer->pixels; in pre_mul_alpha_blend() 68 output_buffer->pixels[i] = *background_color; in fill_background() 107 *crc32 = crc32_le(*crc32, (void *)output_buffer->pixels, row_size); in blend() 168 stage_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes() 169 if (!stage_buffer.pixels) { in compose_active_planes() 174 output_buffer.pixels = kvmalloc(line_width * pixel_size, GFP_KERNEL); in compose_active_planes() 175 if (!output_buffer.pixels) { in compose_active_planes() 184 kvfree(output_buffer.pixels); in compose_active_planes() 186 kvfree(stage_buffer.pixels); in compose_active_planes()
|
D | vkms_drv.h | 41 struct pixel_argb_u16 *pixels; member
|
/drivers/gpu/drm/ |
D | drm_format_helper.c | 209 static void drm_fb_swab16_line(void *dbuf, const void *sbuf, unsigned int pixels) in drm_fb_swab16_line() argument 213 const u16 *send16 = sbuf16 + pixels; in drm_fb_swab16_line() 219 static void drm_fb_swab32_line(void *dbuf, const void *sbuf, unsigned int pixels) in drm_fb_swab32_line() argument 223 const u32 *send32 = sbuf32 + pixels; in drm_fb_swab32_line() 275 static void drm_fb_xrgb8888_to_rgb332_line(void *dbuf, const void *sbuf, unsigned int pixels) in drm_fb_xrgb8888_to_rgb332_line() argument 282 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgb332_line() 323 static void drm_fb_xrgb8888_to_rgb565_line(void *dbuf, const void *sbuf, unsigned int pixels) in drm_fb_xrgb8888_to_rgb565_line() argument 331 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgb565_line() 341 unsigned int pixels) in drm_fb_xrgb8888_to_rgb565_swab_line() argument 349 for (x = 0; x < pixels; x++) { in drm_fb_xrgb8888_to_rgb565_swab_line() [all …]
|
/drivers/video/fbdev/ |
D | c2p_planar.c | 91 u8 pixels[32]; in c2p_planar() member 109 memset(d.pixels, 0, sizeof(d)); in c2p_planar() 110 memcpy(d.pixels+dst_idx, c, width); in c2p_planar() 122 memset(d.pixels, 0, dst_idx); in c2p_planar() 123 memcpy(d.pixels+dst_idx, c, w); in c2p_planar() 133 memcpy(d.pixels, c, 32); in c2p_planar() 143 memcpy(d.pixels, c, w); in c2p_planar() 144 memset(d.pixels+w, 0, 32-w); in c2p_planar()
|
D | c2p_iplan2.c | 89 u8 pixels[16]; in c2p_iplan2() member 109 memset(d.pixels, 0, sizeof(d)); in c2p_iplan2() 110 memcpy(d.pixels+dst_idx, c, width); in c2p_iplan2() 121 memset(d.pixels, 0, dst_idx); in c2p_iplan2() 122 memcpy(d.pixels+dst_idx, c, w); in c2p_iplan2() 131 memcpy(d.pixels, c, 16); in c2p_iplan2() 141 memcpy(d.pixels, c, w); in c2p_iplan2() 142 memset(d.pixels+w, 0, 16-w); in c2p_iplan2()
|
D | cirrusfb.c | 535 unsigned int pixels; in cirrusfb_check_var() local 577 pixels = info->screen_size * 8 / var->bits_per_pixel; in cirrusfb_check_var() 582 var->yres_virtual = pixels / var->xres_virtual; in cirrusfb_check_var() 591 if (var->xres_virtual * var->yres_virtual > pixels) { in cirrusfb_check_var()
|
D | Kconfig | 98 and 4 bits per pixel depths which has opposite order of pixels in 201 the standard blitting divides the screen into pixels. Because the 203 parameters in terms of number of tiles instead of number of pixels. 1146 packed pixels, so it is a good idea to compile them into the kernel 1197 packed pixels, so it is a good idea to compile them into the kernel
|
/drivers/gpu/drm/vboxvideo/ |
D | hgsmi_base.c | 119 u8 *pixels, u32 len) in hgsmi_update_pointer_shape() argument 154 memcpy(p->data, pixels, pixel_len); in hgsmi_update_pointer_shape()
|
D | vboxvideo_guest.h | 36 u8 *pixels, u32 len);
|
/drivers/media/usb/gspca/ |
D | se401.c | 475 int i, plen, bits, pixels, info, count; in sd_pkt_scan_janggu() local 500 pixels = sd->packet[1] + ((sd->packet[0] & 0x3f) << 8); in sd_pkt_scan_janggu() 524 sd->pixels_read += pixels; in sd_pkt_scan_janggu() 543 sd->pixels_read = pixels; in sd_pkt_scan_janggu()
|
/drivers/gpu/drm/arm/ |
D | Kconfig | 21 Enable this option to show in red colour the pixels that the
|
/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_compressor.c | 65 static uint32_t align_to_chunks_number_per_line(uint32_t pixels) in align_to_chunks_number_per_line() argument 67 return 256 * ((pixels + 255) / 256); in align_to_chunks_number_per_line()
|
/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 491 unsigned int pixels, load = 0; in atmel_hlcdc_plane_prepare_ahb_routing() local 501 pixels = (plane_state->src_w * plane_state->src_h) - in atmel_hlcdc_plane_prepare_ahb_routing() 505 load += pixels * plane_state->bpp[i]; in atmel_hlcdc_plane_prepare_ahb_routing()
|
/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_compressor.c | 285 uint32_t pixels) in align_to_chunks_number_per_line() argument 287 return 256 * ((pixels + 255) / 256); in align_to_chunks_number_per_line()
|
/drivers/gpu/drm/tidss/ |
D | tidss_dispc.c | 1904 static s32 pixinc(int pixels, u8 ps) in pixinc() argument 1906 if (pixels == 1) in pixinc() 1908 else if (pixels > 1) in pixinc() 1909 return 1 + (pixels - 1) * ps; in pixinc() 1910 else if (pixels < 0) in pixinc() 1911 return 1 - (-pixels + 1) * ps; in pixinc()
|
/drivers/media/i2c/ccs/ |
D | ccs-core.c | 267 u32 pixels; in ccs_read_frame_fmt() local 278 pixels = desc & CCS_FRAME_FORMAT_DESCRIPTOR_PIXELS_MASK; in ccs_read_frame_fmt() 287 pixels = desc & in ccs_read_frame_fmt() 324 what, pixels, which, pixelcode); in ccs_read_frame_fmt() 330 pixel_count += pixels; in ccs_read_frame_fmt() 340 sensor->embedded_end = line_count + pixels; in ccs_read_frame_fmt() 346 line_count += pixels; in ccs_read_frame_fmt()
|
/drivers/staging/fbtft/ |
D | Kconfig | 170 displays with a resolution of up to 320x240 pixels.
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dispc.c | 1805 static s32 pixinc(int pixels, u8 ps) in pixinc() argument 1807 if (pixels == 1) in pixinc() 1809 else if (pixels > 1) in pixinc() 1810 return 1 + (pixels - 1) * ps; in pixinc() 1811 else if (pixels < 0) in pixinc() 1812 return 1 - (-pixels + 1) * ps; in pixinc()
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_base.h | 235 unsigned int pixels; member
|
D | matroxfb_accel.c | 85 #define curr_ydstorg(x) ((x)->curr.ydstorg.pixels)
|
/drivers/gpu/drm/omapdrm/dss/ |
D | dispc.c | 2087 static s32 pixinc(int pixels, u8 ps) in pixinc() argument 2089 if (pixels == 1) in pixinc() 2091 else if (pixels > 1) in pixinc() 2092 return 1 + (pixels - 1) * ps; in pixinc() 2093 else if (pixels < 0) in pixinc() 2094 return 1 - (-pixels + 1) * ps; in pixinc()
|
/drivers/gpu/drm/panel/ |
D | Kconfig | 368 has a resolution of 720x1440 pixels, a built in backlight and touch 619 the Librem 5 devkit. It has a resolution of 720x1440 pixels, a built
|
/drivers/gpu/drm/i915/display/ |
D | vlv_dsi.c | 51 static u16 txbyteclkhs(u16 pixels, int bpp, int lane_count, in txbyteclkhs() argument 54 return DIV_ROUND_UP(DIV_ROUND_UP(pixels * bpp * burst_mode_ratio, in txbyteclkhs()
|