Home
last modified time | relevance | path

Searched refs:test_bit (Results 1 – 25 of 34) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
DSDL_sysjoystick.c376 #define test_bit(nr, addr) \ macro
391 if (!(test_bit(EV_KEY, evbit) && test_bit(EV_ABS, evbit) && in EV_IsJoystick()
392 test_bit(ABS_X, absbit) && test_bit(ABS_Y, absbit) && in EV_IsJoystick()
393 … (test_bit(BTN_TRIGGER, keybit) || test_bit(BTN_A, keybit) || test_bit(BTN_1, keybit)))) return 0; in EV_IsJoystick()
686 if ( test_bit(i, keybit) ) { in EV_ConfigJoystick()
696 if ( test_bit(i, keybit) ) { in EV_ConfigJoystick()
711 if ( test_bit(i, absbit) ) { in EV_ConfigJoystick()
742 if ( test_bit(i, absbit) || test_bit(i+1, absbit) ) { in EV_ConfigJoystick()
749 if ( test_bit(REL_X, relbit) || test_bit(REL_Y, relbit) ) { in EV_ConfigJoystick()
/external/kernel-headers/original/linux/
Datmdev.h269 (test_bit(ATM_VF_READY,&(flags)) ? ATM_VS_CONNECTED : \
270 test_bit(ATM_VF_RELEASED,&(flags)) ? ATM_VS_CLOSING : \
271 test_bit(ATM_VF_LISTEN,&(flags)) ? ATM_VS_LISTEN : \
272 test_bit(ATM_VF_REGIS,&(flags)) ? ATM_VS_INUSE : \
273 test_bit(ATM_VF_BOUND,&(flags)) ? ATM_VS_BOUND : ATM_VS_IDLE)
461 BUG_ON(!test_bit(ATM_DF_REMOVED, &dev->flags)); in atm_dev_put()
Dnetdevice.h630 if (!test_bit(__LINK_STATE_XOFF, &dev->state)) in netif_schedule()
660 return test_bit(__LINK_STATE_XOFF, &dev->state); in netif_queue_stopped()
665 return test_bit(__LINK_STATE_START, &dev->state); in netif_running()
739 return !test_bit(__LINK_STATE_NOCARRIER, &dev->state); in netif_carrier_ok()
762 return test_bit(__LINK_STATE_DORMANT, &dev->state); in netif_dormant()
774 return test_bit(__LINK_STATE_PRESENT, &dev->state); in netif_device_present()
886 BUG_ON(!test_bit(__LINK_STATE_RX_SCHED, &dev->state)); in netif_rx_complete()
910 BUG_ON(!test_bit(__LINK_STATE_RX_SCHED, &dev->state)); in __netif_rx_complete()
Dblkdev.h488 #define blk_queue_plugged(q) test_bit(QUEUE_FLAG_PLUGGED, &(q)->queue_flags)
489 #define blk_queue_tagged(q) test_bit(QUEUE_FLAG_QUEUED, &(q)->queue_flags)
490 #define blk_queue_stopped(q) test_bit(QUEUE_FLAG_STOPPED, &(q)->queue_flags)
516 return test_bit(QUEUE_FLAG_READFULL, &q->queue_flags); in blk_queue_full()
517 return test_bit(QUEUE_FLAG_WRITEFULL, &q->queue_flags); in blk_queue_full()
Dthread_info.h52 return test_bit(flag,&ti->flags); in test_ti_thread_flag()
Dquota.h186 #define info_dirty(info) test_bit(DQF_INFO_DIRTY_B, &(info)->dqi_flags)
299 #define dquot_dirty(dquot) test_bit(DQ_MOD_B, &(dquot)->dq_flags)
/external/kernel-headers/original/linux/netfilter_ipv4/
Dip_conntrack.h291 return test_bit(IPS_CONFIRMED_BIT, &ct->status); in is_confirmed()
296 return test_bit(IPS_DYING_BIT, &ct->status); in is_dying()
389 return test_bit(IPS_SRC_NAT_DONE_BIT, &conntrack->status); in ip_nat_initialized()
390 return test_bit(IPS_DST_NAT_DONE_BIT, &conntrack->status); in ip_nat_initialized()
/external/kernel-headers/original/asm-generic/bitops/
Dle.h12 #define generic_test_le_bit(nr, addr) test_bit(nr, addr)
27 test_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
Dnon-atomic.h106 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit() function
/external/oprofile/module/x86/
Dop_fixmap.c24 #define cpu_has_pge (test_bit(X86_FEATURE_PGE, &boot_cpu_data.x86_capability))
26 #define cpu_has_pge (test_bit(X86_FEATURE_PGE, boot_cpu_data.x86_capability))
Dcpu_type.c34 if (test_bit(X86_FEATURE_HT, &current_cpu_data.x86_capability)) { in p4_threads()
/external/kernel-headers/original/linux/sunrpc/
Dsched.h153 #define RPC_IS_RUNNING(t) (test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate))
164 #define RPC_IS_QUEUED(t) (test_bit(RPC_TASK_QUEUED, &(t)->tk_runstate))
182 #define RPC_IS_ACTIVATED(t) (test_bit(RPC_TASK_ACTIVE, &(t)->tk_runstate))
Dxprt.h285 return test_bit(XPRT_CONNECTED, &xprt->state); in xprt_connected()
307 return test_bit(XPRT_CONNECTING, &xprt->state); in xprt_connecting()
/external/kernel-headers/original/asm-x86/
Dbitops_32.h290 static int test_bit(int nr, const volatile void * addr);
309 #define test_bit(nr,addr) \ macro
Dmpspec_32.h47 #define physid_isset(physid, map) test_bit(physid, (map).mask)
/external/linux-tools-perf/util/include/linux/
Dbitops.h33 static __always_inline int test_bit(unsigned int nr, const unsigned long *addr) in test_bit() function
/external/e2fsprogs/e2fsck/
Drevoke.c319 test_bit(BH_RevokeValid, &bh2->b_state)) in journal_revoke()
326 J_ASSERT_BH(bh2, test_bit(BH_Revoked, & in journal_revoke()
337 J_ASSERT_BH(bh, !test_bit(BH_Revoked, &bh->b_state)); in journal_revoke()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
Dintel_pixel_bitmap.c89 static bool test_bit( const GLubyte *src, GLuint bit ) in test_bit() function
142 if (test_bit(rowsrc, (col + src_offset) ^ mask)) { in get_bitmap_rect()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel_bitmap.c89 static bool test_bit( const GLubyte *src, GLuint bit ) in test_bit() function
142 if (test_bit(rowsrc, (col + src_offset) ^ mask)) { in get_bitmap_rect()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dintel_pixel_bitmap.c89 static bool test_bit( const GLubyte *src, GLuint bit ) in test_bit() function
142 if (test_bit(rowsrc, (col + src_offset) ^ mask)) { in get_bitmap_rect()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
Dintel_pixel_bitmap.c89 static bool test_bit( const GLubyte *src, GLuint bit ) in test_bit() function
142 if (test_bit(rowsrc, (col + src_offset) ^ mask)) { in get_bitmap_rect()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_bitmap.c89 static bool test_bit( const GLubyte *src, GLuint bit ) in test_bit() function
142 if (test_bit(rowsrc, (col + src_offset) ^ mask)) { in get_bitmap_rect()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_pixel_bitmap.c89 static bool test_bit( const GLubyte *src, GLuint bit ) in test_bit() function
142 if (test_bit(rowsrc, (col + src_offset) ^ mask)) { in get_bitmap_rect()
/external/kernel-headers/original/asm-mips/
Dcacheflush.h104 test_bit(PG_dcache_dirty, &(page)->flags)
/external/kernel-headers/original/asm-arm/
Dbitops.h303 test_bit(WORD_BITOFF_TO_LE(nr), (unsigned long *)(p))
316 test_bit(WORD_BITOFF_TO_LE(nr), (unsigned long *)(p))

12