Lines Matching refs:tb_switch

476 static int icm_fr_approve_switch(struct tb *tb, struct tb_switch *sw)  in icm_fr_approve_switch()
503 static int icm_fr_add_switch_key(struct tb *tb, struct tb_switch *sw) in icm_fr_add_switch_key()
530 static int icm_fr_challenge_switch_key(struct tb *tb, struct tb_switch *sw, in icm_fr_challenge_switch_key()
609 static struct tb_switch *alloc_switch(struct tb_switch *parent_sw, u64 route, in alloc_switch()
613 struct tb_switch *sw; in alloc_switch()
631 static int add_switch(struct tb_switch *parent_sw, struct tb_switch *sw) in add_switch()
647 static void update_switch(struct tb_switch *sw, u64 route, u8 connection_id, in update_switch()
650 struct tb_switch *parent_sw = tb_switch_parent(sw); in update_switch()
673 static void remove_switch(struct tb_switch *sw) in remove_switch()
679 static void add_xdomain(struct tb_switch *sw, u64 route, in add_xdomain()
712 struct tb_switch *sw; in remove_xdomain()
725 struct tb_switch *sw, *parent_sw; in icm_fr_device_connected()
872 struct tb_switch *sw; in icm_fr_device_disconnected()
907 struct tb_switch *sw; in icm_fr_xdomain_connected()
1041 static int icm_tr_approve_switch(struct tb *tb, struct tb_switch *sw) in icm_tr_approve_switch()
1068 static int icm_tr_add_switch_key(struct tb *tb, struct tb_switch *sw) in icm_tr_add_switch_key()
1096 static int icm_tr_challenge_switch_key(struct tb *tb, struct tb_switch *sw, in icm_tr_challenge_switch_key()
1205 struct tb_switch *sw, *parent_sw; in __icm_tr_device_connected()
1304 struct tb_switch *sw; in icm_tr_device_disconnected()
1330 struct tb_switch *sw; in icm_tr_xdomain_connected()
2008 static void icm_unplug_children(struct tb_switch *sw) in icm_unplug_children()
2025 struct tb_switch *sw = tb_to_switch(dev); in complete_rpm()
2032 static void remove_unplugged_switch(struct tb_switch *sw) in remove_unplugged_switch()
2053 static void icm_free_unplugged_children(struct tb_switch *sw) in icm_free_unplugged_children()
2119 static int icm_runtime_suspend_switch(struct tb_switch *sw) in icm_runtime_suspend_switch()
2126 static int icm_runtime_resume_switch(struct tb_switch *sw) in icm_runtime_resume_switch()
2258 static int icm_usb4_switch_op(struct tb_switch *sw, u16 opcode, u32 *metadata, in icm_usb4_switch_op()
2320 static int icm_usb4_switch_nvm_authenticate_status(struct tb_switch *sw, in icm_usb4_switch_nvm_authenticate_status()