Searched refs:ps_lock (Results 1 – 10 of 10) sorted by relevance
| /linux/Documentation/livepatch/ |
| H A D | shadow-vars.rst | 120 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/drivers/net/wireless/ath/ath10k/ |
| H A D | pci.c | 444 lockdep_assert_held(&ar_pci->ps_lock); in __ath10k_pci_wake() 458 lockdep_assert_held(&ar_pci->ps_lock); in __ath10k_pci_sleep() 501 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_force_wake() 513 spin_unlock_irqrestore(&ar_pci->ps_lock, flags); in ath10k_pci_force_wake() 523 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_force_sleep() 530 spin_unlock_irqrestore(&ar_pci->ps_lock, flags); in ath10k_pci_force_sleep() 542 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_wake() 563 spin_unlock_irqrestore(&ar_pci->ps_lock, flags); in ath10k_pci_wake() 576 spin_lock_irqsave(&ar_pci->ps_lock, flags); in ath10k_pci_sleep() 590 spin_unlock_irqrestore(&ar_pci->ps_lock, flags); in ath10k_pci_sleep() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp.c | 1182 mutex_lock(&ptp_port->ps_lock); in ice_ptp_port_phy_stop() 1204 mutex_unlock(&ptp_port->ps_lock); in ice_ptp_port_phy_stop() 1229 mutex_lock(&ptp_port->ps_lock); in ice_ptp_port_phy_restart() 1272 mutex_unlock(&ptp_port->ps_lock); in ice_ptp_port_phy_restart() 3234 mutex_init(&ptp_port->ps_lock); in ice_ptp_init_port() 3345 mutex_destroy(&ptp->port.ps_lock); in ice_ptp_init() 3373 mutex_destroy(&pf->ptp.port.ps_lock); in ice_ptp_release() 3396 mutex_destroy(&pf->ptp.port.ps_lock); in ice_ptp_release()
|
| H A D | ice_ptp.h | 152 struct mutex ps_lock; /* protects overall PTP PHY start procedure */ member
|
| /linux/drivers/net/wireless/rsi/ |
| H A D | rsi_91x_main.c | 341 spin_lock_init(&adapter->ps_lock); in rsi_91x_init()
|
| H A D | rsi_main.h | 368 spinlock_t ps_lock; /*To protect power save config*/ member
|
| H A D | rsi_91x_mac80211.c | 707 spin_lock_irqsave(&adapter->ps_lock, flags); in rsi_mac80211_config() 712 spin_unlock_irqrestore(&adapter->ps_lock, flags); in rsi_mac80211_config()
|
| /linux/net/mac80211/ |
| H A D | sta_info.h | 647 * @ps_lock: used for powersave (when mac80211 is the AP) related locking 738 spinlock_t ps_lock; member
|
| H A D | sta_info.c | 642 spin_lock_init(&sta->ps_lock); in __sta_info_alloc() 1818 spin_lock_bh(&sta->ps_lock); in ieee80211_sta_ps_deliver_wakeup() 1847 spin_unlock_bh(&sta->ps_lock); in ieee80211_sta_ps_deliver_wakeup()
|
| H A D | tx.c | 489 spin_lock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf() 498 spin_unlock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf() 516 spin_unlock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf()
|