Lines Matching full:v3d
98 struct v3d_dev *v3d = to_v3d_dev(dev); in v3d_v3d_debugfs_regs() local
104 if (v3d->ver >= def->min_ver && v3d->ver <= def->max_ver) { in v3d_v3d_debugfs_regs()
113 if (v3d->ver >= def->min_ver && v3d->ver <= def->max_ver) { in v3d_v3d_debugfs_regs()
119 for (core = 0; core < v3d->cores; core++) { in v3d_v3d_debugfs_regs()
123 if (v3d->ver >= def->min_ver && v3d->ver <= def->max_ver) { in v3d_v3d_debugfs_regs()
133 if (v3d->ver >= def->min_ver && v3d->ver <= def->max_ver) { in v3d_v3d_debugfs_regs()
148 struct v3d_dev *v3d = to_v3d_dev(dev); in v3d_v3d_debugfs_ident() local
167 if (v3d->ver <= 42) { in v3d_v3d_debugfs_ident()
199 if (v3d->ver <= 42) { in v3d_v3d_debugfs_ident()
203 if (v3d->ver < 40) { in v3d_v3d_debugfs_ident()
216 struct v3d_dev *v3d = to_v3d_dev(dev); in v3d_debugfs_bo_stats() local
218 mutex_lock(&v3d->bo_lock); in v3d_debugfs_bo_stats()
220 v3d->bo_stats.num_allocated); in v3d_debugfs_bo_stats()
222 (long)v3d->bo_stats.pages_allocated << (V3D_MMU_PAGE_SHIFT - 10)); in v3d_debugfs_bo_stats()
223 mutex_unlock(&v3d->bo_lock); in v3d_debugfs_bo_stats()
232 struct v3d_dev *v3d = to_v3d_dev(dev); in v3d_measure_clock() local
237 if (v3d->ver >= 40) { in v3d_measure_clock()
238 int cycle_count_reg = V3D_PCTR_CYCLE_COUNT(v3d->ver); in v3d_measure_clock()
246 V3D_PCTR_CYCLE_COUNT(v3d->ver)); in v3d_measure_clock()
268 struct v3d_dev *v3d = to_v3d_dev(dev); in v3d_debugfs_mm() local
270 spin_lock(&v3d->mm_lock); in v3d_debugfs_mm()
271 drm_mm_print(&v3d->mm, &p); in v3d_debugfs_mm()
272 spin_unlock(&v3d->mm_lock); in v3d_debugfs_mm()