Searched refs:image (Results 1 - 25 of 138) sorted by relevance

123456

/drivers/video/console/
H A Dsoftcursor.c28 struct fb_image *image; local
34 s_pitch = (cursor->image.width + 7) >> 3;
35 dsize = s_pitch * cursor->image.height;
49 image = (struct fb_image *)ops->cursor_src;
50 *image = cursor->image;
53 size = d_pitch * image->height + buf_align;
61 src[i] = image->data[i] ^ cursor->mask[i];
66 src[i] = image->data[i] & cursor->mask[i];
70 memcpy(src, image
[all...]
H A Dfbcon_ud.c88 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 Dbitblit.c80 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 Dfbcon_ccw.c101 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 Dfbcon_cw.c86 struct fb_image *image, u8 *buf, u8 *dst)
111 info->fbops->fb_imageblit(info, image);
118 struct fb_image image; local
133 image.fg_color = fg;
134 image.bg_color = bg;
135 image.dx = vxres - ((yy + 1) * vc->vc_font.height);
136 image.dy = xx * vc->vc_font.width;
137 image.width = vc->vc_font.height;
138 image.depth = 1;
152 image
83 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 Dvme_user.c53 * 0 = /dev/bus/vme/m0 First master image
54 * 1 = /dev/bus/vme/m1 Second master image
55 * 2 = /dev/bus/vme/m2 Third master image
56 * 3 = /dev/bus/vme/m3 Fourth master image
57 * 4 = /dev/bus/vme/s0 First slave image
58 * 5 = /dev/bus/vme/s1 Second slave image
59 * 6 = /dev/bus/vme/s2 Third slave image
60 * 7 = /dev/bus/vme/s3 Fourth slave image
90 #define PCI_BUF_SIZE 0x20000 /* Size of one slave image buffer */
93 * Structure to handle image relate
104 static struct image_desc image[VME_DEVS]; variable in typeref:struct:image_desc
[all...]
/drivers/video/fbdev/savage/
H A Dsavagefb_accel.c92 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/gpu/drm/qxl/
H A Dqxl_image.c35 struct qxl_drm_image *image,
51 list_add_tail(&chunk->head, &image->chunk_list);
61 struct qxl_drm_image *image; local
64 image = kmalloc(sizeof(struct qxl_drm_image), GFP_KERNEL);
65 if (!image)
68 INIT_LIST_HEAD(&image->chunk_list);
70 ret = qxl_alloc_bo_reserved(qdev, release, sizeof(struct qxl_image), &image->bo);
72 kfree(image);
76 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height);
78 qxl_bo_unref(&image
33 qxl_allocate_chunk(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image *image, unsigned int chunk_size) argument
109 struct qxl_image *image; local
[all...]
H A Dqxl_fb.c79 const struct fb_image *image)
91 if (image->depth == 1)
96 if (image) {
97 memcpy(&qxl_fb_image->fb_image, image,
107 struct fb_image *image = &qxl_fb_image.fb_image; local
121 image->dx = x1;
122 image->dy = y1;
123 image->width = x2 - x1;
124 image->height = y2 - y1;
125 image
77 qxl_fb_image_init(struct qxl_fb_image *qxl_fb_image, struct qxl_device *qdev, struct fb_info *info, const struct fb_image *image) argument
336 qxl_fb_imageblit_internal(struct fb_info *info, const struct fb_image *image) argument
348 qxl_fb_imageblit(struct fb_info *info, const struct fb_image *image) argument
[all...]
/drivers/media/usb/pwc/
H A Dpwc-uncompress.c39 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/fbdev/core/
H A Dcfbimgblt.c12 * 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 Dsysimgblt.c52 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 Dfbmem.c391 struct fb_image *image, int rotate)
396 fb_rotate_logo_ud(image->data, dst, image->width,
397 image->height);
398 image->dx = info->var.xres - image->width - image->dx;
399 image->dy = info->var.yres - image->height - image
390 fb_rotate_logo(struct fb_info *info, u8 *dst, struct fb_image *image, int rotate) argument
423 fb_do_show_logo(struct fb_info *info, struct fb_image *image, int rotate, unsigned int num) argument
461 struct fb_image image; local
[all...]
/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c72 * 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 Dnv04_fbcon.c77 nv04_fbcon_imageblit(struct fb_info *info, const struct fb_image *image) argument
86 uint32_t *data = (uint32_t *)image->data;
89 if (image->depth != 1)
96 width = ALIGN(image->width, 8);
97 dsize = ALIGN(width * image->height, 32) >> 5;
101 fg = ((uint32_t *) info->pseudo_palette)[image->fg_color];
102 bg = ((uint32_t *) info->pseudo_palette)[image->bg_color];
104 fg = image->fg_color;
105 bg = image->bg_color;
109 OUT_RING(chan, (image
[all...]
H A Dnouveau_fbcon.h54 int nv04_fbcon_imageblit(struct fb_info *info, const struct fb_image *image);
59 int nv50_fbcon_imageblit(struct fb_info *info, const struct fb_image *image);
64 int nvc0_fbcon_imageblit(struct fb_info *info, const struct fb_image *image);
H A Dnv50_fbcon.c93 nv50_fbcon_imageblit(struct fb_info *info, const struct fb_image *image) argument
98 uint32_t width, dwords, *data = (uint32_t *)image->data;
103 if (image->depth != 1)
110 width = ALIGN(image->width, 32);
111 dwords = (width * image->height) >> 5;
116 OUT_RING(chan, palette[image->bg_color] | mask);
117 OUT_RING(chan, palette[image->fg_color] | mask);
119 OUT_RING(chan, image->bg_color);
120 OUT_RING(chan, image->fg_color);
123 OUT_RING(chan, image
[all...]
H A Dnvc0_fbcon.c93 nvc0_fbcon_imageblit(struct fb_info *info, const struct fb_image *image) argument
98 uint32_t width, dwords, *data = (uint32_t *)image->data;
103 if (image->depth != 1)
110 width = ALIGN(image->width, 32);
111 dwords = (width * image->height) >> 5;
116 OUT_RING (chan, palette[image->bg_color] | mask);
117 OUT_RING (chan, palette[image->fg_color] | mask);
119 OUT_RING (chan, image->bg_color);
120 OUT_RING (chan, image->fg_color);
123 OUT_RING (chan, image
[all...]
/drivers/video/fbdev/aty/
H A Dmach64_accel.c282 void atyfb_imageblit(struct fb_info *info, const struct fb_image *image) argument
285 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width;
290 if (!image->width || !image->height)
293 (image->depth != 1 && info->var.bits_per_pixel != image->depth)) {
294 cfb_imageblit(info, image);
301 switch (image
[all...]
H A Dmach64_cursor.c90 x = cursor->image.dx - cursor->hot.x - info->var.xoffset;
98 y = cursor->image.dy - cursor->hot.y - info->var.yoffset;
106 h = cursor->image.height;
127 fg_idx = cursor->image.fg_color;
128 bg_idx = cursor->image.bg_color;
144 u8 *src = (u8 *)cursor->image.data;
147 unsigned int width = (cursor->image.width + 7) >> 3;
148 unsigned int height = cursor->image.height;
154 // Clear cursor image with 1010101010...
182 if ((j + 1) * 8 > cursor->image
[all...]
/drivers/pci/
H A Drom.c60 * pci_get_rom_size - obtain the actual size of the ROM image
62 * @rom: kernel virtual pointer to image of ROM
64 * return: size of actual ROM image
66 * Determine the actual length of the ROM image.
68 * actual image size.
72 void __iomem *image; local
75 image = rom;
79 if (readb(image) != 0x55) {
83 if (readb(image + 1) != 0xAA)
86 pds = image
[all...]
/drivers/video/fbdev/nvidia/
H A Dnv_accel.c351 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/vme/bridges/
H A Dvme_ca91cx42.c341 static int ca91cx42_slave_set(struct vme_slave_resource *image, int enabled, argument
351 ca91cx42_bridge = image->parent;
355 i = image->number;
447 static int ca91cx42_slave_get(struct vme_slave_resource *image, int *enabled, argument
455 bridge = image->parent->driver_priv;
457 i = image->number;
507 static int ca91cx42_alloc_resource(struct vme_master_resource *image, argument
515 ca91cx42_bridge = image->parent;
524 existing_size = (unsigned long long)(image->bus_resource.end -
525 image
589 ca91cx42_free_resource(struct vme_master_resource *image) argument
599 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
756 __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
843 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
859 ca91cx42_master_read(struct vme_master_resource *image, void *buf, size_t count, loff_t offset) argument
918 ca91cx42_master_write(struct vme_master_resource *image, void *buf, size_t count, loff_t offset) argument
973 ca91cx42_master_rmw(struct vme_master_resource *image, unsigned int mask, unsigned int compare, unsigned int swap, loff_t offset) argument
[all...]
/drivers/firmware/efi/libstub/
H A Darm-stub.c48 efi_loaded_image_t *image = __image; local
52 void *handle = (void *)(unsigned long)image->device_handle;
150 * arm64 regarding where the kernel image must be loaded and any memory that
160 efi_loaded_image_t *image);
170 efi_loaded_image_t *image; local
193 * Get a handle to the loaded image protocol. This is used to get
194 * information about the running image, such as size and the command
198 &loaded_image_proto, (void *)&image);
200 pr_efi_err(sys_table, "Failed to get loaded image protocol\n");
212 dram_base, image);
[all...]
/drivers/gpu/ipu-v3/
H A Dipu-cpmem.c592 int ipu_cpmem_set_image(struct ipuv3_channel *ch, struct ipu_image *image) argument
594 struct v4l2_pix_format *pix = &image->pix;
601 ipu_cpmem_set_resolution(ch, image->rect.width, image->rect.height);
609 offset = Y_OFFSET(pix, image->rect.left, image->rect.top);
610 u_offset = U_OFFSET(pix, image->rect.left,
611 image->rect.top) - offset;
612 v_offset = V_OFFSET(pix, image->rect.left,
613 image
[all...]

Completed in 442 milliseconds

123456