Home
last modified time | relevance | path

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

12

/freebsd-src/sys/contrib/dev/rtw89/
H A Dps.c73 if (test_and_set_bit(RTW89_FLAG_LOW_POWER_MODE, rtwdev->flags)) in __rtw89_enter_ps_mode()
126 if (test_and_set_bit(RTW89_FLAG_LEISURE_PS, rtwdev->flags)) in rtw89_enter_lps()
/freebsd-src/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-src/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-src/sys/contrib/dev/iwlwifi/queue/
H A Dtx.h
H A Dtx.c
/freebsd-src/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-src/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-kmem-cache.c835 VERIFY(!test_and_set_bit(KMC_BIT_DESTROY, &skc->skc_flags)); in spl_kmem_cache_set_move()
1026 if (test_and_set_bit(KMC_BIT_GROWING, &skc->skc_flags) == 0) { in spl_cache_grow()
1377 if (test_and_set_bit(KMC_BIT_REAPING, &skc->skc_flags))
/freebsd-src/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-src/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-src/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-src/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-src/sys/dev/qlnx/qlnxe/
H A Dbcm_osal.h457 return (test_and_set_bit(bit, var)); in qlnx_test_and_change_bit()
/freebsd-src/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c1298 if (!test_and_set_bit(TIMEOUT, &ep->com.flags)) { in stop_ep_timer()
2861 if (!test_and_set_bit(CLOSE_SENT, &ep->com.flags)) { in c4iw_ep_disconnect()
2959 if (!test_and_set_bit(TIMEOUT, &ep->com.flags)) { in ep_timeout()
/freebsd-src/sys/contrib/dev/iwlwifi/mvm/
H A Dtime-event.c
/freebsd-src/sys/contrib/dev/iwlwifi/
H A Diwl-trans.h1143 if (!test_and_set_bit(STATUS_FW_ERROR, &trans->status)) {
/freebsd-src/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-src/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-src/sys/contrib/dev/iwlwifi/pcie/
H A Dtx.c1165 if (test_and_set_bit(txq_id, trans_pcie->txqs.queue_used)) in iwl_pcie_enqueue_hcmd()
2561 if (WARN(test_and_set_bit(STATUS_SYNC_HCMD_ACTIVE,
/freebsd-src/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()

12