Home
last modified time | relevance | path

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

12

/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_multicast.c269 status = test_and_clear_bit(IPOIB_MCAST_FLAG_BUSY, in ipoib_mcast_sendonly_join_complete()
391 status = test_and_clear_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags); in ipoib_mcast_join_complete()
610 if (test_and_clear_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags)) in ipoib_mcast_leave()
613 if (test_and_clear_bit(IPOIB_MCAST_FLAG_ATTACHED, &mcast->flags)) { in ipoib_mcast_leave()
H A Dipoib_cm.c724 if (test_and_clear_bit(IPOIB_FLAG_INITIALIZED, &tx->flags)) { in ipoib_cm_handle_tx_wc()
1147 if (test_and_clear_bit(IPOIB_FLAG_INITIALIZED, &tx->flags)) { in ipoib_cm_tx_handler()
1185 if (test_and_clear_bit(IPOIB_FLAG_INITIALIZED, &tx->flags)) { in ipoib_cm_destroy_tx()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dutil.c125 if (!test_and_clear_bit(MT76_WORKER_SCHEDULED, &w->state)) { in __mt76_worker_fn()
/freebsd/sys/dev/cxgb/
H A Dcxgb_osdep.h132 #define test_and_clear_bit(bit, p) atomic_cmpset_int((p), ((*(p)) | (1<<bit)), ((*(p)) & ~(1<<bit))) macro
H A Dcxgb_sge.c1848 test_and_clear_bit(qid, &qs->txq_stopped)) in check_desc_avail()
1958 test_and_clear_bit(TXQ_CTRL, &qs->txq_stopped)) in restart_ctrlq()
2324 test_and_clear_bit(TXQ_OFLD, &qs->txq_stopped)) in restart_offloadq()
2383 test_and_clear_bit(TXQ_OFLD, &qs->txq_stopped)) { in restart_tx()
2390 test_and_clear_bit(TXQ_CTRL, &qs->txq_stopped)) { in restart_tx()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dmain.c3027 if (test_and_clear_bit(BNXT_RE_FLAG_STATS_CTX_ALLOC, &rdev->flags)) { in bnxt_re_put_stats_ctx()
3035 test_and_clear_bit(BNXT_RE_FLAG_STATS_CTX2_ALLOC, &rdev->flags); in bnxt_re_put_stats2_ctx()
3444 if (test_and_clear_bit(BNXT_RE_FLAG_DEV_LIST_INITIALIZED, in bnxt_re_dev_uninit()
3461 if (test_and_clear_bit(BNXT_RE_FLAG_WORKER_REG, &rdev->flags)) { in bnxt_re_dev_uninit()
3487 if (test_and_clear_bit(BNXT_RE_FLAG_SETUP_NQ, &rdev->flags)) in bnxt_re_dev_uninit()
3491 if (test_and_clear_bit(BNXT_RE_FLAG_TBLS_ALLOCINIT, &rdev->flags)) in bnxt_re_dev_uninit()
3493 if (test_and_clear_bit(BNXT_RE_FLAG_RCFW_CHANNEL_INIT, &rdev->flags)) { in bnxt_re_dev_uninit()
3502 if (test_and_clear_bit(BNXT_RE_FLAG_ALLOC_CTX, &rdev->flags)) in bnxt_re_dev_uninit()
3506 if (test_and_clear_bit(BNXT_RE_FLAG_RCFW_CHANNEL_EN, &rdev->flags)) in bnxt_re_dev_uninit()
3514 if (test_and_clear_bit(BNXT_RE_FLAG_NET_RING_ALLOC, &rdev->flags)) in bnxt_re_dev_uninit()
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Dps.c107 if (test_and_clear_bit(RTW89_FLAG_LOW_POWER_MODE, rtwdev->flags)) in __rtw89_leave_ps_mode()
195 if (!test_and_clear_bit(RTW89_FLAG_LEISURE_PS, rtwdev->flags)) in rtw89_leave_lps()
/freebsd/sys/contrib/dev/iwlwifi/queue/
H A Dtx.h
H A Dtx.c
/freebsd/sys/dev/qlnx/qlnxe/
H A Dbcm_osal.h455 return (test_and_clear_bit(bit, var)); in qlnx_test_and_change_bit()
461 #define OSAL_TEST_AND_CLEAR_BIT test_and_clear_bit
/freebsd/sys/contrib/dev/rtw88/
H A Dps.c263 if (test_and_clear_bit(RTW_FLAG_LEISURE_PS_DEEP, rtwdev->flags)) { in __rtw_leave_lps()
H A Dpci.c610 if (!test_and_clear_bit(RTW_PCI_FLAG_NAPI_RUNNING, rtwpci->flags)) in rtw_pci_napi_stop()
699 if (test_and_clear_bit(RTW_FLAG_LEISURE_PS_DEEP, rtwdev->flags)) in rtw_pci_deep_ps_leave()
846 if (test_and_clear_bit(queue, rtwpci->tx_queued)) in rtw_pci_tx_kick_off()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dsdio.c176 if (!test_and_clear_bit(MT76_STATE_INITIALIZED, &dev->mphy.state)) in mt7663s_remove()
H A Dmain.c1036 if (!test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7615_roc_work()
1075 } else if (test_and_clear_bit(MT76_HW_SCANNING, in mt7615_scan_work()
1197 if (!test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7615_cancel_remain_on_channel()
/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-trans.c232 if (!test_and_clear_bit(STATUS_RESET_PENDING, &trans->status)) in iwl_trans_restart_wk()
645 if (test_and_clear_bit(STATUS_RESET_PENDING, &trans->status)) { in iwl_trans_stop_device()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dmain.c374 if (test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7921_roc_abort_sync()
388 if (!test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7921_roc_work()
407 if (test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7921_abort_roc()
1017 } else if (test_and_clear_bit(MT76_HW_SCANNING, in mt7921_scan_work()
H A Dmac.c699 if (test_and_clear_bit(MT76_HW_SCANNING, &dev->mphy.state)) { in mt7921_mac_reset_work()
/freebsd/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/sys/compat/linuxkpi/common/include/linux/
H A Dbitops.h296 test_and_clear_bit(long bit, volatile unsigned long *var) in test_and_clear_bit() function
/freebsd/sys/contrib/dev/iwlwifi/pcie/gen1_2/
H A Dtrans-gen2.c187 if (test_and_clear_bit(STATUS_DEVICE_ENABLED, &trans->status)) { in _iwl_trans_pcie_gen2_stop_device()
H A Dinternal.h728 if (test_and_clear_bit(txq->id, trans_pcie->txqs.queue_stopped)) { in iwl_trans_pcie_wake_queue()
H A Dtx.c1295 if (!test_and_clear_bit(txq_id, trans_pcie->txqs.queue_used)) { in iwl_trans_pcie_txq_disable()
2616 if (!test_and_clear_bit(STATUS_SUPPRESS_CMD_ERROR_ONCE, in iwl_trans_pcie_send_hcmd_sync()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7925/
H A Dmain.c461 if (test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7925_roc_abort_sync()
475 if (!test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7925_roc_work()
495 if (test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7925_abort_roc()
1415 if (test_and_clear_bit(MT76_HW_SCANNING, &phy->mt76->state)) { in mt7925_scan_work()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dtime-event.c66 if (test_and_clear_bit(IWL_MVM_STATUS_ROC_P2P_RUNNING, &mvm->status)) { in iwl_mvm_cleanup_roc()
111 if (test_and_clear_bit(IWL_MVM_STATUS_ROC_AUX_RUNNING, &mvm->status)) { in iwl_mvm_cleanup_roc()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dt4.h576 return test_and_clear_bit(CQ_ARMED, &cq->flags); in t4_clear_cq_armed()

12