• Home
  • Raw
  • Download

Lines Matching refs:dbg

16 	bdisp->dbg.hw_start = ktime_get();  in bdisp_dbg_perf_begin()
23 time_us = ktime_us_delta(ktime_get(), bdisp->dbg.hw_start); in bdisp_dbg_perf_end()
25 if (!bdisp->dbg.min_duration) in bdisp_dbg_perf_end()
26 bdisp->dbg.min_duration = time_us; in bdisp_dbg_perf_end()
28 bdisp->dbg.min_duration = min(time_us, bdisp->dbg.min_duration); in bdisp_dbg_perf_end()
30 bdisp->dbg.last_duration = time_us; in bdisp_dbg_perf_end()
31 bdisp->dbg.max_duration = max(time_us, bdisp->dbg.max_duration); in bdisp_dbg_perf_end()
32 bdisp->dbg.tot_duration += time_us; in bdisp_dbg_perf_end()
325 if (!bdisp->dbg.copy_node[0]) { in bdisp_dbg_last_nodes()
331 node = bdisp->dbg.copy_node[i]; in bdisp_dbg_last_nodes()
398 if (!bdisp->dbg.copy_node[0]) { in bdisp_dbg_last_nodes_raw()
404 node = bdisp->dbg.copy_node[i]; in bdisp_dbg_last_nodes_raw()
443 struct bdisp_request *request = &bdisp->dbg.copy_request; in bdisp_dbg_last_request()
588 struct bdisp_request *request = &bdisp->dbg.copy_request; in bdisp_dbg_perf()
597 avg_time_us = div64_s64(bdisp->dbg.tot_duration, request->nb_req); in bdisp_dbg_perf()
603 if (bdisp->dbg.min_duration > SECOND) in bdisp_dbg_perf()
606 min_fps = SECOND / (s32)bdisp->dbg.min_duration; in bdisp_dbg_perf()
608 if (bdisp->dbg.max_duration > SECOND) in bdisp_dbg_perf()
611 max_fps = SECOND / (s32)bdisp->dbg.max_duration; in bdisp_dbg_perf()
613 if (bdisp->dbg.last_duration > SECOND) in bdisp_dbg_perf()
616 last_fps = SECOND / (s32)bdisp->dbg.last_duration; in bdisp_dbg_perf()
622 bdisp->dbg.min_duration, min_fps, in bdisp_dbg_perf()
623 bdisp->dbg.max_duration, max_fps); in bdisp_dbg_perf()
625 bdisp->dbg.last_duration, last_fps); in bdisp_dbg_perf()
643 debugfs_create_file(#name, S_IRUGO, bdisp->dbg.debugfs_entry, bdisp, \
657 bdisp->dbg.debugfs_entry = debugfs_create_dir(dirname, NULL); in bdisp_debugfs_create()
658 if (!bdisp->dbg.debugfs_entry) in bdisp_debugfs_create()
685 debugfs_remove_recursive(bdisp->dbg.debugfs_entry); in bdisp_debugfs_remove()
686 bdisp->dbg.debugfs_entry = NULL; in bdisp_debugfs_remove()