/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | ab8500_fg.c | 195 * @cc_lock: Mutex for locking the CC 237 struct mutex cc_lock; member 467 mutex_lock(&di->cc_lock); in ab8500_fg_coulomb_counter() 516 mutex_unlock(&di->cc_lock); in ab8500_fg_coulomb_counter() 521 mutex_unlock(&di->cc_lock); in ab8500_fg_coulomb_counter() 538 mutex_lock(&di->cc_lock); in ab8500_fg_inst_curr_start() 572 /* Note: cc_lock is still locked */ in ab8500_fg_inst_curr_start() 575 mutex_unlock(&di->cc_lock); in ab8500_fg_inst_curr_start() 690 mutex_unlock(&di->cc_lock); in ab8500_fg_inst_curr_finalize() 695 mutex_unlock(&di->cc_lock); in ab8500_fg_inst_curr_finalize() [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | ab8500_fg.c | 197 * @cc_lock: Mutex for locking the CC 240 struct mutex cc_lock; member 470 mutex_lock(&di->cc_lock); in ab8500_fg_coulomb_counter() 519 mutex_unlock(&di->cc_lock); in ab8500_fg_coulomb_counter() 524 mutex_unlock(&di->cc_lock); in ab8500_fg_coulomb_counter() 541 mutex_lock(&di->cc_lock); in ab8500_fg_inst_curr_start() 575 /* Note: cc_lock is still locked */ in ab8500_fg_inst_curr_start() 578 mutex_unlock(&di->cc_lock); in ab8500_fg_inst_curr_start() 692 mutex_unlock(&di->cc_lock); in ab8500_fg_inst_curr_finalize() 697 mutex_unlock(&di->cc_lock); in ab8500_fg_inst_curr_finalize() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
H A D | mac80211.c | 431 spin_lock_init(&dev->cc_lock); in mt76_alloc_device() 600 spin_lock_bh(&dev->cc_lock); in mt76_update_survey() 603 spin_unlock_bh(&dev->cc_lock); in mt76_update_survey() 677 spin_lock_bh(&dev->cc_lock); in mt76_get_survey() 680 spin_unlock_bh(&dev->cc_lock); in mt76_get_survey() 803 spin_lock(&dev->cc_lock); in mt76_airtime_report() 805 spin_unlock(&dev->cc_lock); in mt76_airtime_report()
|
H A D | mt76x02_mac.c | 642 spin_lock_bh(&dev->mt76.cc_lock); in mt76x02_send_tx_status() 644 spin_unlock_bh(&dev->mt76.cc_lock); in mt76x02_send_tx_status() 1032 spin_lock_bh(&dev->mt76.cc_lock); in mt76x02_update_channel() 1035 spin_unlock_bh(&dev->mt76.cc_lock); in mt76x02_update_channel()
|
H A D | mt76.h | 582 spinlock_t cc_lock; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | main.c | 106 spin_lock_irqsave(&common->cc_lock, flags); in ath_ps_full_sleep() 108 spin_unlock_irqrestore(&common->cc_lock, flags); in ath_ps_full_sleep() 136 spin_lock(&common->cc_lock); in ath9k_ps_wakeup() 140 spin_unlock(&common->cc_lock); in ath9k_ps_wakeup() 175 spin_lock(&common->cc_lock); in ath9k_ps_restore() 177 spin_unlock(&common->cc_lock); in ath9k_ps_restore() 406 spin_lock_irqsave(&common->cc_lock, flags); in ath9k_tasklet() 409 spin_unlock_irqrestore(&common->cc_lock, flags); in ath9k_tasklet() 2081 spin_lock_irqsave(&common->cc_lock, flags); in ath9k_get_survey() 2095 spin_unlock_irqrestore(&common->cc_lock, flag in ath9k_get_survey() [all...] |
H A D | link.c | 370 spin_lock_irqsave(&common->cc_lock, flags); in ath_ani_calibrate() 373 spin_unlock_irqrestore(&common->cc_lock, flags); in ath_ani_calibrate()
|
H A D | channel.c | 46 spin_lock_irqsave(&common->cc_lock, flags); in ath_set_channel() 48 spin_unlock_irqrestore(&common->cc_lock, flags); in ath_set_channel()
|
H A D | init.c | 725 spin_lock_init(&common->cc_lock); in ath9k_init_softc()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | main.c | 106 spin_lock_irqsave(&common->cc_lock, flags); in ath_ps_full_sleep() 108 spin_unlock_irqrestore(&common->cc_lock, flags); in ath_ps_full_sleep() 136 spin_lock(&common->cc_lock); in ath9k_ps_wakeup() 140 spin_unlock(&common->cc_lock); in ath9k_ps_wakeup() 175 spin_lock(&common->cc_lock); in ath9k_ps_restore() 177 spin_unlock(&common->cc_lock); in ath9k_ps_restore() 406 spin_lock_irqsave(&common->cc_lock, flags); in ath9k_tasklet() 409 spin_unlock_irqrestore(&common->cc_lock, flags); in ath9k_tasklet() 2076 spin_lock_irqsave(&common->cc_lock, flags); in ath9k_get_survey() 2090 spin_unlock_irqrestore(&common->cc_lock, flag in ath9k_get_survey() [all...] |
H A D | link.c | 370 spin_lock_irqsave(&common->cc_lock, flags); in ath_ani_calibrate() 373 spin_unlock_irqrestore(&common->cc_lock, flags); in ath_ani_calibrate()
|
H A D | channel.c | 46 spin_lock_irqsave(&common->cc_lock, flags); in ath_set_channel() 48 spin_unlock_irqrestore(&common->cc_lock, flags); in ath_set_channel()
|
H A D | init.c | 777 spin_lock_init(&common->cc_lock); in ath9k_init_softc()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mac80211.c | 634 spin_lock_init(&dev->cc_lock); in mt76_alloc_device() 898 spin_lock_bh(&dev->cc_lock); in mt76_update_survey() 901 spin_unlock_bh(&dev->cc_lock); in mt76_update_survey() 985 spin_lock_bh(&dev->cc_lock); in mt76_get_survey() 988 spin_unlock_bh(&dev->cc_lock); in mt76_get_survey() 1182 spin_lock(&dev->cc_lock); in mt76_airtime_report() 1184 spin_unlock(&dev->cc_lock); in mt76_airtime_report()
|
H A D | mt76x02_mac.c | 645 spin_lock_bh(&dev->mt76.cc_lock); in mt76x02_send_tx_status() 647 spin_unlock_bh(&dev->mt76.cc_lock); in mt76x02_send_tx_status() 1036 spin_lock_bh(&dev->mt76.cc_lock); in mt76x02_update_channel() 1039 spin_unlock_bh(&dev->mt76.cc_lock); in mt76x02_update_channel()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/ |
H A D | ani.c | 379 spin_lock_bh(&common->cc_lock); in ath5k_hw_ani_get_listen_time() 387 spin_unlock_bh(&common->cc_lock); in ath5k_hw_ani_get_listen_time()
|
H A D | mac80211-ops.c | 658 spin_lock_bh(&common->cc_lock); in ath5k_get_survey() 667 spin_unlock_bh(&common->cc_lock); in ath5k_get_survey()
|
H A D | base.c | 2603 spin_lock_init(&common->cc_lock); in ath5k_init_ah() 2941 spin_lock_bh(&common->cc_lock); in ath5k_reset() 2945 spin_unlock_bh(&common->cc_lock); in ath5k_reset()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/ |
H A D | ani.c | 379 spin_lock_bh(&common->cc_lock); in ath5k_hw_ani_get_listen_time() 387 spin_unlock_bh(&common->cc_lock); in ath5k_hw_ani_get_listen_time()
|
H A D | mac80211-ops.c | 659 spin_lock_bh(&common->cc_lock); in ath5k_get_survey() 668 spin_unlock_bh(&common->cc_lock); in ath5k_get_survey()
|
H A D | base.c | 2648 spin_lock_init(&common->cc_lock); in ath5k_init_ah() 2986 spin_lock_bh(&common->cc_lock); in ath5k_reset() 2990 spin_unlock_bh(&common->cc_lock); in ath5k_reset()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ |
H A D | ath.h | 173 spinlock_t cc_lock; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ |
H A D | ath.h | 173 spinlock_t cc_lock; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | mac.c | 465 spin_lock_bh(&dev->mt76.cc_lock); in mt7603_mac_sta_poll() 467 spin_unlock_bh(&dev->mt76.cc_lock); in mt7603_mac_sta_poll()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | mac.c | 479 spin_lock_bh(&dev->mt76.cc_lock); in mt7603_mac_sta_poll() 481 spin_unlock_bh(&dev->mt76.cc_lock); in mt7603_mac_sta_poll()
|