Searched refs:typec_retimer (Results 1 – 12 of 12) sorted by relevance
/linux/include/linux/usb/ |
H A D | typec_retimer.h | 10 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 D | retimer.c | 47 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 D | retimer.h | 8 struct typec_retimer { struct 13 #define to_typec_retimer(_dev_) container_of(_dev_, struct typec_retimer, dev) argument
|
H A D | bus.h | 10 struct typec_retimer; 16 struct typec_retimer *retimer;
|
H A D | class.h | 63 struct typec_retimer *retimer;
|
H A D | class.c | 2267 struct typec_retimer *retimer; in typec_port_register_altmode()
|
/linux/drivers/soc/qcom/ |
H A D | pmic_glink_altmode.c | 73 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 D | cros_ec_typec.h | 60 struct typec_retimer *retimer;
|
H A D | cros_typec_switch.c | 25 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 D | cros_ec_typec.c | 185 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 D | ptn36502.c | 67 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 D | nb7vpq904m.c | 68 struct typec_retimer *retimer; 276 static int nb7vpq904m_retimer_set(struct typec_retimer *retimer, struct typec_retimer_state *state) in nb7vpq904m_retimer_set()
|