Lines Matching refs:dyn_callback_lock
34 spinlock_t dyn_callback_lock; member
109 spin_lock_irqsave(&pdata->dyn_callback_lock, flags); in sensor_hub_get_callback()
119 spin_unlock_irqrestore(&pdata->dyn_callback_lock, in sensor_hub_get_callback()
123 spin_unlock_irqrestore(&pdata->dyn_callback_lock, flags); in sensor_hub_get_callback()
136 spin_lock_irqsave(&pdata->dyn_callback_lock, flags); in sensor_hub_register_callback()
140 spin_unlock_irqrestore(&pdata->dyn_callback_lock, flags); in sensor_hub_register_callback()
145 spin_unlock_irqrestore(&pdata->dyn_callback_lock, flags); in sensor_hub_register_callback()
164 spin_unlock_irqrestore(&pdata->dyn_callback_lock, flags); in sensor_hub_register_callback()
177 spin_lock_irqsave(&pdata->dyn_callback_lock, flags); in sensor_hub_remove_callback()
185 spin_unlock_irqrestore(&pdata->dyn_callback_lock, flags); in sensor_hub_remove_callback()
433 spin_lock_irqsave(&pdata->dyn_callback_lock, flags); in sensor_hub_suspend()
439 spin_unlock_irqrestore(&pdata->dyn_callback_lock, flags); in sensor_hub_suspend()
451 spin_lock_irqsave(&pdata->dyn_callback_lock, flags); in sensor_hub_resume()
457 spin_unlock_irqrestore(&pdata->dyn_callback_lock, flags); in sensor_hub_resume()
626 spin_lock_init(&sd->dyn_callback_lock); in sensor_hub_probe()