Home
last modified time | relevance | path

Searched refs:retimer (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/usb/typec/
Dretimer.c61 struct typec_retimer *retimer; in fwnode_typec_retimer_get() local
63 retimer = fwnode_connection_find_match(fwnode, "retimer-switch", NULL, typec_retimer_match); in fwnode_typec_retimer_get()
64 if (!IS_ERR_OR_NULL(retimer)) in fwnode_typec_retimer_get()
65 WARN_ON(!try_module_get(retimer->dev.parent->driver->owner)); in fwnode_typec_retimer_get()
67 return retimer; in fwnode_typec_retimer_get()
77 void typec_retimer_put(struct typec_retimer *retimer) in typec_retimer_put() argument
79 if (!IS_ERR_OR_NULL(retimer)) { in typec_retimer_put()
80 module_put(retimer->dev.parent->driver->owner); in typec_retimer_put()
81 put_device(&retimer->dev); in typec_retimer_put()
86 int typec_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state) in typec_retimer_set() argument
[all …]
DMakefile3 typec-y := class.o mux.o bus.o pd.o retimer.o
Dclass.h58 struct typec_retimer *retimer; member
Dclass.c1740 typec_retimer_put(port->retimer); in typec_release()
2255 port->retimer = typec_retimer_get(&port->dev); in typec_register_port()
2256 if (IS_ERR(port->retimer)) { in typec_register_port()
2257 ret = PTR_ERR(port->retimer); in typec_register_port()
/linux-6.1.9/include/linux/usb/
Dtypec_retimer.h20 typedef int (*typec_retimer_set_fn_t)(struct typec_retimer *retimer,
31 void typec_retimer_put(struct typec_retimer *retimer);
32 int typec_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state);
41 void typec_retimer_unregister(struct typec_retimer *retimer);
43 void *typec_retimer_get_drvdata(struct typec_retimer *retimer);
/linux-6.1.9/drivers/platform/chrome/
Dcros_typec_switch.c25 struct typec_retimer *retimer; member
155 static int cros_typec_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state) in cros_typec_retimer_set() argument
157 struct cros_typec_port *port = typec_retimer_get_drvdata(retimer); in cros_typec_retimer_set()
170 typec_retimer_unregister(sdata->ports[i]->retimer); in cros_typec_unregister_switches()
199 port->retimer = typec_retimer_register(port->sdata->dev, &retimer_desc); in cros_typec_register_retimer()
201 return PTR_ERR_OR_ZERO(port->retimer); in cros_typec_register_retimer()
Dcros_ec_typec.c60 struct typec_retimer *retimer; member
154 port->retimer = fwnode_typec_retimer_get(fwnode); in cros_typec_get_switch_handles()
155 if (IS_ERR(port->retimer)) { in cros_typec_get_switch_handles()
178 typec_retimer_put(port->retimer); in cros_typec_get_switch_handles()
179 port->retimer = NULL; in cros_typec_get_switch_handles()
230 static int cros_typec_retimer_set(struct typec_retimer *retimer, struct typec_mux_state state) in cros_typec_retimer_set() argument
238 return typec_retimer_set(retimer, &rstate); in cros_typec_retimer_set()
249 cros_typec_retimer_set(port->retimer, port->state); in cros_typec_usb_disconnect_state()
458 ret = cros_typec_retimer_set(port->retimer, port->state); in cros_typec_usb_safe_state()
559 ret = cros_typec_retimer_set(port->retimer, port->state); in cros_typec_enable_dp()
[all …]
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-dfl-devices-n3000-nios18 the retimer A configured by the Nios firmware. The value is
30 retimer modes, more enumeration value is expected.
38 the retimer B configured by the Nios firmware. The value format
Dsysfs-bus-thunderbolt334 retimers. Each retimer appear under the USB4 port as if
364 Description: Holds retimer NVM version number. Format: %x.%x, major.minor.
/linux-6.1.9/drivers/thunderbolt/
DMakefile5 thunderbolt-objs += usb4_port.o nvm.o retimer.o quirks.o
/linux-6.1.9/Documentation/admin-guide/
Dthunderbolt.rst199 Upgrading NVM on Thunderbolt device, host or retimer
211 Before you upgrade firmware on a device, host or retimer, please make
259 Upgrading on-board retimer NVM when there is no cable connected
261 If the platform supports, it may be possible to upgrade the retimer NVM
275 This enumerates and adds the on-board retimers. Now retimer NVM can be
277 section). However, the retimer is not disconnected as we are offline
/linux-6.1.9/drivers/gpu/drm/amd/display/
DTODO105 20. Use kernel i2c device to program HDMI retimer. Some boards have an HDMI
106 retimer that we need to program to pass PHY compliance. Currently that's
/linux-6.1.9/Documentation/firmware-guide/acpi/
Dintel-pmc-mux.rst96 happen for example if a retimer on the platform handles the cable plug