Searched refs:syscon_np (Results 1 – 8 of 8) sorted by relevance
/drivers/mfd/ |
D | syscon.c | 214 struct device_node *syscon_np; in syscon_regmap_lookup_by_compatible() local 217 syscon_np = of_find_compatible_node(NULL, NULL, s); in syscon_regmap_lookup_by_compatible() 218 if (!syscon_np) in syscon_regmap_lookup_by_compatible() 221 regmap = syscon_node_to_regmap(syscon_np); in syscon_regmap_lookup_by_compatible() 222 of_node_put(syscon_np); in syscon_regmap_lookup_by_compatible() 231 struct device_node *syscon_np; in syscon_regmap_lookup_by_phandle() local 235 syscon_np = of_parse_phandle(np, property, 0); in syscon_regmap_lookup_by_phandle() 237 syscon_np = np; in syscon_regmap_lookup_by_phandle() 239 if (!syscon_np) in syscon_regmap_lookup_by_phandle() 242 regmap = syscon_node_to_regmap(syscon_np); in syscon_regmap_lookup_by_phandle() [all …]
|
D | qcom_rpm.c | 532 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()
|
/drivers/watchdog/ |
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()
|
/drivers/reset/ |
D | reset-microchip-sparx5.c | 68 struct device_node *syscon_np; in mchp_sparx5_map_syscon() local 72 syscon_np = of_parse_phandle(pdev->dev.of_node, name, 0); in mchp_sparx5_map_syscon() 73 if (!syscon_np) in mchp_sparx5_map_syscon() 75 regmap = syscon_node_to_regmap(syscon_np); in mchp_sparx5_map_syscon() 76 of_node_put(syscon_np); in mchp_sparx5_map_syscon()
|
/drivers/input/touchscreen/ |
D | ts4800-ts.c | 113 struct device_node *syscon_np; in ts4800_parse_dt() local 117 syscon_np = of_parse_phandle(np, "syscon", 0); 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() 124 of_node_put(syscon_np); in ts4800_parse_dt()
|
/drivers/phy/broadcom/ |
D | phy-bcm-ns-usb3.c | 194 struct device_node *syscon_np; in bcm_ns_usb3_mdio_probe() local 211 syscon_np = of_parse_phandle(dev->of_node, "usb3-dmp-syscon", 0); in bcm_ns_usb3_mdio_probe() 212 err = of_address_to_resource(syscon_np, 0, &res); in bcm_ns_usb3_mdio_probe() 213 of_node_put(syscon_np); in bcm_ns_usb3_mdio_probe()
|
/drivers/rpmsg/ |
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()
|
/drivers/tty/serial/8250/ |
D | 8250_aspeed_vuart.c | 383 struct aspeed_vuart *vuart, struct device_node *syscon_np, in aspeed_vuart_auto_configure_sirq_polarity() argument 389 regmap = syscon_node_to_regmap(syscon_np); in aspeed_vuart_auto_configure_sirq_polarity()
|