Lines Matching refs:oh_name
144 const char *oh_name; in omap_device_build_from_dt() local
155 ret = of_property_read_string_index(node, "ti,hwmods", 0, &oh_name); in omap_device_build_from_dt()
156 if (!ret && (!strncmp("dma_system", oh_name, 10) || in omap_device_build_from_dt()
157 !strncmp("dma", oh_name, 3))) in omap_device_build_from_dt()
172 of_property_read_string_index(node, "ti,hwmods", i, &oh_name); in omap_device_build_from_dt()
173 oh = omap_hwmod_lookup(oh_name); in omap_device_build_from_dt()
176 oh_name); in omap_device_build_from_dt()
188 oh_name); in omap_device_build_from_dt()
802 struct device *omap_device_get_by_hwmod_name(const char *oh_name) in omap_device_get_by_hwmod_name() argument
806 if (!oh_name) { in omap_device_get_by_hwmod_name()
811 oh = omap_hwmod_lookup(oh_name); in omap_device_get_by_hwmod_name()
814 oh_name); in omap_device_get_by_hwmod_name()
819 oh_name); in omap_device_get_by_hwmod_name()