Searched refs:oh_name (Results 1 – 5 of 5) sorted by relevance
/arch/arm/mach-omap2/ |
D | timer.c | 294 const char *oh_name = NULL; in omap_dm_timer_init_one() local 304 of_property_read_string_index(np, "ti,hwmods", 0, &oh_name); in omap_dm_timer_init_one() 305 if (!oh_name) { in omap_dm_timer_init_one() 307 &oh_name); in omap_dm_timer_init_one() 308 if (!oh_name) in omap_dm_timer_init_one() 322 oh = omap_hwmod_lookup(oh_name); in omap_dm_timer_init_one() 331 omap_hwmod_setup_one(oh_name); in omap_dm_timer_init_one() 463 const char *oh_name = "counter_32k"; in omap2_sync32k_clocksource_init() local 472 of_property_read_string_index(np->parent, "ti,hwmods", 0, &oh_name); in omap2_sync32k_clocksource_init() 473 if (!oh_name) { in omap2_sync32k_clocksource_init() [all …]
|
D | hsmmc.c | 77 char oh_name[MAX_OMAP_MMC_HWMOD_NAME_LEN]; in omap_hsmmc_init_one() local 92 res = snprintf(oh_name, MAX_OMAP_MMC_HWMOD_NAME_LEN, in omap_hsmmc_init_one() 97 oh = omap_hwmod_lookup(oh_name); in omap_hsmmc_init_one() 99 pr_err("Could not look up %s\n", oh_name); in omap_hsmmc_init_one()
|
D | omap_device.c | 139 const char *oh_name; in omap_device_build_from_dt() local 150 ret = of_property_read_string_index(node, "ti,hwmods", 0, &oh_name); in omap_device_build_from_dt() 151 if (!ret && (!strncmp("dma_system", oh_name, 10) || in omap_device_build_from_dt() 152 !strncmp("dma", oh_name, 3))) in omap_device_build_from_dt() 167 of_property_read_string_index(node, "ti,hwmods", i, &oh_name); in omap_device_build_from_dt() 168 oh = omap_hwmod_lookup(oh_name); in omap_device_build_from_dt() 171 oh_name); in omap_device_build_from_dt() 183 oh_name); in omap_device_build_from_dt() 799 struct device *omap_device_get_by_hwmod_name(const char *oh_name) in omap_device_get_by_hwmod_name() argument 803 if (!oh_name) { in omap_device_get_by_hwmod_name() [all …]
|
D | omap_device.h | 80 struct device *omap_device_get_by_hwmod_name(const char *oh_name);
|
D | omap_hwmod.c | 3134 int __init omap_hwmod_setup_one(const char *oh_name) in omap_hwmod_setup_one() argument 3138 pr_debug("omap_hwmod: %s: %s\n", oh_name, __func__); in omap_hwmod_setup_one() 3140 oh = _lookup(oh_name); in omap_hwmod_setup_one() 3142 WARN(1, "omap_hwmod: %s: hwmod not yet registered\n", oh_name); in omap_hwmod_setup_one()
|