/drivers/video/console/ |
H A D | softcursor.c | 28 struct fb_image *image; local 34 s_pitch = (cursor->image.width + 7) >> 3; 35 dsize = s_pitch * cursor->image.height; 50 image = (struct fb_image *)ops->cursor_src; 51 *image = cursor->image; 54 size = d_pitch * image->height + buf_align; 62 src[i] = image->data[i] ^ cursor->mask[i]; 67 src[i] = image->data[i] & cursor->mask[i]; 71 memcpy(src, image [all...] |
H A D | fbcon_ud.c | 88 struct fb_image *image, u8 *buf, u8 *dst) 105 image->height); 108 image->height); 113 info->fbops->fb_imageblit(info, image); 120 struct fb_image *image, u8 *buf, 139 image->height, shift_high, 147 info->fbops->fb_imageblit(info, image); 155 struct fb_image image; local 171 image.fg_color = fg; 172 image 85 ud_putcs_aligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument 116 ud_putcs_unaligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument [all...] |
H A D | bitblit.c | 80 struct fb_image *image, u8 *buf, u8 *dst) 97 image->height); 100 image->height); 105 info->fbops->fb_imageblit(info, image); 112 struct fb_image *image, u8 *buf, 131 image->height, shift_high, 139 info->fbops->fb_imageblit(info, image); 147 struct fb_image image; local 157 image.fg_color = fg; 158 image 77 bit_putcs_aligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument 108 bit_putcs_unaligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument [all...] |
H A D | fbcon_ccw.c | 101 struct fb_image *image, u8 *buf, u8 *dst) 126 info->fbops->fb_imageblit(info, image); 133 struct fb_image image; local 148 image.fg_color = fg; 149 image.bg_color = bg; 150 image.dx = yy * vc->vc_font.height; 151 image.dy = vyres - ((xx + count) * vc->vc_font.width); 152 image.width = vc->vc_font.height; 153 image.depth = 1; 169 image 98 ccw_putcs_aligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument [all...] |
H A D | fbcon_cw.c | 87 struct fb_image *image, u8 *buf, u8 *dst) 112 info->fbops->fb_imageblit(info, image); 119 struct fb_image image; local 134 image.fg_color = fg; 135 image.bg_color = bg; 136 image.dx = vxres - ((yy + 1) * vc->vc_font.height); 137 image.dy = xx * vc->vc_font.width; 138 image.width = vc->vc_font.height; 139 image.depth = 1; 153 image 84 cw_putcs_aligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument [all...] |
/drivers/staging/vme/devices/ |
H A D | vme_user.c | 52 * 0 = /dev/bus/vme/m0 First master image 53 * 1 = /dev/bus/vme/m1 Second master image 54 * 2 = /dev/bus/vme/m2 Third master image 55 * 3 = /dev/bus/vme/m3 Fourth master image 56 * 4 = /dev/bus/vme/s0 First slave image 57 * 5 = /dev/bus/vme/s1 Second slave image 58 * 6 = /dev/bus/vme/s2 Third slave image 59 * 7 = /dev/bus/vme/s3 Fourth slave image 89 #define PCI_BUF_SIZE 0x20000 /* Size of one slave image buffer */ 92 * Structure to handle image relate 103 static struct image_desc image[VME_DEVS]; variable in typeref:struct:image_desc [all...] |
/drivers/video/savage/ |
H A D | savagefb_accel.c | 92 void savagefb_imageblit(struct fb_info *info, const struct fb_image *image) argument 97 u32 *src = (u32 *) image->data; 99 if (!image->width || !image->height) 102 if (image->depth != 1) { 103 cfb_imageblit(info, image); 108 fg = image->fg_color; 109 bg = image->bg_color; 111 fg = ((u32 *)info->pseudo_palette)[image->fg_color]; 112 bg = ((u32 *)info->pseudo_palette)[image [all...] |
/drivers/media/video/pwc/ |
H A D | pwc-uncompress.c | 39 void *yuv, *image; local 43 image = vb2_plane_vaddr(&fbuf->vb, 0); 50 struct pwc_raw_frame *raw_frame = image; 74 dsty = (u16 *)(image); 75 dstu = (u16 *)(image + n); 76 dstv = (u16 *)(image + n + n / 4); 104 pwc_dec23_decompress(pdev, yuv, image);
|
/drivers/video/ |
H A D | cfbimgblt.c | 12 * This function copys a image from system memory to video memory. The 13 * image can be a bitmap where each 0 represents the background color and 15 * also be a color image. This is determined by image_depth. The color image 75 static inline void color_imageblit(const struct fb_image *image, argument 86 const u8 *src = image->data; 90 for (i = image->height; i--; ) { 91 n = image->width; 137 static inline void slow_imageblit(const struct fb_image *image, struct fb_info *p, argument 147 u32 spitch = (image 215 fast_imageblit(const struct fb_image *image, struct fb_info *p, u8 __iomem *dst1, u32 fgcolor, u32 bgcolor) argument 265 cfb_imageblit(struct fb_info *p, const struct fb_image *image) argument [all...] |
H A D | sysimgblt.c | 52 static void color_imageblit(const struct fb_image *image, struct fb_info *p, argument 61 const u8 *src = image->data; 64 for (i = image->height; i--; ) { 65 n = image->width; 111 static void slow_imageblit(const struct fb_image *image, struct fb_info *p, argument 119 u32 spitch = (image->width+7)/8; 120 const u8 *src = image->data, *s; 127 for (i = image->height; i--; ) { 130 j = image->width; 182 * image 186 fast_imageblit(const struct fb_image *image, struct fb_info *p, void *dst1, u32 fgcolor, u32 bgcolor) argument 240 sys_imageblit(struct fb_info *p, const struct fb_image *image) argument [all...] |
H A D | fbmem.c | 386 struct fb_image *image, int rotate) 391 fb_rotate_logo_ud(image->data, dst, image->width, 392 image->height); 393 image->dx = info->var.xres - image->width - image->dx; 394 image->dy = info->var.yres - image->height - image 385 fb_rotate_logo(struct fb_info *info, u8 *dst, struct fb_image *image, int rotate) argument 418 fb_do_show_logo(struct fb_info *info, struct fb_image *image, int rotate, unsigned int num) argument 456 struct fb_image image; local [all...] |
H A D | vga16fb.c | 1118 static void vga_8planes_imageblit(struct fb_info *info, const struct fb_image *image) argument 1125 const char *cdat = image->data; 1126 u32 dx = image->dx; 1131 where = info->screen_base + dx + image->dy * info->fix.line_length; 1134 writeb(image->bg_color, where); 1137 setmask(image->fg_color ^ image->bg_color); 1140 for (y = 0; y < image->height; y++, where += info->fix.line_length) 1149 static void vga_imageblit_expand(struct fb_info *info, const struct fb_image *image) argument 1151 char __iomem *where = info->screen_base + (image 1213 vga_imageblit_color(struct fb_info *info, const struct fb_image *image) argument 1258 vga16fb_imageblit(struct fb_info *info, const struct fb_image *image) argument [all...] |
/drivers/video/mb862xx/ |
H A D | mb862xxfb_accel.c | 72 * Fill in the cmd array /GDC FIFO commands/ to draw a 1bit image. 77 u32 bgcolor, const struct fb_image *image, 96 line = image->data; 97 bytes = (image->width + 7) >> 3; 99 /* and the image */ 121 * Fill in the cmd array /GDC FIFO commands/ to draw a 8bit image. 126 u32 bgcolor, const struct fb_image *image, 139 line = ptr = image->data; 140 bytes = image->width; 160 * Fill in the cmd array /GDC FIFO commands/ to draw a 16bit image 75 mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) argument 124 mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) argument 163 mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) argument 188 mb86290fb_imageblit(struct fb_info *info, const struct fb_image *image) argument [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nv04_fbcon.c | 81 nv04_fbcon_imageblit(struct fb_info *info, const struct fb_image *image) argument 91 uint32_t *data = (uint32_t *)image->data; 94 if (image->depth != 1) 101 width = ALIGN(image->width, 8); 102 dsize = ALIGN(width * image->height, 32) >> 5; 106 fg = ((uint32_t *) info->pseudo_palette)[image->fg_color]; 107 bg = ((uint32_t *) info->pseudo_palette)[image->bg_color]; 109 fg = image->fg_color; 110 bg = image->bg_color; 114 OUT_RING(chan, (image [all...] |
H A D | nouveau_fbcon.h | 45 int nv04_fbcon_imageblit(struct fb_info *info, const struct fb_image *image); 50 int nv50_fbcon_imageblit(struct fb_info *info, const struct fb_image *image); 55 int nvc0_fbcon_imageblit(struct fb_info *info, const struct fb_image *image);
|
H A D | nv50_fbcon.c | 98 nv50_fbcon_imageblit(struct fb_info *info, const struct fb_image *image) argument 104 uint32_t width, dwords, *data = (uint32_t *)image->data; 109 if (image->depth != 1) 116 width = ALIGN(image->width, 32); 117 dwords = (width * image->height) >> 5; 122 OUT_RING(chan, palette[image->bg_color] | mask); 123 OUT_RING(chan, palette[image->fg_color] | mask); 125 OUT_RING(chan, image->bg_color); 126 OUT_RING(chan, image->fg_color); 129 OUT_RING(chan, image [all...] |
H A D | nvc0_fbcon.c | 98 nvc0_fbcon_imageblit(struct fb_info *info, const struct fb_image *image) argument 104 uint32_t width, dwords, *data = (uint32_t *)image->data; 109 if (image->depth != 1) 116 width = ALIGN(image->width, 32); 117 dwords = (width * image->height) >> 5; 122 OUT_RING (chan, palette[image->bg_color] | mask); 123 OUT_RING (chan, palette[image->fg_color] | mask); 125 OUT_RING (chan, image->bg_color); 126 OUT_RING (chan, image->fg_color); 129 OUT_RING (chan, image [all...] |
/drivers/video/aty/ |
H A D | mach64_accel.c | 281 void atyfb_imageblit(struct fb_info *info, const struct fb_image *image) argument 284 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; 289 if (!image->width || !image->height) 292 (image->depth != 1 && info->var.bits_per_pixel != image->depth)) { 293 cfb_imageblit(info, image); 300 switch (image [all...] |
H A D | mach64_cursor.c | 89 x = cursor->image.dx - cursor->hot.x - info->var.xoffset; 97 y = cursor->image.dy - cursor->hot.y - info->var.yoffset; 105 h = cursor->image.height; 126 fg_idx = cursor->image.fg_color; 127 bg_idx = cursor->image.bg_color; 143 u8 *src = (u8 *)cursor->image.data; 146 unsigned int width = (cursor->image.width + 7) >> 3; 147 unsigned int height = cursor->image.height; 153 // Clear cursor image with 1010101010...
|
/drivers/pci/ |
H A D | rom.c | 58 * pci_get_rom_size - obtain the actual size of the ROM image 60 * @rom: kernel virtual pointer to image of ROM 62 * return: size of actual ROM image 64 * Determine the actual length of the ROM image. 66 * actual image size. 70 void __iomem *image; local 73 image = rom; 77 if (readb(image) != 0x55) { 81 if (readb(image + 1) != 0xAA) 84 pds = image [all...] |
/drivers/video/nvidia/ |
H A D | nv_accel.c | 351 const struct fb_image *image) 355 u32 dsize, width, *data = (u32 *) image->data, tmp; 358 width = (image->width + 31) & ~31; 359 dsize = (width * image->height) >> 5; 362 fg = image->fg_color | mask; 363 bg = image->bg_color | mask; 365 fg = ((u32 *) info->pseudo_palette)[image->fg_color] | mask; 366 bg = ((u32 *) info->pseudo_palette)[image->bg_color] | mask; 370 NVDmaNext(par, (image->dy << 16) | (image 350 nvidiafb_mono_color_expand(struct fb_info *info, const struct fb_image *image) argument 405 nvidiafb_imageblit(struct fb_info *info, const struct fb_image *image) argument [all...] |
/drivers/staging/vme/bridges/ |
H A D | vme_ca91cx42.c | 339 static int ca91cx42_slave_set(struct vme_slave_resource *image, int enabled, argument 349 ca91cx42_bridge = image->parent; 353 i = image->number; 445 static int ca91cx42_slave_get(struct vme_slave_resource *image, int *enabled, argument 453 bridge = image->parent->driver_priv; 455 i = image->number; 505 static int ca91cx42_alloc_resource(struct vme_master_resource *image, argument 513 ca91cx42_bridge = image->parent; 522 existing_size = (unsigned long long)(image->bus_resource.end - 523 image 587 ca91cx42_free_resource(struct vme_master_resource *image) argument 597 ca91cx42_master_set(struct vme_master_resource *image, int enabled, unsigned long long vme_base, unsigned long long size, u32 aspace, u32 cycle, u32 dwidth) argument 754 __ca91cx42_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) argument 841 ca91cx42_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) argument 857 ca91cx42_master_read(struct vme_master_resource *image, void *buf, size_t count, loff_t offset) argument 917 ca91cx42_master_write(struct vme_master_resource *image, void *buf, size_t count, loff_t offset) argument 972 ca91cx42_master_rmw(struct vme_master_resource *image, unsigned int mask, unsigned int compare, unsigned int swap, loff_t offset) argument [all...] |
H A D | vme_tsi148.c | 552 static int tsi148_slave_set(struct vme_slave_resource *image, int enabled, argument 565 tsi148_bridge = image->parent; 568 i = image->number; 702 static int tsi148_slave_get(struct vme_slave_resource *image, int *enabled, argument 713 bridge = image->parent->driver_priv; 715 i = image->number; 802 static int tsi148_alloc_resource(struct vme_master_resource *image, argument 810 tsi148_bridge = image->parent; 814 existing_size = (unsigned long long)(image->bus_resource.end - 815 image 883 tsi148_free_resource(struct vme_master_resource *image) argument 895 tsi148_master_set(struct vme_master_resource *image, int enabled, unsigned long long vme_base, unsigned long long size, u32 aspace, u32 cycle, u32 dwidth) argument 1131 __tsi148_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) argument 1241 tsi148_master_get(struct vme_master_resource *image, int *enabled, unsigned long long *vme_base, unsigned long long *size, u32 *aspace, u32 *cycle, u32 *dwidth) argument 1257 tsi148_master_read(struct vme_master_resource *image, void *buf, size_t count, loff_t offset) argument 1297 tsi148_master_write(struct vme_master_resource *image, void *buf, size_t count, loff_t offset) argument 1362 tsi148_master_rmw(struct vme_master_resource *image, unsigned int mask, unsigned int compare, unsigned int swap, loff_t offset) argument [all...] |
/drivers/gpu/drm/radeon/ |
H A D | radeon_ioc32.c | 163 int width; /* Texture image coordinates */ 165 u32 image; member in struct:drm_radeon_texture32 174 drm_radeon_tex_image_t __user *image; local 178 if (req32.image == 0) 180 if (copy_from_user(&img32, (void __user *)(unsigned long)req32.image, 184 request = compat_alloc_user_space(sizeof(*request) + sizeof(*image)); 186 sizeof(*request) + sizeof(*image))) 188 image = (drm_radeon_tex_image_t __user *) (request + 1); 195 || __put_user(image, &request->image) [all...] |
/drivers/video/i810/ |
H A D | i810_accel.c | 223 * @src: address of image data 367 void i810fb_imageblit(struct fb_info *info, const struct fb_image *image) argument 373 par->depth == 4 || image->depth != 1) { 374 cfb_imageblit(info, image); 380 fg = image->fg_color; 381 bg = image->bg_color; 385 fg = ((u32 *)(info->pseudo_palette))[image->fg_color]; 386 bg = ((u32 *)(info->pseudo_palette))[image->bg_color]; 390 dst = info->fix.smem_start + (image->dy * info->fix.line_length) + 391 (image [all...] |