Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 85) sorted by relevance

1234

/hardware/msm7k/libgralloc-qsd8k/tests/
Dpmemalloc_test.cpp50 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, in mmap() argument
59 virtual int open(const char* pathname, int flags, int mode) { in open() argument
79 virtual ssize_t allocate(size_t size, uint32_t flags = 0) { in allocate() argument
96 virtual int open(const char* pathname, int flags, int mode) { in open()
98 EXPECT_EQ(O_RDWR, flags); in open()
109 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, in mmap()
138 virtual int open(const char* pathname, int flags, int mode) { in open()
140 EXPECT_EQ(O_RDWR, flags); in open()
155 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, in mmap()
183 virtual int open(const char* pathname, int flags, int mode) { in open()
[all …]
/hardware/broadcom/wlan/bcm4329/dhdutil/include/
Dbcmcdc.h31 uint32 flags; member
57 #define CDC_IOC_IF_IDX(flags) (((flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT) argument
58 #define CDC_IOC_ID(flags) (((flags) & CDCF_IOC_ID_MASK) >> CDCF_IOC_ID_SHIFT) argument
61 ((int)((((hdr)->flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT))
63 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT)))
95 ((((hdr)->flags) & BDC_FLAG_PAD_MASK) >> BDC_FLAG_PAD_SHIFT)))
99 ((hdr)->flags = (((hdr)->flags & ~BDC_FLAG_PAD_MASK) | \
108 uint8 flags; member
Dminiopt.h37 const char* flags; /* option chars that take no args */ member
60 void miniopt_init(miniopt_t *t, const char* name, const char* flags, bool longflags);
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmcdc.h31 uint32 flags; member
57 #define CDC_IOC_IF_IDX(flags) (((flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT) argument
58 #define CDC_IOC_ID(flags) (((flags) & CDCF_IOC_ID_MASK) >> CDCF_IOC_ID_SHIFT) argument
61 ((int)((((hdr)->flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT))
63 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT)))
95 ((((hdr)->flags) & BDC_FLAG_PAD_MASK) >> BDC_FLAG_PAD_SHIFT)))
99 ((hdr)->flags = (((hdr)->flags & ~BDC_FLAG_PAD_MASK) | \
108 uint8 flags; member
Dminiopt.h37 const char* flags; /* option chars that take no args */ member
60 void miniopt_init(miniopt_t *t, const char* name, const char* flags, bool longflags);
/hardware/msm7k/libgralloc-qsd8k/
Dgpu.cpp117 int flags = 0; in gralloc_alloc_buffer() local
130 flags |= private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer()
134 flags |= private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer()
138 flags |= private_handle_t::PRIV_FLAGS_USES_PMEM_ADSP; in gralloc_alloc_buffer()
139 flags &= ~private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer()
144 if ((flags & private_handle_t::PRIV_FLAGS_USES_PMEM) != 0 || in gralloc_alloc_buffer()
145 (flags & private_handle_t::PRIV_FLAGS_USES_PMEM_ADSP) != 0) { in gralloc_alloc_buffer()
149 if ((flags & private_handle_t::PRIV_FLAGS_USES_PMEM) != 0) { in gralloc_alloc_buffer()
150 if ((flags & private_handle_t::PRIV_FLAGS_USES_PMEM_ADSP) != 0) { in gralloc_alloc_buffer()
154 flags &= ~private_handle_t::PRIV_FLAGS_USES_PMEM_ADSP; in gralloc_alloc_buffer()
[all …]
Dgralloc_priv.h67 uint32_t flags; member
111 int flags; member
128 private_handle_t(int fd, int size, int flags) : in private_handle_t()
129 fd(fd), magic(sMagic), flags(flags), size(size), offset(0), gpu_fd(-1), in private_handle_t()
141 return (flags & PRIV_FLAGS_USES_PMEM) != 0; in usesPhysicallyContiguousMemory()
Dmapper.cpp58 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map()
83 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
174 if ((hnd->flags & private_handle_t::PRIV_FLAGS_USES_PMEM) || in terminateBuffer()
175 (hnd->flags & private_handle_t::PRIV_FLAGS_USES_PMEM_ADSP)) { in terminateBuffer()
247 (hnd->flags & pmemMask) && in gralloc_lock()
248 !(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_lock()
249 hnd->flags |= private_handle_t::PRIV_FLAGS_NEEDS_FLUSH; in gralloc_lock()
281 if (hnd->flags & private_handle_t::PRIV_FLAGS_NEEDS_FLUSH) { in gralloc_unlock()
290 hnd->flags &= ~private_handle_t::PRIV_FLAGS_NEEDS_FLUSH; in gralloc_unlock()
Dpmemalloc.h61 virtual ssize_t allocate(size_t size, uint32_t flags = 0) = 0;
77 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd,
79 virtual int open(const char* pathname, int flags, int mode) = 0;
137 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd,
140 virtual int open(const char* pathname, int flags, int mode) = 0;
Dgralloc.cpp94 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, in mmap() argument
96 return ::mmap(start, length, prot, flags, fd, offset); in mmap()
103 virtual int open(const char* pathname, int flags, int mode) { in open() argument
104 return ::open(pathname, flags, mode); in open()
171 flags: 0,
Dframebuffer.cpp108 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { in fb_post()
237 uint32_t flags = PAGE_FLIP; in mapFrameBufferLocked() local
240 flags &= ~PAGE_FLIP; in mapFrameBufferLocked()
247 flags &= ~PAGE_FLIP; in mapFrameBufferLocked()
316 module->flags = flags; in mapFrameBufferLocked()
392 const_cast<uint32_t&>(dev->device.flags) = 0; in fb_device_open()
431 blit.req.flags = 0; in msm_copy_buffer()
/hardware/ti/omap4xxx/ion/
Dion.c58 int ion_alloc(int fd, size_t len, size_t align, unsigned int flags, in ion_alloc() argument
65 .flags = flags, in ion_alloc()
75 int ion_alloc_tiler(int fd, size_t w, size_t h, int fmt, unsigned int flags, in ion_alloc_tiler() argument
83 .flags = flags, in ion_alloc_tiler()
108 int flags, off_t offset, unsigned char **ptr, int *map_fd) in ion_map() argument
121 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); in ion_map()
Dion.h26 int ion_alloc(int fd, size_t len, size_t align, unsigned int flags,
28 int ion_alloc_tiler(int fd, size_t w, size_t h, int fmt, unsigned int flags,
32 int flags, off_t offset, unsigned char **ptr, int *map_fd);
/hardware/libhardware/modules/gralloc/
Dgralloc_priv.h41 uint32_t flags; member
73 int flags; member
86 private_handle_t(int fd, int size, int flags) : in private_handle_t()
87 fd(fd), magic(sMagic), flags(flags), size(size), offset(0), in private_handle_t()
Dframebuffer.cpp96 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { in fb_post()
180 uint32_t flags = PAGE_FLIP; in mapFrameBufferLocked() local
183 flags &= ~PAGE_FLIP; in mapFrameBufferLocked()
190 flags &= ~PAGE_FLIP; in mapFrameBufferLocked()
263 module->flags = flags; in mapFrameBufferLocked()
340 const_cast<uint32_t&>(dev->device.flags) = 0; in fb_device_open()
/hardware/msm7k/libgralloc/
Dgralloc_priv.h41 uint32_t flags; member
79 int flags; member
94 private_handle_t(int fd, int size, int flags) : in private_handle_t()
95 fd(fd), magic(sMagic), flags(flags), size(size), offset(0), in private_handle_t()
Dgralloc.cpp113 flags: 0,
318 int flags = 0; in gralloc_alloc_buffer() local
330 flags |= private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer()
334 flags |= private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer()
337 if ((flags & private_handle_t::PRIV_FLAGS_USES_PMEM) == 0) { in gralloc_alloc_buffer()
383 flags &= ~private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer()
392 flags &= ~private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_alloc_buffer()
393 flags |= private_handle_t::PRIV_FLAGS_USES_GPU; in gralloc_alloc_buffer()
428 flags &= ~private_handle_t::PRIV_FLAGS_USES_GPU; in gralloc_alloc_buffer()
435 private_handle_t* hnd = new private_handle_t(fd, size, flags); in gralloc_alloc_buffer()
[all …]
Dmapper.cpp58 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_map()
83 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER)) { in gralloc_unmap()
116 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_USES_GPU)) { in gralloc_register_buffer()
152 if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_PMEM) { in terminateBuffer()
159 } else if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_GPU) { in terminateBuffer()
Dframebuffer.cpp99 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { in fb_post()
201 uint32_t flags = PAGE_FLIP; in mapFrameBufferLocked() local
204 flags &= ~PAGE_FLIP; in mapFrameBufferLocked()
211 flags &= ~PAGE_FLIP; in mapFrameBufferLocked()
280 module->flags = flags; in mapFrameBufferLocked()
356 const_cast<uint32_t&>(dev->device.flags) = 0; in fb_device_open()
394 blit.req.flags = 0; in msm_copy_buffer()
/hardware/broadcom/wlan/bcm4329/dhdutil/
Dminiopt.c39 miniopt_init(miniopt_t *t, const char* name, const char* flags, bool longflags) in miniopt_init() argument
45 if (flags == NULL) in miniopt_init()
46 t->flags = null_flags; in miniopt_init()
48 t->flags = flags; in miniopt_init()
123 if (strchr(t->flags, t->opt)) { in miniopt()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dminiopt.c39 miniopt_init(miniopt_t *t, const char* name, const char* flags, bool longflags) in miniopt_init() argument
45 if (flags == NULL) in miniopt_init()
46 t->flags = null_flags; in miniopt_init()
48 t->flags = flags; in miniopt_init()
123 if (strchr(t->flags, t->opt)) { in miniopt()
/hardware/ti/omap3/dspbridge/inc/
Dgt.h59 SmBits *flags; member
296 #define GT_query( mask, class ) ((*(mask).flags & (class)))
299 ((*(mask).flags & (class)) ? \
303 ((*(mask).flags & (class)) ? \
307 ((*(mask).flags & (class)) ? \
311 ((*(mask).flags & (class)) ? \
315 ((*(mask).flags & (class)) ? \
319 ((*(mask).flags & (class)) ? \
323 ((*(mask).flags & (class)) ? \
/hardware/qcom/media/mm-video/vidc/vdec/inc/
Dframeparser.h74 void update_metadata (unsigned int time_stamp ,unsigned int flags);
91 unsigned int flags; variable
/hardware/qcom/gps/loc_api/libloc_api/
Dloc_eng.cpp95 static void loc_eng_process_atl_deferred_action (int flags);
662 supl_req->flags = RPC_LOC_NI_CLIENT_NAME_PRESENT | in mock_ni()
770 location.flags |= GPS_LOCATION_HAS_LAT_LONG; in loc_eng_report_position()
777 location.flags |= GPS_LOCATION_HAS_ALTITUDE; in loc_eng_report_position()
784 location.flags |= GPS_LOCATION_HAS_SPEED; in loc_eng_report_position()
791 location.flags |= GPS_LOCATION_HAS_BEARING; in loc_eng_report_position()
797 location.flags |= GPS_LOCATION_HAS_ACCURACY; in loc_eng_report_position()
1269 static void loc_eng_process_atl_deferred_action (int flags) in loc_eng_process_atl_deferred_action() argument
1281 if (flags & DEFERRED_ACTION_AGPS_DATA_CLOSED) in loc_eng_process_atl_deferred_action()
1293 if (flags & DEFERRED_ACTION_AGPS_DATA_SUCCESS) in loc_eng_process_atl_deferred_action()
[all …]
/hardware/libhardware/include/hardware/
Dgps.h236 uint16_t flags; member
418 void (*delete_aiding_data)(GpsAidingData flags);
630 typedef void (*agps_ril_request_set_id)(uint32_t flags);
631 typedef void (*agps_ril_request_ref_loc)(uint32_t flags);

1234