Home
last modified time | relevance | path

Searched refs:__test_and_clear_bit (Results 1 – 25 of 56) sorted by relevance

123

/openbmc/u-boot/arch/x86/include/asm/
H A Dbitops.h187 static __inline__ int __test_and_clear_bit(int nr, volatile void * addr) in __test_and_clear_bit() function
396 #define ext2_clear_bit __test_and_clear_bit
404 #define minix_test_and_clear_bit(nr,addr) __test_and_clear_bit(nr,addr)
/openbmc/linux/net/ethtool/
H A Dfec.c56 if (__test_and_clear_bit(ETHTOOL_LINK_MODE_FEC_NONE_BIT, link_modes)) in ethtool_link_modes_to_fecparam()
58 if (__test_and_clear_bit(ETHTOOL_LINK_MODE_FEC_RS_BIT, link_modes)) in ethtool_link_modes_to_fecparam()
60 if (__test_and_clear_bit(ETHTOOL_LINK_MODE_FEC_BASER_BIT, link_modes)) in ethtool_link_modes_to_fecparam()
62 if (__test_and_clear_bit(ETHTOOL_LINK_MODE_FEC_LLRS_BIT, link_modes)) in ethtool_link_modes_to_fecparam()
/openbmc/u-boot/arch/sandbox/include/asm/
H A Dbitops.h73 static inline int __test_and_clear_bit(int nr, void *addr) in __test_and_clear_bit() function
89 out = __test_and_clear_bit(nr, addr); in test_and_clear_bit()
/openbmc/u-boot/arch/arm/include/asm/
H A Dbitops.h66 static inline int __test_and_clear_bit(int nr, volatile void *addr) in __test_and_clear_bit() function
82 out = __test_and_clear_bit(nr, addr); in test_and_clear_bit()
/openbmc/linux/fs/minix/
H A Dminix.h114 __test_and_clear_bit((nr), (unsigned long *)(addr))
149 __test_and_clear_bit((nr) ^ 16, (unsigned long *)(addr))
/openbmc/linux/include/asm-generic/bitops/
H A Dle.h61 return __test_and_clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); in __test_and_clear_bit_le()
/openbmc/linux/net/rfkill/
H A Dinput.c124 if (__test_and_clear_bit(i, rfkill_sw_pending)) { in rfkill_op_handler()
125 c = __test_and_clear_bit(i, rfkill_sw_state); in rfkill_op_handler()
/openbmc/u-boot/arch/nios2/include/asm/bitops/
H A Dnon-atomic.h80 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() function
/openbmc/linux/include/linux/
H A Dbitops.h59 #define __test_and_clear_bit(nr, addr) bitop(___test_and_clear_bit, nr, addr) macro
80 __check_bitop_pr(__test_and_clear_bit);
/openbmc/linux/drivers/net/ipa/
H A Dipa_power.c266 if (!__test_and_clear_bit(IPA_POWER_FLAG_STARTED, power->flags)) { in ipa_power_modem_queue_stop()
286 if (__test_and_clear_bit(IPA_POWER_FLAG_STOPPED, power->flags)) { in ipa_power_modem_queue_wake()
/openbmc/u-boot/arch/riscv/include/asm/
H A Dbitops.h81 static inline int __test_and_clear_bit(int nr, void *addr) in __test_and_clear_bit() function
/openbmc/linux/tools/include/linux/
H A Dbitops.h40 #define __test_and_clear_bit(nr, addr) bitop(___test_and_clear_bit, nr, addr) macro
/openbmc/u-boot/arch/nds32/include/asm/
H A Dbitops.h94 static inline int __test_and_clear_bit(int nr, void *addr) in __test_and_clear_bit() function
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Drx.c293 if (likely(__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags))) in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
327 if (likely(__test_and_clear_bit(MLX5E_RQ_FLAG_XDP_XMIT, rq->flags))) in mlx5e_xsk_skb_from_cqe_linear()
/openbmc/u-boot/arch/mips/include/asm/
H A Dbitops.h251 static __inline__ int __test_and_clear_bit(int nr, volatile void * addr) in __test_and_clear_bit() function
499 static __inline__ int __test_and_clear_bit(int nr, volatile void * addr) in __test_and_clear_bit() function
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_tx.c104 if (__test_and_clear_bit(i, dd->pio_need_disarm)) in qib_disarm_piobufs_ifneeded()
366 if (__test_and_clear_bit(n, dd->pio_need_disarm)) in qib_sendbuf_done()
/openbmc/linux/arch/powerpc/platforms/powermac/
H A Dpic.c86 if (__test_and_clear_bit(src, ppc_lost_interrupts)) in pmac_mask_and_ack_irq()
107 if (__test_and_clear_bit(src, ppc_lost_interrupts)) in pmac_ack_irq()
/openbmc/linux/arch/s390/mm/
H A Dpage-states.c195 if (__test_and_clear_bit(PG_arch_1, &page->flags)) in cmma_init_nodat()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dccm.c40 WARN_ON(!__test_and_clear_bit(tag, ccm->tag_allocator)); in nfp_ccm_free_tag()
/openbmc/linux/drivers/uio/
H A Duio_pdrv_genirq.c92 if (__test_and_clear_bit(UIO_IRQ_DISABLED, &priv->flags)) in uio_pdrv_genirq_irqcontrol()
H A Duio_dmem_genirq.c141 if (__test_and_clear_bit(UIO_IRQ_DISABLED, &priv->flags)) in uio_dmem_genirq_irqcontrol()
/openbmc/linux/tools/testing/selftests/kvm/
H A Ddirty_log_test.c57 __test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, addr)
63 # define __test_and_clear_bit_le __test_and_clear_bit
/openbmc/u-boot/arch/microblaze/include/asm/
H A Dbitops.h149 static inline int __test_and_clear_bit(int nr, volatile void *addr) in __test_and_clear_bit() function
/openbmc/linux/drivers/soc/fsl/qe/
H A Dgpio.c94 if (__test_and_clear_bit(i, mask)) { in qe_gpio_set_multiple()
/openbmc/linux/fs/nfs/
H A Dnfs4client.c281 if (__test_and_clear_bit(NFS_CS_CALLBACK, &clp->cl_res_state)) in nfs4_destroy_callback()
287 if (__test_and_clear_bit(NFS_CS_RENEWD, &clp->cl_res_state)) in nfs4_shutdown_client()
291 if (__test_and_clear_bit(NFS_CS_IDMAP, &clp->cl_res_state)) in nfs4_shutdown_client()

123