Lines Matching full:unplug
75 mutex_lock(&ptdev->unplug.lock); in panthor_device_unplug()
77 /* Someone beat us, release the lock and wait for the unplug in panthor_device_unplug()
80 mutex_unlock(&ptdev->unplug.lock); in panthor_device_unplug()
81 wait_for_completion(&ptdev->unplug.done); in panthor_device_unplug()
90 /* We do the rest of the unplug with the unplug lock released, in panthor_device_unplug()
91 * future callers will wait on ptdev->unplug.done anyway. in panthor_device_unplug()
93 mutex_unlock(&ptdev->unplug.lock); in panthor_device_unplug()
112 /* Report the unplug operation as done to unblock concurrent in panthor_device_unplug()
115 complete_all(&ptdev->unplug.done); in panthor_device_unplug()
181 init_completion(&ptdev->unplug.done); in panthor_device_init()
182 ret = drmm_mutex_init(&ptdev->base, &ptdev->unplug.lock); in panthor_device_init()