Home
last modified time | relevance | path

Searched refs:typec_retimer (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/include/linux/usb/
Dtypec_retimer.h10 struct typec_retimer;
20 typedef int (*typec_retimer_set_fn_t)(struct typec_retimer *retimer,
30 struct typec_retimer *fwnode_typec_retimer_get(struct fwnode_handle *fwnode);
31 void typec_retimer_put(struct typec_retimer *retimer);
32 int typec_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state);
34 static inline struct typec_retimer *typec_retimer_get(struct device *dev) in typec_retimer_get()
39 struct typec_retimer *
41 void typec_retimer_unregister(struct typec_retimer *retimer);
43 void *typec_retimer_get_drvdata(struct typec_retimer *retimer);
/linux-6.6.21/drivers/usb/typec/
Dretimer.c47 struct typec_retimer *fwnode_typec_retimer_get(struct fwnode_handle *fwnode) in fwnode_typec_retimer_get()
49 struct typec_retimer *retimer; in fwnode_typec_retimer_get()
65 void typec_retimer_put(struct typec_retimer *retimer) in typec_retimer_put()
74 int typec_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state) in typec_retimer_set()
104 struct typec_retimer *
107 struct typec_retimer *retimer; in typec_retimer_register()
145 void typec_retimer_unregister(struct typec_retimer *retimer) in typec_retimer_unregister()
152 void *typec_retimer_get_drvdata(struct typec_retimer *retimer) in typec_retimer_get_drvdata()
Dretimer.h8 struct typec_retimer { struct
13 #define to_typec_retimer(_dev_) container_of(_dev_, struct typec_retimer, dev) argument
Dbus.h10 struct typec_retimer;
16 struct typec_retimer *retimer;
Dclass.h58 struct typec_retimer *retimer;
Dclass.c2113 struct typec_retimer *retimer; in typec_port_register_altmode()
/linux-6.6.21/drivers/soc/qcom/
Dpmic_glink_altmode.c73 struct typec_retimer *typec_retimer; member
169 ret = typec_retimer_set(port->typec_retimer, &port->retimer_state); in pmic_glink_altmode_enable_dp()
191 ret = typec_retimer_set(port->typec_retimer, &port->retimer_state); in pmic_glink_altmode_enable_usb()
213 ret = typec_retimer_set(port->typec_retimer, &port->retimer_state); in pmic_glink_altmode_safe()
497 alt_port->typec_retimer = fwnode_typec_retimer_get(fwnode); in pmic_glink_altmode_probe()
498 if (IS_ERR(alt_port->typec_retimer)) { in pmic_glink_altmode_probe()
500 return dev_err_probe(dev, PTR_ERR(alt_port->typec_retimer), in pmic_glink_altmode_probe()
506 alt_port->typec_retimer); in pmic_glink_altmode_probe()
/linux-6.6.21/drivers/platform/chrome/
Dcros_ec_typec.h60 struct typec_retimer *retimer;
Dcros_typec_switch.c25 struct typec_retimer *retimer;
160 static int cros_typec_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state) in cros_typec_retimer_set()
Dcros_ec_typec.c166 static int cros_typec_retimer_set(struct typec_retimer *retimer, struct typec_mux_state state) in cros_typec_retimer_set()
/linux-6.6.21/drivers/usb/typec/mux/
Dnb7vpq904m.c68 struct typec_retimer *retimer;
277 static int nb7vpq904m_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state) in nb7vpq904m_retimer_set()