Lines Matching refs:tb_switch

175 static ssize_t regs_write(struct tb_switch *sw, struct tb_port *port,  in regs_write()
231 struct tb_switch *sw = s->private; in switch_regs_write()
322 struct tb_switch *sw = port->sw; in port_sb_regs_write()
1038 struct tb_switch *sw = port->sw; in margining_run_write()
1039 struct tb_switch *down_sw; in margining_run_write()
1515 static void margining_switch_init(struct tb_switch *sw) in margining_switch_init()
1518 struct tb_switch *parent_sw; in margining_switch_init()
1532 static void margining_switch_remove(struct tb_switch *sw) in margining_switch_remove()
1535 struct tb_switch *parent_sw; in margining_switch_remove()
1551 struct tb_switch *parent_sw; in margining_xdomain_init()
1562 struct tb_switch *parent_sw; in margining_xdomain_remove()
1583 static inline void margining_switch_init(struct tb_switch *sw) { } in margining_switch_init()
1584 static inline void margining_switch_remove(struct tb_switch *sw) { } in margining_switch_remove()
1614 struct tb_switch *sw = port->sw; in counters_write()
1656 static void cap_show_by_dw(struct seq_file *s, struct tb_switch *sw, in cap_show_by_dw()
1679 static void cap_show(struct seq_file *s, struct tb_switch *sw, in cap_show()
1822 struct tb_switch *sw = port->sw; in port_regs_show()
1851 static void switch_cap_show(struct tb_switch *sw, struct seq_file *s, in switch_cap_show()
1891 static void switch_caps_show(struct tb_switch *sw, struct seq_file *s) in switch_caps_show()
1902 static int switch_basic_regs_show(struct tb_switch *sw, struct seq_file *s) in switch_basic_regs_show()
1926 struct tb_switch *sw = s->private; in switch_regs_show()
1978 struct tb_switch *sw = port->sw; in path_show()
2041 struct tb_switch *sw = port->sw; in counters_show()
2101 struct tb_switch *sw = port->sw; in port_sb_regs_show()
2130 void tb_switch_debugfs_init(struct tb_switch *sw) in tb_switch_debugfs_init()
2172 void tb_switch_debugfs_remove(struct tb_switch *sw) in tb_switch_debugfs_remove()