| /freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_multicast.c | 269 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 D | ipoib_cm.c | 724 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 D | util.c | 125 if (!test_and_clear_bit(MT76_WORKER_SCHEDULED, &w->state)) { in __mt76_worker_fn()
|
| /freebsd/sys/dev/cxgb/ |
| H A D | cxgb_osdep.h | 132 #define test_and_clear_bit(bit, p) atomic_cmpset_int((p), ((*(p)) | (1<<bit)), ((*(p)) & ~(1<<bit))) macro
|
| H A D | cxgb_sge.c | 1848 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 D | main.c | 3027 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 D | ps.c | 107 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 D | tx.h | |
| H A D | tx.c | |
| /freebsd/sys/dev/qlnx/qlnxe/ |
| H A D | bcm_osal.h | 455 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 D | ps.c | 263 if (test_and_clear_bit(RTW_FLAG_LEISURE_PS_DEEP, rtwdev->flags)) { in __rtw_leave_lps()
|
| H A D | pci.c | 610 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 D | sdio.c | 176 if (!test_and_clear_bit(MT76_STATE_INITIALIZED, &dev->mphy.state)) in mt7663s_remove()
|
| H A D | main.c | 1036 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 D | iwl-trans.c | 232 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 D | main.c | 374 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 D | mac.c | 699 if (test_and_clear_bit(MT76_HW_SCANNING, &dev->mphy.state)) { in mt7921_mac_reset_work()
|
| /freebsd/sys/contrib/vchiq/interface/compat/ |
| H A D | vchi_bsd.h | 69 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 D | bitops.h | 296 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 D | trans-gen2.c | 187 if (test_and_clear_bit(STATUS_DEVICE_ENABLED, &trans->status)) { in _iwl_trans_pcie_gen2_stop_device()
|
| H A D | internal.h | 728 if (test_and_clear_bit(txq->id, trans_pcie->txqs.queue_stopped)) { in iwl_trans_pcie_wake_queue()
|
| H A D | tx.c | 1295 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 D | main.c | 461 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 D | time-event.c | 66 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 D | t4.h | 576 return test_and_clear_bit(CQ_ARMED, &cq->flags); in t4_clear_cq_armed()
|