Home
last modified time | relevance | path

Searched refs:test_and_clear_bit (Results 1 – 25 of 369) sorted by relevance

12345678910>>...15

/linux/drivers/media/pci/cx23885/
H A Dcx23885-ir.c31 if (test_and_clear_bit(CX23885_IR_RX_SW_FIFO_OVERRUN, notifications)) in cx23885_ir_rx_work_handler()
33 if (test_and_clear_bit(CX23885_IR_RX_HW_FIFO_OVERRUN, notifications)) in cx23885_ir_rx_work_handler()
35 if (test_and_clear_bit(CX23885_IR_RX_END_OF_RX_DETECTED, notifications)) in cx23885_ir_rx_work_handler()
37 if (test_and_clear_bit(CX23885_IR_RX_FIFO_SERVICE_REQ, notifications)) in cx23885_ir_rx_work_handler()
54 if (test_and_clear_bit(CX23885_IR_TX_FIFO_SERVICE_REQ, notifications)) in cx23885_ir_tx_work_handler()
/linux/arch/hexagon/include/asm/
H A Dbitops.h31 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
108 test_and_clear_bit(nr, addr); in clear_bit()
133 test_and_clear_bit(nr, addr); in arch___clear_bit()
152 return test_and_clear_bit(nr, addr); in arch___test_and_clear_bit()
/linux/drivers/net/wireless/morsemicro/mm81x/
H A Dyaps.c464 if (test_and_clear_bit(MM81X_HIF_EVT_RX_PEND, flags)) { in mm81x_yaps_work()
470 if (test_and_clear_bit(MM81X_HIF_EVT_TX_COMMAND_PEND, flags)) { in mm81x_yaps_work()
476 if (test_and_clear_bit(MM81X_HIF_EVT_TX_BEACON_PEND, flags)) { in mm81x_yaps_work()
482 if (test_and_clear_bit(MM81X_HIF_EVT_TX_MGMT_PEND, flags)) { in mm81x_yaps_work()
488 if (test_and_clear_bit(MM81X_HIF_EVT_DATA_TRAFFIC_PAUSE_PEND, flags)) { in mm81x_yaps_work()
489 test_and_clear_bit(MM81X_HIF_EVT_DATA_TRAFFIC_RESUME_PEND, in mm81x_yaps_work()
495 if (test_and_clear_bit(MM81X_HIF_EVT_DATA_TRAFFIC_RESUME_PEND, flags)) in mm81x_yaps_work()
499 if (test_and_clear_bit(MM81X_HIF_EVT_TX_PACKET_FREED_UP_PEND, flags)) in mm81x_yaps_work()
510 if (test_and_clear_bit(MM81X_HIF_EVT_TX_DATA_PEND, flags)) { in mm81x_yaps_work()
/linux/arch/sparc/lib/
H A Dbitops.S36 ENTRY(test_and_clear_bit) /* %o0=nr, %o1=addr */
55 ENDPROC(test_and_clear_bit)
56 EXPORT_SYMBOL(test_and_clear_bit)
/linux/arch/m68k/include/asm/
H A Dbitops.h254 #define test_and_clear_bit(nr, vaddr) bclr_reg_test_and_clear_bit(nr, vaddr) macro
256 #define test_and_clear_bit(nr, vaddr) bclr_mem_test_and_clear_bit(nr, vaddr) macro
258 #define test_and_clear_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ macro
266 return test_and_clear_bit(nr, addr); in arch___test_and_clear_bit()
/linux/kernel/kcsan/
H A Dselftest.c161 KCSAN_CHECK_READ_BARRIER(test_and_clear_bit(0, &test_var)); in test_barrier()
190 KCSAN_CHECK_WRITE_BARRIER(test_and_clear_bit(0, &test_var)); in test_barrier()
222 KCSAN_CHECK_RW_BARRIER(test_and_clear_bit(0, &test_var)); in test_barrier()
/linux/arch/powerpc/platforms/pasemi/
H A Ddma_lib.c125 if (!test_and_clear_bit(bit, txch_free)) in pasemi_alloc_tx_chan()
144 if (!test_and_clear_bit(bit, rxch_free)) in pasemi_alloc_rx_chan()
383 if (!test_and_clear_bit(bit, flags_free)) in pasemi_dma_alloc_flag()
448 if (!test_and_clear_bit(bit, fun_free)) in pasemi_dma_alloc_fun()
/linux/fs/nfs/
H A Dnfs4state.c211 if (test_and_clear_bit(NFS4_SLOT_TBL_DRAINING, &tbl->slot_tbl_state)) { in nfs4_end_drain_slot_table()
1536 if (test_and_clear_bit(NFS_CLNT_DST_SSC_COPY_STATE, in nfs42_complete_copies()
1548 if (test_and_clear_bit(NFS_CLNT_DST_SSC_COPY_STATE, in nfs42_complete_copies()
1614 if (!test_and_clear_bit(ops->state_flag_bit, &state->flags)) in nfs4_reclaim_open_state()
1775 if (!test_and_clear_bit(NFS_STATE_RECLAIM_REBOOT, in nfs4_clear_reclaim_server()
1789 if (!test_and_clear_bit(NFS4CLNT_RECLAIM_REBOOT, &clp->cl_state)) in nfs4_state_clear_reclaim_reboot()
1889 if (!test_and_clear_bit(ops->owner_flag_bit, in nfs4_do_reclaim()
2039 if (test_and_clear_bit(NFS4CLNT_SERVER_SCOPE_MISMATCH, &clp->cl_state)) in nfs4_reclaim_lease()
2168 if (!test_and_clear_bit(NFS_MIG_IN_TRANSITION, in nfs4_handle_migration()
2531 if (test_and_clear_bit(NFS4CLNT_RECALL_ANY_LAYOUT_READ, &clp->cl_state)) in nfs4_layoutreturn_any_run()
[all …]
/linux/tools/include/asm-generic/bitops/
H A Datomic.h13 #define clear_bit test_and_clear_bit
/linux/drivers/watchdog/
H A Dsbc7240_wdt.c56 if (test_and_clear_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) { in wdt_disable()
135 if (test_and_clear_bit(SBC7240_EXPECT_CLOSE_STATUS_BIT, &wdt_status) in fop_close()
/linux/arch/arm/include/asm/
H A Dbitops.h195 #define test_and_clear_bit(nr,p) ATOMIC_BITOP(test_and_clear_bit,nr,p) macro
/linux/arch/arm64/include/asm/
H A Dsync_bitops.h22 #define sync_test_and_clear_bit(nr, p) test_and_clear_bit(nr, p)
/linux/drivers/net/phy/mediatek/
H A Dmtk-phy-lib.c295 changed = !!test_and_clear_bit(bit_on, &priv->led_state); in mtk_phy_hw_led_on_set()
297 changed |= !!test_and_clear_bit(MTK_PHY_LED_STATE_NETDEV + in mtk_phy_hw_led_on_set()
320 changed = !!test_and_clear_bit(bit_blink, &priv->led_state); in mtk_phy_hw_led_blink_set()
/linux/arch/sparc/include/asm/
H A Dbitops_64.h20 int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr);
H A Dbitops_32.h52 static inline int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in test_and_clear_bit() function
/linux/drivers/media/pci/cx18/
H A Dcx18-fileops.c108 if (!test_and_clear_bit(CX18_F_S_CLAIMED, &s->s_flags)) { in cx18_release_stream()
126 if (test_and_clear_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags)) { in cx18_release_stream()
133 if (test_and_clear_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags)) { in cx18_release_stream()
203 if (!test_and_clear_bit(CX18_F_M_NEED_SWAP, in cx18_get_mdl()
540 if (test_and_clear_bit(CX18_F_I_ENC_PAUSED, &cx->i_flags)) in cx18_start_capture()
/linux/tools/arch/x86/include/asm/
H A Datomic.h79 static inline int test_and_clear_bit(long nr, unsigned long *addr) in test_and_clear_bit() function
/linux/include/asm-generic/bitops/
H A Dle.h51 return test_and_clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); in test_and_clear_bit_le()
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c395 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_frame()
467 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_frame()
510 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_error()
567 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_seq_done()
602 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_init_buffers()
611 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_init_buffers()
639 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_stream_complete()
692 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_irq()
746 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_irq()
768 if (test_and_clear_bit(0, &dev->hw_lock) == 0) in s5p_mfc_irq()
/linux/tools/include/asm-generic/
H A Datomic-gcc.h84 static inline int test_and_clear_bit(long nr, unsigned long *addr) in test_and_clear_bit() function
/linux/security/keys/
H A Dgc.c200 if (test_and_clear_bit(KEY_GC_KEY_EXPIRED, &key_gc_flags)) in key_garbage_collector()
203 if (test_and_clear_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags)) in key_garbage_collector()
/linux/fs/netfs/
H A Dfscache_cookie.c528 if (test_and_clear_bit(FSCACHE_COOKIE_DO_INVALIDATE, &cookie->flags)) in fscache_perform_lookup()
614 if (test_and_clear_bit(FSCACHE_COOKIE_DO_LRU_DISCARD, &cookie->flags)) in __fscache_use_cookie()
738 if (test_and_clear_bit(FSCACHE_COOKIE_DO_PREP_TO_WRITE, &cookie->flags)) { in fscache_cookie_state_machine()
756 if (test_and_clear_bit(FSCACHE_COOKIE_DO_INVALIDATE, &cookie->flags)) in fscache_cookie_state_machine()
784 if (test_and_clear_bit(FSCACHE_COOKIE_DO_INVALIDATE, &cookie->flags)) in fscache_cookie_state_machine()
849 unpinned = test_and_clear_bit(FSCACHE_COOKIE_NO_ACCESS_WAKE, &cookie->flags); in __fscache_withdraw_cookie()
/linux/arch/sh/include/asm/
H A Dbitops-llsc.h93 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
H A Dbitops-grb.h106 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() function
/linux/arch/openrisc/include/asm/bitops/
H A Datomic.h83 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() function

12345678910>>...15