/arch/arm/mach-omap2/ |
D | usb-musb.c | 67 const char *oh_name, *name; in usb_musb_init() local 85 oh_name = "usb_otg_hs"; in usb_musb_init() 88 oh = omap_hwmod_lookup(oh_name); in usb_musb_init() 90 __func__, oh_name)) in usb_musb_init() 97 name, oh_name); in usb_musb_init()
|
D | devices.c | 45 char oh_name[L3_MODULES_MAX_LEN]; in omap3_l3_init() local 54 snprintf(oh_name, L3_MODULES_MAX_LEN, "l3_main"); in omap3_l3_init() 56 oh = omap_hwmod_lookup(oh_name); in omap3_l3_init() 59 pr_err("could not look up %s\n", oh_name); in omap3_l3_init() 63 WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); in omap3_l3_init() 265 char *oh_name = "gpmc"; in omap_gpmc_init() local 274 oh = omap_hwmod_lookup(oh_name); in omap_gpmc_init() 276 pr_err("Could not look up %s\n", oh_name); in omap_gpmc_init() 281 WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); in omap_gpmc_init()
|
D | i2c.c | 142 char oh_name[MAX_OMAP_I2C_HWMOD_NAME_LEN]; in omap_i2c_add_bus() local 151 l = snprintf(oh_name, MAX_OMAP_I2C_HWMOD_NAME_LEN, "i2c%d", bus_id); in omap_i2c_add_bus() 154 oh = omap_hwmod_lookup(oh_name); in omap_i2c_add_bus() 156 pr_err("Could not look up %s\n", oh_name); in omap_i2c_add_bus()
|
D | pm.c | 132 const char *oh_name) in omap2_set_init_voltage() argument 140 if (!vdd_name || !clk_name || !oh_name) { in omap2_set_init_voltage() 145 if (!strncmp(oh_name, "mpu", 3)) in omap2_set_init_voltage() 152 dev = omap_device_get_by_hwmod_name(oh_name); in omap2_set_init_voltage() 156 __func__, oh_name); in omap2_set_init_voltage()
|
D | timer.c | 239 const char *oh_name = NULL; in omap_dm_timer_init_one() local 251 of_property_read_string_index(np, "ti,hwmods", 0, &oh_name); in omap_dm_timer_init_one() 252 if (!oh_name) in omap_dm_timer_init_one() 267 oh_name = name; in omap_dm_timer_init_one() 270 oh = omap_hwmod_lookup(oh_name); in omap_dm_timer_init_one() 309 omap_hwmod_setup_one(oh_name); in omap_dm_timer_init_one() 407 const char *oh_name = "counter_32k"; in omap2_sync32k_clocksource_init() local 418 of_property_read_string_index(np, "ti,hwmods", 0, &oh_name); in omap2_sync32k_clocksource_init() 419 if (!oh_name) in omap2_sync32k_clocksource_init() 426 oh = omap_hwmod_lookup(oh_name); in omap2_sync32k_clocksource_init() [all …]
|
D | hdq1w.c | 85 char *oh_name = "hdq1w"; in omap_init_hdq() local 88 oh = omap_hwmod_lookup(oh_name); in omap_init_hdq()
|
D | omap_device.c | 125 const char *oh_name; in omap_device_build_from_dt() local 142 of_property_read_string_index(node, "ti,hwmods", i, &oh_name); in omap_device_build_from_dt() 143 oh = omap_hwmod_lookup(oh_name); in omap_device_build_from_dt() 146 oh_name); in omap_device_build_from_dt() 158 oh_name); in omap_device_build_from_dt() 839 struct device *omap_device_get_by_hwmod_name(const char *oh_name) in omap_device_get_by_hwmod_name() argument 843 if (!oh_name) { in omap_device_get_by_hwmod_name() 848 oh = omap_hwmod_lookup(oh_name); in omap_device_get_by_hwmod_name() 851 oh_name); in omap_device_get_by_hwmod_name() 856 oh_name); in omap_device_get_by_hwmod_name()
|
D | display.c | 80 const char *oh_name; member 171 int pdev_id, const char *oh_name, void *pdata, int pdata_len, in create_dss_pdev() argument 180 oh = omap_hwmod_lookup(oh_name); in create_dss_pdev() 182 pr_err("Could not look up %s\n", oh_name); in create_dss_pdev() 352 curr_dss_hwmod[0].oh_name, in omap_display_init() 358 curr_dss_hwmod[0].oh_name); in omap_display_init() 366 curr_dss_hwmod[i].oh_name, in omap_display_init() 372 curr_dss_hwmod[i].oh_name); in omap_display_init()
|
D | wd_timer.c | 111 char *oh_name = "wd_timer2"; in omap_init_wdt() local 118 oh = omap_hwmod_lookup(oh_name); in omap_init_wdt()
|
D | serial.c | 182 char oh_name[MAX_UART_HWMOD_NAME_LEN]; in omap_serial_early_init() local 187 snprintf(oh_name, MAX_UART_HWMOD_NAME_LEN, in omap_serial_early_init() 189 oh = omap_hwmod_lookup(oh_name); in omap_serial_early_init()
|
D | hsmmc.c | 397 char oh_name[MAX_OMAP_MMC_HWMOD_NAME_LEN]; in omap_hsmmc_init_one() local 416 res = snprintf(oh_name, MAX_OMAP_MMC_HWMOD_NAME_LEN, in omap_hsmmc_init_one() 421 oh = omap_hwmod_lookup(oh_name); in omap_hsmmc_init_one() 423 pr_err("Could not look up %s\n", oh_name); in omap_hsmmc_init_one()
|
D | omap_device.h | 87 struct device *omap_device_get_by_hwmod_name(const char *oh_name);
|
D | omap_hwmod.c | 3286 int __init omap_hwmod_setup_one(const char *oh_name) in omap_hwmod_setup_one() argument 3290 pr_debug("omap_hwmod: %s: %s\n", oh_name, __func__); in omap_hwmod_setup_one() 3292 oh = _lookup(oh_name); in omap_hwmod_setup_one() 3294 WARN(1, "omap_hwmod: %s: hwmod not yet registered\n", oh_name); in omap_hwmod_setup_one()
|