Lines Matching refs:dyn_callback_lock
33 spinlock_t dyn_callback_lock; member
108 spin_lock_irqsave(&pdata->dyn_callback_lock, flags); in sensor_hub_get_callback()
118 spin_unlock_irqrestore(&pdata->dyn_callback_lock, in sensor_hub_get_callback()
122 spin_unlock_irqrestore(&pdata->dyn_callback_lock, flags); in sensor_hub_get_callback()
135 spin_lock_irqsave(&pdata->dyn_callback_lock, flags); in sensor_hub_register_callback()
139 spin_unlock_irqrestore(&pdata->dyn_callback_lock, flags); in sensor_hub_register_callback()
144 spin_unlock_irqrestore(&pdata->dyn_callback_lock, flags); in sensor_hub_register_callback()
163 spin_unlock_irqrestore(&pdata->dyn_callback_lock, flags); in sensor_hub_register_callback()
176 spin_lock_irqsave(&pdata->dyn_callback_lock, flags); in sensor_hub_remove_callback()
184 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()