Lines Matching refs:oh_name
135 const char *oh_name; in omap_device_build_from_dt() local
146 ret = of_property_read_string_index(node, "ti,hwmods", 0, &oh_name); in omap_device_build_from_dt()
147 if (!ret && (!strncmp("dma_system", oh_name, 10) || in omap_device_build_from_dt()
148 !strncmp("dma", oh_name, 3))) in omap_device_build_from_dt()
163 of_property_read_string_index(node, "ti,hwmods", i, &oh_name); in omap_device_build_from_dt()
164 oh = omap_hwmod_lookup(oh_name); in omap_device_build_from_dt()
167 oh_name); in omap_device_build_from_dt()
179 oh_name); in omap_device_build_from_dt()
624 struct device *omap_device_get_by_hwmod_name(const char *oh_name) in omap_device_get_by_hwmod_name() argument
628 if (!oh_name) { in omap_device_get_by_hwmod_name()
633 oh = omap_hwmod_lookup(oh_name); in omap_device_get_by_hwmod_name()
636 oh_name); in omap_device_get_by_hwmod_name()
641 oh_name); in omap_device_get_by_hwmod_name()