Lines Matching defs:sw

124 static ssize_t regs_write(struct tb_switch *sw, struct tb_port *port,  in regs_write()
180 struct tb_switch *sw = s->private; in switch_regs_write() local
554 struct tb_switch *sw = port->sw; in margining_run_write() local
951 static void margining_switch_init(struct tb_switch *sw) in margining_switch_init()
968 static void margining_switch_remove(struct tb_switch *sw) in margining_switch_remove()
1007 static inline void margining_switch_init(struct tb_switch *sw) { } in margining_switch_init()
1008 static inline void margining_switch_remove(struct tb_switch *sw) { } in margining_switch_remove()
1035 struct tb_switch *sw = port->sw; in counters_write() local
1077 static void cap_show_by_dw(struct seq_file *s, struct tb_switch *sw, in cap_show_by_dw()
1100 static void cap_show(struct seq_file *s, struct tb_switch *sw, in cap_show()
1232 struct tb_switch *sw = port->sw; in port_regs_show() local
1261 static void switch_cap_show(struct tb_switch *sw, struct seq_file *s, in switch_cap_show()
1301 static void switch_caps_show(struct tb_switch *sw, struct seq_file *s) in switch_caps_show()
1312 static int switch_basic_regs_show(struct tb_switch *sw, struct seq_file *s) in switch_basic_regs_show()
1336 struct tb_switch *sw = s->private; in switch_regs_show() local
1388 struct tb_switch *sw = port->sw; in path_show() local
1451 struct tb_switch *sw = port->sw; in counters_show() local
1486 void tb_switch_debugfs_init(struct tb_switch *sw) in tb_switch_debugfs_init()
1525 void tb_switch_debugfs_remove(struct tb_switch *sw) in tb_switch_debugfs_remove()