Searched refs:work_lock (Results 1 – 14 of 14) sorted by relevance
32 struct mutex work_lock; /* protects data */ member163 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()
29 struct mutex work_lock; member100 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()
36 struct mutex work_lock; /* protects data */ member160 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()
29 static DEFINE_MUTEX(work_lock);111 mutex_lock(&work_lock); in wm97xx_bat_update()125 mutex_unlock(&work_lock); in wm97xx_bat_update()
1324 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 …]
266 spinlock_t work_lock; member
598 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()
118 struct mutex work_lock; member
285 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()
252 spinlock_t work_lock; member
819 spinlock_t work_lock; member
5197 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()
3779 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()
3490 spinlock_t work_lock; member