Lines Matching full:unplug
57 mutex_lock(&ptdev->unplug.lock); in panthor_device_unplug()
59 /* Someone beat us, release the lock and wait for the unplug in panthor_device_unplug()
62 mutex_unlock(&ptdev->unplug.lock); in panthor_device_unplug()
63 wait_for_completion(&ptdev->unplug.done); in panthor_device_unplug()
72 /* We do the rest of the unplug with the unplug lock released, in panthor_device_unplug()
73 * future callers will wait on ptdev->unplug.done anyway. in panthor_device_unplug()
75 mutex_unlock(&ptdev->unplug.lock); in panthor_device_unplug()
94 /* Report the unplug operation as done to unblock concurrent in panthor_device_unplug()
97 complete_all(&ptdev->unplug.done); in panthor_device_unplug()
161 init_completion(&ptdev->unplug.done); in panthor_device_init()
162 ret = drmm_mutex_init(&ptdev->base, &ptdev->unplug.lock); in panthor_device_init()