Home
last modified time | relevance | path

Searched refs:rcu_regmap (Results 1 – 4 of 4) sorted by relevance

/drivers/watchdog/
Dlantiq_wdt.c160 struct regmap *rcu_regmap; in ltq_wdt_xrx_bootstatus_get() local
164 rcu_regmap = syscon_regmap_lookup_by_phandle(dev->of_node, "regmap"); in ltq_wdt_xrx_bootstatus_get()
165 if (IS_ERR(rcu_regmap)) in ltq_wdt_xrx_bootstatus_get()
166 return PTR_ERR(rcu_regmap); in ltq_wdt_xrx_bootstatus_get()
168 err = regmap_read(rcu_regmap, LTQ_XRX_RCU_RST_STAT, &val); in ltq_wdt_xrx_bootstatus_get()
180 struct regmap *rcu_regmap; in ltq_wdt_falcon_bootstatus_get() local
184 rcu_regmap = syscon_regmap_lookup_by_phandle(dev->of_node, in ltq_wdt_falcon_bootstatus_get()
186 if (IS_ERR(rcu_regmap)) in ltq_wdt_falcon_bootstatus_get()
187 return PTR_ERR(rcu_regmap); in ltq_wdt_falcon_bootstatus_get()
189 err = regmap_read(rcu_regmap, LTQ_FALCON_SYS1_CPU0RS, &val); in ltq_wdt_falcon_bootstatus_get()
/drivers/soc/lantiq/
Dfpi-bus.c31 struct regmap *rcu_regmap; in ltq_fpi_probe() local
41 rcu_regmap = syscon_regmap_lookup_by_phandle(np, "lantiq,rcu"); in ltq_fpi_probe()
42 if (IS_ERR(rcu_regmap)) in ltq_fpi_probe()
43 return PTR_ERR(rcu_regmap); in ltq_fpi_probe()
52 ret = regmap_update_bits(rcu_regmap, rcu_ahb_endianness_reg_offset, in ltq_fpi_probe()
/drivers/phy/lantiq/
Dphy-lantiq-vrx200-pcie.c89 struct regmap *rcu_regmap; member
253 regmap_update_bits(priv->rcu_regmap, in ltq_vrx200_pcie_phy_init()
258 regmap_update_bits(priv->rcu_regmap, in ltq_vrx200_pcie_phy_init()
420 priv->rcu_regmap = syscon_regmap_lookup_by_phandle(dev->of_node, in ltq_vrx200_pcie_phy_probe()
422 if (IS_ERR(priv->rcu_regmap)) in ltq_vrx200_pcie_phy_probe()
423 return PTR_ERR(priv->rcu_regmap); in ltq_vrx200_pcie_phy_probe()
/drivers/net/dsa/
Dlantiq_gswip.c274 struct regmap *rcu_regmap; member
1921 ret = regmap_write(priv->rcu_regmap, gphy_fw->fw_addr_offset, dev_addr); in gswip_gphy_fw_load()
1987 ret = regmap_write(priv->rcu_regmap, gphy_fw->fw_addr_offset, 0); in gswip_gphy_fw_remove()
2036 priv->rcu_regmap = syscon_regmap_lookup_by_phandle(gphy_fw_list_np, in gswip_gphy_fw_list()
2038 if (IS_ERR(priv->rcu_regmap)) in gswip_gphy_fw_list()
2039 return PTR_ERR(priv->rcu_regmap); in gswip_gphy_fw_list()