Lines Matching refs:tb_port
206 static int path_write_one(struct tb_port *port, u32 val, u32 offset) in path_write_one()
220 static ssize_t regs_write(struct tb_switch *sw, struct tb_port *port, in regs_write()
276 struct tb_port *port = s->private; in port_regs_write()
285 struct tb_port *port = s->private; in path_write()
329 static ssize_t sb_regs_write(struct tb_port *port, const struct sb_reg *sb_regs, in sb_regs_write()
384 struct tb_port *port = s->private; in port_sb_regs_write()
489 struct tb_port *port;
521 struct tb_port *port = margining->port; in margining_modify_error_counter()
813 struct tb_port *port = margining->port; in margining_lanes_write()
855 struct tb_port *port = margining->port; in margining_lanes_show()
1222 struct tb_port *port = margining->port; in margining_run_write()
1599 struct tb_port *port = s->private; in margining_eye_write()
1626 struct tb_port *port = s->private; in margining_eye_show()
1643 static struct tb_margining *margining_alloc(struct tb_port *port, in margining_alloc()
1760 static void margining_port_init(struct tb_port *port) in margining_port_init()
1775 static void margining_port_remove(struct tb_port *port) in margining_port_remove()
1794 struct tb_port *upstream, *downstream; in margining_switch_init()
1811 struct tb_port *upstream, *downstream; in margining_switch_remove()
1829 struct tb_port *downstream; in margining_xdomain_init()
1840 struct tb_port *downstream; in margining_xdomain_remove()
1869 static int port_clear_all_counters(struct tb_port *port) in port_clear_all_counters()
1890 struct tb_port *port = s->private; in counters_write()
1934 struct tb_port *port, unsigned int cap, in cap_show_by_dw()
1957 struct tb_port *port, unsigned int cap, u8 cap_id, in cap_show()
1987 static void port_cap_show(struct tb_port *port, struct seq_file *s, in port_cap_show()
2070 static void port_caps_show(struct tb_port *port, struct seq_file *s) in port_caps_show()
2081 static int port_basic_regs_show(struct tb_port *port, struct seq_file *s) in port_basic_regs_show()
2098 struct tb_port *port = s->private; in port_regs_show()
2232 static int path_show_one(struct tb_port *port, struct seq_file *s, int hopid) in path_show_one()
2254 struct tb_port *port = s->private; in path_show()
2293 static int counter_set_regs_show(struct tb_port *port, struct seq_file *s, in counter_set_regs_show()
2317 struct tb_port *port = s->private; in counters_show()
2347 static int sb_regs_show(struct tb_port *port, const struct sb_reg *sb_regs, in sb_regs_show()
2377 struct tb_port *port = s->private; in port_sb_regs_show()
2410 struct tb_port *port; in tb_switch_debugfs_init()