Lines Matching refs:tcm
93 struct tb_cm *tcm = tb_priv(tb); in tb_free_invalid_tunnels() local
97 list_for_each_entry_safe(tunnel, n, &tcm->tunnel_list, list) { in tb_free_invalid_tunnels()
182 struct tb_cm *tcm = tb_priv(tb); in tb_activate_pcie_devices() local
231 list_add(&tunnel->list, &tcm->tunnel_list); in tb_activate_pcie_devices()
254 struct tb_cm *tcm = tb_priv(tb); in tb_handle_hotplug() local
258 if (!tcm->hotplug_active) in tb_handle_hotplug()
352 struct tb_cm *tcm = tb_priv(tb); in tb_stop() local
357 list_for_each_entry_safe(tunnel, n, &tcm->tunnel_list, list) { in tb_stop()
362 tcm->hotplug_active = false; /* signal tb_handle_hotplug to quit */ in tb_stop()
367 struct tb_cm *tcm = tb_priv(tb); in tb_start() local
399 tcm->hotplug_active = true; in tb_start()
405 struct tb_cm *tcm = tb_priv(tb); in tb_suspend_noirq() local
409 tcm->hotplug_active = false; /* signal tb_handle_hotplug to quit */ in tb_suspend_noirq()
417 struct tb_cm *tcm = tb_priv(tb); in tb_resume_noirq() local
428 list_for_each_entry_safe(tunnel, n, &tcm->tunnel_list, list) in tb_resume_noirq()
430 if (!list_empty(&tcm->tunnel_list)) { in tb_resume_noirq()
439 tcm->hotplug_active = true; in tb_resume_noirq()
455 struct tb_cm *tcm; in tb_probe() local
461 tb = tb_domain_alloc(nhi, sizeof(*tcm)); in tb_probe()
468 tcm = tb_priv(tb); in tb_probe()
469 INIT_LIST_HEAD(&tcm->tunnel_list); in tb_probe()