Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/
H A Dmux.c253 struct typec_mux_dev *mux_devs[TYPEC_MUX_MAX_DEVS]; member
298 struct typec_mux_dev *mux_devs[TYPEC_MUX_MAX_DEVS]; in fwnode_typec_mux_get() local
310 (void **)mux_devs, in fwnode_typec_mux_get()
311 ARRAY_SIZE(mux_devs)); in fwnode_typec_mux_get()
318 if (IS_ERR(mux_devs[i])) { in fwnode_typec_mux_get()
319 err = PTR_ERR(mux_devs[i]); in fwnode_typec_mux_get()
326 mux->mux_devs[i] = mux_devs[i]; in fwnode_typec_mux_get()
335 if (!IS_ERR(mux_devs[i])) in fwnode_typec_mux_get()
336 put_device(&mux_devs[i]->dev); in fwnode_typec_mux_get()
360 mux_dev = mux->mux_devs[i]; in typec_mux_put()
[all …]