Searched refs:work_lock (Results 1 – 14 of 14) sorted by relevance
/drivers/power/ |
D | tosa_battery.c | 32 struct mutex work_lock; /* protects data */ member 163 mutex_lock(&bat->work_lock); in tosa_bat_update() 196 mutex_unlock(&bat->work_lock); in tosa_bat_update() 356 mutex_init(&tosa_bat_main.work_lock); in tosa_bat_probe() 357 mutex_init(&tosa_bat_jacket.work_lock); in tosa_bat_probe()
|
D | z2_battery.c | 28 struct mutex work_lock; member 100 mutex_lock(&charger->work_lock); in z2_batt_update() 114 mutex_unlock(&charger->work_lock); in z2_batt_update() 207 mutex_init(&charger->work_lock); in z2_batt_probe()
|
D | collie_battery.c | 35 struct mutex work_lock; /* protects data */ member 159 mutex_lock(&bat->work_lock); in collie_bat_update() 192 mutex_unlock(&bat->work_lock); in collie_bat_update() 322 mutex_init(&collie_bat_main.work_lock); in collie_bat_probe()
|
D | wm97xx_battery.c | 29 static DEFINE_MUTEX(work_lock); 111 mutex_lock(&work_lock); in wm97xx_bat_update() 125 mutex_unlock(&work_lock); in wm97xx_bat_update()
|
/drivers/vhost/ |
D | vhost.c | 111 spin_lock_irq(&dev->work_lock); in vhost_work_seq_done() 113 spin_unlock_irq(&dev->work_lock); in vhost_work_seq_done() 122 spin_lock_irq(&dev->work_lock); in vhost_work_flush() 125 spin_unlock_irq(&dev->work_lock); in vhost_work_flush() 127 spin_lock_irq(&dev->work_lock); in vhost_work_flush() 129 spin_unlock_irq(&dev->work_lock); in vhost_work_flush() 145 spin_lock_irqsave(&dev->work_lock, flags); in vhost_work_queue() 151 spin_unlock_irqrestore(&dev->work_lock, flags); in vhost_work_queue() 201 spin_lock_irq(&dev->work_lock); in vhost_worker() 209 spin_unlock_irq(&dev->work_lock); in vhost_worker() [all …]
|
D | vhost.h | 158 spinlock_t work_lock; member
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 1318 spin_lock_irq(&adapter->work_lock); /* sync with PHY intr task */ in cxgb_down() 1320 spin_unlock_irq(&adapter->work_lock); in cxgb_down() 1462 spin_lock_irq(&adapter->work_lock); /* sync with update task */ in __cxgb_close() 1464 spin_unlock_irq(&adapter->work_lock); in __cxgb_close() 2630 spin_lock_irq(&adapter->work_lock); in check_link_status() 2632 spin_unlock_irq(&adapter->work_lock); in check_link_status() 2757 spin_lock_irq(&adapter->work_lock); in t3_adap_check_task() 2760 spin_unlock_irq(&adapter->work_lock); in t3_adap_check_task() 2824 spin_lock_irq(&adapter->work_lock); in ext_intr_task() 2831 spin_unlock_irq(&adapter->work_lock); in ext_intr_task() [all …]
|
D | adapter.h | 266 spinlock_t work_lock; member
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | cxgb2.c | 287 spin_lock(&adapter->work_lock); /* sync with update task */ in cxgb_close() 288 spin_unlock(&adapter->work_lock); in cxgb_close() 908 spin_lock(&adapter->work_lock); in mac_stats_task() 912 spin_unlock(&adapter->work_lock); in mac_stats_task() 1066 spin_lock_init(&adapter->work_lock); in init_one()
|
D | common.h | 254 spinlock_t work_lock; member
|
/drivers/scsi/qla4xxx/ |
D | ql4_def.h | 710 spinlock_t work_lock; member
|
D | ql4_os.c | 3196 spin_lock_irqsave(&ha->work_lock, flags); in qla4xxx_post_work() 3198 spin_unlock_irqrestore(&ha->work_lock, flags); in qla4xxx_post_work() 3247 spin_lock_irqsave(&ha->work_lock, flags); in qla4xxx_do_work() 3249 spin_unlock_irqrestore(&ha->work_lock, flags); in qla4xxx_do_work()
|
/drivers/scsi/qla2xxx/ |
D | qla_os.c | 3341 spin_lock_init(&vha->work_lock); in qla2x00_create_host() 3382 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_post_work() 3384 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_post_work() 3482 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_do_work() 3484 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_do_work()
|
D | qla_def.h | 2875 spinlock_t work_lock; member
|