Lines Matching full:debug

49 	struct dp_debug_private *debug = file->private_data;  in dp_debug_read_info()  local
57 if (!debug) in dp_debug_read_info()
67 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_read_info()
75 debug->panel->max_pclk_khz); in dp_debug_read_info()
81 debug->panel->link_info.rate); in dp_debug_read_info()
87 debug->panel->link_info.num_lanes); in dp_debug_read_info()
93 debug->panel->link_info.capabilities); in dp_debug_read_info()
127 debug->panel->dp_mode.h_active_low, in dp_debug_read_info()
128 debug->panel->dp_mode.v_active_low); in dp_debug_read_info()
152 debug->panel->dp_mode.bpp); in dp_debug_read_info()
159 debug->link->sink_request); in dp_debug_read_info()
165 debug->link->link_params.num_lanes); in dp_debug_read_info()
169 link_params_rate = debug->link->link_params.rate; in dp_debug_read_info()
176 lclk = debug->link->link_params.rate * 1000; in dp_debug_read_info()
184 debug->link->phy_params.v_level); in dp_debug_read_info()
190 debug->link->phy_params.p_level); in dp_debug_read_info()
209 struct dp_debug_private *debug; in dp_test_data_show() local
214 debug = m->private; in dp_test_data_show()
215 dev = debug->drm_dev; in dp_test_data_show()
224 bpc = debug->link->test_video.test_bit_depth; in dp_test_data_show()
226 debug->link->test_video.test_h_width); in dp_test_data_show()
228 debug->link->test_video.test_v_height); in dp_test_data_show()
243 struct dp_debug_private *debug = m->private; in dp_test_type_show() local
244 struct drm_device *dev = debug->drm_dev; in dp_test_type_show()
272 struct dp_debug_private *debug; in dp_test_active_write() local
278 debug = ((struct seq_file *)file->private_data)->private; in dp_test_active_write()
279 dev = debug->drm_dev; in dp_test_active_write()
305 debug->panel->video_test = true; in dp_test_active_write()
307 debug->panel->video_test = false; in dp_test_active_write()
321 struct dp_debug_private *debug = m->private; in dp_test_active_show() local
322 struct drm_device *dev = debug->drm_dev; in dp_test_active_show()
333 if (debug->panel->video_test) in dp_test_active_show()
369 struct dp_debug_private *debug = container_of(dp_debug, in dp_debug_init() local
376 debug, &dp_debug_fops); in dp_debug_init()
385 debug, &test_active_fops); in dp_debug_init()
394 debug, &dp_test_data_fops); in dp_debug_init()
403 debug, &dp_test_type_fops); in dp_debug_init()
410 debug->root = minor->debugfs_root; in dp_debug_init()
420 struct dp_debug_private *debug; in dp_debug_get() local
429 debug = devm_kzalloc(dev, sizeof(*debug), GFP_KERNEL); in dp_debug_get()
430 if (!debug) { in dp_debug_get()
435 debug->dp_debug.debug_en = false; in dp_debug_get()
436 debug->usbpd = usbpd; in dp_debug_get()
437 debug->link = link; in dp_debug_get()
438 debug->panel = panel; in dp_debug_get()
439 debug->dev = dev; in dp_debug_get()
440 debug->drm_dev = minor->dev; in dp_debug_get()
441 debug->connector = connector; in dp_debug_get()
443 dp_debug = &debug->dp_debug; in dp_debug_get()
450 devm_kfree(dev, debug); in dp_debug_get()
461 struct dp_debug_private *debug; in dp_debug_deinit() local
466 debug = container_of(dp_debug, struct dp_debug_private, dp_debug); in dp_debug_deinit()
468 debugfs_remove_recursive(debug->root); in dp_debug_deinit()
475 struct dp_debug_private *debug; in dp_debug_put() local
480 debug = container_of(dp_debug, struct dp_debug_private, dp_debug); in dp_debug_put()
484 devm_kfree(debug->dev, debug); in dp_debug_put()