Lines Matching full: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()
355 struct tb_cm *tcm = tb_priv(tb); in tb_stop() local
360 list_for_each_entry_safe(tunnel, n, &tcm->tunnel_list, list) { in tb_stop()
365 tcm->hotplug_active = false; /* signal tb_handle_hotplug to quit */ in tb_stop()
370 struct tb_cm *tcm = tb_priv(tb); in tb_start() local
402 tcm->hotplug_active = true; in tb_start()
408 struct tb_cm *tcm = tb_priv(tb); in tb_suspend_noirq() local
412 tcm->hotplug_active = false; /* signal tb_handle_hotplug to quit */ in tb_suspend_noirq()
420 struct tb_cm *tcm = tb_priv(tb); in tb_resume_noirq() local
431 list_for_each_entry_safe(tunnel, n, &tcm->tunnel_list, list) in tb_resume_noirq()
433 if (!list_empty(&tcm->tunnel_list)) { in tb_resume_noirq()
442 tcm->hotplug_active = true; in tb_resume_noirq()
458 struct tb_cm *tcm; in tb_probe() local
464 tb = tb_domain_alloc(nhi, sizeof(*tcm)); in tb_probe()
471 tcm = tb_priv(tb); in tb_probe()
472 INIT_LIST_HEAD(&tcm->tunnel_list); in tb_probe()