Searched defs:size (Results 1 - 25 of 76) sorted by relevance

1234

/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_linux.c70 kfree(void *buf, size_t size) { argument
H A Ddrm_pci.c49 unsigned long size; member in struct:drm_pci_resource
88 if (map->handle && map->size)
126 drm_pci_alloc(struct drm_device *dev, size_t size, argument
146 if (ddi_dma_mem_alloc(dmah->dma_hdl, size, &hw_acc_attr,
208 resp->size =
249 return (res.size);
H A Ddrm_sun_pci.c120 pdev->regions[i].size =
180 u8* pci_map_rom(struct pci_dev *pdev, size_t *size) argument
185 *size = 0x20000;
187 return (u8*)drm_sun_ioremap(base, *size, DRM_MEM_UNCACHED);
H A Ddrm_memory.c49 uint_t size; /* size of mapping */ member in struct:drm_device_iomap
55 drm_alloc(size_t size, int area) argument
59 return (kmem_zalloc(1 * size, KM_NOSLEEP));
63 drm_calloc(size_t nmemb, size_t size, int area) argument
67 return (kmem_zalloc(size * nmemb, KM_NOSLEEP));
71 drm_realloc(void *oldpt, size_t oldsize, size_t size, int area) argument
77 pt = kmem_zalloc(1 * size, KM_NOSLEEP);
83 bcopy(oldpt, pt, min(oldsize, size));
90 drm_free(void *pt, size_t size, in argument
99 drm_get_pci_index_reg(dev_info_t *dip, uint_t paddr, uint_t size, off_t *off) argument
218 size_t size; member in struct:drm_iomem
225 drm_sun_ioremap(uint64_t paddr, size_t size, uint32_t mode) argument
[all...]
H A Ddrm_bufs.c114 unsigned long size, enum drm_map_type type,
129 map->size = size;
141 DRM_DEBUG("offset = 0x%08llx, size = 0x%08lx, type = %d\n",
142 (unsigned long long)map->offset, map->size, map->type);
149 map->size = PAGE_ALIGN(map->size);
151 if ((map->offset & (~(resource_size_t)PAGE_MASK)) || (map->size & (~PAGE_MASK))) {
156 if (map->offset + map->size < map->offset) {
173 if (list->map->size !
113 drm_addmap_core(struct drm_device *dev, unsigned long offset, unsigned long size, enum drm_map_type type, enum drm_map_flags flags, struct drm_map_list ** maplist) argument
315 drm_addmap(struct drm_device *dev, unsigned long offset, unsigned long size, enum drm_map_type type, enum drm_map_flags flags, struct drm_local_map ** map_ptr) argument
547 int size; local
698 int size; local
1076 uint_t size, foff; local
1199 drm_order(unsigned long size) argument
[all...]
H A Ddrm_gem.c134 size_t size, int flag)
138 pgcnt_t real_pgcnt, pgcnt = btopr(size);
208 size_t size, int flag)
211 pgcnt_t pgcnt = btopr(size);
227 obj->real_size = size;
233 size_t size, int gen)
245 ret = drm_gem_object_alloc_internal_mempool(obj, size, mode);
249 ret = drm_gem_object_alloc_internal_normal(dev, obj, size, 0);
269 * Initialize an already allocate GEM object of the specified size with
274 size_t size, in
133 drm_gem_object_alloc_internal_normal(struct drm_device *dev, struct drm_gem_object *obj, size_t size, int flag) argument
207 drm_gem_object_alloc_internal_mempool(struct drm_gem_object *obj, size_t size, int flag) argument
232 drm_gem_object_internal(struct drm_device *dev, struct drm_gem_object *obj, size_t size, int gen) argument
273 drm_gem_object_init(struct drm_device *dev, struct drm_gem_object *obj, size_t size, int gen) argument
348 drm_gem_private_object_init(struct drm_device *dev, struct drm_gem_object *obj, size_t size) argument
366 drm_gem_object_alloc(struct drm_device *dev, size_t size) argument
[all...]
H A Ddrm_mm.c107 unsigned long size, unsigned alignment,
133 node->size = size;
141 BUG_ON(node->start + node->size > adj_end);
152 unsigned long size,
156 unsigned long end = start + size;
169 node->size = size;
190 DRM_ERROR("no hole found for block 0x%lx + 0x%lx\n", start, size);
195 unsigned long size,
105 drm_mm_insert_helper(struct drm_mm_node *hole_node, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color) argument
150 drm_mm_create_block(struct drm_mm *mm, unsigned long start, unsigned long size, bool atomic) argument
194 drm_mm_get_block_generic(struct drm_mm_node *hole_node, unsigned long size, unsigned alignment, unsigned long color, int atomic) argument
216 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color) argument
231 drm_mm_insert_node(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment) argument
237 drm_mm_insert_helper_range(struct drm_mm_node *hole_node, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end) argument
289 drm_mm_get_block_range_generic(struct drm_mm_node *hole_node, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end, int atomic) argument
314 drm_mm_insert_node_in_range_generic(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end) argument
332 drm_mm_insert_node_in_range(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long start, unsigned long end) argument
394 check_free_hole(unsigned long start, unsigned long end, unsigned long size, unsigned alignment) argument
409 drm_mm_search_free_generic(const struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color, bool best_match) argument
448 drm_mm_search_free_in_range_generic(const struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end, bool best_match) argument
520 drm_mm_init_scan(struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color) argument
544 drm_mm_init_scan_with_range(struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end) argument
658 drm_mm_init(struct drm_mm * mm, unsigned long start, unsigned long size) argument
769 drm_mm_get_block(struct drm_mm_node *parent, unsigned long size, unsigned alignment) argument
775 drm_mm_get_block_atomic(struct drm_mm_node *parent, unsigned long size, unsigned alignment) argument
781 drm_mm_get_block_range( struct drm_mm_node *parent, unsigned long size, unsigned alignment, unsigned long start, unsigned long end) argument
791 drm_mm_get_block_atomic_range( struct drm_mm_node *parent, unsigned long size, unsigned alignment, unsigned long start, unsigned long end) argument
802 drm_mm_search_free(const struct drm_mm *mm, unsigned long size, unsigned alignment, bool best_match) argument
809 drm_mm_search_free_in_range( const struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long start, unsigned long end, bool best_match) argument
[all...]
/solaris-x11-s11/open-src/lib/libdga/sun-src/
H A Dpix_grab.h52 u_int size; /* client file size */ member in struct:shpx_client_entry
H A Drtn_grab.c627 size_t size; local
728 size = strlen(path);
729 (void) sprintf(path+size, "%01x.%08x", port, win);
752 * Check the state of the file. If the size of the file
765 (void) fprintf(stderr, "_dga_rtn_map: file not correct size, %ld\n",
H A Ddga_pixshared.h52 u_int s_size; /* current total file size */
64 u_int size; /* total size of this pixmap */ member in struct:shpx_entry
90 u_int s_size; /* server's size of pixel array */
H A Dpix_grab.c104 size_t size; local
154 shpx_client_directory[i].size = 0;
198 size = strlen(c_fn);
199 sprintf(c_fn+size,"%01x.%08x", port, token);
227 shpx_client_directory[i].size = shpx_dir[0].shpx_entry_0.s_size;
415 shpx_client_directory[i].size = 0;
/solaris-x11-s11/open-src/kernel/i915/src/
H A Dintel_fb.c52 int size, ret; local
68 size = mode_cmd.pitches[0] * mode_cmd.height;
69 size = ALIGN(size, PAGE_SIZE);
H A Di915_gem_stolen.c97 static int i915_setup_compression(struct drm_device *dev, int size) argument
104 size <<= 1, 4096, 0);
107 size >>= 1, 4096, 0);
109 compressed_fb = drm_mm_get_block(compressed_fb, size, 4096);
135 dev_priv->cfb_size = size;
138 size);
148 int i915_gem_stolen_setup_compression(struct drm_device *dev, int size) argument
155 if (size < dev_priv->cfb_size)
161 return i915_setup_compression(dev, size);
216 u32 offset, u32 size)
306 i915_gem_object_create_stolen(struct drm_device *dev, u32 size) argument
338 i915_gem_object_create_stolen_for_preallocated(struct drm_device *dev, u32 stolen_offset, u32 gtt_offset, u32 size) argument
[all...]
H A Di915_gem_tiling.c181 * slot fill memory size swizzling
192 * the minimum size of a rank.
209 i915_tiling_ok(struct drm_device *dev, int stride, int size, int tiling_mode) argument
223 /* check maximum stride & object size */
225 * reg, so dont bother to check the size */
237 if (size > I830_FENCE_MAX_SIZE_VAL << 20)
240 if (size > I830_FENCE_MAX_SIZE_VAL << 19)
266 u32 size; local
282 size = i915_gem_get_gtt_size(obj->base.dev, obj->base.size, tiling_mod
[all...]
H A Dintel_bios.c164 * the size of fp_timing varies on the different platform.
409 /* judge whether the size of child device meets the requirements.
410 * If the child device size obtained from general definition block
415 /* different child dev size . Ignore it */
416 DRM_DEBUG_KMS("different child size is found. Invalid.\n");
419 /* get the block size of general definitions */
593 /* judge whether the size of child device meets the requirements.
594 * If the child device size obtained from general definition block
599 /* different child dev size . Ignore it */
600 DRM_DEBUG_KMS("different child size i
703 size_t size; local
[all...]
/solaris-x11-s11/open-src/kernel/efb/src/
H A Dradeon_mem.c48 split_block(struct mem_block *p, int start, int size, drm_file_t *filp) argument
57 newblock->size = p->size - (start - p->start);
63 p->size -= newblock->size;
68 if (size < p->size) {
73 newblock->start = start + size;
74 newblock->size = p->size
90 alloc_block(struct mem_block *heap, int size, int align2, drm_file_t *filp) argument
146 init_heap(struct mem_block **heap, int start, int size) argument
[all...]
H A Ddrm_memory.c44 uint_t size; /* size of mapping */ member in struct:drm_device_iomap
51 drm_alloc(size_t size, int area) argument
55 return (kmem_zalloc(1 * size, KM_SLEEP));
59 drm_calloc(size_t nmemb, size_t size, int area) argument
63 return (kmem_zalloc(size * nmemb, KM_SLEEP));
67 drm_realloc(void *oldpt, size_t oldsize, size_t size, int area) argument
73 pt = kmem_zalloc(1 * size, KM_NOSLEEP);
79 bcopy(oldpt, pt, min(oldsize, size));
86 drm_free(void *pt, size_t size, in argument
94 drm_get_pci_index_reg(dev_info_t *devi, uint_t physical, uint_t size, off_t *off) argument
[all...]
H A Ddrm_bufs.c53 drm_order(unsigned long size) argument
56 unsigned long tmp = size;
61 if (size & ~(1 << order))
83 unsigned long size, drm_map_type_t type,
102 if ((offset & PAGE_MASK) || (size & PAGE_MASK))
104 if (offset + size < offset)
125 map->size = size;
142 map->handle = ddi_umem_alloc(map->size,
185 kva = gfxp_map_kernel_space(map->offset, map->size,
82 drm_addmap(drm_device_t *dev, unsigned long offset, unsigned long size, drm_map_type_t type, drm_map_flags_t flags, drm_local_map_t **map_ptr) argument
420 int size; local
528 int size; local
800 uint_t size; local
[all...]
H A Ddrm_pci.c49 unsigned long size; member in struct:drm_pci_resource
155 if (map->handle && map->size)
213 drm_pci_alloc(drm_device_t *dev, size_t size, argument
236 if (ret = ddi_dma_mem_alloc(dmah->dma_hdl, size, &hw_acc_attr,
302 resp->size =
343 return (res.size);
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_sun_pci.h37 unsigned long size; member in struct:pci_config_region
64 #define pci_resource_len(pdev, bar) ((pdev)->regions[(bar)].size)
71 extern uint8_t* pci_map_rom(struct pci_dev *pdev, size_t *size);
H A Ddrm_mm.h59 unsigned long size; member in struct:drm_mm_node
125 unsigned long size,
128 unsigned long size,
134 unsigned long size,
141 unsigned long size,
145 unsigned long size,
150 unsigned long size,
157 unsigned long size,
164 unsigned long size,
168 unsigned long size,
[all...]
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1StripChart.c78 /* size */ sizeof(StripChartRec),
286 /* Blts data according to current size, then redraws the stripChart window.
469 Cardinal size; local
478 size = sizeof(XPoint) * (w->strip_chart.scale - 1);
480 points = (XPoint *) XtRealloc( (XtPointer) w->strip_chart.points, size);
H A DXaw3_1PanedP.h80 Dimension preferred_size; /* The Preferred size of the pane.
81 Iff this is zero then ask child for size.*/
82 Boolean resize_to_pref; /* resize this pane to its preferred size
91 Dimension wp_size; /* widget's preferred size */
92 int size; /* the size the widget will actually get. */ member in struct:_PanedConstraintsPart
108 int start_size; /* The size of this element when it was pushed
144 preferred size. */
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DStripChart.c93 /* size */ sizeof(StripChartRec),
300 /* Blts data according to current size, then redraws the stripChart window.
495 Cardinal size; local
504 size = sizeof(XPoint) * (w->strip_chart.scale - 1);
506 points = (XPoint *) XtRealloc( (XtPointer) w->strip_chart.points, size);
/solaris-x11-s11/open-src/driver/xf86-video-ast/sun-src/src/
H A Dast_sparc_driver.c121 pciInfo->regions[i].size = AST_REG_SIZE_LOG2;
189 unsigned long base, unsigned long size)
206 realSize = size + (pageSize - 1) & (~(pageSize - 1));
233 ASTUnmapVidMem(ScrnInfoPtr pScrn, pointer base, unsigned long size) argument
237 munmap((caddr_t)((memType)base - alignOff), (size + alignOff));
188 ASTMapVidMem(ScrnInfoPtr pScrn, unsigned int flags, PCITAG pciTag, unsigned long base, unsigned long size) argument

Completed in 52 milliseconds

1234