Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/dev/rtw89/
H A Dps.c84 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 Dutil.c129 if (!test_and_clear_bit(MT76_WORKER_SCHEDULED, &w->state)) { in __mt76_worker_fn()
/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/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/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/mediatek/mt76/mt7615/
H A Dsdio.c175 if (!test_and_clear_bit(MT76_STATE_INITIALIZED, &dev->mphy.state)) in mt7663s_remove()
H A Dmain.c1047 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 Dps.c263 if (test_and_clear_bit(RTW_FLAG_LEISURE_PS_DEEP, rtwdev->flags)) { in __rtw_leave_lps()
H A Dpci.c609 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 Dsdio.c787 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 Dvchi_bsd.h69 int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Dtrans-gen2.c164 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 Dbitops.h292 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 Dmain.c357 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 Dmac.c700 if (test_and_clear_bit(MT76_HW_SCANNING, &dev->mphy.state)) { in mt7921_mac_reset_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_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 Dt4.h577 return test_and_clear_bit(CQ_ARMED, &cq->flags); in t4_clear_cq_armed()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dpci.c625 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 Dpci.c817 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 Dif_bnxt.c1847 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()

12