Searched refs:test_and_clear_bit (Results 1 - 25 of 548) sorted by relevance

1234567891011>>

/linux-master/tools/include/asm-generic/bitops/
H A Datomic.h13 #define clear_bit test_and_clear_bit
/linux-master/drivers/media/pci/cx23885/
H A Dcx23885-ir.c31 if (test_and_clear_bit(CX23885_IR_RX_SW_FIFO_OVERRUN, notifications))
33 if (test_and_clear_bit(CX23885_IR_RX_HW_FIFO_OVERRUN, notifications))
35 if (test_and_clear_bit(CX23885_IR_RX_END_OF_RX_DETECTED, notifications))
37 if (test_and_clear_bit(CX23885_IR_RX_FIFO_SERVICE_REQ, notifications))
54 if (test_and_clear_bit(CX23885_IR_TX_FIFO_SERVICE_REQ, notifications))
/linux-master/arch/arm64/include/asm/
H A Dsync_bitops.h22 #define sync_test_and_clear_bit(nr, p) test_and_clear_bit(nr, p)
/linux-master/arch/hexagon/include/asm/
H A Dbitops.h27 * test_and_clear_bit - clear a bit and return its old value
31 static inline int test_and_clear_bit(int nr, volatile void *addr) function
108 test_and_clear_bit(nr, addr);
133 test_and_clear_bit(nr, addr);
152 return test_and_clear_bit(nr, addr);
/linux-master/arch/x86/kvm/vmx/
H A Dposted_intr.h41 return test_and_clear_bit(POSTED_INTR_ON,
47 return test_and_clear_bit(POSTED_INTR_SN,
/linux-master/include/asm-generic/bitops/
H A Dle.h51 return test_and_clear_bit(nr ^ BITOP_LE_SWIZZLE, addr);
H A Dinstrumented-atomic.h76 * test_and_clear_bit - Clear a bit and return its old value
82 static __always_inline bool test_and_clear_bit(long nr, volatile unsigned long *addr) function
/linux-master/tools/arch/x86/include/asm/
H A Datomic.h79 static inline int test_and_clear_bit(long nr, unsigned long *addr) function
/linux-master/drivers/isdn/mISDN/
H A Dlayer1.c174 if (test_and_clear_bit(FLG_L1_DEACTTIMER, &l1->Flags))
177 if (test_and_clear_bit(FLG_L1_T3RUN, &l1->Flags))
189 test_and_clear_bit(FLG_L1_T3RUN, &l1->Flags);
190 if (test_and_clear_bit(FLG_L1_ACTIVATING, &l1->Flags)) {
191 if (test_and_clear_bit(FLG_L1_DBLOCKED, &l1->Flags))
206 test_and_clear_bit(FLG_L1_ACTTIMER, &l1->Flags);
216 test_and_clear_bit(FLG_L1_DEACTTIMER, &l1->Flags);
217 test_and_clear_bit(FLG_L1_ACTIVATED, &l1->Flags);
218 if (test_and_clear_bit(FLG_L1_DBLOCKED, &l1->Flags))
242 test_and_clear_bit(FLG_L1_ACTIVATIN
[all...]
H A Dhwchannel.c20 if (test_and_clear_bit(FLG_RECVQUEUE, &dch->Flags)) {
30 if (test_and_clear_bit(FLG_PHCHANGE, &dch->Flags)) {
43 if (test_and_clear_bit(FLG_RECVQUEUE, &bch->Flags)) {
131 test_and_clear_bit(FLG_TX_BUSY, &ch->Flags);
132 test_and_clear_bit(FLG_TX_NEXT, &ch->Flags);
133 test_and_clear_bit(FLG_ACTIVE, &ch->Flags);
134 test_and_clear_bit(FLG_FILLEMPTY, &ch->Flags);
135 test_and_clear_bit(FLG_TX_EMPTY, &ch->Flags);
136 test_and_clear_bit(FLG_RX_OFF, &ch->Flags);
170 test_and_clear_bit(FLG_FILLEMPT
[all...]
H A Dstack.c216 test_and_clear_bit(mISDN_STACK_WORK, &st->status);
217 test_and_clear_bit(mISDN_STACK_RUNNING, &st->status);
223 test_and_clear_bit(mISDN_STACK_WORK,
249 test_and_clear_bit(mISDN_STACK_WORK,
251 test_and_clear_bit(mISDN_STACK_RUNNING,
258 test_and_clear_bit(mISDN_STACK_RUNNING, &st->status);
260 test_and_clear_bit(mISDN_STACK_CLEARING, &st->status);
263 if (test_and_clear_bit(mISDN_STACK_RESTART, &st->status)) {
264 test_and_clear_bit(mISDN_STACK_STOPPED, &st->status);
279 test_and_clear_bit(mISDN_STACK_ACTIV
[all...]
H A Dlayer2.c257 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag);
269 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag);
272 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag);
331 if (test_and_clear_bit(FLG_PEER_BUSY, &l2->flag))
332 test_and_clear_bit(FLG_L2BLOCK, &l2->flag);
384 test_and_clear_bit(FLG_ACK_PEND, &l2->flag);
385 test_and_clear_bit(FLG_REJEXC, &l2->flag);
386 test_and_clear_bit(FLG_OWN_BUSY, &l2->flag);
672 if (test_and_clear_bit(FLG_T200_RUN, &l2->flag))
681 if (test_and_clear_bit(FLG_PEND_RE
[all...]
/linux-master/arch/sh/include/asm/
H A Dbitops-grb.h106 static inline int test_and_clear_bit(int nr, volatile void * addr) function
H A Dbitops-llsc.h93 static inline int test_and_clear_bit(int nr, volatile void *addr) function
104 "movli.l @%2, %0 ! test_and_clear_bit \n\t"
H A Dbitops-cas.h64 static inline int test_and_clear_bit(int nr, volatile void *addr) function
/linux-master/arch/openrisc/include/asm/bitops/
H A Datomic.h83 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) function
/linux-master/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) function
/linux-master/tools/include/asm-generic/
H A Datomic-gcc.h84 static inline int test_and_clear_bit(long nr, unsigned long *addr) function
/linux-master/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-master/drivers/leds/
H A Dled-core.c77 if (test_and_clear_bit(LED_BLINK_ONESHOT_STOP,
86 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE,
143 if (test_and_clear_bit(LED_BLINK_DISABLE, &led_cdev->work_flags)) {
155 if (test_and_clear_bit(LED_SET_BRIGHTNESS_OFF, &led_cdev->work_flags))
158 if (test_and_clear_bit(LED_SET_BRIGHTNESS, &led_cdev->work_flags))
161 if (test_and_clear_bit(LED_SET_BLINK, &led_cdev->work_flags)) {
/linux-master/drivers/fpga/
H A Dstratix10-soc.c156 * test_and_clear_bit() to check status in priv->status
209 if (!test_and_clear_bit(SVC_STATUS_OK, &priv->status)) {
322 if (test_and_clear_bit(SVC_STATUS_BUFFER_DONE, &priv->status) ||
323 test_and_clear_bit(SVC_STATUS_BUFFER_SUBMITTED,
329 if (test_and_clear_bit(SVC_STATUS_ERROR, &priv->status)) {
377 if (test_and_clear_bit(SVC_STATUS_COMPLETED, &priv->status))
380 if (test_and_clear_bit(SVC_STATUS_ERROR, &priv->status)) {
/linux-master/drivers/infiniband/hw/hfi1/
H A Dintr.c211 if (test_and_clear_bit(HFI1_CTXT_WAITING_RCV, &rcd->event_flags)) {
214 } else if (test_and_clear_bit(HFI1_CTXT_WAITING_URG,
/linux-master/net/mac80211/
H A Dht.c346 if (test_and_clear_bit(HT_AGG_STATE_STOP_CB, &tid_tx->state))
366 if (test_and_clear_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired))
371 if (test_and_clear_bit(tid,
378 test_and_clear_bit(tid,
384 if (test_and_clear_bit(tid + IEEE80211_NUM_TIDS,
446 test_and_clear_bit(HT_AGG_STATE_START_CB, &tid_tx->state))
448 if (test_and_clear_bit(HT_AGG_STATE_WANT_STOP, &tid_tx->state))
451 if (test_and_clear_bit(HT_AGG_STATE_STOP_CB, &tid_tx->state))
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dusb_mcu.c78 if (test_and_clear_bit(MT76_STATE_POWER_OFF, &dev->mphy.state)) {

Completed in 186 milliseconds

1234567891011>>