Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
H A Dretimer.c49 struct typec_retimer *retimer; in fwnode_typec_retimer_get() local
51 retimer = fwnode_connection_find_match(fwnode, "retimer-switch", NULL, typec_retimer_match); in fwnode_typec_retimer_get()
52 if (!IS_ERR_OR_NULL(retimer)) in fwnode_typec_retimer_get()
53 WARN_ON(!try_module_get(retimer->dev.parent->driver->owner)); in fwnode_typec_retimer_get()
55 return retimer; in fwnode_typec_retimer_get()
65 void typec_retimer_put(struct typec_retimer *retimer) in typec_retimer_put() argument
67 if (!IS_ERR_OR_NULL(retimer)) { in typec_retimer_put()
68 module_put(retimer->dev.parent->driver->owner); in typec_retimer_put()
69 put_device(&retimer->dev); in typec_retimer_put()
74 int typec_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state) in typec_retimer_set() argument
[all …]
H A Dbus.h16 struct typec_retimer *retimer; member
H A DMakefile3 typec-y := class.o mux.o bus.o pd.o retimer.o
H A Dclass.c615 typec_retimer_put(to_altmode(adev)->retimer); in typec_unregister_altmode()
2016 typec_retimer_put(port->retimer); in typec_release()
2457 struct typec_retimer *retimer; in typec_port_register_altmode() local
2463 retimer = typec_retimer_get(&port->dev); in typec_port_register_altmode()
2464 if (IS_ERR(retimer)) { in typec_port_register_altmode()
2466 return ERR_CAST(retimer); in typec_port_register_altmode()
2471 typec_retimer_put(retimer); in typec_port_register_altmode()
2475 to_altmode(adev)->retimer = retimer; in typec_port_register_altmode()
2661 port->retimer = typec_retimer_get(&port->dev); in typec_register_port()
2662 if (IS_ERR(port->retimer)) { in typec_register_port()
[all …]
H A Dbus.c21 if (!alt->retimer) in typec_altmode_set_retimer()
28 return typec_retimer_set(alt->retimer, &state); in typec_altmode_set_retimer()
/linux/include/linux/usb/
H A 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/drivers/usb/typec/mux/
H A Dptn36502.c67 struct typec_retimer *retimer; member
236 static int ptn36502_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state) in ptn36502_retimer_set() argument
238 struct ptn36502 *ptn = typec_retimer_get_drvdata(retimer); in ptn36502_retimer_set()
369 ptn->retimer = typec_retimer_register(dev, &retimer_desc); in ptn36502_probe()
370 if (IS_ERR(ptn->retimer)) { in ptn36502_probe()
371 ret = dev_err_probe(dev, PTR_ERR(ptn->retimer), in ptn36502_probe()
397 typec_retimer_unregister(ptn->retimer); in ptn36502_remove()
H A Dnb7vpq904m.c68 struct typec_retimer *retimer; member
276 static int nb7vpq904m_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state) in nb7vpq904m_retimer_set() argument
278 struct nb7vpq904m *nb7 = typec_retimer_get_drvdata(retimer); in nb7vpq904m_retimer_set()
461 nb7->retimer = typec_retimer_register(dev, &retimer_desc); in nb7vpq904m_probe()
462 if (IS_ERR(nb7->retimer)) { in nb7vpq904m_probe()
463 ret = dev_err_probe(dev, PTR_ERR(nb7->retimer), in nb7vpq904m_probe()
490 typec_retimer_unregister(nb7->retimer); in nb7vpq904m_remove()
/linux/Documentation/hwmon/
H A Dpt5161l.rst22 PT5161L series PCIe retimer chips.
25 https://github.com/facebook/openbmc/tree/helium/common/recipes-lib/retimer-v2.14
40 fw_ver Firmware version of the retimer
/linux/Documentation/ABI/testing/
H A 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
H A 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/drivers/platform/chrome/
H A Dcros_ec_typec.c106 port->retimer = fwnode_typec_retimer_get(fwnode); in cros_typec_get_switch_handles()
107 if (IS_ERR(port->retimer)) { in cros_typec_get_switch_handles()
108 ret = PTR_ERR(port->retimer); in cros_typec_get_switch_handles()
133 typec_retimer_put(port->retimer); in cros_typec_get_switch_handles()
134 port->retimer = NULL; in cros_typec_get_switch_handles()
185 static int cros_typec_retimer_set(struct typec_retimer *retimer, struct typec_mux_state state) in cros_typec_retimer_set() argument
193 return typec_retimer_set(retimer, &rstate); in cros_typec_retimer_set()
204 cros_typec_retimer_set(port->retimer, port->state); in cros_typec_usb_disconnect_state()
422 ret = cros_typec_retimer_set(port->retimer, port->state); in cros_typec_usb_safe_state()
575 ret = cros_typec_retimer_set(port->retimer, port->state); in cros_typec_enable_dp()
[all …]
H A Dcros_ec_typec.h60 struct typec_retimer *retimer; member
/linux/drivers/thunderbolt/
H A DMakefile6 thunderbolt-objs += usb4_port.o nvm.o retimer.o quirks.o clx.o
H A DKconfig40 support under each USB4 port and retimer, including retimers
/linux/arch/arm64/boot/dts/qcom/
H A Dqcs8550-aim300-aiot.dts141 typec-retimer@1c {
148 retimer-switch;
H A Dx1e80100-microsoft-romulus.dtsi561 /* PS8830 USB retimer @8 */
595 /* PS8830 USB retimer @8 */
H A Dsm8550-qrd.dts726 typec-retimer@1c {
732 retimer-switch;
H A Dsm8650-qrd.dts793 retimer-switch;
/linux/Documentation/admin-guide/
H A 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/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-harma.dts306 retimer@24 {
446 retimer@24 {
/linux/Documentation/firmware-guide/acpi/
H A Dintel-pmc-mux.rst96 happen for example if a retimer on the platform handles the cable plug
/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-lx2162a-clearfog.dts244 /* retimer@18 */
/linux/drivers/hwmon/
H A DKconfig1804 tristate "Astera Labs PT5161L PCIe retimer hardware monitoring"
1808 on the Astera Labs PT5161L PCIe retimer.