Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/livepatch/
H A Dshadow-vars.rst127 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);
145 spinlock_t *ps_lock;
149 if (ps_lock)
150 spin_lock(ps_lock);
186 spinlock_t *ps_lock;
190 sizeof(*ps_lock), GFP_ATOMIC,
193 if (ps_lock)
[all …]
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A 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()
H A Drtl_core.h219 spinlock_t ps_lock; member
H A Drtl_core.c821 spin_lock_init(&priv->ps_lock); in _rtl92e_init_priv_lock()
/openbmc/linux/drivers/bluetooth/
H A Dbtnxpuart.c130 struct mutex ps_lock; member
362 mutex_lock(&psdata->ps_lock); in ps_control()
383 mutex_unlock(&psdata->ps_lock); in ps_control()
420 mutex_init(&psdata->ps_lock); in ps_setup()
429 mutex_lock(&psdata->ps_lock); in ps_wakeup()
431 mutex_unlock(&psdata->ps_lock); in ps_wakeup()
446 mutex_lock(&psdata->ps_lock); in ps_cleanup()
448 mutex_unlock(&psdata->ps_lock); in ps_cleanup()
455 mutex_destroy(&psdata->ps_lock); in ps_cleanup()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmain.c389 spin_lock_bh(&dev->ps_lock); in mt7603_sta_remove()
392 spin_unlock_bh(&dev->ps_lock); in mt7603_sta_remove()
428 spin_lock_bh(&dev->ps_lock); in mt7603_sta_ps()
430 spin_unlock_bh(&dev->ps_lock); in mt7603_sta_ps()
460 spin_lock_bh(&dev->ps_lock); in mt7603_release_buffered_frames()
474 spin_unlock_bh(&dev->ps_lock); in mt7603_release_buffered_frames()
H A Ddma.c82 spin_lock_bh(&dev->ps_lock); in mt7603_rx_loopback_skb()
88 spin_unlock_bh(&dev->ps_lock); in mt7603_rx_loopback_skb()
H A Dbeacon.c53 spin_lock_bh(&dev->ps_lock); in mt7603_update_beacon_iter()
73 spin_unlock_bh(&dev->ps_lock); in mt7603_update_beacon_iter()
H A Dmt7603.h129 spinlock_t ps_lock; member
H A Dinit.c503 spin_lock_init(&dev->ps_lock); in mt7603_register_device()
H A Dmac.c244 spin_lock_bh(&dev->ps_lock); in mt7603_wtbl_set_ps()
269 spin_unlock_bh(&dev->ps_lock); in mt7603_wtbl_set_ps()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A 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()
540 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_wake()
574 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_sleep()
597 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_ps_timer()
623 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_sleep_sync()
2099 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_hif_stop()
[all …]
H A Dpci.h136 spinlock_t ps_lock; member
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp.h170 struct mutex ps_lock; /* protects overall PTP PHY start procedure */ member
H A Dice_ptp.c1292 mutex_lock(&ptp_port->ps_lock); in ice_ptp_port_phy_stop()
1301 mutex_unlock(&ptp_port->ps_lock); in ice_ptp_port_phy_stop()
1328 mutex_lock(&ptp_port->ps_lock); in ice_ptp_port_phy_restart()
1355 mutex_unlock(&ptp_port->ps_lock); in ice_ptp_port_phy_restart()
2690 mutex_init(&ptp_port->ps_lock); in ice_ptp_init_port()
2775 mutex_destroy(&pf->ptp.port.ps_lock); in ice_ptp_release()
/openbmc/linux/drivers/net/wireless/rsi/
H A Drsi_main.h368 spinlock_t ps_lock; /*To protect power save config*/ member
H A Drsi_91x_main.c341 spin_lock_init(&adapter->ps_lock); in rsi_91x_init()
H A 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()
/openbmc/linux/net/mac80211/
H A Dsta_info.h692 spinlock_t ps_lock; member
H A Dsta_info.c560 spin_lock_init(&sta->ps_lock); in __sta_info_alloc()
1734 spin_lock_bh(&sta->ps_lock); in ieee80211_sta_ps_deliver_wakeup()
1763 spin_unlock_bh(&sta->ps_lock); in ieee80211_sta_ps_deliver_wakeup()
H A Dtx.c503 spin_lock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf()
512 spin_unlock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf()
530 spin_unlock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf()