Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 95) 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/src/include/
Dbcmcdc.h34 uint32 flags; /* flag defns given below */ member
56 #define CDC_IOC_IF_IDX(flags) (((flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT) argument
57 #define CDC_IOC_ID(flags) (((flags) & CDCF_IOC_ID_MASK) >> CDCF_IOC_ID_SHIFT) argument
60 ((int)((((hdr)->flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT))
62 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT)))
96 uint8 flags; /* Flags */ member
/hardware/broadcom/wlan/bcm4329/src/dhd/sys/
Ddhd_cdc.c108 } while (CDC_IOC_ID(ltoh32(prot->msg.flags)) != id); in dhdcdc_cmplt()
120 uint32 id, flags = 0; in dhdcdc_query_ioctl() local
145 msg->flags = (++prot->reqid << CDCF_IOC_ID_SHIFT); in dhdcdc_query_ioctl()
147 msg->flags = htol32(msg->flags); in dhdcdc_query_ioctl()
162 flags = ltoh32(msg->flags); in dhdcdc_query_ioctl()
163 id = (flags & CDCF_IOC_ID_MASK) >> CDCF_IOC_ID_SHIFT; in dhdcdc_query_ioctl()
186 if (flags & CDCF_IOC_ERROR) in dhdcdc_query_ioctl()
203 uint32 flags, id; in dhdcdc_set_ioctl() local
212 msg->flags = (++prot->reqid << CDCF_IOC_ID_SHIFT) | CDCF_IOC_SET; in dhdcdc_set_ioctl()
214 msg->flags = htol32(msg->flags); in dhdcdc_set_ioctl()
[all …]
/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()
345 hnd->flags = private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_perform()
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,
/hardware/broadcom/wlan/bcm4329/src/bcmsdio/sys/
Dbcmsdspi_linux.c153 ulong flags; in sdioh_interrupt_set() local
172 spin_lock_irqsave(&sdos->lock, flags); in sdioh_interrupt_set()
180 spin_unlock_irqrestore(&sdos->lock, flags); in sdioh_interrupt_set()
189 ulong flags; in spi_lock() local
197 spin_lock_irqsave(&sdos->lock, flags); in spi_lock()
204 spin_unlock_irqrestore(&sdos->lock, flags); in spi_lock()
211 ulong flags; in spi_unlock() local
220 spin_lock_irqsave(&sdos->lock, flags); in spi_unlock()
224 spin_unlock_irqrestore(&sdos->lock, flags); in spi_unlock()
Dbcmsdstd_linux.c143 ulong flags; in sdioh_interrupt_set() local
162 spin_lock_irqsave(&sdos->lock, flags); in sdioh_interrupt_set()
170 spin_unlock_irqrestore(&sdos->lock, flags); in sdioh_interrupt_set()
179 ulong flags; in sdstd_lock() local
187 spin_lock_irqsave(&sdos->lock, flags); in sdstd_lock()
196 spin_unlock_irqrestore(&sdos->lock, flags); in sdstd_lock()
203 ulong flags; in sdstd_unlock() local
212 spin_lock_irqsave(&sdos->lock, flags); in sdstd_unlock()
216 spin_unlock_irqrestore(&sdos->lock, flags); in sdstd_unlock()
/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.cpp101 if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { in fb_post()
200 uint32_t flags = PAGE_FLIP; in mapFrameBufferLocked() local
203 flags &= ~PAGE_FLIP; in mapFrameBufferLocked()
210 flags &= ~PAGE_FLIP; in mapFrameBufferLocked()
283 module->flags = flags; in mapFrameBufferLocked()
363 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()
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()
229 hnd->flags = private_handle_t::PRIV_FLAGS_USES_PMEM; in gralloc_perform()
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 …]
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/ti/wlan/wl1271/platforms/os/linux/src/
Dosapi.c400 spin_lock_irqsave (&drv->lock, drv->flags); in os_protectLock()
419 spin_unlock_irqrestore (&drv->lock, drv->flags); in os_protectUnlock()
607 unsigned long flags; in os_wake_lock_timeout() local
610 spin_lock_irqsave(&drv->lock, flags); in os_wake_lock_timeout()
618 spin_unlock_irqrestore(&drv->lock, flags); in os_wake_lock_timeout()
636 unsigned long flags; in os_wake_lock_timeout_enable() local
640 spin_lock_irqsave(&drv->lock, flags); in os_wake_lock_timeout_enable()
642 spin_unlock_irqrestore(&drv->lock, flags); in os_wake_lock_timeout_enable()
660 unsigned long flags; in os_wake_lock() local
663 spin_lock_irqsave(&drv->lock, flags); in os_wake_lock()
[all …]
DCmdInterpretWext.c599 if (wrqu->data.flags & IW_SCAN_THIS_ESSID) in cmdInterpret_convertAndExecute()
644 info.flags = 0; in cmdInterpret_convertAndExecute()
696 if(wrqu->data.flags) in cmdInterpret_convertAndExecute()
698 for (i=0; i<wrqu->data.flags; i++) in cmdInterpret_convertAndExecute()
725 iwe.u.data.flags = 1; in cmdInterpret_convertAndExecute()
791 iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; in cmdInterpret_convertAndExecute()
793 iwe.u.data.flags = IW_ENCODE_DISABLED; in cmdInterpret_convertAndExecute()
850 iwe.u.data.flags = 1; in cmdInterpret_convertAndExecute()
867 wrqu->data.flags = 0; in cmdInterpret_convertAndExecute()
871 wrqu->data.flags = i; in cmdInterpret_convertAndExecute()
[all …]
/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/broadcom/wlan/bcm4329/src/shared/
Dminiopt.c46 miniopt_init(miniopt_t *t, const char* name, const char* flags, bool longflags) in miniopt_init() argument
52 if (flags == NULL) in miniopt_init()
53 t->flags = null_flags; in miniopt_init()
55 t->flags = flags; in miniopt_init()
130 if (strchr(t->flags, t->opt)) { in miniopt()
Dlinux_osl.c154 gfp_t flags; in osl_attach() local
156 flags = (in_atomic()) ? GFP_ATOMIC : GFP_KERNEL; in osl_attach()
157 osh = kmalloc(sizeof(osl_t), flags); in osl_attach()
458 gfp_t flags; in osl_malloc() local
496 flags = (in_atomic()) ? GFP_ATOMIC : GFP_KERNEL; in osl_malloc()
497 if ((addr = kmalloc(size, flags)) == NULL) { in osl_malloc()
609 gfp_t flags; in osl_pktdup() local
611 flags = (in_atomic()) ? GFP_ATOMIC : GFP_KERNEL; in osl_pktdup()
612 if ((p = skb_clone((struct sk_buff*)skb, flags)) == NULL) in osl_pktdup()
/hardware/ti/wlan/wl1271/platforms/os/linux/inc/
Dwbuf.h78 TI_UINT8 flags; /* Some application flags, see Tx-Packet-Flags defs above. */ member
99 #define WBUF_FLAGS(pWbuf) ( ((WBUF_PARAMS *)&(WBUF_CB(pWbuf)))->flags )
111 gfp_t flags = (in_atomic()) ? GFP_ATOMIC : GFP_KERNEL; in WbufAlloc() local
112 WBUF *pWbuf = alloc_skb(len + WSPI_PAD_BYTES, flags); in WbufAlloc()
/hardware/ti/wlan/wl1271/CUDK/configurationutility/src/
Dconsole.c284 if( param->flags & CON_PARM_LINE ) in Console_getStrParam()
363 p_token->u.token.parm[i].flags |= CON_PARM_NOVAL; in Console_parseParms()
376 if (p_token->u.token.parm[i].flags & (CON_PARM_STRING | CON_PARM_LINE) ) in Console_parseParms()
396 if (p_token->u.token.parm[i].flags & CON_PARM_SIGN) in Console_parseParms()
408 if (p_token->u.token.parm[i].flags & CON_PARM_RANGE) in Console_parseParms()
410 if (p_token->u.token.parm[i].flags & CON_PARM_SIGN) in Console_parseParms()
435 if (p_token->u.token.parm[i].flags & CON_PARM_SIGN) in Console_parseParms()
441 p_token->u.token.parm[i].flags &= ~CON_PARM_NOVAL; in Console_parseParms()
448 if ((p_token->u.token.parm[i].flags & CON_PARM_DEFVAL) != 0) in Console_parseParms()
450 p_token->u.token.parm[i].flags &= ~CON_PARM_NOVAL; in Console_parseParms()
[all …]
/hardware/ti/omap3/liboverlay/
Dv4l2_utils.c396 fbuf.flags |= V4L2_FBUF_FLAG_CHROMAKEY; in v4l2_overlay_set_colorkey()
398 fbuf.flags &= ~V4L2_FBUF_FLAG_CHROMAKEY; in v4l2_overlay_set_colorkey()
438 fbuf.flags |= V4L2_FBUF_FLAG_GLOBAL_ALPHA; in v4l2_overlay_set_global_alpha()
440 fbuf.flags &= ~V4L2_FBUF_FLAG_GLOBAL_ALPHA; in v4l2_overlay_set_global_alpha()
476 fbuf.flags |= V4L2_FBUF_FLAG_LOCAL_ALPHA; in v4l2_overlay_set_local_alpha()
478 fbuf.flags &= ~V4L2_FBUF_FLAG_LOCAL_ALPHA; in v4l2_overlay_set_local_alpha()
512 return buf->flags == V4L2_BUF_FLAG_MAPPED; in is_mmaped()
518 return (buf->flags & V4L2_BUF_FLAG_QUEUED) || in is_queued()
519 (buf->flags & V4L2_BUF_FLAG_DONE); in is_queued()
525 return (!(buf->flags & V4L2_BUF_FLAG_QUEUED) && in is_dequeued()
[all …]
/hardware/ti/wlan/wl1271/CUDK/os/linux/src/
Dcu_wext.c120 if(iwe->u.data.flags == (IW_ENCODE_ENABLED | IW_ENCODE_NOKEY)) in CuWext_FillBssidList()
187 pCuWext->req_data.essid.flags = 0; in CuOs_Get_SSID()
272 pCuWext->req_data.data.flags = IW_SCAN_THIS_ESSID; in CuOs_Start_Scan()
276 pCuWext->req_data.data.flags = 0; in CuOs_Start_Scan()
305 pCuWext->req_data.data.flags = 0; in CuOs_GetBssidList()
339 } while(pCuWext->req_data.data.flags); in CuOs_GetBssidList()
373 pCuWext->req_data.essid.flags = 1; in CuOs_Set_ESSID()
375 pCuWext->req_data.essid.flags = 0; in CuOs_Set_ESSID()
376 pCuWext->req_data.essid.flags |= SET_SSID_WITHOUT_SUPPL; in CuOs_Set_ESSID()

1234