Lines Matching refs:tb_port

201 	struct tb_port *port;  in usb4_switch_check_wakes()
239 static bool link_is_usb4(struct tb_port *port) in link_is_usb4()
266 struct tb_port *downstream_port; in usb4_switch_setup()
392 struct tb_port *up; in usb4_switch_lane_bonding_possible()
413 struct tb_port *port; in usb4_switch_set_wake()
678 bool usb4_switch_query_dp_resource(struct tb_switch *sw, struct tb_port *in) in usb4_switch_query_dp_resource()
710 int usb4_switch_alloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in usb4_switch_alloc_dp_resource()
735 int usb4_switch_dealloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in usb4_switch_dealloc_dp_resource()
753 static int usb4_port_idx(const struct tb_switch *sw, const struct tb_port *port) in usb4_port_idx()
755 struct tb_port *p; in usb4_port_idx()
784 struct tb_port *usb4_switch_map_pcie_down(struct tb_switch *sw, in usb4_switch_map_pcie_down()
785 const struct tb_port *port) in usb4_switch_map_pcie_down()
788 struct tb_port *p; in usb4_switch_map_pcie_down()
815 struct tb_port *usb4_switch_map_usb3_down(struct tb_switch *sw, in usb4_switch_map_usb3_down()
816 const struct tb_port *port) in usb4_switch_map_usb3_down()
819 struct tb_port *p; in usb4_switch_map_usb3_down()
843 int usb4_port_unlock(struct tb_port *port) in usb4_port_unlock()
856 static int usb4_port_set_configured(struct tb_port *port, bool configured) in usb4_port_set_configured()
884 int usb4_port_configure(struct tb_port *port) in usb4_port_configure()
895 void usb4_port_unconfigure(struct tb_port *port) in usb4_port_unconfigure()
900 static int usb4_set_xdomain_configured(struct tb_port *port, bool configured) in usb4_set_xdomain_configured()
929 int usb4_port_configure_xdomain(struct tb_port *port) in usb4_port_configure_xdomain()
940 void usb4_port_unconfigure_xdomain(struct tb_port *port) in usb4_port_unconfigure_xdomain()
945 static int usb4_port_wait_for_bit(struct tb_port *port, u32 offset, u32 bit, in usb4_port_wait_for_bit()
967 static int usb4_port_read_data(struct tb_port *port, void *data, size_t dwords) in usb4_port_read_data()
976 static int usb4_port_write_data(struct tb_port *port, const void *data, in usb4_port_write_data()
986 static int usb4_port_sb_read(struct tb_port *port, enum usb4_sb_target target, in usb4_port_sb_read()
1026 static int usb4_port_sb_write(struct tb_port *port, enum usb4_sb_target target, in usb4_port_sb_write()
1073 static int usb4_port_sb_op(struct tb_port *port, enum usb4_sb_target target, in usb4_port_sb_op()
1123 int usb4_port_enumerate_retimers(struct tb_port *port) in usb4_port_enumerate_retimers()
1132 static inline int usb4_port_retimer_op(struct tb_port *port, u8 index, in usb4_port_retimer_op()
1154 int usb4_port_retimer_read(struct tb_port *port, u8 index, u8 reg, void *buf, in usb4_port_retimer_read()
1174 int usb4_port_retimer_write(struct tb_port *port, u8 index, u8 reg, in usb4_port_retimer_write()
1191 int usb4_port_retimer_is_last(struct tb_port *port, u8 index) in usb4_port_retimer_is_last()
1217 int usb4_port_retimer_nvm_sector_size(struct tb_port *port, u8 index) in usb4_port_retimer_nvm_sector_size()
1232 static int usb4_port_retimer_nvm_set_offset(struct tb_port *port, u8 index, in usb4_port_retimer_nvm_set_offset()
1252 struct tb_port *port;
1261 struct tb_port *port = info->port; in usb4_port_retimer_nvm_write_next_block()
1287 int usb4_port_retimer_nvm_write(struct tb_port *port, u8 index, unsigned int address, in usb4_port_retimer_nvm_write()
1312 int usb4_port_retimer_nvm_authenticate(struct tb_port *port, u8 index) in usb4_port_retimer_nvm_authenticate()
1339 int usb4_port_retimer_nvm_authenticate_status(struct tb_port *port, u8 index, in usb4_port_retimer_nvm_authenticate_status()
1376 struct tb_port *port = info->port; in usb4_port_retimer_nvm_read_block()
1410 int usb4_port_retimer_nvm_read(struct tb_port *port, u8 index, in usb4_port_retimer_nvm_read()
1426 int usb4_usb3_port_max_link_rate(struct tb_port *port) in usb4_usb3_port_max_link_rate()
1450 int usb4_usb3_port_actual_link_rate(struct tb_port *port) in usb4_usb3_port_actual_link_rate()
1470 static int usb4_usb3_port_cm_request(struct tb_port *port, bool request) in usb4_usb3_port_cm_request()
1504 static inline int usb4_usb3_port_set_cm_request(struct tb_port *port) in usb4_usb3_port_set_cm_request()
1509 static inline int usb4_usb3_port_clear_cm_request(struct tb_port *port) in usb4_usb3_port_clear_cm_request()
1531 static int usb4_usb3_port_read_allocated_bandwidth(struct tb_port *port, in usb4_usb3_port_read_allocated_bandwidth()
1569 int usb4_usb3_port_allocated_bandwidth(struct tb_port *port, int *upstream_bw, in usb4_usb3_port_allocated_bandwidth()
1585 static int usb4_usb3_port_read_consumed_bandwidth(struct tb_port *port, in usb4_usb3_port_read_consumed_bandwidth()
1613 static int usb4_usb3_port_write_allocated_bandwidth(struct tb_port *port, in usb4_usb3_port_write_allocated_bandwidth()
1660 int usb4_usb3_port_allocate_bandwidth(struct tb_port *port, int *upstream_bw, in usb4_usb3_port_allocate_bandwidth()
1702 int usb4_usb3_port_release_bandwidth(struct tb_port *port, int *upstream_bw, in usb4_usb3_port_release_bandwidth()