Lines Matching refs:dp_debug
31 struct dp_debug dp_debug; member
366 static int dp_debug_init(struct dp_debug *dp_debug, struct drm_minor *minor) in dp_debug_init() argument
369 struct dp_debug_private *debug = container_of(dp_debug, in dp_debug_init()
370 struct dp_debug_private, dp_debug); in dp_debug_init()
415 struct dp_debug *dp_debug_get(struct device *dev, struct dp_panel *panel, in dp_debug_get()
421 struct dp_debug *dp_debug; in dp_debug_get() local
435 debug->dp_debug.debug_en = false; in dp_debug_get()
443 dp_debug = &debug->dp_debug; in dp_debug_get()
444 dp_debug->vdisplay = 0; in dp_debug_get()
445 dp_debug->hdisplay = 0; in dp_debug_get()
446 dp_debug->vrefresh = 0; in dp_debug_get()
448 rc = dp_debug_init(dp_debug, minor); in dp_debug_get()
454 return dp_debug; in dp_debug_get()
459 static int dp_debug_deinit(struct dp_debug *dp_debug) in dp_debug_deinit() argument
463 if (!dp_debug) in dp_debug_deinit()
466 debug = container_of(dp_debug, struct dp_debug_private, dp_debug); in dp_debug_deinit()
473 void dp_debug_put(struct dp_debug *dp_debug) in dp_debug_put() argument
477 if (!dp_debug) in dp_debug_put()
480 debug = container_of(dp_debug, struct dp_debug_private, dp_debug); in dp_debug_put()
482 dp_debug_deinit(dp_debug); in dp_debug_put()