/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/staging/rtl8192e/rtl8192e/ |
H A D | rtl_ps.c | 76 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 D | rtl_core.h | 214 spinlock_t ps_lock; member
|
H A D | rtl_core.c | 734 spin_lock_init(&priv->ps_lock); in _rtl92e_init_priv_lock()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | main.c | 382 spin_lock_bh(&dev->ps_lock); in mt7603_sta_remove() 385 spin_unlock_bh(&dev->ps_lock); in mt7603_sta_remove() 421 spin_lock_bh(&dev->ps_lock); in mt7603_sta_ps() 423 spin_unlock_bh(&dev->ps_lock); in mt7603_sta_ps() 453 spin_lock_bh(&dev->ps_lock); in mt7603_release_buffered_frames() 467 spin_unlock_bh(&dev->ps_lock); in mt7603_release_buffered_frames()
|
H A D | dma.c | 82 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 D | beacon.c | 53 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 D | mt7603.h | 129 spinlock_t ps_lock; member
|
H A D | init.c | 513 spin_lock_init(&dev->ps_lock); in mt7603_register_device()
|
H A D | mac.c | 244 spin_lock_bh(&dev->ps_lock); in mt7603_wtbl_set_ps() 269 spin_unlock_bh(&dev->ps_lock); in mt7603_wtbl_set_ps()
|
/linux/drivers/bluetooth/ |
H A D | btnxpuart.c | 140 struct mutex ps_lock; member 373 mutex_lock(&psdata->ps_lock); in ps_control() 394 mutex_unlock(&psdata->ps_lock); in ps_control() 431 mutex_init(&psdata->ps_lock); in ps_setup() 440 mutex_lock(&psdata->ps_lock); in ps_wakeup() 442 mutex_unlock(&psdata->ps_lock); in ps_wakeup() 457 mutex_lock(&psdata->ps_lock); in ps_cleanup() 459 mutex_unlock(&psdata->ps_lock); in ps_cleanup() 466 mutex_destroy(&psdata->ps_lock); in ps_cleanup()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp.h | 186 struct mutex ps_lock; /* protects overall PTP PHY start procedure */ member
|
H A D | ice_ptp.c | 1364 mutex_lock(&ptp_port->ps_lock); in ice_ptp_port_phy_stop() 1382 mutex_unlock(&ptp_port->ps_lock); in ice_ptp_port_phy_stop() 1410 mutex_lock(&ptp_port->ps_lock); in ice_ptp_port_phy_restart() 1449 mutex_unlock(&ptp_port->ps_lock); in ice_ptp_port_phy_restart() 3210 mutex_init(&ptp_port->ps_lock); in ice_ptp_init_port() 3422 mutex_destroy(&pf->ptp.port.ps_lock); in ice_ptp_release()
|
/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 | 705 spin_lock_irqsave(&adapter->ps_lock, flags); in rsi_mac80211_config() 710 spin_unlock_irqrestore(&adapter->ps_lock, flags); in rsi_mac80211_config()
|
/linux/net/mac80211/ |
H A D | sta_info.h | 687 spinlock_t ps_lock; member
|
H A D | sta_info.c | 565 spin_lock_init(&sta->ps_lock); in __sta_info_alloc() 1727 spin_lock_bh(&sta->ps_lock); in ieee80211_sta_ps_deliver_wakeup() 1756 spin_unlock_bh(&sta->ps_lock); in ieee80211_sta_ps_deliver_wakeup()
|
H A D | tx.c | 496 spin_lock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf() 505 spin_unlock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf() 523 spin_unlock(&sta->ps_lock); in ieee80211_tx_h_unicast_ps_buf()
|