Lines Matching refs:tb_switch
123 static ssize_t regs_write(struct tb_switch *sw, struct tb_port *port, in regs_write()
179 struct tb_switch *sw = s->private; in switch_regs_write()
212 struct tb_switch *sw = port->sw; in counters_write()
254 static void cap_show_by_dw(struct seq_file *s, struct tb_switch *sw, in cap_show_by_dw()
277 static void cap_show(struct seq_file *s, struct tb_switch *sw, in cap_show()
409 struct tb_switch *sw = port->sw; in port_regs_show()
438 static void switch_cap_show(struct tb_switch *sw, struct seq_file *s, in switch_cap_show()
478 static void switch_caps_show(struct tb_switch *sw, struct seq_file *s) in switch_caps_show()
489 static int switch_basic_regs_show(struct tb_switch *sw, struct seq_file *s) in switch_basic_regs_show()
513 struct tb_switch *sw = s->private; in switch_regs_show()
565 struct tb_switch *sw = port->sw; in path_show()
628 struct tb_switch *sw = port->sw; in counters_show()
663 void tb_switch_debugfs_init(struct tb_switch *sw) in tb_switch_debugfs_init()
700 void tb_switch_debugfs_remove(struct tb_switch *sw) in tb_switch_debugfs_remove()