Searched refs:pipe_grf (Results 1 – 6 of 6) sorted by relevance
/device/soc/rockchip/common/vendor/drivers/phy/ |
D | phy-rockchip-naneng-combphy.c | 82 struct regmap *pipe_grf; member 307 priv->pipe_grf = syscon_regmap_lookup_by_phandle(dev->of_node, "rockchip,pipe-grf"); in rockchip_combphy_parse_dt() 308 if (IS_ERR(priv->pipe_grf)) { in rockchip_combphy_parse_dt() 310 return PTR_ERR(priv->pipe_grf); in rockchip_combphy_parse_dt() 320 param_write(priv->pipe_grf, &phy_cfg->grfcfg->u3otg0_port_en, false); in rockchip_combphy_parse_dt() 322 param_write(priv->pipe_grf, &phy_cfg->grfcfg->u3otg1_port_en, false); in rockchip_combphy_parse_dt() 326 param_write(priv->pipe_grf, &phy_cfg->grfcfg->pipe_sgmii_mac_sel, true); in rockchip_combphy_parse_dt() 330 …regmap_write(priv->pipe_grf, vals[0], (GENMASK(vals[0x02], vals[1]) << 0x10) | (vals[0x03] << vals… in rockchip_combphy_parse_dt() 494 param_write(priv->pipe_grf, &cfg->pipe_con0_for_sata, true); in rk3568_combphy_cfg() 497 param_write(priv->pipe_grf, &cfg->pipe_xpcs_phy_ready, true); in rk3568_combphy_cfg() [all …]
|
D | phy-rockchip-snps-pcie3.c | 55 struct regmap *pipe_grf; member 213 priv->pipe_grf = syscon_regmap_lookup_by_phandle(dev->of_node, "rockchip,pipe-grf"); in rockchip_p3phy_probe() 214 if (IS_ERR(priv->pipe_grf)) { in rockchip_p3phy_probe() 233 if (!IS_ERR(priv->pipe_grf)) { in rockchip_p3phy_probe() 236 regmap_write(priv->pipe_grf, PHP_GRF_PCIESEL_CON, (reg << DEBUGER_INDEX_SIX) | reg); in rockchip_p3phy_probe()
|
/device/board/isoftstone/yangfan/kernel/src/driv/phy/ |
D | phy-rockchip-naneng-combphy.c | 82 struct regmap *pipe_grf; member 308 priv->pipe_grf = syscon_regmap_lookup_by_phandle(dev->of_node, in rockchip_combphy_parse_dt() 310 if (IS_ERR(priv->pipe_grf)) { in rockchip_combphy_parse_dt() 312 return PTR_ERR(priv->pipe_grf); in rockchip_combphy_parse_dt() 323 param_write(priv->pipe_grf, &phy_cfg->grfcfg->u3otg0_port_en, in rockchip_combphy_parse_dt() 326 param_write(priv->pipe_grf, &phy_cfg->grfcfg->u3otg1_port_en, in rockchip_combphy_parse_dt() 331 param_write(priv->pipe_grf, &phy_cfg->grfcfg->pipe_sgmii_mac_sel, in rockchip_combphy_parse_dt() 336 regmap_write(priv->pipe_grf, vals[0], in rockchip_combphy_parse_dt() 499 param_write(priv->pipe_grf, &cfg->pipe_con0_for_sata, true); in rk3568_combphy_cfg() 502 param_write(priv->pipe_grf, &cfg->pipe_xpcs_phy_ready, true); in rk3568_combphy_cfg() [all …]
|
D | phy-rockchip-snps-pcie3.c | 46 struct regmap *pipe_grf; member 213 priv->pipe_grf = syscon_regmap_lookup_by_phandle(dev->of_node, in rockchip_p3phy_probe() 215 if (IS_ERR(priv->pipe_grf)) in rockchip_p3phy_probe() 232 if (!IS_ERR(priv->pipe_grf)) { in rockchip_p3phy_probe() 235 regmap_write(priv->pipe_grf, PHP_GRF_PCIESEL_CON, in rockchip_p3phy_probe()
|
/device/soc/rockchip/rk3588/kernel/drivers/phy/rockchip/ |
D | phy-rockchip-naneng-combphy.c | 82 struct regmap *pipe_grf; member 308 priv->pipe_grf = syscon_regmap_lookup_by_phandle(dev->of_node, in rockchip_combphy_parse_dt() 310 if (IS_ERR(priv->pipe_grf)) { in rockchip_combphy_parse_dt() 312 return PTR_ERR(priv->pipe_grf); in rockchip_combphy_parse_dt() 323 param_write(priv->pipe_grf, &phy_cfg->grfcfg->u3otg0_port_en, in rockchip_combphy_parse_dt() 326 param_write(priv->pipe_grf, &phy_cfg->grfcfg->u3otg1_port_en, in rockchip_combphy_parse_dt() 331 param_write(priv->pipe_grf, &phy_cfg->grfcfg->pipe_sgmii_mac_sel, in rockchip_combphy_parse_dt() 336 regmap_write(priv->pipe_grf, vals[0], in rockchip_combphy_parse_dt() 499 param_write(priv->pipe_grf, &cfg->pipe_con0_for_sata, true); in rk3568_combphy_cfg() 502 param_write(priv->pipe_grf, &cfg->pipe_xpcs_phy_ready, true); in rk3568_combphy_cfg() [all …]
|
D | phy-rockchip-snps-pcie3.c | 46 struct regmap *pipe_grf; member 213 priv->pipe_grf = syscon_regmap_lookup_by_phandle(dev->of_node, in rockchip_p3phy_probe() 215 if (IS_ERR(priv->pipe_grf)) in rockchip_p3phy_probe() 232 if (!IS_ERR(priv->pipe_grf)) { in rockchip_p3phy_probe() 235 regmap_write(priv->pipe_grf, PHP_GRF_PCIESEL_CON, in rockchip_p3phy_probe()
|