Lines Matching refs:pt
25 struct pt_device *pt = s->private; in pt_debugfs_info_show() local
28 seq_printf(s, "Device name: %s\n", dev_name(pt->dev)); in pt_debugfs_info_show()
30 seq_printf(s, " # Cmds: %d\n", pt->cmd_count); in pt_debugfs_info_show()
32 regval = ioread32(pt->io_regs + CMD_PT_VERSION); in pt_debugfs_info_show()
48 struct pt_device *pt = s->private; in pt_debugfs_stats_show() local
50 seq_printf(s, "Total Interrupts Handled: %ld\n", pt->total_interrupts); in pt_debugfs_stats_show()
85 void ptdma_debugfs_setup(struct pt_device *pt) in ptdma_debugfs_setup() argument
93 debugfs_create_file("info", 0400, pt->dma_dev.dbg_dev_root, pt, in ptdma_debugfs_setup()
96 debugfs_create_file("stats", 0400, pt->dma_dev.dbg_dev_root, pt, in ptdma_debugfs_setup()
99 cmd_q = &pt->cmd_q; in ptdma_debugfs_setup()
102 debugfs_create_dir("q", pt->dma_dev.dbg_dev_root); in ptdma_debugfs_setup()