Lines Matching refs:tb_port
180 struct tb_port *port; in usb4_switch_check_wakes()
218 static bool link_is_usb4(struct tb_port *port) in link_is_usb4()
245 struct tb_port *downstream_port; in usb4_switch_setup()
370 struct tb_port *up; in usb4_switch_lane_bonding_possible()
391 struct tb_port *port; in usb4_switch_set_wake()
709 const struct tb_port *port; in usb4_switch_credits_init()
845 bool usb4_switch_query_dp_resource(struct tb_switch *sw, struct tb_port *in) in usb4_switch_query_dp_resource()
875 int usb4_switch_alloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in usb4_switch_alloc_dp_resource()
898 int usb4_switch_dealloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in usb4_switch_dealloc_dp_resource()
914 static int usb4_port_idx(const struct tb_switch *sw, const struct tb_port *port) in usb4_port_idx()
916 struct tb_port *p; in usb4_port_idx()
945 struct tb_port *usb4_switch_map_pcie_down(struct tb_switch *sw, in usb4_switch_map_pcie_down()
946 const struct tb_port *port) in usb4_switch_map_pcie_down()
949 struct tb_port *p; in usb4_switch_map_pcie_down()
976 struct tb_port *usb4_switch_map_usb3_down(struct tb_switch *sw, in usb4_switch_map_usb3_down()
977 const struct tb_port *port) in usb4_switch_map_usb3_down()
980 struct tb_port *p; in usb4_switch_map_usb3_down()
1008 struct tb_port *port; in usb4_switch_add_ports()
1041 struct tb_port *port; in usb4_switch_remove_ports()
1058 int usb4_port_unlock(struct tb_port *port) in usb4_port_unlock()
1071 static int usb4_port_set_configured(struct tb_port *port, bool configured) in usb4_port_set_configured()
1099 int usb4_port_configure(struct tb_port *port) in usb4_port_configure()
1110 void usb4_port_unconfigure(struct tb_port *port) in usb4_port_unconfigure()
1115 static int usb4_set_xdomain_configured(struct tb_port *port, bool configured) in usb4_set_xdomain_configured()
1144 int usb4_port_configure_xdomain(struct tb_port *port) in usb4_port_configure_xdomain()
1155 void usb4_port_unconfigure_xdomain(struct tb_port *port) in usb4_port_unconfigure_xdomain()
1160 static int usb4_port_wait_for_bit(struct tb_port *port, u32 offset, u32 bit, in usb4_port_wait_for_bit()
1182 static int usb4_port_read_data(struct tb_port *port, void *data, size_t dwords) in usb4_port_read_data()
1191 static int usb4_port_write_data(struct tb_port *port, const void *data, in usb4_port_write_data()
1201 static int usb4_port_sb_read(struct tb_port *port, enum usb4_sb_target target, in usb4_port_sb_read()
1241 static int usb4_port_sb_write(struct tb_port *port, enum usb4_sb_target target, in usb4_port_sb_write()
1288 static int usb4_port_sb_op(struct tb_port *port, enum usb4_sb_target target, in usb4_port_sb_op()
1330 static int usb4_port_set_router_offline(struct tb_port *port, bool offline) in usb4_port_set_router_offline()
1356 int usb4_port_router_offline(struct tb_port *port) in usb4_port_router_offline()
1367 int usb4_port_router_online(struct tb_port *port) in usb4_port_router_online()
1380 int usb4_port_enumerate_retimers(struct tb_port *port) in usb4_port_enumerate_retimers()
1389 static inline int usb4_port_retimer_op(struct tb_port *port, u8 index, in usb4_port_retimer_op()
1405 int usb4_port_retimer_set_inbound_sbtx(struct tb_port *port, u8 index) in usb4_port_retimer_set_inbound_sbtx()
1438 int usb4_port_retimer_read(struct tb_port *port, u8 index, u8 reg, void *buf, in usb4_port_retimer_read()
1458 int usb4_port_retimer_write(struct tb_port *port, u8 index, u8 reg, in usb4_port_retimer_write()
1475 int usb4_port_retimer_is_last(struct tb_port *port, u8 index) in usb4_port_retimer_is_last()
1501 int usb4_port_retimer_nvm_sector_size(struct tb_port *port, u8 index) in usb4_port_retimer_nvm_sector_size()
1527 int usb4_port_retimer_nvm_set_offset(struct tb_port *port, u8 index, in usb4_port_retimer_nvm_set_offset()
1547 struct tb_port *port;
1556 struct tb_port *port = info->port; in usb4_port_retimer_nvm_write_next_block()
1582 int usb4_port_retimer_nvm_write(struct tb_port *port, u8 index, unsigned int address, in usb4_port_retimer_nvm_write()
1607 int usb4_port_retimer_nvm_authenticate(struct tb_port *port, u8 index) in usb4_port_retimer_nvm_authenticate()
1634 int usb4_port_retimer_nvm_authenticate_status(struct tb_port *port, u8 index, in usb4_port_retimer_nvm_authenticate_status()
1671 struct tb_port *port = info->port; in usb4_port_retimer_nvm_read_block()
1705 int usb4_port_retimer_nvm_read(struct tb_port *port, u8 index, in usb4_port_retimer_nvm_read()
1721 int usb4_usb3_port_max_link_rate(struct tb_port *port) in usb4_usb3_port_max_link_rate()
1745 int usb4_usb3_port_actual_link_rate(struct tb_port *port) in usb4_usb3_port_actual_link_rate()
1765 static int usb4_usb3_port_cm_request(struct tb_port *port, bool request) in usb4_usb3_port_cm_request()
1799 static inline int usb4_usb3_port_set_cm_request(struct tb_port *port) in usb4_usb3_port_set_cm_request()
1804 static inline int usb4_usb3_port_clear_cm_request(struct tb_port *port) in usb4_usb3_port_clear_cm_request()
1826 static int usb4_usb3_port_read_allocated_bandwidth(struct tb_port *port, in usb4_usb3_port_read_allocated_bandwidth()
1864 int usb4_usb3_port_allocated_bandwidth(struct tb_port *port, int *upstream_bw, in usb4_usb3_port_allocated_bandwidth()
1880 static int usb4_usb3_port_read_consumed_bandwidth(struct tb_port *port, in usb4_usb3_port_read_consumed_bandwidth()
1908 static int usb4_usb3_port_write_allocated_bandwidth(struct tb_port *port, in usb4_usb3_port_write_allocated_bandwidth()
1955 int usb4_usb3_port_allocate_bandwidth(struct tb_port *port, int *upstream_bw, in usb4_usb3_port_allocate_bandwidth()
1997 int usb4_usb3_port_release_bandwidth(struct tb_port *port, int *upstream_bw, in usb4_usb3_port_release_bandwidth()