Home
last modified time | relevance | path

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

/freebsd-13.1/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_multicast.c271 status = test_and_clear_bit(IPOIB_MCAST_FLAG_BUSY, in ipoib_mcast_sendonly_join_complete()
393 status = test_and_clear_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags); in ipoib_mcast_join_complete()
612 if (test_and_clear_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags)) in ipoib_mcast_leave()
615 if (test_and_clear_bit(IPOIB_MCAST_FLAG_ATTACHED, &mcast->flags)) { in ipoib_mcast_leave()
H A Dipoib_cm.c726 if (test_and_clear_bit(IPOIB_FLAG_INITIALIZED, &tx->flags)) { in ipoib_cm_handle_tx_wc()
1149 if (test_and_clear_bit(IPOIB_FLAG_INITIALIZED, &tx->flags)) { in ipoib_cm_tx_handler()
1187 if (test_and_clear_bit(IPOIB_FLAG_INITIALIZED, &tx->flags)) { in ipoib_cm_destroy_tx()
/freebsd-13.1/sys/dev/qlnx/qlnxe/
H A Dbcm_osal.h486 return (test_and_clear_bit(bit, var)); in qlnx_test_and_change_bit()
491 return (test_and_clear_bit(bit, (long *)var)); in qlnx_test_and_change_bit()
513 #define OSAL_TEST_AND_CLEAR_BIT test_and_clear_bit
/freebsd-13.1/sys/dev/cxgb/
H A Dcxgb_osdep.h135 #define test_and_clear_bit(bit, p) atomic_cmpset_int((p), ((*(p)) | (1<<bit)), ((*(p)) & ~(1<<bit))) macro
H A Dcxgb_sge.c1856 test_and_clear_bit(qid, &qs->txq_stopped)) in check_desc_avail()
1966 test_and_clear_bit(TXQ_CTRL, &qs->txq_stopped)) in restart_ctrlq()
2332 test_and_clear_bit(TXQ_OFLD, &qs->txq_stopped)) in restart_offloadq()
2391 test_and_clear_bit(TXQ_OFLD, &qs->txq_stopped)) { in restart_tx()
2398 test_and_clear_bit(TXQ_CTRL, &qs->txq_stopped)) { in restart_tx()
/freebsd-13.1/sys/contrib/dev/iwlwifi/queue/
H A Dtx.h32 if (test_and_clear_bit(txq->id, trans->txqs.queue_stopped)) { in iwl_wake_queue()
H A Dtx.c1271 if (!test_and_clear_bit(queue, trans->txqs.queue_used)) { in iwl_txq_dyn_free()
1790 if (!test_and_clear_bit(STATUS_SUPPRESS_CMD_ERROR_ONCE, in iwl_trans_txq_send_hcmd_sync()
/freebsd-13.1/sys/contrib/dev/iwlwifi/pcie/
H A Dtrans-gen2.c159 if (test_and_clear_bit(STATUS_DEVICE_ENABLED, &trans->status)) { in _iwl_trans_pcie_gen2_stop_device()
H A Dtx.c876 if (!test_and_clear_bit(txq_id, trans->txqs.queue_used)) { in iwl_trans_pcie_txq_disable()
H A Drx.c1799 if (test_and_clear_bit(STATUS_SYNC_HCMD_ACTIVE,
H A Dtrans.c1277 if (test_and_clear_bit(STATUS_DEVICE_ENABLED, &trans->status)) { in _iwl_trans_pcie_stop_device()
/freebsd-13.1/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h69 int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dbitops.h293 test_and_clear_bit(long bit, volatile unsigned long *var) in test_and_clear_bit() function
/freebsd-13.1/sys/contrib/dev/iwlwifi/mvm/
H A Dtime-event.c70 if (test_and_clear_bit(IWL_MVM_STATUS_NEED_FLUSH_P2P, &mvm->status)) { in iwl_mvm_roc_done_wk()
93 if (test_and_clear_bit(IWL_MVM_STATUS_ROC_AUX_RUNNING, &mvm->status)) { in iwl_mvm_roc_done_wk()
H A Dops.c1899 !test_and_clear_bit(IWL_MVM_STATUS_SUPPRESS_ERROR_LOG_ONCE, in iwl_mvm_nic_error()
H A Drxmq.c888 WARN_ONCE(!test_and_clear_bit(queue, &mvm->queue_sync_state), in iwl_mvm_rx_queue_notif()
H A Dmac80211.c1256 if (test_and_clear_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status) || in __iwl_mvm_mac_stop()
1257 test_and_clear_bit(IWL_MVM_STATUS_HW_RESTART_REQUESTED, in __iwl_mvm_mac_stop()
/freebsd-13.1/sys/dev/cxgbe/iw_cxgbe/
H A Dt4.h579 return test_and_clear_bit(CQ_ARMED, &cq->flags); in t4_clear_cq_armed()