Searched refs:sw_devs (Results 1 – 1 of 1) sorted by relevance
23 struct typec_switch_dev *sw_devs[TYPEC_MUX_MAX_DEVS]; member73 struct typec_switch_dev *sw_devs[TYPEC_MUX_MAX_DEVS]; in fwnode_typec_switch_get() local85 (void **)sw_devs, in fwnode_typec_switch_get()86 ARRAY_SIZE(sw_devs)); in fwnode_typec_switch_get()93 if (IS_ERR(sw_devs[i])) { in fwnode_typec_switch_get()94 err = PTR_ERR(sw_devs[i]); in fwnode_typec_switch_get()100 WARN_ON(!try_module_get(sw_devs[i]->dev.parent->driver->owner)); in fwnode_typec_switch_get()101 sw->sw_devs[i] = sw_devs[i]; in fwnode_typec_switch_get()110 if (!IS_ERR(sw_devs[i])) in fwnode_typec_switch_get()111 put_device(&sw_devs[i]->dev); in fwnode_typec_switch_get()[all …]