Lines Matching refs:tb_switch
460 static int icm_fr_approve_switch(struct tb *tb, struct tb_switch *sw) in icm_fr_approve_switch()
487 static int icm_fr_add_switch_key(struct tb *tb, struct tb_switch *sw) in icm_fr_add_switch_key()
514 static int icm_fr_challenge_switch_key(struct tb *tb, struct tb_switch *sw, in icm_fr_challenge_switch_key()
589 static struct tb_switch *alloc_switch(struct tb_switch *parent_sw, u64 route, in alloc_switch()
593 struct tb_switch *sw; in alloc_switch()
611 static int add_switch(struct tb_switch *parent_sw, struct tb_switch *sw) in add_switch()
627 static void update_switch(struct tb_switch *parent_sw, struct tb_switch *sw, in update_switch()
652 static void remove_switch(struct tb_switch *sw) in remove_switch()
654 struct tb_switch *parent_sw; in remove_switch()
661 static void add_xdomain(struct tb_switch *sw, u64 route, in add_xdomain()
694 struct tb_switch *sw; in remove_xdomain()
707 struct tb_switch *sw, *parent_sw; in icm_fr_device_connected()
854 struct tb_switch *sw; in icm_fr_device_disconnected()
883 struct tb_switch *sw; in icm_fr_xdomain_connected()
1014 static int icm_tr_approve_switch(struct tb *tb, struct tb_switch *sw) in icm_tr_approve_switch()
1041 static int icm_tr_add_switch_key(struct tb *tb, struct tb_switch *sw) in icm_tr_add_switch_key()
1069 static int icm_tr_challenge_switch_key(struct tb *tb, struct tb_switch *sw, in icm_tr_challenge_switch_key()
1174 struct tb_switch *sw, *parent_sw; in __icm_tr_device_connected()
1273 struct tb_switch *sw; in icm_tr_device_disconnected()
1294 struct tb_switch *sw; in icm_tr_xdomain_connected()
1953 static void icm_unplug_children(struct tb_switch *sw) in icm_unplug_children()
1970 struct tb_switch *sw = tb_to_switch(dev); in complete_rpm()
1977 static void remove_unplugged_switch(struct tb_switch *sw) in remove_unplugged_switch()
1998 static void icm_free_unplugged_children(struct tb_switch *sw) in icm_free_unplugged_children()
2064 static int icm_runtime_suspend_switch(struct tb_switch *sw) in icm_runtime_suspend_switch()
2071 static int icm_runtime_resume_switch(struct tb_switch *sw) in icm_runtime_resume_switch()