Searched refs:oh_name (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/arch/arm/mach-omap2/ |
D | timer.c | 290 const char *oh_name = NULL; in omap_dm_timer_init_one() local 300 of_property_read_string_index(np, "ti,hwmods", 0, &oh_name); in omap_dm_timer_init_one() 301 if (!oh_name) { in omap_dm_timer_init_one() 303 &oh_name); in omap_dm_timer_init_one() 304 if (!oh_name) in omap_dm_timer_init_one() 318 oh = omap_hwmod_lookup(oh_name); in omap_dm_timer_init_one() 327 omap_hwmod_setup_one(oh_name); in omap_dm_timer_init_one() 449 const char *oh_name = "counter_32k"; in omap2_sync32k_clocksource_init() local 458 of_property_read_string_index(np->parent, "ti,hwmods", 0, &oh_name); in omap2_sync32k_clocksource_init() 459 if (!oh_name) { in omap2_sync32k_clocksource_init() [all …]
|
D | pm.c | 89 const char *oh_name) in omap2_set_init_voltage() argument 97 if (!vdd_name || !clk_name || !oh_name) { in omap2_set_init_voltage() 102 if (!strncmp(oh_name, "mpu", 3)) in omap2_set_init_voltage() 109 dev = omap_device_get_by_hwmod_name(oh_name); in omap2_set_init_voltage() 113 __func__, oh_name); in omap2_set_init_voltage()
|
D | omap_device.c | 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() [all …]
|
D | hsmmc.c | 82 char oh_name[MAX_OMAP_MMC_HWMOD_NAME_LEN]; in omap_hsmmc_init_one() local 97 res = snprintf(oh_name, MAX_OMAP_MMC_HWMOD_NAME_LEN, in omap_hsmmc_init_one() 102 oh = omap_hwmod_lookup(oh_name); in omap_hsmmc_init_one() 104 pr_err("Could not look up %s\n", oh_name); in omap_hsmmc_init_one()
|
D | omap_device.h | 83 struct device *omap_device_get_by_hwmod_name(const char *oh_name);
|
D | omap_hwmod.c | 3082 int __init omap_hwmod_setup_one(const char *oh_name) in omap_hwmod_setup_one() argument 3086 pr_debug("omap_hwmod: %s: %s\n", oh_name, __func__); in omap_hwmod_setup_one() 3088 oh = _lookup(oh_name); in omap_hwmod_setup_one() 3090 WARN(1, "omap_hwmod: %s: hwmod not yet registered\n", oh_name); in omap_hwmod_setup_one()
|
/Linux-v4.19/include/linux/platform_data/ |
D | remoteproc-omap.h | 37 const char *oh_name; member
|