Home
last modified time | relevance | path

Searched refs:work_lock (Results 1 – 14 of 14) sorted by relevance

/drivers/power/
Dtosa_battery.c32 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()
Dz2_battery.c28 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()
Dcollie_battery.c35 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()
Dwm97xx_battery.c29 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/
Dvhost.c111 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 …]
Dvhost.h158 spinlock_t work_lock; member
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c1318 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 …]
Dadapter.h266 spinlock_t work_lock; member
/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c287 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()
Dcommon.h254 spinlock_t work_lock; member
/drivers/scsi/qla4xxx/
Dql4_def.h710 spinlock_t work_lock; member
Dql4_os.c3196 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/
Dqla_os.c3341 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()
Dqla_def.h2875 spinlock_t work_lock; member