Lines Matching refs:funcs
80 const char *name, const struct drm_client_funcs *funcs) in drm_client_init() argument
87 if (funcs && !try_module_get(funcs->owner)) in drm_client_init()
92 client->funcs = funcs; in drm_client_init()
109 if (funcs) in drm_client_init()
110 module_put(funcs->owner); in drm_client_init()
159 if (client->funcs) in drm_client_release()
160 module_put(client->funcs->owner); in drm_client_release()
174 if (client->funcs && client->funcs->unregister) { in drm_client_dev_unregister()
175 client->funcs->unregister(client); in drm_client_dev_unregister()
203 if (!client->funcs || !client->funcs->hotplug) in drm_client_dev_hotplug()
206 ret = client->funcs->hotplug(client); in drm_client_dev_hotplug()
223 if (!client->funcs || !client->funcs->restore) in drm_client_dev_restore()
226 ret = client->funcs->restore(client); in drm_client_dev_restore()
460 if (!buffer || !buffer->fb || !buffer->fb->funcs->dirty) in drm_client_framebuffer_flush()
471 return buffer->fb->funcs->dirty(buffer->fb, buffer->client->file, in drm_client_framebuffer_flush()
475 return buffer->fb->funcs->dirty(buffer->fb, buffer->client->file, in drm_client_framebuffer_flush()