Searched refs:area (Results 1 - 25 of 107) sorted by relevance

12345

/drivers/staging/omapdrm/
H A Dtcm.h50 /* 1d or 2d area */
52 bool is2d; /* whether area is 1d or 2d */
70 struct tcm_area *area);
71 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area);
72 s32 (*free) (struct tcm *tcm, struct tcm_area *area);
86 * area pointer is NULL
112 * Reserves a 2D area in the container.
115 * @param height Height(in pages) of area to be reserved.
116 * @param width Width(in pages) of area to be reserved.
117 * @param align Alignment requirement for top-left corner of area
129 tcm_reserve_2d(struct tcm *tcm, u16 width, u16 height, u16 align, struct tcm_area *area) argument
161 tcm_reserve_1d(struct tcm *tcm, u32 slots, struct tcm_area *area) argument
191 tcm_free(struct tcm_area *area) argument
239 tcm_area_is_valid(struct tcm_area *area) argument
272 __tcm_area_width(struct tcm_area *area) argument
278 __tcm_area_height(struct tcm_area *area) argument
284 __tcm_sizeof(struct tcm_area *area) argument
[all...]
H A Dtcm-sita.c35 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 Domap_dmm_tiler.c174 static int dmm_txn_append(struct dmm_txn *txn, struct pat_area *area, argument
181 int columns = (1 + area->x1 - area->x0);
182 int rows = (1 + area->y1 - area->y0);
186 (area->y0 * omap_dmm->lut_width) + area->x0;
193 pat->area = *area;
270 static int fill(struct tcm_area *area, struc argument
520 struct tcm_area area = {0}; local
[all...]
H A Domap_fbdev.c67 const struct fb_copyarea *area)
69 sys_copyarea(fbi, area);
70 omap_fbdev_flush(fbi, area->dx, area->dy, area->width, area->height);
326 /* 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/
H A Dwmt_ge_rops.h4 const struct fb_copyarea *area);
H A Ddnfb.c108 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 Dhgafb.c477 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 Dwmt_ge_rops.c85 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 Dvga16fb.c956 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...]
H A Dsyscopyarea.c315 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 Dsvgalib.c217 /* 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/video/sis/
H A Dsis_accel.c369 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/mb862xx/
H A Dmb862xxfb_accel.c47 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/iommu/
H A Domap-iovmm.c155 /* map 'sglist' to a contiguous mpu virtual area and return 'va' */
242 struct iovm_struct *area; local
245 area = __find_iovm_area(obj, da);
248 return area;
253 * This finds the hole(area) which fits the requested address and len
331 static void free_iovm_area(struct omap_iommu *obj, struct iovm_struct *area) argument
335 BUG_ON(!obj || !area);
337 bytes = area->da_end - area->da_start;
340 __func__, area
358 struct iovm_struct *area; local
462 unmap_iovm_area(struct iommu_domain *domain, struct omap_iommu *obj, struct iovm_struct *area) argument
502 struct iovm_struct *area; local
[all...]
H A Domap-iommu-debug.c264 struct iovm_struct *area; local
276 area = omap_find_iovm_area(dev, (u32)ppos);
277 if (!area) {
281 memcpy(p, area->va, count);
296 struct iovm_struct *area; local
313 area = omap_find_iovm_area(dev, (u32)ppos);
314 if (!area) {
318 memcpy(area->va, p, count);
/drivers/video/aty/
H A Dradeon_accel.c98 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 Dmach64_accel.c195 void atyfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) argument
198 u32 dy = area->dy, sy = area->sy, direction = DST_LAST_PEL;
199 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0;
203 if (!area->width || !area->height)
206 cfb_copyarea(info, area);
218 if (area
[all...]
/drivers/video/matrox/
H A Dmatroxfb_accel.c104 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);
277 static void matroxfb_cfb4_copyarea(struct fb_info* info, const struct fb_copyarea* area) { argument
280 if ((area->sx | area->dx | area->width) & 1)
281 cfb_copyarea(info, area);
283 matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area
286 matroxfb_copyarea(struct fb_info* info, const struct fb_copyarea* area) argument
[all...]
/drivers/staging/zsmalloc/
H A Dzsmalloc-main.c439 struct mapping_area *area; local
443 area = &per_cpu(zs_map_area, cpu);
444 if (area->vm)
446 area->vm = alloc_vm_area(2 * PAGE_SIZE, area->vm_ptes);
447 if (!area->vm)
452 area = &per_cpu(zs_map_area, cpu);
453 if (area->vm)
454 free_vm_area(area->vm);
455 area
679 struct mapping_area *area; local
719 struct mapping_area *area; local
[all...]
/drivers/video/console/
H A Dtileblit.c22 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/md/
H A Ddm-snap-persistent.c109 void *area; member in struct:pstore
112 * An area of zeros used to clear the next area.
117 * An area used for header. The header can be written
124 * Used to keep track of which metadata area the data in
151 * metadata area.
172 * a single metadata area.
174 ps->area = vmalloc(len);
175 if (!ps->area)
192 vfree(ps->area);
230 chunk_io(struct pstore *ps, void *area, chunk_t chunk, int rw, int metadata) argument
267 area_location(struct pstore *ps, chunk_t area) argument
295 zero_disk_area(struct pstore *ps, chunk_t area) argument
[all...]
/drivers/mtd/maps/
H A Dplat-ram.c47 struct resource *area; member in struct:platram_info
105 if (info->area) {
106 release_resource(info->area);
107 kfree(info->area);
174 /* register our usage of the memory area */
176 info->area = request_mem_region(res->start, info->map.size, pdev->name);
177 if (info->area == NULL) {
183 /* remap the memory area */
/drivers/xen/xenbus/
H A Dxenbus_client.c53 struct vm_struct *area; /* PV */ member in union:xenbus_map_node::__anon5994
476 struct vm_struct *area; local
485 area = alloc_vm_area(PAGE_SIZE, &pte);
486 if (!area) {
497 free_vm_area(area);
506 node->area = area;
512 *vaddr = area->addr;
618 if (node->area->addr == vaddr) {
641 free_vm_area(node->area);
[all...]
/drivers/mtd/onenand/
H A Domap2.c283 static inline int omap2_onenand_bufferram_offset(struct mtd_info *mtd, int area) argument
288 if (area == ONENAND_DATARAM)
290 if (area == ONENAND_SPARERAM)
299 static int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area, argument
312 bram_offset = omap2_onenand_bufferram_offset(mtd, area) + area + offset;
377 static int omap3_onenand_write_bufferram(struct mtd_info *mtd, int area, argument
389 bram_offset = omap2_onenand_bufferram_offset(mtd, area) + area + offset;
450 int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area,
462 omap2_onenand_read_bufferram(struct mtd_info *mtd, int area, unsigned char *buffer, int offset, size_t count) argument
507 omap2_onenand_write_bufferram(struct mtd_info *mtd, int area, const unsigned char *buffer, int offset, size_t count) argument
[all...]
/drivers/uwb/
H A Dwhc-rc.c67 unsigned long area; member in struct:whcrc
224 whcrc->area = umc_dev->resource.start;
227 if (request_mem_region(whcrc->area, whcrc->rc_len, KBUILD_MODNAME) == NULL) {
229 whcrc->rc_len, whcrc->area, result);
233 whcrc->rc_base = ioremap_nocache(whcrc->area, whcrc->rc_len);
236 whcrc->rc_len, whcrc->area, result);
272 release_mem_region(whcrc->area, whcrc->rc_len);
292 release_mem_region(whcrc->area, whcrc->rc_len);

Completed in 325 milliseconds

12345