Searched refs:syscon_np (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/mfd/ |
H A D | syscon.c | 256 struct device_node *syscon_np; in syscon_regmap_lookup_by_compatible() local 259 syscon_np = of_find_compatible_node(NULL, NULL, s); in syscon_regmap_lookup_by_compatible() 260 if (!syscon_np) in syscon_regmap_lookup_by_compatible() 263 regmap = syscon_node_to_regmap(syscon_np); in syscon_regmap_lookup_by_compatible() 264 of_node_put(syscon_np); in syscon_regmap_lookup_by_compatible() 273 struct device_node *syscon_np; in syscon_regmap_lookup_by_phandle() local 277 syscon_np = of_parse_phandle(np, property, 0); in syscon_regmap_lookup_by_phandle() 279 syscon_np = np; in syscon_regmap_lookup_by_phandle() 281 if (!syscon_np) in syscon_regmap_lookup_by_phandle() 284 regmap = syscon_node_to_regmap(syscon_np); in syscon_regmap_lookup_by_phandle() [all …]
|
H A D | qcom_rpm.c | 533 struct device_node *syscon_np; in qcom_rpm_probe() local 584 syscon_np = of_parse_phandle(pdev->dev.of_node, "qcom,ipc", 0); in qcom_rpm_probe() 585 if (!syscon_np) { in qcom_rpm_probe() 590 rpm->ipc_regmap = syscon_node_to_regmap(syscon_np); in qcom_rpm_probe() 591 of_node_put(syscon_np); in qcom_rpm_probe()
|
/linux/arch/arm/mach-bcm/ |
H A D | platsmp-brcmstb.c | 243 struct device_node *syscon_np = NULL; in setup_hifcpubiuctrl_regs() local 247 syscon_np = of_parse_phandle(np, name, 0); in setup_hifcpubiuctrl_regs() 248 if (!syscon_np) { in setup_hifcpubiuctrl_regs() 254 cpubiuctrl_block = of_iomap(syscon_np, 0); in setup_hifcpubiuctrl_regs() 280 of_node_put(syscon_np); in setup_hifcpubiuctrl_regs() 288 struct device_node *syscon_np = NULL; in setup_hifcont_regs() local 292 syscon_np = of_parse_phandle(np, name, 0); in setup_hifcont_regs() 293 if (!syscon_np) { in setup_hifcont_regs() 299 hif_cont_block = of_iomap(syscon_np, 0); in setup_hifcont_regs() 310 of_node_put(syscon_np); in setup_hifcont_regs()
|
/linux/arch/arm/mach-axxia/ |
H A D | platsmp.c | 33 struct device_node *syscon_np; in axxia_boot_secondary() local 37 syscon_np = of_find_compatible_node(NULL, NULL, "lsi,axxia-syscon"); in axxia_boot_secondary() 38 if (!syscon_np) in axxia_boot_secondary() 41 syscon = of_iomap(syscon_np, 0); in axxia_boot_secondary() 42 of_node_put(syscon_np); in axxia_boot_secondary()
|
/linux/drivers/watchdog/ |
H A D | ts4800_wdt.c | 111 struct device_node *syscon_np; in ts4800_wdt_probe() local 117 syscon_np = of_parse_phandle(np, "syscon", 0); in ts4800_wdt_probe() 118 if (!syscon_np) { in ts4800_wdt_probe() 126 of_node_put(syscon_np); in ts4800_wdt_probe() 133 of_node_put(syscon_np); in ts4800_wdt_probe() 139 wdt->regmap = syscon_node_to_regmap(syscon_np); in ts4800_wdt_probe() 140 of_node_put(syscon_np); in ts4800_wdt_probe()
|
/linux/drivers/phy/broadcom/ |
H A D | phy-bcm-ns-usb3.c | 194 struct device_node *syscon_np; in bcm_ns_usb3_mdio_probe() local 208 syscon_np = of_parse_phandle(dev->of_node, "usb3-dmp-syscon", 0); in bcm_ns_usb3_mdio_probe() 209 err = of_address_to_resource(syscon_np, 0, &res); in bcm_ns_usb3_mdio_probe() 210 of_node_put(syscon_np); in bcm_ns_usb3_mdio_probe()
|
/linux/drivers/input/touchscreen/ |
H A D | ts4800-ts.c | 116 struct device_node *syscon_np __free(device_node) = in ts4800_parse_dt() 118 if (!syscon_np) { in ts4800_parse_dt() 123 ts->regmap = syscon_node_to_regmap(syscon_np); in ts4800_parse_dt()
|
/linux/drivers/rpmsg/ |
H A D | qcom_smd.c | 1343 struct device_node *syscon_np; in qcom_smd_parse_edge() local 1378 syscon_np = of_parse_phandle(node, "qcom,ipc", 0); in qcom_smd_parse_edge() 1379 if (!syscon_np) { in qcom_smd_parse_edge() 1385 edge->ipc_regmap = syscon_node_to_regmap(syscon_np); in qcom_smd_parse_edge() 1386 of_node_put(syscon_np); in qcom_smd_parse_edge()
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250_aspeed_vuart.c | 382 struct aspeed_vuart *vuart, struct device_node *syscon_np, in aspeed_vuart_auto_configure_sirq_polarity() argument 388 regmap = syscon_node_to_regmap(syscon_np); in aspeed_vuart_auto_configure_sirq_polarity()
|