Home
last modified time | relevance | path

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

/linux/include/linux/usb/
H A 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/drivers/usb/typec/
H A 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()
H A Dretimer.h8 struct typec_retimer { struct
13 #define to_typec_retimer(_dev_) container_of(_dev_, struct typec_retimer, dev) argument
H A Dbus.h10 struct typec_retimer;
16 struct typec_retimer *retimer;
H A Dclass.h63 struct typec_retimer *retimer;
H A Dclass.c2267 struct typec_retimer *retimer; in typec_port_register_altmode()
/linux/drivers/soc/qcom/
H A 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()
482 alt_port->typec_retimer = fwnode_typec_retimer_get(fwnode); in pmic_glink_altmode_probe()
483 if (IS_ERR(alt_port->typec_retimer)) { in pmic_glink_altmode_probe()
485 return dev_err_probe(dev, PTR_ERR(alt_port->typec_retimer), in pmic_glink_altmode_probe()
491 alt_port->typec_retimer); in pmic_glink_altmode_probe()
/linux/drivers/platform/chrome/
H A Dcros_ec_typec.h60 struct typec_retimer *retimer;
H A 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()
H A Dcros_ec_typec.c185 static int cros_typec_retimer_set(struct typec_retimer *retimer, struct typec_mux_state state) in cros_typec_retimer_set()
/linux/drivers/usb/typec/mux/
H A Dptn36502.c67 struct typec_retimer *retimer;
236 static int ptn36502_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state) in ptn36502_retimer_set()
H A Dnb7vpq904m.c68 struct typec_retimer *retimer;
276 static int nb7vpq904m_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state) in nb7vpq904m_retimer_set()