Searched refs:tb_port_is_null (Results 1 – 6 of 6) sorted by relevance
578 if (tb_switch_is_usb4(port->sw) && !tb_port_is_null(port)) in tb_port_add_nfc_credits()622 if (!tb_port_is_null(port)) in tb_port_unlock()634 if (!tb_port_is_null(port)) in __tb_port_enable()1560 if (tb_port_is_null(port) && !tb_is_upstream_port(port)) { in tb_switch_reset_host()2289 tb_port_is_null(port)) { in tb_switch_uevent()2785 if (!tb_port_is_null(port)) in tb_switch_default_link_ports()2790 !tb_port_is_null(&sw->ports[i + 1])) in tb_switch_default_link_ports()3532 if (!tb_port_is_null(port)) in tb_switch_resume()
163 if (tb_port_is_null(in_port) && tb_port_is_null(out_port) && in tb_init_pm_support()304 if (tb_port_is_null(port)) in tb_pci_init_credits()1678 if (tb_port_is_null(port)) in tb_dma_reserve_credits()2057 if (tb_port_is_null(port)) in tb_usb3_init_credits()
630 static inline bool tb_port_is_null(const struct tb_port *port) in tb_port_is_null() function1105 return tb_port_is_null(port) && port->sw->credit_allocation; in tb_port_use_credit_allocation()1131 if (!tb_port_is_null((p)) || !tb_is_upstream_port((p))) {\
423 if (!tb_port_is_null(port)) in usb4_switch_set_wake()806 if (tb_port_is_null(port)) in usb4_switch_credits_init()945 if (!tb_port_is_null(p)) in usb4_port_idx()1040 if (!tb_port_is_null(port)) in usb4_switch_add_ports()
825 if (!tb_port_is_null(port)) in tb_available_bandwidth()2490 if (tb_port_is_null(port)) { in tb_handle_hotplug()
2269 if (tb_port_is_null(port) || tb_port_is_nhi(port)) { in path_show()