typec_mux
struct typec_mux *mux;
struct typec_mux *mux;
struct typec_mux *typec_mux;
ret = typec_mux_set(port->typec_mux, &port->state);
ret = typec_mux_set(port->typec_mux, &port->state);
ret = typec_mux_set(port->typec_mux, &port->state);
ret = typec_mux_set(port->typec_mux, &port->state);
ret = typec_mux_set(port->typec_mux, &port->state);
alt_port->typec_mux = fwnode_typec_mux_get(fwnode);
if (IS_ERR(alt_port->typec_mux)) {
return dev_err_probe(dev, PTR_ERR(alt_port->typec_mux),
alt_port->typec_mux);
ctx->typec.typec_mux = typec_mux_register(dev, &mux_desc);
if (IS_ERR(ctx->typec.typec_mux)) {
return PTR_ERR(ctx->typec.typec_mux);
if (ctx->typec.typec_mux) {
typec_mux_unregister(ctx->typec.typec_mux);
ctx->typec.typec_mux = NULL;
struct typec_mux_dev *typec_mux;
struct typec_mux *mux;
struct typec_mux;
struct typec_mux *mux;
struct typec_mux *mux;
struct typec_mux;
struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode)
struct typec_mux *mux;
void typec_mux_put(struct typec_mux *mux)
int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state)
struct typec_mux_dev *typec_mux;
port->typec_mux = typec_mux_register(pmc->dev, &mux_desc);
if (IS_ERR(port->typec_mux)) {
ret = PTR_ERR(port->typec_mux);
typec_mux_unregister(port->typec_mux);
typec_mux_unregister(pmc->port[i].typec_mux);
typec_mux_unregister(pmc->port[i].typec_mux);
return typec_mux_set(nb7->typec_mux, &mux_state);
nb7->typec_mux = fwnode_typec_mux_get(dev->fwnode);
if (IS_ERR(nb7->typec_mux)) {
ret = dev_err_probe(dev, PTR_ERR(nb7->typec_mux),
typec_mux_put(nb7->typec_mux);
typec_mux_put(nb7->typec_mux);
struct typec_mux *typec_mux;
return typec_mux_set(retimer->typec_mux, &mux_state);
retimer->typec_mux = typec_mux_get(dev);
if (IS_ERR(retimer->typec_mux)) {
ret = dev_err_probe(dev, PTR_ERR(retimer->typec_mux),
typec_mux_put(retimer->typec_mux);
typec_mux_put(retimer->typec_mux);
struct typec_mux *typec_mux;
return typec_mux_set(ptn->typec_mux, &mux_state);
ptn->typec_mux = fwnode_typec_mux_get(dev->fwnode);
if (IS_ERR(ptn->typec_mux)) {
ret = dev_err_probe(dev, PTR_ERR(ptn->typec_mux),
typec_mux_put(ptn->typec_mux);
typec_mux_put(ptn->typec_mux);
struct typec_mux *typec_mux;
struct typec_mux *codec;
struct typec_mux *mux;
void typec_mux_put(struct typec_mux *mux);
int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state);
struct typec_mux;
static inline struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode)
static inline void typec_mux_put(struct typec_mux *mux) {}
static inline int typec_mux_set(struct typec_mux *mux, struct typec_mux_state *state)
static inline struct typec_mux *typec_mux_get(struct device *dev)
struct typec_mux *fwnode_typec_mux_get(struct fwnode_handle *fwnode);
struct typec_mux_dev *typec_mux = data;
typec_mux_unregister(typec_mux);
struct typec_mux_dev *typec_mux;
typec_mux = typec_mux_register(dev, &mux_desc);
if (IS_ERR(typec_mux))
return dev_err_probe(dev, PTR_ERR(typec_mux),
typec_mux);