/solaris-x11-s12/open-src/kernel/drm/src/ |
H A D | drm_linux.c | 70 kfree(void *buf, size_t size) { argument
|
H A D | drm_pci.c | 49 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 D | drm_sun_pci.c | 120 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 D | drm_memory.c | 49 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 D | drm_mm.c | 107 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...] |
H A D | drm_bufs.c | 114 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 550 int size; local 701 int size; local 1079 uint_t size, foff; local 1202 drm_order(unsigned long size) argument [all...] |
H A D | drm_gem.c | 136 size_t size, int flag) 140 pgcnt_t real_pgcnt, pgcnt = btopr(size); 210 size_t size, int flag) 213 pgcnt_t pgcnt = btopr(size); 229 obj->real_size = size; 235 size_t size, int gen) 247 ret = drm_gem_object_alloc_internal_mempool(obj, size, mode); 251 ret = drm_gem_object_alloc_internal_normal(dev, obj, size, 0); 271 * Initialize an already allocate GEM object of the specified size with 276 size_t size, in 135 drm_gem_object_alloc_internal_normal(struct drm_device *dev, struct drm_gem_object *obj, size_t size, int flag) argument 209 drm_gem_object_alloc_internal_mempool(struct drm_gem_object *obj, size_t size, int flag) argument 234 drm_gem_object_internal(struct drm_device *dev, struct drm_gem_object *obj, size_t size, int gen) argument 275 drm_gem_object_init(struct drm_device *dev, struct drm_gem_object *obj, size_t size, int gen) argument 350 drm_gem_private_object_init(struct drm_device *dev, struct drm_gem_object *obj, size_t size) argument 368 drm_gem_object_alloc(struct drm_device *dev, size_t size) argument [all...] |
H A D | drm_fb_helper.c | 407 * the fb is allocated (since we need to figure out the desired size of 953 int size, pitch; local 956 size = ALIGN(pitch *fb_info.yres, PAGE_SIZE); 957 return size;
|
/solaris-x11-s12/open-src/lib/libdga/sun-src/ |
H A D | pix_grab.h | 52 u_int size; /* client file size */ member in struct:shpx_client_entry
|
H A D | rtn_grab.c | 627 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 D | dga_pixshared.h | 52 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 D | pix_grab.c | 104 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); 229 shpx_client_directory[i].size = shpx_dir[0].shpx_entry_0.s_size; 416 shpx_client_directory[i].size = 0;
|
H A D | dga_Xrequests.c | 138 int size; local 141 size = (getrlimit(RLIMIT_NOFILE, &rl) < 0) ? 143 if (size < (dpy->fd + 1)) 147 size) : 148 malloc(sizeof(struct dga_extinfo *) * size)); 155 (size - dga_extinfo_table_size)); 156 dga_extinfo_table_size = size;
|
/solaris-x11-s12/open-src/kernel/i915/src/ |
H A D | intel_fb.c | 52 int size, ret; local 68 size = mode_cmd.pitches[0] * mode_cmd.height; 69 size = ALIGN(size, PAGE_SIZE);
|
H A D | i915_gem_stolen.c | 97 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 D | i915_gem_tiling.c | 181 * 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 D | intel_bios.c | 164 * 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...] |
H A D | i915_gem_execbuffer.c | 45 eb_create(int size, struct drm_file *file_priv) argument 52 eb->and = size; 149 if (reloc->offset > obj->base.size - 4) { 151 "obj %p target %d offset %d size %d.\n", 154 (int) obj->base.size);
|
H A D | intel_ringbuffer.h | 100 int size; member in struct:intel_ring_buffer 310 int intel_render_ring_init_dri(struct drm_device *dev, u64 start, u32 size);
|
/solaris-x11-s12/open-src/kernel/sys/drm/ |
H A D | drm_sun_pci.h | 37 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 D | drm_mm.h | 61 unsigned long size; member in struct:drm_mm_node 127 unsigned long size, 130 unsigned long size, 136 unsigned long size, 143 unsigned long size, 147 unsigned long size, 152 unsigned long size, 159 unsigned long size, 166 unsigned long size, 170 unsigned long size, [all...] |
H A D | drm_io32.h | 58 uint32_t size; member in struct:drm_map_32 85 int count; /* Number of buffers of this size */ 86 int size; /* Size in bytes */ member in struct:drm_buf_desc_32 103 int total; /* Buffer size */ 124 uint32_t size; /* In bytes -- will round to page boundary */ member in struct:drm_agp_buffer32 148 uint32_t size; /* In bytes -- will round to page boundary */ member in struct:drm_scatter_gather_32
|
/solaris-x11-s12/open-src/driver/xf86-video-ast/sun-src/src/ |
H A D | ast_sparc_driver.c | 121 pciInfo->regions[i].size = AST_REG_SIZE_LOG2; 189 unsigned long base, unsigned long size) 205 realSize = size + (pageSize - 1) & (~(pageSize - 1)); 226 ASTUnmapVidMem(ScrnInfoPtr pScrn, pointer base, unsigned long size) argument 230 munmap((caddr_t)((memType)base - alignOff), (size + alignOff)); 188 ASTMapVidMem(ScrnInfoPtr pScrn, unsigned int flags, CARD32 pciTag, unsigned long base, unsigned long size) argument
|
/solaris-x11-s12/open-src/app/dsession/sun-src/ |
H A D | dsession.c | 100 cmd_exec(char *cmd, char *output, size_t size) argument 187 if (output && (size > 0)) { 188 buf = malloc(size); 190 while (fgets(buf, size, fd) != NULL) { 193 strlcpy(output, buf, size);
|
/solaris-x11-s12/open-src/app/xmag_multivis/sun-src/ |
H A D | multivis.c | 65 request_height; /* size of requested rectangle */ 185 int wi, int hi, /* size of requested rectangle */ 452 int size = pVis->colormap_size; local 455 pCmp->Colors = pCol = (XColor *)calloc((sizeof(XColor)), size); 460 for (i = 0; i < (unsigned long)(size);i++, pCol++) { 467 for (i = 0; i < (unsigned long)(size);) { 471 XQueryColors(mvDpy, pCmp->cmap, pCmp->Colors, size);
|