/drivers/gpu/drm/omapdrm/ |
H A D | tcm.h | 50 /* 1d or 2d area */ 52 bool is2d; /* whether area is 1d or 2d */ 72 struct tcm_area *area); 73 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area); 74 s32 (*free) (struct tcm *tcm, struct tcm_area *area); 88 * area pointer is NULL 114 * Reserves a 2D area in the container. 117 * @param height Height(in pages) of area to be reserved. 118 * @param width Width(in pages) of area to be reserved. 119 * @param align Alignment requirement for top-left corner of area 131 tcm_reserve_2d(struct tcm *tcm, u16 width, u16 height, u16 align, struct tcm_area *area) argument 163 tcm_reserve_1d(struct tcm *tcm, u32 slots, struct tcm_area *area) argument 193 tcm_free(struct tcm_area *area) argument 241 tcm_area_is_valid(struct tcm_area *area) argument 274 __tcm_area_width(struct tcm_area *area) argument 280 __tcm_area_height(struct tcm_area *area) argument 286 __tcm_sizeof(struct tcm_area *area) argument [all...] |
H A D | tcm-sita.c | 35 struct tcm_area *area); 36 static s32 sita_reserve_1d(struct tcm *tcm, u32 slots, struct tcm_area *area); 37 static s32 sita_free(struct tcm *tcm, struct tcm_area *area); 44 struct tcm_area *area); 47 struct tcm_area *field, struct tcm_area *area); 50 struct tcm_area *field, struct tcm_area *area); 53 struct tcm_area *field, struct tcm_area *area); 68 static void get_neighbor_stats(struct tcm *tcm, struct tcm_area *area, 72 struct tcm_area *area, struct tcm_area *parent); 84 struct tcm_area area local 152 struct tcm_area area = {0}; local 177 sita_reserve_1d(struct tcm *tcm, u32 num_slots, struct tcm_area *area) argument 208 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u8 align, struct tcm_area *area) argument 236 sita_free(struct tcm *tcm, struct tcm_area *area) argument 274 scan_r2l_t2b(struct tcm *tcm, u16 w, u16 h, u16 align, struct tcm_area *field, struct tcm_area *area) argument 348 scan_l2r_t2b(struct tcm *tcm, u16 w, u16 h, u16 align, struct tcm_area *field, struct tcm_area *area) argument 424 scan_r2l_b2t_one_dim(struct tcm *tcm, u32 num_slots, struct tcm_area *field, struct tcm_area *area) argument 502 scan_areas_and_find_fit(struct tcm *tcm, u16 w, u16 h, u16 align, struct tcm_area *area) argument 572 fill_area(struct tcm *tcm, struct tcm_area *area, struct tcm_area *parent) argument 655 get_nearness_factor(struct tcm_area *field, struct tcm_area *area, struct nearness_factor *nf) argument 669 get_neighbor_stats(struct tcm *tcm, struct tcm_area *area, struct neighbor_stats *stat) argument [all...] |
H A D | omap_dmm_tiler.c | 199 static void dmm_txn_append(struct dmm_txn *txn, struct pat_area *area, argument 206 int columns = (1 + area->x1 - area->x0); 207 int rows = (1 + area->y1 - area->y0); 215 pat->area = *area; 218 pat->area.y0 += engine->tcm->y_offset; 219 pat->area.y1 += engine->tcm->y_offset; 297 static int fill(struct tcm_area *area, struc argument 581 struct tcm_area area = {0}; local 947 struct tcm_area area; local [all...] |
H A D | omap_fbdev.c | 67 const struct fb_copyarea *area) 69 sys_copyarea(fbi, area); 70 omap_fbdev_flush(fbi, area->dx, area->dy, area->width, area->height); 297 /* flush an area of the framebuffer (in case of manual update display that 66 omap_fbdev_copyarea(struct fb_info *fbi, const struct fb_copyarea *area) argument
|
/drivers/video/fbdev/ |
H A D | wmt_ge_rops.h | 6 const struct fb_copyarea *area); 23 const struct fb_copyarea *area) 25 sys_copyarea(p, area); 22 wmt_ge_copyarea(struct fb_info *p, const struct fb_copyarea *area) argument
|
H A D | dnfb.c | 108 static void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area); 148 void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument 156 incr = (area->dy <= area->sy) ? 1 : -1; 158 src = (ushort *)(info->screen_base + area->sy * info->fix.line_length + 159 (area->sx >> 4)); 160 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); 163 y_delta = (info->fix.line_length * 8) - area->sx - area [all...] |
H A D | hgafb.c | 477 static void hgafb_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument 483 if (area->dy <= area->sy) { 484 y1 = area->sy; 485 y2 = area->dy; 487 for (rows = area->height; rows--; ) { 488 src = rowaddr(info, y1) + (area->sx >> 3); 489 dest = rowaddr(info, y2) + (area->dx >> 3); 490 memmove(dest, src, (area->width >> 3)); 495 y1 = area [all...] |
H A D | wmt_ge_rops.c | 85 void wmt_ge_copyarea(struct fb_info *p, const struct fb_copyarea *area) argument 99 writel(area->sx, regbase + GE_SRCAREAX_OFF); 100 writel(area->sy, regbase + GE_SRCAREAY_OFF); 101 writel(area->width - 1, regbase + GE_SRCAREAW_OFF); 102 writel(area->height - 1, regbase + GE_SRCAREAH_OFF); 107 writel(area->dx, regbase + GE_DESTAREAX_OFF); 108 writel(area->dy, regbase + GE_DESTAREAY_OFF); 109 writel(area->width - 1, regbase + GE_DESTAREAW_OFF); 110 writel(area->height - 1, regbase + GE_DESTAREAH_OFF);
|
H A D | vga16fb.c | 956 static void vga_8planes_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument 967 height = area->height; 969 sx = area->sx / 4; 970 dx = area->dx / 4; 971 width = area->width / 4; 973 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) { 975 dest = info->screen_base + dx + area 1011 vga16fb_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument [all...] |
/drivers/video/fbdev/sis/ |
H A D | sis_accel.c | 369 void fbcon_sis_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument 374 int width = area->width; 375 int height = area->height; 382 cfb_copyarea(info, area); 387 area->sx >= vxres || area->sy >= vyres || 388 area->dx >= vxres || area->dy >= vyres) 392 if((area->sx + width) > vxres) width = vxres - area [all...] |
/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfb_accel.c | 47 const struct fb_copyarea *area) 56 if (area->sx >= area->dx && area->sy >= area->dy) 58 else if (area->sx >= area->dx && area->sy <= area->dy) 60 else if (area 46 mb86290fb_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument [all...] |
/drivers/video/fbdev/aty/ |
H A D | radeon_accel.c | 98 const struct fb_copyarea *area) 103 w = area->width; h = area->height; 104 dx = area->dx; dy = area->dy; 105 sx = area->sx; sy = area->sy; 134 void radeonfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument 139 modded.sx = area->sx; 140 modded.sy = area 97 radeonfb_prim_copyarea(struct radeonfb_info *rinfo, const struct fb_copyarea *area) argument [all...] |
H A D | mach64_accel.c | 196 void atyfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument 199 u32 dy = area->dy, sy = area->sy, direction = DST_LAST_PEL; 200 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; 204 if (!area->width || !area->height) 207 cfb_copyarea(info, area); 219 if (area [all...] |
/drivers/md/ |
H A D | dm-snap-persistent.c | 112 void *area; member in struct:pstore 115 * An area of zeros used to clear the next area. 120 * An area used for header. The header can be written 127 * Used to keep track of which metadata area the data in 154 * metadata area. 175 * a single metadata area. 177 ps->area = vmalloc(len); 178 if (!ps->area) 195 vfree(ps->area); 233 chunk_io(struct pstore *ps, void *area, chunk_t chunk, int rw, int metadata) argument 271 area_location(struct pstore *ps, chunk_t area) argument 307 zero_disk_area(struct pstore *ps, chunk_t area) argument 522 void *area; local [all...] |
/drivers/base/ |
H A D | dma-mapping.c | 282 struct vm_struct *area; local 284 area = get_vm_area_caller(size, vm_flags, caller); 285 if (!area) 288 area->pages = pages; 290 if (map_vm_area(area, prot, pages)) { 291 vunmap(area->addr); 295 return area->addr; 331 struct vm_struct *area = find_vm_area(cpu_addr); local 333 if (!area || (area [all...] |
/drivers/gpu/drm/qxl/ |
H A D | qxl_prime.c | 68 struct vm_area_struct *area) 67 qxl_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *area) argument
|
/drivers/video/console/ |
H A D | tileblit.c | 22 struct fb_tilearea area; local 24 area.sx = sx; 25 area.sy = sy; 26 area.dx = dx; 27 area.dy = dy; 28 area.height = height; 29 area.width = width; 31 info->tileops->fb_tilecopy(info, &area);
|
/drivers/video/fbdev/matrox/ |
H A D | matroxfb_accel.c | 104 static void matroxfb_copyarea(struct fb_info* info, const struct fb_copyarea* area); 108 static void matroxfb_cfb4_copyarea(struct fb_info* info, const struct fb_copyarea* area); 291 static void matroxfb_cfb4_copyarea(struct fb_info* info, const struct fb_copyarea* area) { argument 294 if ((area->sx | area->dx | area->width) & 1) 295 cfb_copyarea(info, area); 297 matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area 300 matroxfb_copyarea(struct fb_info* info, const struct fb_copyarea* area) argument [all...] |
/drivers/mtd/maps/ |
H A D | plat-ram.c | 46 struct resource *area; member in struct:platram_info 102 if (info->area) { 103 release_resource(info->area); 104 kfree(info->area); 170 /* register our usage of the memory area */ 172 info->area = request_mem_region(res->start, info->map.size, pdev->name); 173 if (info->area == NULL) { 179 /* remap the memory area */
|
/drivers/xen/xenbus/ |
H A D | xenbus_client.c | 55 struct vm_struct *area; /* PV */ member in union:xenbus_map_node::__anon7304 448 struct vm_struct *area; local 457 area = alloc_vm_area(PAGE_SIZE, &pte); 458 if (!area) { 468 free_vm_area(area); 477 node->area = area; 483 *vaddr = area->addr; 589 if (node->area->addr == vaddr) { 612 free_vm_area(node->area); [all...] |
/drivers/video/fbdev/core/ |
H A D | syscopyarea.c | 315 void sys_copyarea(struct fb_info *p, const struct fb_copyarea *area) argument 317 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; 318 u32 height = area->height, width = area->width; 327 /* if the beginning of the target area might overlap with the end of 328 the source area, be have to copy the area revers [all...] |
H A D | svgalib.c | 217 /* Copy area in text (tileblit) mode */ 218 void svga_tilecopy(struct fb_info *info, struct fb_tilearea *area) argument 227 if ((area->sy > area->dy) || 228 ((area->sy == area->dy) && (area->sx > area->dx))) { 229 src = fb + area->sx * colstride + area [all...] |
/drivers/mtd/onenand/ |
H A D | omap2.c | 280 static inline int omap2_onenand_bufferram_offset(struct mtd_info *mtd, int area) argument 285 if (area == ONENAND_DATARAM) 287 if (area == ONENAND_SPARERAM) 296 static int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area, argument 309 bram_offset = omap2_onenand_bufferram_offset(mtd, area) + area + offset; 374 static int omap3_onenand_write_bufferram(struct mtd_info *mtd, int area, argument 386 bram_offset = omap2_onenand_bufferram_offset(mtd, area) + area + offset; 447 static int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area, argument 454 omap3_onenand_write_bufferram(struct mtd_info *mtd, int area, const unsigned char *buffer, int offset, size_t count) argument 465 omap2_onenand_read_bufferram(struct mtd_info *mtd, int area, unsigned char *buffer, int offset, size_t count) argument 510 omap2_onenand_write_bufferram(struct mtd_info *mtd, int area, const unsigned char *buffer, int offset, size_t count) argument 557 omap2_onenand_read_bufferram(struct mtd_info *mtd, int area, unsigned char *buffer, int offset, size_t count) argument 564 omap2_onenand_write_bufferram(struct mtd_info *mtd, int area, const unsigned char *buffer, int offset, size_t count) argument [all...] |
/drivers/gpu/drm/cirrus/ |
H A D | cirrus_fbdev.c | 107 const struct fb_copyarea *area) 110 sys_copyarea(info, area); 111 cirrus_dirty_update(afbdev, area->dx, area->dy, area->width, 112 area->height); 106 cirrus_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument
|
/drivers/gpu/drm/mgag200/ |
H A D | mgag200_fb.c | 110 const struct fb_copyarea *area) 113 sys_copyarea(info, area); 114 mga_dirty_update(mfbdev, area->dx, area->dy, area->width, 115 area->height); 109 mga_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument
|