Searched refs:oh_name (Results 1 - 14 of 14) sorted by relevance

/linux-4.4.14/arch/arm/mach-omap2/
H A Dusb-musb.c67 const char *oh_name, *name; usb_musb_init() local
85 oh_name = "usb_otg_hs"; usb_musb_init()
88 oh = omap_hwmod_lookup(oh_name); usb_musb_init()
90 __func__, oh_name)) usb_musb_init()
97 name, oh_name); usb_musb_init()
H A Ddevices.c45 char oh_name[L3_MODULES_MAX_LEN]; omap3_l3_init() local
54 snprintf(oh_name, L3_MODULES_MAX_LEN, "l3_main"); omap3_l3_init()
56 oh = omap_hwmod_lookup(oh_name); omap3_l3_init()
59 pr_err("could not look up %s\n", oh_name); omap3_l3_init()
63 WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); omap3_l3_init() local
265 char *oh_name = "gpmc"; omap_gpmc_init() local
274 oh = omap_hwmod_lookup(oh_name); omap_gpmc_init()
276 pr_err("Could not look up %s\n", oh_name); omap_gpmc_init()
281 WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); omap_gpmc_init() local
H A Di2c.c142 char oh_name[MAX_OMAP_I2C_HWMOD_NAME_LEN]; omap_i2c_add_bus() local
151 l = snprintf(oh_name, MAX_OMAP_I2C_HWMOD_NAME_LEN, "i2c%d", bus_id); omap_i2c_add_bus()
154 oh = omap_hwmod_lookup(oh_name); omap_i2c_add_bus()
156 pr_err("Could not look up %s\n", oh_name); omap_i2c_add_bus()
H A Dpm.c132 const char *oh_name) omap2_set_init_voltage()
140 if (!vdd_name || !clk_name || !oh_name) { omap2_set_init_voltage()
145 if (!strncmp(oh_name, "mpu", 3)) omap2_set_init_voltage()
152 dev = omap_device_get_by_hwmod_name(oh_name); omap2_set_init_voltage()
156 __func__, oh_name); omap2_set_init_voltage()
131 omap2_set_init_voltage(char *vdd_name, char *clk_name, const char *oh_name) omap2_set_init_voltage() argument
H A Ddisplay.c80 const char *oh_name; member in struct:omap_dss_hwmod_data
166 int pdev_id, const char *oh_name, void *pdata, int pdata_len, create_dss_pdev()
175 oh = omap_hwmod_lookup(oh_name); create_dss_pdev()
177 pr_err("Could not look up %s\n", oh_name); create_dss_pdev()
347 curr_dss_hwmod[0].oh_name, omap_display_init()
353 curr_dss_hwmod[0].oh_name); omap_display_init()
361 curr_dss_hwmod[i].oh_name, omap_display_init()
367 curr_dss_hwmod[i].oh_name); omap_display_init()
165 create_dss_pdev(const char *pdev_name, int pdev_id, const char *oh_name, void *pdata, int pdata_len, struct platform_device *parent) create_dss_pdev() argument
H A Dhdq1w.c85 char *oh_name = "hdq1w"; omap_init_hdq() local
88 oh = omap_hwmod_lookup(oh_name); omap_init_hdq()
H A Dwd_timer.c111 char *oh_name = "wd_timer2"; omap_init_wdt() local
118 oh = omap_hwmod_lookup(oh_name); omap_init_wdt()
H A Dtimer.c236 const char *oh_name = NULL; omap_dm_timer_init_one() local
248 of_property_read_string_index(np, "ti,hwmods", 0, &oh_name); omap_dm_timer_init_one()
249 if (!oh_name) omap_dm_timer_init_one()
264 oh_name = name; omap_dm_timer_init_one()
267 oh = omap_hwmod_lookup(oh_name); omap_dm_timer_init_one()
306 omap_hwmod_setup_one(oh_name); omap_dm_timer_init_one()
404 const char *oh_name = "counter_32k"; omap2_sync32k_clocksource_init() local
415 of_property_read_string_index(np, "ti,hwmods", 0, &oh_name); omap2_sync32k_clocksource_init()
416 if (!oh_name) omap2_sync32k_clocksource_init()
423 oh = omap_hwmod_lookup(oh_name); omap2_sync32k_clocksource_init()
427 omap_hwmod_setup_one(oh_name); omap2_sync32k_clocksource_init()
H A Dhsmmc.c397 char oh_name[MAX_OMAP_MMC_HWMOD_NAME_LEN]; omap_hsmmc_init_one() local
416 res = snprintf(oh_name, MAX_OMAP_MMC_HWMOD_NAME_LEN, omap_hsmmc_init_one()
421 oh = omap_hwmod_lookup(oh_name); omap_hsmmc_init_one()
423 pr_err("Could not look up %s\n", oh_name); omap_hsmmc_init_one()
H A Domap_device.h87 struct device *omap_device_get_by_hwmod_name(const char *oh_name);
H A Dserial.c182 char oh_name[MAX_UART_HWMOD_NAME_LEN]; omap_serial_early_init() local
187 snprintf(oh_name, MAX_UART_HWMOD_NAME_LEN, omap_serial_early_init()
189 oh = omap_hwmod_lookup(oh_name); omap_serial_early_init()
H A Domap_device.c125 const char *oh_name; omap_device_build_from_dt() local
142 of_property_read_string_index(node, "ti,hwmods", i, &oh_name); omap_device_build_from_dt()
143 oh = omap_hwmod_lookup(oh_name); omap_device_build_from_dt()
146 oh_name); omap_device_build_from_dt()
158 oh_name); omap_device_build_from_dt()
834 * @oh_name: name of the hwmod device
839 struct device *omap_device_get_by_hwmod_name(const char *oh_name) omap_device_get_by_hwmod_name() argument
843 if (!oh_name) { omap_device_get_by_hwmod_name()
848 oh = omap_hwmod_lookup(oh_name); omap_device_get_by_hwmod_name()
851 oh_name); omap_device_get_by_hwmod_name()
856 oh_name); omap_device_get_by_hwmod_name()
H A Domap_hwmod.c3277 * @oh_name: const char * name of the already-registered hwmod to set up
3286 int __init omap_hwmod_setup_one(const char *oh_name) omap_hwmod_setup_one() argument
3290 pr_debug("omap_hwmod: %s: %s\n", oh_name, __func__); omap_hwmod_setup_one()
3292 oh = _lookup(oh_name); omap_hwmod_setup_one()
3294 WARN(1, "omap_hwmod: %s: hwmod not yet registered\n", oh_name); omap_hwmod_setup_one()
/linux-4.4.14/include/linux/platform_data/
H A Dremoteproc-omap.h26 * @oh_name: omap hwmod device
37 const char *oh_name; member in struct:omap_rproc_pdata

Completed in 425 milliseconds