Lines Matching refs:tb_port

124 static ssize_t regs_write(struct tb_switch *sw, struct tb_port *port,  in regs_write()
171 struct tb_port *port = s->private; in port_regs_write()
263 struct tb_port *port = s->private; in margining_ber_level_write()
316 struct tb_port *port = s->private; in margining_ber_level_show()
328 struct tb_port *port = s->private; in margining_caps_show()
408 struct tb_port *port = s->private; in margining_lanes_write()
448 struct tb_port *port = s->private; in margining_lanes_show()
481 struct tb_port *port = s->private; in margining_mode_write()
521 const struct tb_port *port = s->private; in margining_mode_show()
552 struct tb_port *port = data; in margining_run_write()
619 struct tb_port *port = s->private; in margining_results_write()
662 struct tb_port *port = s->private; in margining_results_show()
732 struct tb_port *port = s->private; in margining_test_write()
765 struct tb_port *port = s->private; in margining_test_show()
791 struct tb_port *port = s->private; in margining_margin_write()
833 struct tb_port *port = s->private; in margining_margin_show()
857 static void margining_port_init(struct tb_port *port) in margining_port_init()
935 static void margining_port_remove(struct tb_port *port) in margining_port_remove()
953 struct tb_port *upstream, *downstream; in margining_switch_init()
971 struct tb_port *downstream; in margining_switch_remove()
989 struct tb_port *downstream; in margining_xdomain_init()
1000 struct tb_port *downstream; in margining_xdomain_remove()
1013 static int port_clear_all_counters(struct tb_port *port) in port_clear_all_counters()
1034 struct tb_port *port = s->private; in counters_write()
1078 struct tb_port *port, unsigned int cap, in cap_show_by_dw()
1101 struct tb_port *port, unsigned int cap, u8 cap_id, in cap_show()
1131 static void port_cap_show(struct tb_port *port, struct seq_file *s, in port_cap_show()
1203 static void port_caps_show(struct tb_port *port, struct seq_file *s) in port_caps_show()
1214 static int port_basic_regs_show(struct tb_port *port, struct seq_file *s) in port_basic_regs_show()
1231 struct tb_port *port = s->private; in port_regs_show()
1365 static int path_show_one(struct tb_port *port, struct seq_file *s, int hopid) in path_show_one()
1387 struct tb_port *port = s->private; in path_show()
1426 static int counter_set_regs_show(struct tb_port *port, struct seq_file *s, in counter_set_regs_show()
1450 struct tb_port *port = s->private; in counters_show()
1489 struct tb_port *port; in tb_switch_debugfs_init()