Home
last modified time | relevance | path

Searched refs:typec_mux (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dtypec_mux.h10 struct typec_mux;
49 typedef int (*typec_mux_set_fn_t)(struct typec_mux *mux,
59 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode,
61 void typec_mux_put(struct typec_mux *mux);
62 int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state);
64 static inline struct typec_mux *
70 struct typec_mux *
72 void typec_mux_unregister(struct typec_mux *mux);
74 void typec_mux_set_drvdata(struct typec_mux *mux, void *data);
75 void *typec_mux_get_drvdata(struct typec_mux *mux);
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dmux.c258 struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode, in fwnode_typec_mux_get()
261 struct typec_mux *mux; in fwnode_typec_mux_get()
278 void typec_mux_put(struct typec_mux *mux) in typec_mux_put()
287 int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in typec_mux_set()
316 struct typec_mux *
319 struct typec_mux *mux; in typec_mux_register()
360 void typec_mux_unregister(struct typec_mux *mux) in typec_mux_unregister()
367 void typec_mux_set_drvdata(struct typec_mux *mux, void *data) in typec_mux_set_drvdata()
373 void *typec_mux_get_drvdata(struct typec_mux *mux) in typec_mux_get_drvdata()
H A Dbus.h14 struct typec_mux *mux;
43 struct typec_mux { struct
49 #define to_typec_mux(_dev_) container_of(_dev_, struct typec_mux, dev) argument
H A Dclass.c63 struct typec_mux *mux;
1971 struct typec_mux *mux; in typec_port_register_altmode()
/OK3568_Linux_fs/kernel/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c124 struct typec_mux *typec_mux; member
430 pmc_usb_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in pmc_usb_mux_set()
538 port->typec_mux = typec_mux_register(pmc->dev, &mux_desc); in pmc_usb_register_port()
539 if (IS_ERR(port->typec_mux)) { in pmc_usb_register_port()
540 ret = PTR_ERR(port->typec_mux); in pmc_usb_register_port()
558 typec_mux_unregister(port->typec_mux); in pmc_usb_register_port()
691 typec_mux_unregister(pmc->port[i].typec_mux); in pmc_usb_probe()
707 typec_mux_unregister(pmc->port[i].typec_mux); in pmc_usb_remove()
H A Dpi3usb30532.c27 struct typec_mux *mux;
77 pi3usb30532_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in pi3usb30532_mux_set()
/OK3568_Linux_fs/kernel/drivers/phy/rockchip/
H A Dphy-rockchip-usbdp.c111 struct typec_mux *mux;
1068 static int usbdp_typec_mux_set(struct typec_mux *mux, in usbdp_typec_mux_set()
H A Dphy-rockchip-typec.c424 struct typec_mux *mux;
1587 static int tcphy_typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state) in tcphy_typec_mux_set()
/OK3568_Linux_fs/kernel/drivers/platform/chrome/
H A Dcros_ec_typec.c42 struct typec_mux *mux;