Lines Matching refs:DEVNAME
123 #define DEVNAME "sb_tbprof" macro
193 pr_debug(DEVNAME ": tb_intr\n"); in sbprof_tb_intr()
220 pr_debug(DEVNAME ": tb_intr shutdown\n"); in sbprof_tb_intr()
231 pr_debug(DEVNAME ": tb_intr full\n"); in sbprof_tb_intr()
243 printk(DEVNAME ": unexpected pc_intr"); in sbprof_pc_intr()
261 pr_debug(DEVNAME ": starting\n"); in sbprof_zbprof_start()
267 DEVNAME " trace freeze", &sbp); in sbprof_zbprof_start()
283 if (request_irq(K_INT_PERF_CNT, sbprof_pc_intr, 0, DEVNAME " scd perfcnt", &sbp)) { in sbprof_zbprof_start()
355 pr_debug(DEVNAME ": done starting\n"); in sbprof_zbprof_start()
364 pr_debug(DEVNAME ": stopping\n"); in sbprof_zbprof_stop()
372 pr_debug(DEVNAME ": wait for disarm\n"); in sbprof_zbprof_stop()
374 pr_debug(DEVNAME ": disarm complete, stat %d\n", err); in sbprof_zbprof_stop()
384 pr_debug(DEVNAME ": done stopping\n"); in sbprof_zbprof_stop()
470 pr_debug(DEVNAME ": read from sample %d, %d bytes\n", in sbprof_tb_read()
547 if (register_chrdev(SBPROF_TB_MAJOR, DEVNAME, &sbprof_tb_fops)) { in sbprof_tb_init()
548 printk(KERN_WARNING DEVNAME ": initialization failed (dev %d)\n", in sbprof_tb_init()
571 pr_info(DEVNAME ": initialized - tb_period = %lld\n", in sbprof_tb_init()
578 unregister_chrdev(SBPROF_TB_MAJOR, DEVNAME); in sbprof_tb_init()
586 unregister_chrdev(SBPROF_TB_MAJOR, DEVNAME); in sbprof_tb_cleanup()