Home
last modified time | relevance | path

Searched refs:of_alias_get_id (Results 1 – 25 of 69) sorted by relevance

123

/drivers/rtc/
Dclass.c172 of_id = of_alias_get_id(dev->of_node, "rtc"); in rtc_device_register()
174 of_id = of_alias_get_id(dev->parent->of_node, "rtc"); in rtc_device_register()
/drivers/gpio/
Dgpio-clps711x.c24 int err, id = np ? of_alias_get_id(np, "gpio") : pdev->id; in clps711x_gpio_probe()
Dgpio-vf610.c256 gc->base = of_alias_get_id(np, "gpio") * VF610_GPIO_PER_PORT; in vf610_gpio_probe()
Dgpio-zx.c240 id = of_alias_get_id(dev->of_node, "gpio"); in zx_gpio_probe()
Dgpio-mxs.c282 port->id = of_alias_get_id(np, "gpio"); in mxs_gpio_probe()
Dgpio-mxc.c463 port->bgc.gc.base = (pdev->id < 0) ? of_alias_get_id(np, "gpio") * 32 : in mxc_gpio_probe()
/drivers/clocksource/
Dclps711x-timer.c113 switch (of_alias_get_id(np, "timer")) { in clps711x_timer_init()
/drivers/usb/phy/
Dphy-am335x.c49 am_phy->id = of_alias_get_id(pdev->dev.of_node, "phy"); in am335x_phy_probe()
Dphy-mxs-usb.c494 ret = of_alias_get_id(np, "usbphy"); in mxs_phy_probe()
/drivers/misc/
Datmel_tclib.c144 tc->id = of_alias_get_id(tc->pdev->dev.of_node, "tcb"); in tc_probe()
Datmel-ssc.c35 if (of_alias_get_id(ssc->pdev->dev.of_node, "ssc") in ssc_request()
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_platform.c43 plat->bus_id = of_alias_get_id(np, "ethernet"); in sxgbe_probe_config_dt()
/drivers/watchdog/
Dwatchdog_core.c163 ret = of_alias_get_id(wdd->parent->of_node, "watchdog"); in __watchdog_register_device()
/drivers/tty/serial/8250/
D8250_uniphier.c137 ret = of_alias_get_id(np, "serial"); in uniphier_of_serial_setup()
D8250_lpc18xx.c159 ret = of_alias_get_id(pdev->dev.of_node, "serial"); in lpc18xx_serial_probe()
D8250_ingenic.c241 line = of_alias_get_id(pdev->dev.of_node, "serial"); in ingenic_uart_probe()
D8250_dw.c271 id = of_alias_get_id(np, "serial"); in dw8250_quirks()
/drivers/net/phy/
Dmdio-gpio.c225 bus_id = of_alias_get_id(pdev->dev.of_node, "mdio-gpio"); in mdio_gpio_probe()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c124 plat->bus_id = of_alias_get_id(np, "ethernet"); in stmmac_probe_config_dt()
/drivers/video/fbdev/omap2/dss/
Ddisplay.c146 id = of_alias_get_id(dssdev->dev->of_node, "display"); in omapdss_register_display()
/drivers/tty/serial/
Dof_serial.c114 ret = of_alias_get_id(np, "serial"); in of_platform_serial_setup()
Darc_uart.c596 dev_id = of_alias_get_id(np, "serial"); in arc_serial_probe()
Ddigicolor-usart.c466 index = of_alias_get_id(np, "serial"); in digicolor_uart_probe()
Dclps711x.c449 int ret, index = np ? of_alias_get_id(np, "serial") : pdev->id; in uart_clps711x_probe()
/drivers/cpufreq/
Ds5pv210-cpufreq.c616 id = of_alias_get_id(np, "dmc"); in s5pv210_cpufreq_probe()

123