/freebsd/sys/contrib/dev/rtw89/ |
H A D | ps.c | 84 if (test_and_clear_bit(RTW89_FLAG_LOW_POWER_MODE, rtwdev->flags)) 149 if (!test_and_clear_bit(RTW89_FLAG_LEISURE_PS, rtwdev->flags)) in rtw89_leave_lps()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | util.c | 129 if (!test_and_clear_bit(MT76_WORKER_SCHEDULED, &w->state)) { in __mt76_worker_fn()
|
/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/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/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/mediatek/mt76/mt7615/ |
H A D | sdio.c | 175 if (!test_and_clear_bit(MT76_STATE_INITIALIZED, &dev->mphy.state)) in mt7663s_remove()
|
H A D | main.c | 1047 if (!test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7615_roc_work() 1086 } else if (test_and_clear_bit(MT76_HW_SCANNING, in mt7615_scan_work() 1208 if (!test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7615_cancel_remain_on_channel()
|
/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 | 609 if (!test_and_clear_bit(RTW_PCI_FLAG_NAPI_RUNNING, rtwpci->flags)) in rtw_pci_napi_stop() 698 if (test_and_clear_bit(RTW_FLAG_LEISURE_PS_DEEP, rtwdev->flags)) in rtw_pci_deep_ps_leave() 845 if (test_and_clear_bit(queue, rtwpci->tx_queued)) in rtw_pci_tx_kick_off()
|
H A D | sdio.c | 787 if (test_and_clear_bit(RTW_FLAG_LEISURE_PS_DEEP, rtwdev->flags)) in rtw_sdio_link_ps()
|
/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/contrib/dev/iwlwifi/pcie/ |
H A D | trans-gen2.c | 164 if (test_and_clear_bit(STATUS_DEVICE_ENABLED, &trans->status)) { in _iwl_trans_pcie_gen2_stop_device()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | bitops.h | 292 test_and_clear_bit(long bit, volatile unsigned long *var) in test_and_clear_bit() 291 test_and_clear_bit(long bit, volatile unsigned long *var) test_and_clear_bit() function
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | main.c | 357 if (!test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7921_roc_work() 376 if (test_and_clear_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7921_abort_roc() 912 } else if (test_and_clear_bit(MT76_HW_SCANNING, in mt7921_scan_work()
|
H A D | mac.c | 700 if (test_and_clear_bit(MT76_HW_SCANNING, &dev->mphy.state)) { in mt7921_mac_reset_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_roc_done_wk() 111 if (test_and_clear_bit(IWL_MVM_STATUS_ROC_AUX_RUNNING, &mvm->status)) { in iwl_mvm_roc_done_wk()
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | t4.h | 577 return test_and_clear_bit(CQ_ARMED, &cq->flags); in t4_clear_cq_armed()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | pci.c | 625 if (test_and_clear_bit(ATH11K_PCI_ASPM_RESTORE, &ab_pci->flags)) in ath11k_pci_aspm_restore()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | pci.c | 817 if (test_and_clear_bit(ATH12K_PCI_ASPM_RESTORE, &ab_pci->flags)) in ath12k_pci_aspm_restore()
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | if_bnxt.c | 1847 if (test_and_clear_bit(BNXT_STATE_FW_RESET_DET, &bp->state)) { in bnxt_open() 2049 if (test_and_clear_bit(BNXT_FW_RESET_NOTIFY_SP_EVENT, &bp->sp_event)) { in bnxt_sp_task() 2057 if (test_and_clear_bit(BNXT_FW_EXCEPTION_SP_EVENT, &bp->sp_event)) { in bnxt_sp_task()
|