/Linux-v6.6/drivers/thunderbolt/ |
D | usb4_port.c | 44 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 …]
|
D | debugfs.c | 228 static bool supports_software(const struct usb4_port *usb4) in supports_software() argument 230 return usb4->margining->caps[0] & USB4_MARGIN_CAP_0_MODES_SW; in supports_software() 233 static bool supports_hardware(const struct usb4_port *usb4) in supports_hardware() argument 235 return usb4->margining->caps[0] & USB4_MARGIN_CAP_0_MODES_HW; in supports_hardware() 238 static bool both_lanes(const struct usb4_port *usb4) in both_lanes() argument 240 return usb4->margining->caps[0] & USB4_MARGIN_CAP_0_2_LANES; in both_lanes() 243 static unsigned int independent_voltage_margins(const struct usb4_port *usb4) in independent_voltage_margins() argument 245 return (usb4->margining->caps[0] & USB4_MARGIN_CAP_0_VOLTAGE_INDP_MASK) >> in independent_voltage_margins() 249 static bool supports_time(const struct usb4_port *usb4) in supports_time() argument 251 return usb4->margining->caps[0] & USB4_MARGIN_CAP_0_TIME; in supports_time() [all …]
|
D | acpi.c | 208 struct usb4_port *usb4 = port->usb4; in tb_acpi_retimer_set_power() local 214 if (!usb4->can_offline) in tb_acpi_retimer_set_power() 217 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()
|
D | retimer.c | 213 if (!usb4_port_device_is_offline(port->usb4)) in tb_retimer_set_inbound_sbtx() 231 if (usb4_port_device_is_offline(port->usb4)) in tb_retimer_unset_inbound_sbtx() 405 rt->dev.parent = &port->usb4->dev; in tb_retimer_add() 463 dev = device_find_child(&port->usb4->dev, &lookup, retimer_match); in tb_port_find_retimer() 559 struct usb4_port *usb4; in tb_retimer_remove_all() local 561 usb4 = port->usb4; in tb_retimer_remove_all() 562 if (usb4) in tb_retimer_remove_all() 563 device_for_each_child_reverse(&usb4->dev, port, in tb_retimer_remove_all()
|
D | usb4.c | 161 struct usb4_port *usb4; in usb4_switch_check_wakes() local 200 usb4 = port->usb4; in usb4_switch_check_wakes() 201 if (device_may_wakeup(&usb4->dev) && wakeup_usb4) in usb4_switch_check_wakes() 202 pm_wakeup_event(&usb4->dev, 0); in usb4_switch_check_wakes() 412 struct usb4_port *usb4; in usb4_switch_set_wake() local 442 usb4 = port->usb4; in usb4_switch_set_wake() 445 device_may_wakeup(&usb4->dev)) && !configured) in usb4_switch_set_wake() 448 device_may_wakeup(&usb4->dev)) && configured) in usb4_switch_set_wake() 1039 struct usb4_port *usb4; in usb4_switch_add_ports() local 1046 usb4 = usb4_port_device_add(port); in usb4_switch_add_ports() [all …]
|
D | Makefile | 4 thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
|
D | tb.h | 277 struct usb4_port *usb4; member 1325 void usb4_port_device_remove(struct usb4_port *usb4); 1326 int usb4_port_device_resume(struct usb4_port *usb4); 1328 static inline bool usb4_port_device_is_offline(const struct usb4_port *usb4) in usb4_port_device_is_offline() argument 1330 return usb4->offline; in usb4_port_device_is_offline()
|
D | tb.c | 906 if (port->usb4) in tb_scan_port() 907 pm_runtime_get_sync(&port->usb4->dev); in tb_scan_port() 1014 if (port->usb4) { in tb_scan_port() 1015 pm_runtime_mark_last_busy(&port->usb4->dev); in tb_scan_port() 1016 pm_runtime_put_autosuspend(&port->usb4->dev); in tb_scan_port()
|
D | switch.c | 1228 if (port->usb4) { in tb_port_resume() 1229 usb4_port_device_resume(port->usb4); in tb_port_resume()
|
/Linux-v6.6/arch/arm/boot/dts/marvell/ |
D | kirkwood-iconnect.dts | 57 pmx_led_usb4: pmx-led-usb4 { 113 usb4 { 114 label = "usb4:blue";
|
/Linux-v6.6/arch/arm/boot/dts/qcom/ |
D | qcom-apq8064-cm-qs600.dts | 227 &usb4 {
|
D | qcom-apq8064-ifc6410.dts | 356 &usb4 {
|
D | qcom-apq8064.dtsi | 1012 usb4: usb@12530000 { label 1037 resets = <&usb4 0>;
|
/Linux-v6.6/arch/arm/boot/dts/ti/omap/ |
D | dra74x.dtsi | 217 usb4: usb@10000 { label
|
/Linux-v6.6/arch/arm/boot/dts/nxp/imx/ |
D | imx6qdl-hummingboard2.dtsi | 141 v_usb4: regulator-v-usb4 {
|
/Linux-v6.6/Documentation/ABI/testing/ |
D | sysfs-bus-thunderbolt | 311 "usb4", "tbt" and "none".
|
/Linux-v6.6/Documentation/trace/ |
D | ftrace.rst | 3628 sshd-1995 [001] d.h1 138.733278: irq_handler_entry: irq=21 name=uhci_hcd:usb4
|