Lines Matching refs:oh_name
132 const char *oh_name; in omap_device_build_from_dt() local
143 ret = of_property_read_string_index(node, "ti,hwmods", 0, &oh_name); in omap_device_build_from_dt()
144 if (!ret && (!strncmp("dma_system", oh_name, 10) || in omap_device_build_from_dt()
145 !strncmp("dma", oh_name, 3))) in omap_device_build_from_dt()
160 of_property_read_string_index(node, "ti,hwmods", i, &oh_name); in omap_device_build_from_dt()
161 oh = omap_hwmod_lookup(oh_name); in omap_device_build_from_dt()
164 oh_name); in omap_device_build_from_dt()
176 oh_name); in omap_device_build_from_dt()
603 struct device *omap_device_get_by_hwmod_name(const char *oh_name) in omap_device_get_by_hwmod_name() argument
607 if (!oh_name) { in omap_device_get_by_hwmod_name()
612 oh = omap_hwmod_lookup(oh_name); in omap_device_get_by_hwmod_name()
615 oh_name); in omap_device_get_by_hwmod_name()
620 oh_name); in omap_device_get_by_hwmod_name()