Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
H A Dmux.c265 struct typec_mux_dev *mux_devs[TYPEC_MUX_MAX_DEVS]; member
280 struct typec_mux_dev **mux_devs = data; in typec_mux_match() local
302 if (to_typec_mux_dev(dev) == mux_devs[i]) { in typec_mux_match()
322 struct typec_mux_dev *mux_devs[TYPEC_MUX_MAX_DEVS]; in fwnode_typec_mux_get() local
333 (void **)mux_devs, in fwnode_typec_mux_get()
335 (void **)mux_devs, in fwnode_typec_mux_get()
336 ARRAY_SIZE(mux_devs)); in fwnode_typec_mux_get()
343 if (IS_ERR(mux_devs[i])) { in fwnode_typec_mux_get()
344 err = PTR_ERR(mux_devs[i]); in fwnode_typec_mux_get()
350 WARN_ON(!try_module_get(mux_devs[i]->dev.parent->driver->owner)); in fwnode_typec_mux_get()
[all …]