Searched defs:base (Results 26 - 50 of 165) sorted by relevance

1234567

/hardware/intel/common/libva/va/wayland/
H A Dva_wayland_emgd.c38 struct va_wayland_context base; member in struct:va_wayland_emgd_context
123 wl_emgd_ctx->base.destroy = va_wayland_emgd_destroy;
/hardware/intel/common/libva/va/x11/
H A Ddri1_util.c18 struct dri_drawable base; member in struct:dri1_drawable
34 dri1_drawable->base.x_drawable = x_drawable;
36 return &dri1_drawable->base;
68 assert(dri_state->base.fd >= 0);
69 drmCloseOnce(dri_state->base.fd);
86 dri_state->base.fd = -1;
88 dri_state->base.auth_type = VA_NONE;
108 dri_state->base.fd = drmOpenOnce(NULL, BusID, &newlyopened);
111 if (dri_state->base.fd < 0)
115 if (drmGetMagic(dri_state->base
[all...]
/hardware/nxp/secure_element/libese-spi/p73/utils/
H A Dringbuffer.cpp27 uint8_t* base; member in struct:ringbuffer_t
37 p->base = static_cast<uint8_t*>(calloc(size, sizeof(uint8_t)));
38 p->head = p->tail = p->base;
45 if (rb != NULL) free(rb->base);
67 if (rb->tail >= (rb->base + rb->total)) rb->tail = rb->base;
80 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total;
93 uint8_t* b = ((rb->head - rb->base + offset) % rb->total) + rb->base;
100 if (b >= (rb->base
[all...]
/hardware/qcom/display/msm8084/libgralloc/
H A Dfb_priv.h39 gralloc_module_t base; member in struct:private_module_t
H A Dionalloc.cpp72 void *base = 0; local
103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE,
105 if(base == MAP_FAILED) {
114 data.base = base;
117 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%zu fd:%d",
118 data.base, ionAllocData.len, data.fd);
123 int IonAlloc::free_buffer(void* base, size_t size, size_t offset, int fd) argument
126 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%zu fd:%d",
127 base, siz
142 void *base = 0; local
163 unmap_buffer(void *base, size_t size, size_t ) argument
175 clean_buffer(void *base, size_t size, size_t offset, int fd, int op) argument
[all...]
/hardware/qcom/display/msm8226/libgralloc/
H A Dfb_priv.h39 gralloc_module_t base; member in struct:private_module_t
H A Dionalloc.cpp72 void *base = 0; local
103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE,
105 if(base == MAP_FAILED) {
114 data.base = base;
117 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%zu fd:%d",
118 data.base, ionAllocData.len, data.fd);
123 int IonAlloc::free_buffer(void* base, unsigned int size, unsigned int offset, argument
127 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%u fd:%d",
128 base, siz
144 void *base = 0; local
165 unmap_buffer(void *base, unsigned int size, unsigned int ) argument
178 clean_buffer(void *base, unsigned int size, unsigned int offset, int fd, int op) argument
[all...]
/hardware/qcom/display/msm8909/gralloc/
H A Dgr_ion_alloc.cpp105 int IonAlloc::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, argument
109 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%u fd:%d handle:0x%x", base, size, fd,
112 if (base) {
113 err = UnmapBuffer(base, size, offset);
125 int IonAlloc::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) { argument
133 *base = addr;
138 ALOGD_IF(DEBUG, "ion: Mapped buffer base:%p size:%u offset:%u fd:%d", addr, size, offset, fd);
156 int IonAlloc::UnmapBuffer(void *base, unsigned int size, unsigned int /*offset*/) { argument
158 ALOGD_IF(DEBUG, "ion: Unmapping buffer base
169 CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op) argument
[all...]
H A Dgr_ion_alloc.h46 void *base = NULL; member in struct:gralloc1::AllocData
67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
68 int MapBuffer(void **base, unsigned int size, unsigned int offset, int fd);
70 int UnmapBuffer(void *base, unsigned int size, unsigned int offset);
71 int CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op);
/hardware/qcom/display/msm8909/libgralloc/
H A Dfb_priv.h39 gralloc_module_t base; member in struct:private_module_t
H A Dionalloc.cpp76 void *base = 0; local
103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE,
105 if(base == MAP_FAILED) {
114 data.base = base;
117 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%zu fd:%d",
118 data.base, ionAllocData.len, data.fd);
123 int IonAlloc::free_buffer(void* base, unsigned int size, unsigned int offset, argument
128 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%u fd:%d",
129 base, siz
146 void *base = 0; local
167 unmap_buffer(void *base, unsigned int size, unsigned int ) argument
181 clean_buffer(void *base, unsigned int size, unsigned int offset, int fd, int op) argument
[all...]
/hardware/qcom/display/msm8909/libqdutils/
H A DqdMetaData.cpp55 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, local
57 if (base == reinterpret_cast<void*>(MAP_FAILED)) {
63 handle->base_metadata = (uintptr_t) base;
/hardware/qcom/display/msm8909w_3100/libgralloc/
H A Dfb_priv.h39 gralloc_module_t base; member in struct:private_module_t
H A Dionalloc.cpp76 void *base = 0; local
103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE,
105 if(base == MAP_FAILED) {
114 data.base = base;
117 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%zu fd:%d",
118 data.base, ionAllocData.len, data.fd);
123 int IonAlloc::free_buffer(void* base, unsigned int size, unsigned int offset, argument
128 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%u fd:%d",
129 base, siz
146 void *base = 0; local
167 unmap_buffer(void *base, unsigned int size, unsigned int ) argument
181 clean_buffer(void *base, unsigned int size, unsigned int offset, int fd, int op) argument
[all...]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A Dgr_ion_alloc.cpp105 int IonAlloc::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, argument
109 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%u fd:%d handle:0x%x", base, size, fd,
112 if (base) {
113 err = UnmapBuffer(base, size, offset);
125 int IonAlloc::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) { argument
133 *base = addr;
138 ALOGD_IF(DEBUG, "ion: Mapped buffer base:%p size:%u offset:%u fd:%d", addr, size, offset, fd);
156 int IonAlloc::UnmapBuffer(void *base, unsigned int size, unsigned int /*offset*/) { argument
158 ALOGD_IF(DEBUG, "ion: Unmapping buffer base
169 CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op) argument
[all...]
H A Dgr_ion_alloc.h46 void *base = NULL; member in struct:gralloc1::AllocData
67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
68 int MapBuffer(void **base, unsigned int size, unsigned int offset, int fd);
70 int UnmapBuffer(void *base, unsigned int size, unsigned int offset);
71 int CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op);
/hardware/qcom/display/msm8909w_3100/libqdutils/
H A DqdMetaData.cpp55 void *base = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, local
57 if (base == reinterpret_cast<void*>(MAP_FAILED)) {
63 handle->base_metadata = (uintptr_t) base;
/hardware/qcom/display/msm8960/libgralloc/
H A Dfb_priv.h39 gralloc_module_t base; member in struct:private_module_t
H A Dionalloc.cpp72 void *base = 0; local
103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE,
105 if(base == MAP_FAILED) {
112 memset(base, 0, ionAllocData.len);
114 clean_buffer(base, data.size, data.offset, fd_data.fd,
118 data.base = base;
121 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%d fd:%d",
122 data.base, ionAllocData.len, data.fd);
127 int IonAlloc::free_buffer(void* base, size_ argument
146 void *base = 0; local
167 unmap_buffer(void *base, size_t size, int offset) argument
179 clean_buffer(void *base, size_t size, int offset, int fd, int op) argument
[all...]
/hardware/qcom/display/msm8994/libgralloc/
H A Dfb_priv.h39 gralloc_module_t base; member in struct:private_module_t
H A Dionalloc.cpp77 void *base = 0; local
114 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE,
116 if(base == MAP_FAILED) {
125 data.base = base;
128 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%zu fd:%d",
129 data.base, ionAllocData.len, data.fd);
134 int IonAlloc::free_buffer(void* base, unsigned int size, unsigned int offset, argument
139 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%u fd:%d",
140 base, siz
157 void *base = 0; local
178 unmap_buffer(void *base, unsigned int size, unsigned int ) argument
192 clean_buffer(void *base, unsigned int size, unsigned int offset, int fd, int op) argument
[all...]
/hardware/qcom/display/msm8996/libgralloc/
H A Dfb_priv.h39 gralloc_module_t base; member in struct:private_module_t
H A Dionalloc.cpp81 void *base = 0; local
108 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE,
110 if(base == MAP_FAILED) {
119 data.base = base;
122 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%zu fd:%d",
123 data.base, ionAllocData.len, data.fd);
128 int IonAlloc::free_buffer(void* base, unsigned int size, unsigned int offset, argument
133 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%u fd:%d",
134 base, siz
151 void *base = 0; local
172 unmap_buffer(void *base, unsigned int size, unsigned int ) argument
186 clean_buffer(void *base, unsigned int size, unsigned int offset, int fd, int op) argument
[all...]
/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_ion_alloc.cpp105 int IonAlloc::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, argument
109 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%u fd:%d handle:0x%x", base, size, fd,
112 if (base) {
113 err = UnmapBuffer(base, size, offset);
125 int IonAlloc::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) { argument
133 *base = addr;
138 ALOGD_IF(DEBUG, "ion: Mapped buffer base:%p size:%u offset:%u fd:%d", addr, size, offset, fd);
156 int IonAlloc::UnmapBuffer(void *base, unsigned int size, unsigned int /*offset*/) { argument
158 ALOGD_IF(DEBUG, "ion: Unmapping buffer base
169 CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op) argument
[all...]
H A Dgr_ion_alloc.h46 void *base = NULL; member in struct:gralloc1::AllocData
67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle);
68 int MapBuffer(void **base, unsigned int size, unsigned int offset, int fd);
70 int UnmapBuffer(void *base, unsigned int size, unsigned int offset);
71 int CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op);

Completed in 396 milliseconds

1234567