Searched refs:usb4 (Results 1 – 15 of 15) sorted by relevance
44 struct usb4_port *usb4 = tb_to_usb4_port_device(dev); in link_show() local45 struct tb_port *port = usb4->port; in link_show()76 static int usb4_port_offline(struct usb4_port *usb4) in usb4_port_offline() argument78 struct tb_port *port = usb4->port; in usb4_port_offline()100 static void usb4_port_online(struct usb4_port *usb4) in usb4_port_online() argument102 struct tb_port *port = usb4->port; in usb4_port_online()111 struct usb4_port *usb4 = tb_to_usb4_port_device(dev); in offline_show() local113 return sysfs_emit(buf, "%d\n", usb4->offline); in offline_show()119 struct usb4_port *usb4 = tb_to_usb4_port_device(dev); in offline_store() local120 struct tb_port *port = usb4->port; in offline_store()[all …]
225 static bool supports_software(const struct usb4_port *usb4) in supports_software() argument227 return usb4->margining->caps[0] & USB4_MARGIN_CAP_0_MODES_SW; in supports_software()230 static bool supports_hardware(const struct usb4_port *usb4) in supports_hardware() argument232 return usb4->margining->caps[0] & USB4_MARGIN_CAP_0_MODES_HW; in supports_hardware()235 static bool both_lanes(const struct usb4_port *usb4) in both_lanes() argument237 return usb4->margining->caps[0] & USB4_MARGIN_CAP_0_2_LANES; in both_lanes()240 static unsigned int independent_voltage_margins(const struct usb4_port *usb4) in independent_voltage_margins() argument242 return (usb4->margining->caps[0] & USB4_MARGIN_CAP_0_VOLTAGE_INDP_MASK) >> in independent_voltage_margins()246 static bool supports_time(const struct usb4_port *usb4) in supports_time() argument248 return usb4->margining->caps[0] & USB4_MARGIN_CAP_0_TIME; in supports_time()[all …]
207 struct usb4_port *usb4 = port->usb4; in tb_acpi_retimer_set_power() local213 if (!usb4->can_offline) in tb_acpi_retimer_set_power()216 adev = ACPI_COMPANION(&usb4->dev); in tb_acpi_retimer_set_power()360 struct usb4_port *usb4 = tb_to_usb4_port_device(dev); in tb_acpi_setup() local362 if (!adev || !usb4) in tb_acpi_setup()368 usb4->can_offline = true; in tb_acpi_setup()
351 rt->dev.parent = &port->usb4->dev; in tb_retimer_add()409 dev = device_find_child(&port->usb4->dev, &lookup, retimer_match); in tb_port_find_retimer()506 struct usb4_port *usb4; in tb_retimer_remove_all() local508 usb4 = port->usb4; in tb_retimer_remove_all()509 if (usb4) in tb_retimer_remove_all()510 device_for_each_child_reverse(&usb4->dev, port, in tb_retimer_remove_all()
992 struct usb4_port *usb4; in usb4_switch_add_ports() local999 usb4 = usb4_port_device_add(port); in usb4_switch_add_ports()1000 if (IS_ERR(usb4)) { in usb4_switch_add_ports()1002 return PTR_ERR(usb4); in usb4_switch_add_ports()1005 port->usb4 = usb4; in usb4_switch_add_ports()1022 if (port->usb4) { in usb4_switch_remove_ports()1023 usb4_port_device_remove(port->usb4); in usb4_switch_remove_ports()1024 port->usb4 = NULL; in usb4_switch_remove_ports()
4 thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
632 if (port->usb4) in tb_scan_port()633 pm_runtime_get_sync(&port->usb4->dev); in tb_scan_port()742 if (port->usb4) { in tb_scan_port()743 pm_runtime_mark_last_busy(&port->usb4->dev); in tb_scan_port()744 pm_runtime_put_autosuspend(&port->usb4->dev); in tb_scan_port()
263 struct usb4_port *usb4; member1254 void usb4_port_device_remove(struct usb4_port *usb4);1255 int usb4_port_device_resume(struct usb4_port *usb4);
1325 if (port->usb4) { in tb_port_resume()1326 usb4_port_device_resume(port->usb4); in tb_port_resume()
57 pmx_led_usb4: pmx-led-usb4 {113 usb4 {114 label = "usb4:blue";
217 usb4: usb@10000 { label
141 v_usb4: regulator-v-usb4 {
1021 usb4: usb@12530000 { label1046 resets = <&usb4 0>;
311 "usb4", "tbt" and "none".
3465 sshd-1995 [001] d.h1 138.733278: irq_handler_entry: irq=21 name=uhci_hcd:usb4