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()
364 mutex_init(&tosa_bat_main.work_lock); in tosa_bat_probe()
365 mutex_init(&tosa_bat_jacket.work_lock); in tosa_bat_probe()
Dz2_battery.c29 struct mutex work_lock; member
100 mutex_lock(&charger->work_lock); in z2_batt_update()
115 mutex_unlock(&charger->work_lock); in z2_batt_update()
211 mutex_init(&charger->work_lock); in z2_batt_probe()
Dcollie_battery.c36 struct mutex work_lock; /* protects data */ member
160 mutex_lock(&bat->work_lock); in collie_bat_update()
193 mutex_unlock(&bat->work_lock); in collie_bat_update()
337 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/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c1324 spin_lock_irq(&adapter->work_lock); /* sync with PHY intr task */ in cxgb_down()
1326 spin_unlock_irq(&adapter->work_lock); in cxgb_down()
1467 spin_lock_irq(&adapter->work_lock); /* sync with update task */ in __cxgb_close()
1469 spin_unlock_irq(&adapter->work_lock); in __cxgb_close()
2655 spin_lock_irq(&adapter->work_lock); in check_link_status()
2657 spin_unlock_irq(&adapter->work_lock); in check_link_status()
2782 spin_lock_irq(&adapter->work_lock); in t3_adap_check_task()
2785 spin_unlock_irq(&adapter->work_lock); in t3_adap_check_task()
2849 spin_lock_irq(&adapter->work_lock); in ext_intr_task()
2856 spin_unlock_irq(&adapter->work_lock); in ext_intr_task()
[all …]
Dadapter.h266 spinlock_t work_lock; member
/drivers/block/rsxx/
Ddma.c598 mutex_lock(&ctrl->work_lock); in rsxx_schedule_issue()
600 mutex_unlock(&ctrl->work_lock); in rsxx_schedule_issue()
609 mutex_lock(&ctrl->work_lock); in rsxx_schedule_done()
611 mutex_unlock(&ctrl->work_lock); in rsxx_schedule_done()
839 mutex_init(&ctrl->work_lock); in rsxx_dma_ctrl_init()
Drsxx_priv.h118 struct mutex work_lock; member
/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c285 spin_lock(&adapter->work_lock); /* sync with update task */ in cxgb_close()
286 spin_unlock(&adapter->work_lock); in cxgb_close()
906 spin_lock(&adapter->work_lock); in mac_stats_task()
910 spin_unlock(&adapter->work_lock); in mac_stats_task()
1057 spin_lock_init(&adapter->work_lock); in init_one()
Dcommon.h252 spinlock_t work_lock; member
/drivers/scsi/qla4xxx/
Dql4_def.h819 spinlock_t work_lock; member
Dql4_os.c5197 spin_lock_irqsave(&ha->work_lock, flags); in qla4xxx_post_work()
5199 spin_unlock_irqrestore(&ha->work_lock, flags); in qla4xxx_post_work()
5248 spin_lock_irqsave(&ha->work_lock, flags); in qla4xxx_do_work()
5250 spin_unlock_irqrestore(&ha->work_lock, flags); in qla4xxx_do_work()
8698 spin_lock_init(&ha->work_lock); in qla4xxx_probe_adapter()
/drivers/scsi/qla2xxx/
Dqla_os.c3779 spin_lock_init(&vha->work_lock); in qla2x00_create_host()
3821 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_post_work()
3823 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_post_work()
3937 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_do_work()
3939 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_do_work()
Dqla_def.h3490 spinlock_t work_lock; member