Home
last modified time | relevance | path

Searched refs:oh_name (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/arm/mach-omap2/
Dtimer.c289 const char *oh_name = NULL; in omap_dm_timer_init_one() local
299 of_property_read_string_index(np, "ti,hwmods", 0, &oh_name); in omap_dm_timer_init_one()
300 if (!oh_name) { in omap_dm_timer_init_one()
302 &oh_name); in omap_dm_timer_init_one()
303 if (!oh_name) in omap_dm_timer_init_one()
317 oh = omap_hwmod_lookup(oh_name); in omap_dm_timer_init_one()
326 omap_hwmod_setup_one(oh_name); in omap_dm_timer_init_one()
448 const char *oh_name = "counter_32k"; in omap2_sync32k_clocksource_init() local
457 of_property_read_string_index(np->parent, "ti,hwmods", 0, &oh_name); in omap2_sync32k_clocksource_init()
458 if (!oh_name) { in omap2_sync32k_clocksource_init()
[all …]
Domap_device.c139 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()
797 struct device *omap_device_get_by_hwmod_name(const char *oh_name) in omap_device_get_by_hwmod_name() argument
801 if (!oh_name) { in omap_device_get_by_hwmod_name()
[all …]
Dhsmmc.c77 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()
Domap_device.h80 struct device *omap_device_get_by_hwmod_name(const char *oh_name);
Domap_hwmod.c3132 int __init omap_hwmod_setup_one(const char *oh_name) in omap_hwmod_setup_one() argument
3136 pr_debug("omap_hwmod: %s: %s\n", oh_name, __func__); in omap_hwmod_setup_one()
3138 oh = _lookup(oh_name); in omap_hwmod_setup_one()
3140 WARN(1, "omap_hwmod: %s: hwmod not yet registered\n", oh_name); in omap_hwmod_setup_one()
/Linux-v5.4/include/linux/platform_data/
Dremoteproc-omap.h29 const char *oh_name; member