Searched refs:tb_switch (Results  1 – 13 of 13) sorted by relevance
| /Linux-v5.4/drivers/thunderbolt/ | 
| D | tb.h | 88 struct tb_switch {  struct138 	struct tb_switch *sw;
 278 	int (*runtime_suspend_switch)(struct tb_switch *sw);
 279 	int (*runtime_resume_switch)(struct tb_switch *sw);
 284 	int (*approve_switch)(struct tb *tb, struct tb_switch *sw);
 285 	int (*add_switch_key)(struct tb *tb, struct tb_switch *sw);
 286 	int (*challenge_switch_key)(struct tb *tb, struct tb_switch *sw,
 312 static inline struct tb_port *tb_upstream_port(struct tb_switch *sw)  in tb_upstream_port()
 330 static inline u64 tb_route(const struct tb_switch *sw)  in tb_route()
 335 static inline struct tb_port *tb_port_at(u64 route, struct tb_switch *sw)  in tb_port_at()
 [all …]
 
 | 
| D | switch.c | 46 static struct nvm_auth_status *__nvm_get_auth_status(const struct tb_switch *sw)  in __nvm_get_auth_status()58 static void nvm_get_auth_status(const struct tb_switch *sw, u32 *status)  in nvm_get_auth_status()
 69 static void nvm_set_auth_status(const struct tb_switch *sw, u32 status)  in nvm_set_auth_status()
 94 static void nvm_clear_auth_status(const struct tb_switch *sw)  in nvm_clear_auth_status()
 107 static int nvm_validate_and_write(struct tb_switch *sw)  in nvm_validate_and_write()
 169 static int nvm_authenticate_host(struct tb_switch *sw)  in nvm_authenticate_host()
 198 static int nvm_authenticate_device(struct tb_switch *sw)  in nvm_authenticate_device()
 238 	struct tb_switch *sw = priv;  in tb_switch_nvm_read()
 261 	struct tb_switch *sw = priv;  in tb_switch_nvm_write()
 290 static struct nvmem_device *register_nvmem(struct tb_switch *sw, int id,  in register_nvmem()
 [all …]
 
 | 
| D | lc.c | 16 int tb_lc_read_uuid(struct tb_switch *sw, u32 *uuid)  in tb_lc_read_uuid()23 static int read_lc_desc(struct tb_switch *sw, u32 *desc)  in read_lc_desc()
 32 	struct tb_switch *sw = port->sw;  in find_port_lc_cap()
 51 	struct tb_switch *sw = port->sw;  in tb_lc_configure_lane()
 92 int tb_lc_configure_link(struct tb_switch *sw)  in tb_lc_configure_link()
 123 void tb_lc_unconfigure_link(struct tb_switch *sw)  in tb_lc_unconfigure_link()
 144 int tb_lc_set_sleep(struct tb_switch *sw)  in tb_lc_set_sleep()
 
 | 
| D | eeprom.c | 17 static int tb_eeprom_ctl_write(struct tb_switch *sw, struct tb_eeprom_ctl *ctl)  in tb_eeprom_ctl_write()25 static int tb_eeprom_ctl_read(struct tb_switch *sw, struct tb_eeprom_ctl *ctl)  in tb_eeprom_ctl_read()
 41 static int tb_eeprom_active(struct tb_switch *sw, bool enable)  in tb_eeprom_active()
 70 static int tb_eeprom_transfer(struct tb_switch *sw, struct tb_eeprom_ctl *ctl,  in tb_eeprom_transfer()
 95 static int tb_eeprom_out(struct tb_switch *sw, u8 val)  in tb_eeprom_out()
 115 static int tb_eeprom_in(struct tb_switch *sw, u8 *val)  in tb_eeprom_in()
 136 static int tb_eeprom_read_n(struct tb_switch *sw, u16 offset, u8 *val,  in tb_eeprom_read_n()
 244 static int tb_eeprom_get_drom_offset(struct tb_switch *sw, u16 *offset)  in tb_eeprom_get_drom_offset()
 277 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid)  in tb_drom_read_uid_only()
 305 static int tb_drom_parse_entry_generic(struct tb_switch *sw,  in tb_drom_parse_entry_generic()
 [all …]
 
 | 
| D | tb.c | 59 static void tb_discover_tunnels(struct tb_switch *sw)  in tb_discover_tunnels()87 			struct tb_switch *parent = tunnel->dst_port->sw;  in tb_discover_tunnels()
 106 	struct tb_switch *sw = port->sw;  in tb_scan_xdomain()
 131 static void tb_scan_switch(struct tb_switch *sw)  in tb_scan_switch()
 145 	struct tb_switch *sw;  in tb_scan_port()
 264 static void tb_free_unplugged_children(struct tb_switch *sw)  in tb_free_unplugged_children()
 289 static struct tb_port *tb_find_port(struct tb_switch *sw,  in tb_find_port()
 304 static struct tb_port *tb_find_unused_port(struct tb_switch *sw,  in tb_find_unused_port()
 323 static struct tb_port *tb_find_pcie_down(struct tb_switch *sw,  in tb_find_pcie_down()
 364 	struct tb_switch *sw = out->sw;  in tb_tunnel_dp()
 [all …]
 
 | 
| D | dma_port.c | 55 	struct tb_switch *sw;168 static int dma_find_port(struct tb_switch *sw)  in dma_find_port()
 201 struct tb_dma_port *dma_port_alloc(struct tb_switch *sw)  in dma_port_alloc()
 243 	struct tb_switch *sw = dma->sw;  in dma_port_wait_for_completion()
 281 	struct tb_switch *sw = dma->sw;  in dma_port_request()
 305 	struct tb_switch *sw = dma->sw;  in dma_port_flash_read_block()
 329 	struct tb_switch *sw = dma->sw;  in dma_port_flash_write_block()
 483 	struct tb_switch *sw = dma->sw;  in dma_port_flash_update_auth_status()
 
 | 
| D | dma_port.h | 15 struct tb_switch;21 struct tb_dma_port *dma_port_alloc(struct tb_switch *sw);
 
 | 
| D | cap.c | 28 	struct tb_switch *sw = port->sw;  in tb_port_enable_tmu()116 static int tb_switch_find_cap(struct tb_switch *sw, enum tb_switch_cap cap)  in tb_switch_find_cap()
 147 int tb_switch_find_vse_cap(struct tb_switch *sw, enum tb_switch_vse_cap vsec)  in tb_switch_find_vse_cap()
 
 | 
| D | icm.c | 436 static int icm_fr_approve_switch(struct tb *tb, struct tb_switch *sw)  in icm_fr_approve_switch()463 static int icm_fr_add_switch_key(struct tb *tb, struct tb_switch *sw)  in icm_fr_add_switch_key()
 490 static int icm_fr_challenge_switch_key(struct tb *tb, struct tb_switch *sw,  in icm_fr_challenge_switch_key()
 565 static struct tb_switch *add_switch(struct tb_switch *parent_sw, u64 route,  in add_switch()
 573 	struct tb_switch *sw;  in add_switch()
 619 static void update_switch(struct tb_switch *parent_sw, struct tb_switch *sw,  in update_switch()
 644 static void remove_switch(struct tb_switch *sw)  in remove_switch()
 646 	struct tb_switch *parent_sw;  in remove_switch()
 653 static void add_xdomain(struct tb_switch *sw, u64 route,  in add_xdomain()
 686 	struct tb_switch *sw;  in remove_xdomain()
 [all …]
 
 | 
| D | domain.c | 584 int tb_domain_approve_switch(struct tb *tb, struct tb_switch *sw)  in tb_domain_approve_switch()586 	struct tb_switch *parent_sw;  in tb_domain_approve_switch()
 610 int tb_domain_approve_switch_key(struct tb *tb, struct tb_switch *sw)  in tb_domain_approve_switch_key()
 612 	struct tb_switch *parent_sw;  in tb_domain_approve_switch_key()
 642 int tb_domain_challenge_switch_key(struct tb *tb, struct tb_switch *sw)  in tb_domain_challenge_switch_key()
 647 	struct tb_switch *parent_sw;  in tb_domain_challenge_switch_key()
 
 | 
| D | path.c | 39 	struct tb_switch *sw;  in tb_path_find_dst_port()107 	struct tb_switch *sw;  in tb_path_discover()
 
 | 
| D | xdomain.c | 1404 static struct tb_xdomain *switch_find_xdomain(struct tb_switch *sw,  in switch_find_xdomain()
 | 
| /Linux-v5.4/include/linux/ | 
| D | thunderbolt.h | 78 	struct tb_switch *root_switch;
 |