Lines Matching refs:tb_port
207 static int path_write_one(struct tb_port *port, u32 val, u32 offset) in path_write_one()
221 static ssize_t regs_write(struct tb_switch *sw, struct tb_port *port, in regs_write()
277 struct tb_port *port = s->private; in port_regs_write()
286 struct tb_port *port = s->private; in path_write()
330 static ssize_t sb_regs_write(struct tb_port *port, const struct sb_reg *sb_regs, in sb_regs_write()
385 struct tb_port *port = s->private; in port_sb_regs_write()
490 struct tb_port *port;
522 struct tb_port *port = margining->port; in margining_modify_error_counter()
814 struct tb_port *port = margining->port; in margining_lanes_write()
856 struct tb_port *port = margining->port; in margining_lanes_show()
1223 struct tb_port *port = margining->port; in margining_run_write()
1600 struct tb_port *port = s->private; in margining_eye_write()
1627 struct tb_port *port = s->private; in margining_eye_show()
1644 static struct tb_margining *margining_alloc(struct tb_port *port, in margining_alloc()
1761 static void margining_port_init(struct tb_port *port) in margining_port_init()
1776 static void margining_port_remove(struct tb_port *port) in margining_port_remove()
1795 struct tb_port *upstream, *downstream; in margining_switch_init()
1812 struct tb_port *upstream, *downstream; in margining_switch_remove()
1830 struct tb_port *downstream; in margining_xdomain_init()
1841 struct tb_port *downstream; in margining_xdomain_remove()
1870 static int port_clear_all_counters(struct tb_port *port) in port_clear_all_counters()
1891 struct tb_port *port = s->private; in counters_write()
1935 struct tb_port *port, unsigned int cap, in cap_show_by_dw()
1958 struct tb_port *port, unsigned int cap, u8 cap_id, in cap_show()
1988 static void port_cap_show(struct tb_port *port, struct seq_file *s, in port_cap_show()
2071 static void port_caps_show(struct tb_port *port, struct seq_file *s) in port_caps_show()
2082 static int port_basic_regs_show(struct tb_port *port, struct seq_file *s) in port_basic_regs_show()
2099 struct tb_port *port = s->private; in port_regs_show()
2233 static int path_show_one(struct tb_port *port, struct seq_file *s, int hopid) in path_show_one()
2255 struct tb_port *port = s->private; in path_show()
2294 static int counter_set_regs_show(struct tb_port *port, struct seq_file *s, in counter_set_regs_show()
2318 struct tb_port *port = s->private; in counters_show()
2348 static int sb_regs_show(struct tb_port *port, const struct sb_reg *sb_regs, in sb_regs_show()
2378 struct tb_port *port = s->private; in port_sb_regs_show()
2411 struct tb_port *port; in tb_switch_debugfs_init()