Lines Matching refs:tb_port
158 struct tb_port *port; in usb4_switch_check_wakes()
196 static bool link_is_usb4(struct tb_port *port) in link_is_usb4()
223 struct tb_port *downstream_port; in usb4_switch_setup()
348 struct tb_port *up; in usb4_switch_lane_bonding_possible()
369 struct tb_port *port; in usb4_switch_set_wake()
687 const struct tb_port *port; in usb4_switch_credits_init()
823 bool usb4_switch_query_dp_resource(struct tb_switch *sw, struct tb_port *in) in usb4_switch_query_dp_resource()
853 int usb4_switch_alloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in usb4_switch_alloc_dp_resource()
876 int usb4_switch_dealloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in usb4_switch_dealloc_dp_resource()
892 static int usb4_port_idx(const struct tb_switch *sw, const struct tb_port *port) in usb4_port_idx()
894 struct tb_port *p; in usb4_port_idx()
923 struct tb_port *usb4_switch_map_pcie_down(struct tb_switch *sw, in usb4_switch_map_pcie_down()
924 const struct tb_port *port) in usb4_switch_map_pcie_down()
927 struct tb_port *p; in usb4_switch_map_pcie_down()
954 struct tb_port *usb4_switch_map_usb3_down(struct tb_switch *sw, in usb4_switch_map_usb3_down()
955 const struct tb_port *port) in usb4_switch_map_usb3_down()
958 struct tb_port *p; in usb4_switch_map_usb3_down()
986 struct tb_port *port; in usb4_switch_add_ports()
1019 struct tb_port *port; in usb4_switch_remove_ports()
1036 int usb4_port_unlock(struct tb_port *port) in usb4_port_unlock()
1056 int usb4_port_hotplug_enable(struct tb_port *port) in usb4_port_hotplug_enable()
1069 static int usb4_port_set_configured(struct tb_port *port, bool configured) in usb4_port_set_configured()
1097 int usb4_port_configure(struct tb_port *port) in usb4_port_configure()
1108 void usb4_port_unconfigure(struct tb_port *port) in usb4_port_unconfigure()
1113 static int usb4_set_xdomain_configured(struct tb_port *port, bool configured) in usb4_set_xdomain_configured()
1143 int usb4_port_configure_xdomain(struct tb_port *port, struct tb_xdomain *xd) 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()
1396 bool usb4_port_clx_supported(struct tb_port *port) in usb4_port_clx_supported()
1416 int usb4_port_margining_caps(struct tb_port *port, u32 *caps) in usb4_port_margining_caps()
1442 int usb4_port_hw_margin(struct tb_port *port, unsigned int lanes, in usb4_port_hw_margin()
1485 int usb4_port_sw_margin(struct tb_port *port, unsigned int lanes, bool timing, in usb4_port_sw_margin()
1516 int usb4_port_sw_margin_errors(struct tb_port *port, u32 *errors) in usb4_port_sw_margin_errors()
1529 static inline int usb4_port_retimer_op(struct tb_port *port, u8 index, in usb4_port_retimer_op()
1545 int usb4_port_retimer_set_inbound_sbtx(struct tb_port *port, u8 index) in usb4_port_retimer_set_inbound_sbtx()
1578 int usb4_port_retimer_read(struct tb_port *port, u8 index, u8 reg, void *buf, in usb4_port_retimer_read()
1598 int usb4_port_retimer_write(struct tb_port *port, u8 index, u8 reg, in usb4_port_retimer_write()
1615 int usb4_port_retimer_is_last(struct tb_port *port, u8 index) in usb4_port_retimer_is_last()
1641 int usb4_port_retimer_nvm_sector_size(struct tb_port *port, u8 index) in usb4_port_retimer_nvm_sector_size()
1667 int usb4_port_retimer_nvm_set_offset(struct tb_port *port, u8 index, in usb4_port_retimer_nvm_set_offset()
1687 struct tb_port *port;
1696 struct tb_port *port = info->port; in usb4_port_retimer_nvm_write_next_block()
1722 int usb4_port_retimer_nvm_write(struct tb_port *port, u8 index, unsigned int address, in usb4_port_retimer_nvm_write()
1747 int usb4_port_retimer_nvm_authenticate(struct tb_port *port, u8 index) in usb4_port_retimer_nvm_authenticate()
1774 int usb4_port_retimer_nvm_authenticate_status(struct tb_port *port, u8 index, in usb4_port_retimer_nvm_authenticate_status()
1811 struct tb_port *port = info->port; in usb4_port_retimer_nvm_read_block()
1845 int usb4_port_retimer_nvm_read(struct tb_port *port, u8 index, in usb4_port_retimer_nvm_read()
1861 int usb4_usb3_port_max_link_rate(struct tb_port *port) in usb4_usb3_port_max_link_rate()
1885 int usb4_usb3_port_actual_link_rate(struct tb_port *port) in usb4_usb3_port_actual_link_rate()
1905 static int usb4_usb3_port_cm_request(struct tb_port *port, bool request) in usb4_usb3_port_cm_request()
1939 static inline int usb4_usb3_port_set_cm_request(struct tb_port *port) in usb4_usb3_port_set_cm_request()
1944 static inline int usb4_usb3_port_clear_cm_request(struct tb_port *port) in usb4_usb3_port_clear_cm_request()
1966 static int usb4_usb3_port_read_allocated_bandwidth(struct tb_port *port, in usb4_usb3_port_read_allocated_bandwidth()
2004 int usb4_usb3_port_allocated_bandwidth(struct tb_port *port, int *upstream_bw, in usb4_usb3_port_allocated_bandwidth()
2020 static int usb4_usb3_port_read_consumed_bandwidth(struct tb_port *port, in usb4_usb3_port_read_consumed_bandwidth()
2048 static int usb4_usb3_port_write_allocated_bandwidth(struct tb_port *port, in usb4_usb3_port_write_allocated_bandwidth()
2095 int usb4_usb3_port_allocate_bandwidth(struct tb_port *port, int *upstream_bw, in usb4_usb3_port_allocate_bandwidth()
2137 int usb4_usb3_port_release_bandwidth(struct tb_port *port, int *upstream_bw, in usb4_usb3_port_release_bandwidth()