Searched defs:base (Results 1 - 25 of 39) sorted by relevance

12

/hardware/msm7k/libgralloc-qsd8k/
H A Dpmemalloc.h40 virtual int free_pmem_buffer(size_t size, void* base, int offset, int fd) = 0;
93 virtual int free_pmem_buffer(size_t size, void* base, int offset, int fd);
97 void set_master_values(int fd, void* base) { argument
99 master_base = base;
152 virtual int free_pmem_buffer(size_t size, void* base, int offset, int fd);
H A Dmapper.cpp68 hnd->base = 0;
71 hnd->base = intptr_t(mappedAddress) + hnd->offset;
75 *vaddr = (void*)hnd->base;
84 void* base = (void*)hnd->base; local
87 base = (void*)(intptr_t(base) - hnd->offset);
90 //ALOGD("unmapping from %p, size=%d", base, size);
91 if (munmap(base, size) < 0) {
95 hnd->base
[all...]
H A Dpmemalloc.cpp98 void* base = deps.mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, local
100 if (base == MAP_FAILED) {
104 base = 0;
109 master_base = base;
151 void* base = master_base; local
183 memset((char*)base + offset, 0, size);
184 *pBase = base;
196 int PmemUserspaceAllocator::free_pmem_buffer(size_t size, void* base, int offset, int fd)
282 void* base = deps.mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); local
283 if (base
303 free_pmem_buffer(size_t size, void* base, int offset, int fd) argument
[all...]
H A Dgpu.cpp38 common.module = const_cast<hw_module_t*>(&module->base.common);
81 intptr_t vaddr = intptr_t(m->framebuffer->base);
95 hnd->base = vaddr;
96 hnd->offset = vaddr - intptr_t(m->framebuffer->base);
120 void* base = 0; // XXX JMG: This should change to just get an address from local
121 // the PmemAllocator rather than getting the base & offset separately
165 err = pma->alloc_pmem_buffer(size, usage, &base, &offset, &fd);
189 hnd->base = int(base)+offset;
280 int index = (hnd->base
[all...]
H A Dgralloc_priv.h63 gralloc_module_t base; member in struct:private_module_t
117 int base; member in struct:private_handle_t
130 base(0), lockState(0), writeOwner(0), gpuaddr(0), pid(getpid())
/hardware/qcom/display/libgralloc/
H A Dmemalloc.h38 void *base; member in struct:gralloc::alloc_data
58 virtual int free_buffer(void *base, size_t size,
66 virtual int unmap_buffer(void *base, size_t size,
70 virtual int clean_buffer(void *base, size_t size,
H A Dionalloc.cpp75 void *base = 0; local
122 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE,
124 if(base == MAP_FAILED) {
132 memset(base, 0, ionAllocData.len);
134 clean_buffer(base, data.size, data.offset, fd_data.fd);
142 data.base = base;
145 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%d fd:%d",
146 data.base, ionAllocData.len, data.fd);
151 int IonAlloc::free_buffer(void* base, size_ argument
170 void *base = 0; local
191 unmap_buffer(void *base, size_t size, int offset) argument
203 clean_buffer(void *base, size_t size, int offset, int fd) argument
[all...]
H A Dfb_priv.h39 gralloc_module_t base; member in struct:private_module_t
H A Dmapper.cpp74 hnd->base = 0;
81 hnd->base = 0;
84 hnd->base = intptr_t(mappedAddress) + hnd->offset;
88 *vaddr = (void*)hnd->base;
98 void* base = (void*)hnd->base; local
102 err = memalloc->unmap_buffer(base, size, hnd->offset);
104 ALOGE("Could not unmap memory at address %p", base);
107 hnd->base = 0;
133 hnd->base
308 void* base = va_arg(args, void*); local
[all...]
H A Dgralloc_priv.h175 int base; member in struct:private_handle_t
195 bufferType(bufferType), base(0), gpuaddr(0),
/hardware/ril/reference-ril/
H A Dat_tok.c94 * "base" is the same as the base param in strtol
97 static int at_tok_nextint_base(char **p_cur, int *p_out, int base, int uns) argument
114 l = strtoul(ret, &end, base);
116 l = strtol(ret, &end, base);
129 * Parses the next base 10 integer in the AT response line
140 * Parses the next base 16 integer in the AT response line
/hardware/libhardware/modules/gralloc/
H A Dmapper.cpp59 hnd->base = intptr_t(mappedAddress) + hnd->offset;
63 *vaddr = (void*)hnd->base;
72 void* base = (void*)hnd->base; local
74 //ALOGD("unmapping from %p, size=%d", base, size);
75 if (munmap(base, size) < 0) {
79 hnd->base = 0;
114 if (hnd->base) {
131 if (hnd->base) {
156 *vaddr = (void*)hnd->base;
[all...]
H A Dgralloc_priv.h38 gralloc_module_t base; member in struct:private_module_t
78 int base; member in struct:private_handle_t
88 base(0), pid(getpid())
/hardware/msm7k/libgralloc/
H A Dmapper.cpp68 hnd->base = 0;
71 hnd->base = intptr_t(mappedAddress) + hnd->offset;
75 *vaddr = (void*)hnd->base;
84 void* base = (void*)hnd->base; local
87 base = (void*)(intptr_t(base) - hnd->offset);
90 //ALOGD("unmapping from %p, size=%d, flags=%08x", base, size, hnd->flags);
91 if (munmap(base, size) < 0) {
95 hnd->base
[all...]
H A Dgralloc_priv.h38 gralloc_module_t base; member in struct:private_module_t
85 int base; member in struct:private_handle_t
96 base(0), pid(getpid())
H A Dgralloc.cpp96 base: {
161 intptr_t vaddr = intptr_t(m->framebuffer->base);
175 hnd->base = vaddr;
176 hnd->offset = vaddr - intptr_t(m->framebuffer->base);
210 void* base = mmap(0, size, local
212 if (base == MAP_FAILED) {
214 base = 0;
219 m->pmem_master_base = base;
270 void* base = mmap(0, ALLOCATORREGION_RESERVED_SIZE, local
274 if (base
322 void* base = 0; local
[all...]
/hardware/samsung_slsi/exynos5/mobicore/common/MobiCore/inc/Mci/
H A Dmcifcfunc.h106 * @param base Physical start address of the MCI buffer. Must be 4kB aligned.
114 uint8_t *base,
125 (uint32_t)base,
113 fastCallInit( uint8_t *base, uint32_t nqOffset, uint32_t nqLength, uint32_t mcpOffset, uint32_t mcpLength ) argument
/hardware/ti/wlan/wl1271/platforms/os/linux/src/
H A Dstack_profile.c54 static unsigned long check_stack(unsigned long *base) argument
59 *base = ((sp & ~STACK_MASK) + sizeof(struct task_struct) + 4);
63 unsigned long check_stack_start(unsigned long *base, unsigned long real_sp, argument
70 *base = from;
82 /* run from the stack pointer down to the base */
91 unsigned long check_stack_stop(unsigned long *base, int id) argument
97 *base = from;
112 /* run from the stack pointer down to the base */
/hardware/ti/omap4xxx/hwc/
H A Dhal_public.h46 native_handle_t base; member in struct:__anon2155
103 framebuffer_device_t base; member in struct:__anon2156
116 gralloc_module_t base; member in struct:IMG_gralloc_module_public_t
/hardware/msm7k/libgralloc-qsd8k/tests/
H A Dpmemalloc_test.cpp326 void* base = 0; local
330 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
353 void* base = 0; local
357 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
392 void* base = 0; local
396 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
425 void* base = 0; local
429 int result = pma.alloc_pmem_buffer(size, flags, &base, &offset, &fd);
459 void* base = 0; local
463 int result = pma.alloc_pmem_buffer(size, flags, &base,
495 void* base = 0; local
518 void* base = 0; local
553 void* base = 0; local
590 void* base = 0; local
[all...]
/hardware/qcom/display/libcopybit/
H A Dcopybit.h119 /* base of buffer with image */
120 void *base; member in struct:copybit_image_t
/hardware/samsung_slsi/exynos5/include/
H A Dgralloc_priv.h38 gralloc_module_t base; member in struct:private_module_t
91 void *base; member in struct:private_handle_t
108 vstride(vstride), base(0), handle(0), handle1(0), handle2(0)
119 vstride(vstride), base(0), base1(0), base2(0), handle(0), handle1(0),
131 vstride(vstride), base(0), base1(0), base2(0), handle(0), handle1(0),
H A Ds5p_fimc_v4l2.h100 dma_addr_t base[3]; member in struct:fimc_buf
/hardware/ti/omap4xxx/camera/
H A DCameraHal_Module.cpp65 camera_device_t base; member in struct:ti_camera_device
66 /* TI specific "private" data can go here (base.priv) */
461 if (ti_dev->base.ops) {
462 free(ti_dev->base.ops);
537 camera_device->base.common.tag = HARDWARE_DEVICE_TAG;
538 camera_device->base.common.version = 0;
539 camera_device->base.common.module = (hw_module_t *)(module);
540 camera_device->base.common.close = camera_device_close;
541 camera_device->base.ops = camera_ops;
567 *device = &camera_device->base
[all...]
/hardware/ti/wlan/wl1271/CUDK/os/linux/src/
H A Dosapi.c240 pMemPtr - Pointer to the base virtual address of the allocated memory.
356 S32 os_strtol(const PS8 nptr, PPS8 endptr, S32 base) argument
358 return strtol((char*)nptr, (char**)endptr, base);
368 U32 os_strtoul(const PS8 nptr, PPS8 endptr, S32 base) argument
370 return strtoul((char*)nptr, (char**)endptr, base);

Completed in 234 milliseconds

12