Home
last modified time | relevance | path

Searched refs:test_and_set_bit (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-14.2/sys/contrib/dev/rtw89/
H A Dps.c70 if (test_and_set_bit(RTW89_FLAG_LOW_POWER_MODE, rtwdev->flags)) in __rtw89_enter_ps_mode()
122 if (test_and_set_bit(RTW89_FLAG_LEISURE_PS, rtwdev->flags)) in rtw89_enter_lps()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/
H A Dutil.h98 if (!test_and_set_bit(MT76_WORKER_SCHEDULED, &w->state) || in mt76_worker_schedule()
H A Dmt76_connac.h364 ret = pm->wake.count || test_and_set_bit(MT76_STATE_PM, &phy->state); in mt76_connac_skip_fw_pmctrl()
H A Dsdio.c482 !test_and_set_bit(MT76_READING_STATS, &dev->phy.state) && in mt76s_status_worker()
H A Dusb.c793 !test_and_set_bit(MT76_READING_STATS, &dev->phy.state)) in mt76u_status_worker()
H A Dmt76_connac_mac.c1137 if (!test_and_set_bit(tid, &wcid->ampdu_state)) in mt76_connac2_tx_check_aggr()
/freebsd-14.2/sys/dev/drm2/
H A Ddrm_atomic.h74 #define test_and_set_bit(b, p) \ macro
H A Ddrm_context.c264 if (test_and_set_bit(0, &dev->context_flag)) { in drm_context_switch()
/freebsd-14.2/sys/contrib/dev/iwlwifi/queue/
H A Dtx.h63 if (!test_and_set_bit(txq->id, trans->txqs.queue_stopped)) { in iwl_txq_stop()
H A Dtx.c1188 if (test_and_set_bit(qid, trans->txqs.queue_used)) { in iwl_txq_alloc_response()
1784 if (WARN(test_and_set_bit(STATUS_SYNC_HCMD_ACTIVE, in iwl_trans_txq_send_hcmd_sync()
/freebsd-14.2/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_multicast.c179 if (test_and_set_bit(IPOIB_MCAST_FLAG_ATTACHED, &mcast->flags)) { in ipoib_mcast_join_finish()
292 if (test_and_set_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags)) { in ipoib_mcast_sendonly_join()
583 if (!test_and_set_bit(IPOIB_MCAST_RUN, &priv->flags)) in ipoib_mcast_start_thread()
H A Dipoib_ib.c918 if (test_and_set_bit(IPOIB_PKEY_ASSIGNED, &priv->flags) && in __ipoib_ib_dev_flush()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-kmem-cache.c848 VERIFY(!test_and_set_bit(KMC_BIT_DESTROY, &skc->skc_flags)); in spl_kmem_cache_destroy()
1039 if (test_and_set_bit(KMC_BIT_GROWING, &skc->skc_flags) == 0) { in spl_cache_grow()
1390 if (test_and_set_bit(KMC_BIT_REAPING, &skc->skc_flags)) in spl_kmem_cache_reap_now()
/freebsd-14.2/sys/dev/qlnx/qlnxr/
H A Dqlnxr_os.c1122 if (!test_and_set_bit(QLNXR_ENET_STATE_BIT, &dev->enet_state)) { in qlnxr_add()
1246 if (!test_and_set_bit(QLNXR_ENET_STATE_BIT, &dev->enet_state)) in qlnxr_notify()
1256 if (test_and_set_bit(QLNXR_ENET_STATE_BIT, &dev->enet_state)) in qlnxr_notify()
/freebsd-14.2/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.h58 test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() function
/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dbitops.h322 test_and_set_bit(long bit, volatile unsigned long *var) in test_and_set_bit() function
/freebsd-14.2/sys/dev/bnxt/bnxt_re/
H A Dqplib_res.c798 if (test_and_set_bit(pd->id, pdt->tbl)) { in bnxt_qplib_dealloc_pd()
925 if (test_and_set_bit(dpi->bit, dpit->tbl)) { in bnxt_qplib_dealloc_dpi()
/freebsd-14.2/sys/dev/qlnx/qlnxe/
H A Dbcm_osal.h475 return (test_and_set_bit(bit, var)); in qlnx_test_and_change_bit()
/freebsd-14.2/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c1307 if (!test_and_set_bit(TIMEOUT, &ep->com.flags)) { in stop_ep_timer()
2870 if (!test_and_set_bit(CLOSE_SENT, &ep->com.flags)) { in c4iw_ep_disconnect()
2968 if (!test_and_set_bit(TIMEOUT, &ep->com.flags)) { in ep_timeout()
/freebsd-14.2/sys/contrib/dev/iwlwifi/
H A Diwl-trans.h1561 if (!test_and_set_bit(STATUS_FW_ERROR, &trans->status)) { in iwl_trans_fw_error()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmmio.c682 if (test_and_set_bit(MT76_STATE_WED_RESET, &mphy->state)) in mt7915_mmio_wed_reset()
/freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/
H A Dtime-event.c283 if (!test_and_set_bit(IWL_MVM_STATUS_NEED_FLUSH_P2P, &mvm->status)) in iwl_mvm_p2p_roc_finished()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dmain.c391 if (test_and_set_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7921_set_roc()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmain.c1179 if (test_and_set_bit(MT76_STATE_ROC, &phy->mt76->state)) in mt7615_remain_on_channel()
/freebsd-14.2/sys/contrib/dev/iwlwifi/pcie/
H A Dtx.c748 if (test_and_set_bit(txq_id, trans->txqs.queue_used)) in iwl_trans_pcie_txq_enable()

12