Home
last modified time | relevance | path

Searched refs:ps_lock (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/Documentation/livepatch/
Dshadow-vars.rst120 allocate a shadow copy of the ps_lock pointer, then initialize it::
127 spinlock_t *ps_lock;
133 ps_lock = klp_shadow_alloc(sta, PS_LOCK, sizeof(*ps_lock), gfp,
135 if (!ps_lock)
137 spin_lock_init(ps_lock);
140 When requiring a ps_lock, query the shadow variable API to retrieve one
145 spinlock_t *ps_lock;
148 ps_lock = klp_shadow_get(sta, PS_LOCK);
149 if (ps_lock)
150 spin_lock(ps_lock);
[all …]
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/
Drtl_ps.c76 spin_lock_irqsave(&priv->ps_lock, flags); in rtl92e_enter_sleep()
82 spin_unlock_irqrestore(&priv->ps_lock, flags); in rtl92e_enter_sleep()
91 spin_unlock_irqrestore(&priv->ps_lock, flags); in rtl92e_enter_sleep()
97 spin_unlock_irqrestore(&priv->ps_lock, flags); in rtl92e_enter_sleep()
Drtl_core.h356 spinlock_t ps_lock; member
Drtl_core.c928 spin_lock_init(&priv->ps_lock); in _rtl92e_init_priv_lock()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c386 spin_lock_bh(&dev->ps_lock); in mt7603_sta_remove()
389 spin_unlock_bh(&dev->ps_lock); in mt7603_sta_remove()
425 spin_lock_bh(&dev->ps_lock); in mt7603_sta_ps()
427 spin_unlock_bh(&dev->ps_lock); in mt7603_sta_ps()
457 spin_lock_bh(&dev->ps_lock); in mt7603_release_buffered_frames()
471 spin_unlock_bh(&dev->ps_lock); in mt7603_release_buffered_frames()
Dbeacon.c30 spin_lock_bh(&dev->ps_lock); in mt7603_update_beacon_iter()
41 spin_unlock_bh(&dev->ps_lock); in mt7603_update_beacon_iter()
Ddma.c58 spin_lock_bh(&dev->ps_lock); in mt7603_rx_loopback_skb()
64 spin_unlock_bh(&dev->ps_lock); in mt7603_rx_loopback_skb()
Dmt7603.h133 spinlock_t ps_lock; member
Dinit.c505 spin_lock_init(&dev->ps_lock); in mt7603_register_device()
Dmac.c233 spin_lock_bh(&dev->ps_lock); in mt7603_wtbl_set_ps()
258 spin_unlock_bh(&dev->ps_lock); in mt7603_wtbl_set_ps()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dpci.c442 lockdep_assert_held(&ar_pci->ps_lock); in __ath10k_pci_wake()
456 lockdep_assert_held(&ar_pci->ps_lock); in __ath10k_pci_sleep()
499 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_force_wake()
511 spin_unlock_irqrestore(&ar_pci->ps_lock, flags); in ath10k_pci_force_wake()
521 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_force_sleep()
528 spin_unlock_irqrestore(&ar_pci->ps_lock, flags); in ath10k_pci_force_sleep()
540 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_wake()
561 spin_unlock_irqrestore(&ar_pci->ps_lock, flags); in ath10k_pci_wake()
574 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_sleep()
588 spin_unlock_irqrestore(&ar_pci->ps_lock, flags); in ath10k_pci_sleep()
[all …]
Dpci.h136 spinlock_t ps_lock; member
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_ptp.h150 struct mutex ps_lock; /* protects overall PTP PHY start procedure */ member
Dice_ptp.c1281 mutex_lock(&ptp_port->ps_lock); in ice_ptp_port_phy_stop()
1290 mutex_unlock(&ptp_port->ps_lock); in ice_ptp_port_phy_stop()
1317 mutex_lock(&ptp_port->ps_lock); in ice_ptp_port_phy_restart()
1340 mutex_unlock(&ptp_port->ps_lock); in ice_ptp_port_phy_restart()
2638 mutex_init(&ptp_port->ps_lock); in ice_ptp_init_port()
2723 mutex_destroy(&pf->ptp.port.ps_lock); in ice_ptp_release()
/linux-6.1.9/drivers/net/wireless/rsi/
Drsi_91x_main.c341 spin_lock_init(&adapter->ps_lock); in rsi_91x_init()
Drsi_main.h368 spinlock_t ps_lock; /*To protect power save config*/ member
Drsi_91x_mac80211.c704 spin_lock_irqsave(&adapter->ps_lock, flags); in rsi_mac80211_config()
709 spin_unlock_irqrestore(&adapter->ps_lock, flags); in rsi_mac80211_config()
/linux-6.1.9/net/mac80211/
Dsta_info.h676 spinlock_t ps_lock; member
Dsta_info.c553 spin_lock_init(&sta->ps_lock); in __sta_info_alloc()
1552 spin_lock(&sta->ps_lock); in ieee80211_sta_ps_deliver_wakeup()
1581 spin_unlock(&sta->ps_lock); in ieee80211_sta_ps_deliver_wakeup()
Dtx.c502 spin_lock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf()
511 spin_unlock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf()
529 spin_unlock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf()