Searched refs:fd (Results 226 - 250 of 968) sorted by relevance

1234567891011>>

/hardware/qcom/display/msm8998/libgralloc/
H A Dgralloc_priv.h241 int fd; member in struct:private_handle_t
242 int fd_metadata; // fd for the meta-data
270 private_handle_t(int fd, unsigned int size, int flags, int bufferType, argument
272 fd(fd), fd_metadata(-1), magic(sMagic),
284 private_handle_t(int fd, unsigned int size, int flags, int bufferType, argument
287 private_handle_t(fd, size, flags, bufferType, format, width, height)
294 private_handle_t(int fd, unsigned int size, int flags, int bufferType, argument
298 private_handle_t(fd, size, flags, bufferType, format, width, height,
/hardware/qcom/msm8998/kernel-headers/linux/
H A Dspcom.h72 int32_t fd; member in struct:spcom_ion_info
79 int32_t fd; member in struct:spcom_ion_handle
/hardware/qcom/msm8998/original-kernel-headers/linux/
H A Dspcom.h37 * file read(fd, buf, size) with this size,
92 int32_t fd; /* ION buffer File Descriptor, set -1 for invalid fd */ member in struct:spcom_ion_info
100 int32_t fd; /* File Descriptor associated with the buffer */ member in struct:spcom_ion_handle
/hardware/qcom/display/msm8960/libgralloc/
H A Dframebuffer.cpp95 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
122 int fd = -1; local
127 while ((fd==-1) && device_template[i]) {
129 fd = open(name, O_RDWR, 0);
132 if (fd < 0)
138 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1)
142 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
236 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
252 if (ioctl(fd, MSMFB_METADATA_GET, &metadata) == -1) {
262 ALOGI("using (fd
[all...]
/hardware/qcom/display/msm8084/libqservice/
H A DIQService.cpp143 int fd = -1; local
145 fd = open(buf, O_RDONLY);
146 if (fd < 0) {
149 ssize_t len = read(fd, buf, size - 1);
153 close(fd);
/hardware/qcom/display/msm8226/libqservice/
H A DIQService.cpp122 int fd = -1; local
124 fd = open(buf, O_RDONLY);
125 if (fd < 0) {
128 ssize_t len = read(fd, buf, size - 1);
132 close(fd);
/hardware/qcom/display/msm8960/libqservice/
H A DIQService.cpp151 int fd = -1; local
153 fd = open(buf, O_RDONLY);
154 if (fd < 0) {
157 int len = read(fd, buf, size - 1);
159 close(fd);
/hardware/qcom/display/msm8994/libqservice/
H A DIQService.cpp122 int fd = -1; local
124 fd = open(buf, O_RDONLY);
125 if (fd < 0) {
128 ssize_t len = read(fd, buf, size - 1);
132 close(fd);
/hardware/qcom/display/msm8909/gpu_tonemapper/
H A Dglengine.cpp220 void WaitOnNativeFence(int fd) argument
223 if (fd != -1) {
224 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fd, EGL_NONE};
229 ALOGE("%s - Failed to Create sync from source fd", __FUNCTION__);
242 int fd = -1; local
249 fd = eglDupNativeFenceFDANDROID(eglGetCurrentDisplay(), sync);
250 if (fd == EGL_NO_NATIVE_FENCE_FD_ANDROID) {
256 return fd;
302 int fd = -1; local
308 fd
[all...]
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/
H A Dglengine.cpp220 void WaitOnNativeFence(int fd) argument
223 if (fd != -1) {
224 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fd, EGL_NONE};
229 ALOGE("%s - Failed to Create sync from source fd", __FUNCTION__);
242 int fd = -1; local
249 fd = eglDupNativeFenceFDANDROID(eglGetCurrentDisplay(), sync);
250 if (fd == EGL_NO_NATIVE_FENCE_FD_ANDROID) {
256 return fd;
302 int fd = -1; local
308 fd
[all...]
/hardware/qcom/display/msm8998/gpu_tonemapper/
H A Dglengine.cpp241 void WaitOnNativeFence(int fd) argument
244 if (fd != -1) {
245 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fd, EGL_NONE};
250 ALOGE("%s - Failed to Create sync from source fd", __FUNCTION__);
263 int fd = -1; local
270 fd = eglDupNativeFenceFDANDROID(eglGetCurrentDisplay(), sync);
271 if (fd == EGL_NO_NATIVE_FENCE_FD_ANDROID) {
277 return fd;
323 int fd = -1; local
329 fd
[all...]
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioUsbALSA.cpp99 int fd, i, lchannelsPlayback; local
105 fd = open(PATH, O_RDONLY);
106 if (fd <0) {
108 close(fd);
112 if (fstat(fd, &st) < 0) {
114 close(fd);
122 err = read(fd, read_buf, BUFFSIZE);
126 close(fd);
134 close(fd);
141 close(fd);
382 int fd; local
773 static int fd; local
[all...]
/hardware/intel/common/libwsbm/src/
H A Dwsbm_ttmpool.c138 DRMRESTARTCOMMANDWRITEREAD(pool->fd, ttmPool->devOffset + TTM_PL_CREATE,
182 ret = drmCommandWriteRead(pool->fd, ttmPool->devOffset + TTM_PL_REFERENCE,
220 (void)drmCommandWrite(dBuf->buf.pool->fd,
270 DRMRESTARTCOMMANDWRITE(dBuf->buf.pool->fd,
310 DRMRESTARTCOMMANDWRITE(dBuf->buf.pool->fd,
343 static void* _temp_mmap(void *addr, size_t size, int prot, int flags, int fd, long long offset) argument
345 return __mmap2(addr, size, prot, flags, fd, (unsigned long)(offset >> MMAP2_SHIFT));
368 buf->pool->fd, dBuf->mapHandle);
372 buf->pool->fd, dBuf->mapHandle);
446 DRMRESTARTCOMMANDWRITE(pool->fd, ttmPoo
495 wsbmTTMPoolInit(int fd, unsigned int devOffset) argument
532 ttm_pool_ub_create(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment, const unsigned long *user_ptr, int fd) argument
[all...]
H A Dwsbm_pool.h57 int fd; member in struct:_WsbmBufferPool
131 extern struct _WsbmBufferPool *wsbmTTMPoolInit(int fd,
136 extern struct _WsbmBufferPool *wsbmSlabPoolInit(int fd, uint32_t devOffset,
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
H A DIPACM_Iface.cpp319 int fd; local
347 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0)
358 if (ioctl(fd, SIOCGIFNAME, &ifr) < 0)
361 close(fd);
364 close(fd);
391 int fd; local
399 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0)
410 if (ioctl(fd, SIOCGIFNAME, &ifr) < 0)
413 close(fd);
417 close(fd);
507 int res = IPACM_SUCCESS, fd = 0; local
933 int fd; local
[all...]
/hardware/qcom/display/msm8909/gralloc/
H A Dgr_priv_handle.h72 int fd; member in struct:private_handle_t
103 private_handle_t(int fd, argument
115 : fd(fd),
141 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) argument
142 : private_handle_t(fd, -1, PRIV_FLAGS_CLIENT_ALLOCATED, w, h, 0, 0, format, buf_type, size,
172 ALOGD("handle id:%" PRIu64 " wxh:%dx%d uwxuh:%dx%d size: %d fd:%d fd_meta:%d flags:0x%x "
175 hnd->fd, hnd->fd_metadata, hnd->flags, hnd->producer_usage, hnd->consumer_usage,
/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A Dgr_priv_handle.h73 int fd; member in struct:private_handle_t
104 private_handle_t(int fd, argument
116 : fd(fd),
142 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) argument
143 : private_handle_t(fd, -1, PRIV_FLAGS_CLIENT_ALLOCATED, w, h, 0, 0, format, buf_type, size,
173 ALOGD("handle id:%" PRIu64 " wxh:%dx%d uwxuh:%dx%d size: %d fd:%d fd_meta:%d flags:0x%x "
176 hnd->fd, hnd->fd_metadata, hnd->flags, hnd->producer_usage, hnd->consumer_usage,
/hardware/qcom/display/msm8996/sdm/libs/hwc/
H A Dhwc_buffer_allocator.cpp93 data.fd = -1;
105 alloc_buffer_info->fd = data.fd;
122 // Deallocate the buffer, only if the buffer fd is valid.
123 if (alloc_buffer_info->fd > 0) {
132 alloc_buffer_info->fd);
134 DLOGE("Error freeing buffer base_addr %p size %d fd %d", meta_buffer_info->base_addr,
135 alloc_buffer_info->size, alloc_buffer_info->fd);
139 alloc_buffer_info->fd = -1;
/hardware/qcom/display/msm8998/libgralloc1/
H A Dgr_priv_handle.h68 int fd; member in struct:private_handle_t
99 private_handle_t(int fd, argument
111 : fd(fd),
137 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) argument
138 : private_handle_t(fd, -1, PRIV_FLAGS_CLIENT_ALLOCATED, w, h, 0, 0, format, buf_type, size,
169 ALOGD("handle id:%" PRIu64 " wxh:%dx%d uwxuh:%dx%d size: %d fd:%d fd_meta:%d flags:0x%x "
172 hnd->fd, hnd->fd_metadata, hnd->flags, hnd->producer_usage, hnd->consumer_usage,
/hardware/intel/common/libva/va/drm/
H A Dva_drm_auth_x11.c143 drm_auth_x11_authenticate(DRMAuthX11 *auth, int fd, uint32_t magic) argument
159 va_drm_authenticate_x11(int fd, uint32_t magic) argument
167 success = drm_auth_x11_authenticate(&auth, fd, magic);
/hardware/qcom/camera/msm8998/mm-image-codec/qomx_core/
H A DQOMX_JpegExtensions.h112 * data. @ fd - FD of the buffer allocated. If the buffer is
118 OMX_U32 fd; member in struct:__anon2634
226 * @fd - FD of the buffer allocated
230 int fd; member in struct:__anon2641
295 * @fd - file descriptor
303 int fd; member in struct:__anon2645
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
H A DLocalLogBuffer.cpp129 void LocalLogBuffer::toFd(int fd) { argument
132 write(fd, line.c_str(), line.size());
133 write(fd, "\n", 1);
/hardware/qcom/display/msm8084/liboverlay/pipes/
H A Doverlay3DPipe.h56 bool queueBuffer(int fd, uint32_t offset);
86 bool queueBuffer(int fd, uint32_t offset);
116 bool queueBuffer(int fd, uint32_t offset);
146 bool queueBuffer(int fd, uint32_t offset);
187 inline bool M3DExtPipe<CHAN>::queueBuffer(int fd, uint32_t offset) { argument
188 return mM3d.queueBuffer(fd, offset);
256 inline bool M3DPrimaryPipe<CHAN>::queueBuffer(int fd, uint32_t offset) { argument
257 return mM3d.queueBuffer(fd, offset);
314 inline bool S3DExtPipe<CHAN>::queueBuffer(int fd, uint32_t offset) { argument
315 return mS3d.queueBuffer(fd, offse
389 queueBuffer(int fd, uint32_t offset) argument
[all...]
/hardware/qcom/display/msm8960/liboverlay/pipes/
H A Doverlay3DPipe.h56 bool queueBuffer(int fd, uint32_t offset);
86 bool queueBuffer(int fd, uint32_t offset);
116 bool queueBuffer(int fd, uint32_t offset);
146 bool queueBuffer(int fd, uint32_t offset);
187 inline bool M3DExtPipe<CHAN>::queueBuffer(int fd, uint32_t offset) { argument
188 return mM3d.queueBuffer(fd, offset);
256 inline bool M3DPrimaryPipe<CHAN>::queueBuffer(int fd, uint32_t offset) { argument
257 return mM3d.queueBuffer(fd, offset);
314 inline bool S3DExtPipe<CHAN>::queueBuffer(int fd, uint32_t offset) { argument
315 return mS3d.queueBuffer(fd, offse
389 queueBuffer(int fd, uint32_t offset) argument
[all...]
/hardware/libhardware/modules/camera/3_0/
H A DStream.h47 void dump(int fd);

Completed in 638 milliseconds

1234567891011>>