Lines Matching refs:tb_port
127 static ssize_t regs_write(struct tb_switch *sw, struct tb_port *port, in regs_write()
174 struct tb_port *port = s->private; in port_regs_write()
266 struct tb_port *port = s->private; in margining_ber_level_write()
319 struct tb_port *port = s->private; in margining_ber_level_show()
331 struct tb_port *port = s->private; in margining_caps_show()
411 struct tb_port *port = s->private; in margining_lanes_write()
451 struct tb_port *port = s->private; in margining_lanes_show()
484 struct tb_port *port = s->private; in margining_mode_write()
524 const struct tb_port *port = s->private; in margining_mode_show()
555 struct tb_port *port = data; in margining_run_write()
635 struct tb_port *port = s->private; in margining_results_write()
678 struct tb_port *port = s->private; in margining_results_show()
748 struct tb_port *port = s->private; in margining_test_write()
781 struct tb_port *port = s->private; in margining_test_show()
807 struct tb_port *port = s->private; in margining_margin_write()
849 struct tb_port *port = s->private; in margining_margin_show()
873 static void margining_port_init(struct tb_port *port) in margining_port_init()
951 static void margining_port_remove(struct tb_port *port) in margining_port_remove()
970 struct tb_port *upstream, *downstream; in margining_switch_init()
987 struct tb_port *upstream, *downstream; in margining_switch_remove()
1005 struct tb_port *downstream; in margining_xdomain_init()
1016 struct tb_port *downstream; in margining_xdomain_remove()
1029 static int port_clear_all_counters(struct tb_port *port) in port_clear_all_counters()
1050 struct tb_port *port = s->private; in counters_write()
1094 struct tb_port *port, unsigned int cap, in cap_show_by_dw()
1117 struct tb_port *port, unsigned int cap, u8 cap_id, in cap_show()
1147 static void port_cap_show(struct tb_port *port, struct seq_file *s, in port_cap_show()
1230 static void port_caps_show(struct tb_port *port, struct seq_file *s) in port_caps_show()
1241 static int port_basic_regs_show(struct tb_port *port, struct seq_file *s) in port_basic_regs_show()
1258 struct tb_port *port = s->private; in port_regs_show()
1392 static int path_show_one(struct tb_port *port, struct seq_file *s, int hopid) in path_show_one()
1414 struct tb_port *port = s->private; in path_show()
1453 static int counter_set_regs_show(struct tb_port *port, struct seq_file *s, in counter_set_regs_show()
1477 struct tb_port *port = s->private; in counters_show()
1516 struct tb_port *port; in tb_switch_debugfs_init()