Lines Matching defs:port

160 	struct tb_port *port;  in usb4_switch_check_wakes()  local
209 static bool link_is_usb4(struct tb_port *port) in link_is_usb4()
383 struct tb_port *port; in usb4_switch_set_wake() local
704 const struct tb_port *port; in usb4_switch_credits_init() local
909 static int usb4_port_idx(const struct tb_switch *sw, const struct tb_port *port) in usb4_port_idx()
941 const struct tb_port *port) in usb4_switch_map_pcie_down()
972 const struct tb_port *port) in usb4_switch_map_usb3_down()
1003 struct tb_port *port; in usb4_switch_add_ports() local
1036 struct tb_port *port; in usb4_switch_remove_ports() local
1053 int usb4_port_unlock(struct tb_port *port) in usb4_port_unlock()
1073 int usb4_port_hotplug_enable(struct tb_port *port) in usb4_port_hotplug_enable()
1086 static int usb4_port_set_configured(struct tb_port *port, bool configured) in usb4_port_set_configured()
1114 int usb4_port_configure(struct tb_port *port) in usb4_port_configure()
1125 void usb4_port_unconfigure(struct tb_port *port) in usb4_port_unconfigure()
1130 static int usb4_set_xdomain_configured(struct tb_port *port, bool configured) in usb4_set_xdomain_configured()
1160 int usb4_port_configure_xdomain(struct tb_port *port, struct tb_xdomain *xd) in usb4_port_configure_xdomain()
1172 void usb4_port_unconfigure_xdomain(struct tb_port *port) in usb4_port_unconfigure_xdomain()
1177 static int usb4_port_wait_for_bit(struct tb_port *port, u32 offset, u32 bit, in usb4_port_wait_for_bit()
1199 static int usb4_port_read_data(struct tb_port *port, void *data, size_t dwords) in usb4_port_read_data()
1208 static int usb4_port_write_data(struct tb_port *port, const void *data, in usb4_port_write_data()
1218 static int usb4_port_sb_read(struct tb_port *port, enum usb4_sb_target target, in usb4_port_sb_read()
1258 static int usb4_port_sb_write(struct tb_port *port, enum usb4_sb_target target, in usb4_port_sb_write()
1305 static int usb4_port_sb_op(struct tb_port *port, enum usb4_sb_target target, in usb4_port_sb_op()
1347 static int usb4_port_set_router_offline(struct tb_port *port, bool offline) in usb4_port_set_router_offline()
1373 int usb4_port_router_offline(struct tb_port *port) in usb4_port_router_offline()
1384 int usb4_port_router_online(struct tb_port *port) in usb4_port_router_online()
1397 int usb4_port_enumerate_retimers(struct tb_port *port) in usb4_port_enumerate_retimers()
1413 bool usb4_port_clx_supported(struct tb_port *port) in usb4_port_clx_supported()
1433 int usb4_port_margining_caps(struct tb_port *port, u32 *caps) in usb4_port_margining_caps()
1459 int usb4_port_hw_margin(struct tb_port *port, unsigned int lanes, in usb4_port_hw_margin()
1502 int usb4_port_sw_margin(struct tb_port *port, unsigned int lanes, bool timing, in usb4_port_sw_margin()
1533 int usb4_port_sw_margin_errors(struct tb_port *port, u32 *errors) in usb4_port_sw_margin_errors()
1546 static inline int usb4_port_retimer_op(struct tb_port *port, u8 index, in usb4_port_retimer_op()
1562 int usb4_port_retimer_set_inbound_sbtx(struct tb_port *port, u8 index) in usb4_port_retimer_set_inbound_sbtx()
1595 int usb4_port_retimer_read(struct tb_port *port, u8 index, u8 reg, void *buf, in usb4_port_retimer_read()
1615 int usb4_port_retimer_write(struct tb_port *port, u8 index, u8 reg, in usb4_port_retimer_write()
1632 int usb4_port_retimer_is_last(struct tb_port *port, u8 index) in usb4_port_retimer_is_last()
1658 int usb4_port_retimer_nvm_sector_size(struct tb_port *port, u8 index) in usb4_port_retimer_nvm_sector_size()
1684 int usb4_port_retimer_nvm_set_offset(struct tb_port *port, u8 index, in usb4_port_retimer_nvm_set_offset()
1704 struct tb_port *port; member
1713 struct tb_port *port = info->port; in usb4_port_retimer_nvm_write_next_block() local
1739 int usb4_port_retimer_nvm_write(struct tb_port *port, u8 index, unsigned int address, in usb4_port_retimer_nvm_write()
1764 int usb4_port_retimer_nvm_authenticate(struct tb_port *port, u8 index) in usb4_port_retimer_nvm_authenticate()
1791 int usb4_port_retimer_nvm_authenticate_status(struct tb_port *port, u8 index, in usb4_port_retimer_nvm_authenticate_status()
1828 struct tb_port *port = info->port; in usb4_port_retimer_nvm_read_block() local
1862 int usb4_port_retimer_nvm_read(struct tb_port *port, u8 index, in usb4_port_retimer_nvm_read()
1878 int usb4_usb3_port_max_link_rate(struct tb_port *port) in usb4_usb3_port_max_link_rate()
1902 int usb4_usb3_port_actual_link_rate(struct tb_port *port) in usb4_usb3_port_actual_link_rate()
1922 static int usb4_usb3_port_cm_request(struct tb_port *port, bool request) in usb4_usb3_port_cm_request()
1956 static inline int usb4_usb3_port_set_cm_request(struct tb_port *port) in usb4_usb3_port_set_cm_request()
1961 static inline int usb4_usb3_port_clear_cm_request(struct tb_port *port) in usb4_usb3_port_clear_cm_request()
1983 static int usb4_usb3_port_read_allocated_bandwidth(struct tb_port *port, in usb4_usb3_port_read_allocated_bandwidth()
2021 int usb4_usb3_port_allocated_bandwidth(struct tb_port *port, int *upstream_bw, in usb4_usb3_port_allocated_bandwidth()
2037 static int usb4_usb3_port_read_consumed_bandwidth(struct tb_port *port, in usb4_usb3_port_read_consumed_bandwidth()
2065 static int usb4_usb3_port_write_allocated_bandwidth(struct tb_port *port, in usb4_usb3_port_write_allocated_bandwidth()
2112 int usb4_usb3_port_allocate_bandwidth(struct tb_port *port, int *upstream_bw, in usb4_usb3_port_allocate_bandwidth()
2154 int usb4_usb3_port_release_bandwidth(struct tb_port *port, int *upstream_bw, in usb4_usb3_port_release_bandwidth()
2190 static bool is_usb4_dpin(const struct tb_port *port) in is_usb4_dpin()
2208 int usb4_dp_port_set_cm_id(struct tb_port *port, int cm_id) in usb4_dp_port_set_cm_id()
2235 bool usb4_dp_port_bw_mode_supported(struct tb_port *port) in usb4_dp_port_bw_mode_supported()
2258 bool usb4_dp_port_bw_mode_enabled(struct tb_port *port) in usb4_dp_port_bw_mode_enabled()
2284 int usb4_dp_port_set_cm_bw_mode_supported(struct tb_port *port, bool supported) in usb4_dp_port_set_cm_bw_mode_supported()
2314 int usb4_dp_port_group_id(struct tb_port *port) in usb4_dp_port_group_id()
2340 int usb4_dp_port_set_group_id(struct tb_port *port, int group_id) in usb4_dp_port_set_group_id()
2370 int usb4_dp_port_nrd(struct tb_port *port, int *rate, int *lanes) in usb4_dp_port_nrd()
2426 int usb4_dp_port_set_nrd(struct tb_port *port, int rate, int lanes) in usb4_dp_port_set_nrd()
2487 int usb4_dp_port_granularity(struct tb_port *port) in usb4_dp_port_granularity()
2524 int usb4_dp_port_set_granularity(struct tb_port *port, int granularity) in usb4_dp_port_set_granularity()
2568 int usb4_dp_port_set_estimated_bw(struct tb_port *port, int bw) in usb4_dp_port_set_estimated_bw()
2601 int usb4_dp_port_allocated_bw(struct tb_port *port) in usb4_dp_port_allocated_bw()
2625 static int __usb4_dp_port_set_cm_ack(struct tb_port *port, bool ack) in __usb4_dp_port_set_cm_ack()
2644 static inline int usb4_dp_port_set_cm_ack(struct tb_port *port) in usb4_dp_port_set_cm_ack()
2649 static int usb4_dp_port_wait_and_clear_cm_ack(struct tb_port *port, in usb4_dp_port_wait_and_clear_cm_ack()
2695 int usb4_dp_port_allocate_bw(struct tb_port *port, int bw) in usb4_dp_port_allocate_bw()
2738 int usb4_dp_port_requested_bw(struct tb_port *port) in usb4_dp_port_requested_bw()