Home
last modified time | relevance | path

Searched refs:usb4 (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/thunderbolt/
Dusb4_port.c44 struct usb4_port *usb4 = tb_to_usb4_port_device(dev); in link_show() local
45 struct tb_port *port = usb4->port; in link_show()
76 static int usb4_port_offline(struct usb4_port *usb4) in usb4_port_offline() argument
78 struct tb_port *port = usb4->port; in usb4_port_offline()
100 static void usb4_port_online(struct usb4_port *usb4) in usb4_port_online() argument
102 struct tb_port *port = usb4->port; in usb4_port_online()
111 struct usb4_port *usb4 = tb_to_usb4_port_device(dev); in offline_show() local
113 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() local
120 struct tb_port *port = usb4->port; in offline_store()
[all …]
Ddebugfs.c225 static bool supports_software(const struct usb4_port *usb4) in supports_software() argument
227 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() argument
232 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() argument
237 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() argument
242 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() argument
248 return usb4->margining->caps[0] & USB4_MARGIN_CAP_0_TIME; in supports_time()
[all …]
Dacpi.c207 struct usb4_port *usb4 = port->usb4; in tb_acpi_retimer_set_power() local
213 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() local
362 if (!adev || !usb4) in tb_acpi_setup()
368 usb4->can_offline = true; in tb_acpi_setup()
Dretimer.c351 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() local
508 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()
Dusb4.c992 struct usb4_port *usb4; in usb4_switch_add_ports() local
999 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()
DMakefile4 thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
Dtb.c632 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()
Dtb.h263 struct usb4_port *usb4; member
1254 void usb4_port_device_remove(struct usb4_port *usb4);
1255 int usb4_port_device_resume(struct usb4_port *usb4);
Dswitch.c1325 if (port->usb4) { in tb_port_resume()
1326 usb4_port_device_resume(port->usb4); in tb_port_resume()
/linux-6.1.9/arch/arm/boot/dts/
Dkirkwood-iconnect.dts57 pmx_led_usb4: pmx-led-usb4 {
113 usb4 {
114 label = "usb4:blue";
Ddra74x.dtsi217 usb4: usb@10000 { label
Dimx6qdl-hummingboard2.dtsi141 v_usb4: regulator-v-usb4 {
Dqcom-apq8064.dtsi1021 usb4: usb@12530000 { label
1046 resets = <&usb4 0>;
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-thunderbolt311 "usb4", "tbt" and "none".
/linux-6.1.9/Documentation/trace/
Dftrace.rst3465 sshd-1995 [001] d.h1 138.733278: irq_handler_entry: irq=21 name=uhci_hcd:usb4