fb_update         100 drivers/gpu/drm/tiny/gm12u320.c 	} fb_update;
fb_update         186 drivers/gpu/drm/tiny/gm12u320.c 	gm12u320->fb_update.workq = create_singlethread_workqueue(DRIVER_NAME);
fb_update         187 drivers/gpu/drm/tiny/gm12u320.c 	if (!gm12u320->fb_update.workq)
fb_update         197 drivers/gpu/drm/tiny/gm12u320.c 	if (gm12u320->fb_update.workq)
fb_update         198 drivers/gpu/drm/tiny/gm12u320.c 		destroy_workqueue(gm12u320->fb_update.workq);
fb_update         270 drivers/gpu/drm/tiny/gm12u320.c 	mutex_lock(&gm12u320->fb_update.lock);
fb_update         272 drivers/gpu/drm/tiny/gm12u320.c 	if (!gm12u320->fb_update.fb)
fb_update         275 drivers/gpu/drm/tiny/gm12u320.c 	fb = gm12u320->fb_update.fb;
fb_update         276 drivers/gpu/drm/tiny/gm12u320.c 	x1 = gm12u320->fb_update.rect.x1;
fb_update         277 drivers/gpu/drm/tiny/gm12u320.c 	x2 = gm12u320->fb_update.rect.x2;
fb_update         278 drivers/gpu/drm/tiny/gm12u320.c 	y1 = gm12u320->fb_update.rect.y1;
fb_update         279 drivers/gpu/drm/tiny/gm12u320.c 	y2 = gm12u320->fb_update.rect.y2;
fb_update         340 drivers/gpu/drm/tiny/gm12u320.c 	gm12u320->fb_update.fb = NULL;
fb_update         342 drivers/gpu/drm/tiny/gm12u320.c 	mutex_unlock(&gm12u320->fb_update.lock);
fb_update         348 drivers/gpu/drm/tiny/gm12u320.c 		container_of(work, struct gm12u320_device, fb_update.work);
fb_update         354 drivers/gpu/drm/tiny/gm12u320.c 	while (gm12u320->fb_update.run) {
fb_update         417 drivers/gpu/drm/tiny/gm12u320.c 		wait_event_timeout(gm12u320->fb_update.waitq,
fb_update         418 drivers/gpu/drm/tiny/gm12u320.c 				   !gm12u320->fb_update.run ||
fb_update         419 drivers/gpu/drm/tiny/gm12u320.c 					gm12u320->fb_update.fb != NULL,
fb_update         436 drivers/gpu/drm/tiny/gm12u320.c 	mutex_lock(&gm12u320->fb_update.lock);
fb_update         438 drivers/gpu/drm/tiny/gm12u320.c 	if (gm12u320->fb_update.fb != fb) {
fb_update         439 drivers/gpu/drm/tiny/gm12u320.c 		old_fb = gm12u320->fb_update.fb;
fb_update         441 drivers/gpu/drm/tiny/gm12u320.c 		gm12u320->fb_update.fb = fb;
fb_update         442 drivers/gpu/drm/tiny/gm12u320.c 		gm12u320->fb_update.rect = *dirty;
fb_update         445 drivers/gpu/drm/tiny/gm12u320.c 		struct drm_rect *rect = &gm12u320->fb_update.rect;
fb_update         453 drivers/gpu/drm/tiny/gm12u320.c 	mutex_unlock(&gm12u320->fb_update.lock);
fb_update         456 drivers/gpu/drm/tiny/gm12u320.c 		wake_up(&gm12u320->fb_update.waitq);
fb_update         464 drivers/gpu/drm/tiny/gm12u320.c 	mutex_lock(&gm12u320->fb_update.lock);
fb_update         465 drivers/gpu/drm/tiny/gm12u320.c 	gm12u320->fb_update.run = true;
fb_update         466 drivers/gpu/drm/tiny/gm12u320.c 	mutex_unlock(&gm12u320->fb_update.lock);
fb_update         468 drivers/gpu/drm/tiny/gm12u320.c 	queue_work(gm12u320->fb_update.workq, &gm12u320->fb_update.work);
fb_update         473 drivers/gpu/drm/tiny/gm12u320.c 	mutex_lock(&gm12u320->fb_update.lock);
fb_update         474 drivers/gpu/drm/tiny/gm12u320.c 	gm12u320->fb_update.run = false;
fb_update         475 drivers/gpu/drm/tiny/gm12u320.c 	mutex_unlock(&gm12u320->fb_update.lock);
fb_update         477 drivers/gpu/drm/tiny/gm12u320.c 	wake_up(&gm12u320->fb_update.waitq);
fb_update         478 drivers/gpu/drm/tiny/gm12u320.c 	cancel_work_sync(&gm12u320->fb_update.work);
fb_update         480 drivers/gpu/drm/tiny/gm12u320.c 	mutex_lock(&gm12u320->fb_update.lock);
fb_update         481 drivers/gpu/drm/tiny/gm12u320.c 	if (gm12u320->fb_update.fb) {
fb_update         482 drivers/gpu/drm/tiny/gm12u320.c 		drm_framebuffer_put(gm12u320->fb_update.fb);
fb_update         483 drivers/gpu/drm/tiny/gm12u320.c 		gm12u320->fb_update.fb = NULL;
fb_update         485 drivers/gpu/drm/tiny/gm12u320.c 	mutex_unlock(&gm12u320->fb_update.lock);
fb_update         693 drivers/gpu/drm/tiny/gm12u320.c 	INIT_WORK(&gm12u320->fb_update.work, gm12u320_fb_update_work);
fb_update         694 drivers/gpu/drm/tiny/gm12u320.c 	mutex_init(&gm12u320->fb_update.lock);
fb_update         695 drivers/gpu/drm/tiny/gm12u320.c 	init_waitqueue_head(&gm12u320->fb_update.waitq);