miphy_dev         832 drivers/phy/st/phy-miphy28lp.c 	struct miphy28lp_dev *miphy_dev = miphy_phy->phydev;
miphy_dev         843 drivers/phy/st/phy-miphy28lp.c 		regmap_read(miphy_dev->regmap,
miphy_dev         891 drivers/phy/st/phy-miphy28lp.c 	struct miphy28lp_dev *miphy_dev = miphy_phy->phydev;
miphy_dev         898 drivers/phy/st/phy-miphy28lp.c 		dev_err(miphy_dev->dev, "unable to bring out of miphy reset\n");
miphy_dev         905 drivers/phy/st/phy-miphy28lp.c 	regmap_update_bits(miphy_dev->regmap,
miphy_dev         911 drivers/phy/st/phy-miphy28lp.c 		dev_err(miphy_dev->dev, "unable to bring out of miphy reset\n");
miphy_dev         920 drivers/phy/st/phy-miphy28lp.c 	struct miphy28lp_dev *miphy_dev = miphy_phy->phydev;
miphy_dev         928 drivers/phy/st/phy-miphy28lp.c 	dev_info(miphy_dev->dev, "sata-up mode, addr 0x%p\n", miphy_phy->base);
miphy_dev         933 drivers/phy/st/phy-miphy28lp.c 	regmap_update_bits(miphy_dev->regmap,
miphy_dev         937 drivers/phy/st/phy-miphy28lp.c 	regmap_update_bits(miphy_dev->regmap, miphy_phy->syscfg_reg[SYSCFG_PCI],
miphy_dev         944 drivers/phy/st/phy-miphy28lp.c 		dev_err(miphy_dev->dev, "SATA phy setup failed\n");
miphy_dev         956 drivers/phy/st/phy-miphy28lp.c 	struct miphy28lp_dev *miphy_dev = miphy_phy->phydev;
miphy_dev         964 drivers/phy/st/phy-miphy28lp.c 	dev_info(miphy_dev->dev, "pcie-up mode, addr 0x%p\n", miphy_phy->base);
miphy_dev         967 drivers/phy/st/phy-miphy28lp.c 	regmap_update_bits(miphy_dev->regmap,
miphy_dev         971 drivers/phy/st/phy-miphy28lp.c 	regmap_update_bits(miphy_dev->regmap, miphy_phy->syscfg_reg[SYSCFG_PCI],
miphy_dev         978 drivers/phy/st/phy-miphy28lp.c 		dev_err(miphy_dev->dev, "PCIe phy setup failed\n");
miphy_dev        1001 drivers/phy/st/phy-miphy28lp.c 	struct miphy28lp_dev *miphy_dev = miphy_phy->phydev;
miphy_dev        1007 drivers/phy/st/phy-miphy28lp.c 	dev_info(miphy_dev->dev, "usb3-up mode, addr 0x%p\n", miphy_phy->base);
miphy_dev        1012 drivers/phy/st/phy-miphy28lp.c 		dev_err(miphy_dev->dev, "USB3 phy setup failed\n");
miphy_dev        1043 drivers/phy/st/phy-miphy28lp.c 	struct miphy28lp_dev *miphy_dev = miphy_phy->phydev;
miphy_dev        1046 drivers/phy/st/phy-miphy28lp.c 	mutex_lock(&miphy_dev->miphy_mutex);
miphy_dev        1064 drivers/phy/st/phy-miphy28lp.c 	mutex_unlock(&miphy_dev->miphy_mutex);
miphy_dev        1071 drivers/phy/st/phy-miphy28lp.c 	struct miphy28lp_dev *miphy_dev = miphy_phy->phydev;
miphy_dev        1081 drivers/phy/st/phy-miphy28lp.c 	err = miphy28lp_get_one_addr(miphy_dev->dev, phynode,
miphy_dev        1089 drivers/phy/st/phy-miphy28lp.c 		err = miphy28lp_get_one_addr(miphy_dev->dev, phynode, "pipew",
miphy_dev        1101 drivers/phy/st/phy-miphy28lp.c 	struct miphy28lp_dev *miphy_dev = dev_get_drvdata(dev);
miphy_dev        1111 drivers/phy/st/phy-miphy28lp.c 	for (index = 0; index < miphy_dev->nphys; index++)
miphy_dev        1112 drivers/phy/st/phy-miphy28lp.c 		if (phynode == miphy_dev->phys[index]->phy->dev.of_node) {
miphy_dev        1113 drivers/phy/st/phy-miphy28lp.c 			miphy_phy = miphy_dev->phys[index];
miphy_dev        1139 drivers/phy/st/phy-miphy28lp.c 	struct miphy28lp_dev *miphy_dev = miphy_phy->phydev;
miphy_dev        1146 drivers/phy/st/phy-miphy28lp.c 		dev_err(miphy_dev->dev,
miphy_dev        1153 drivers/phy/st/phy-miphy28lp.c 		dev_err(miphy_dev->dev, "unable to bring out of miphy reset\n");
miphy_dev        1194 drivers/phy/st/phy-miphy28lp.c 	struct miphy28lp_dev *miphy_dev;
miphy_dev        1199 drivers/phy/st/phy-miphy28lp.c 	miphy_dev = devm_kzalloc(&pdev->dev, sizeof(*miphy_dev), GFP_KERNEL);
miphy_dev        1200 drivers/phy/st/phy-miphy28lp.c 	if (!miphy_dev)
miphy_dev        1203 drivers/phy/st/phy-miphy28lp.c 	miphy_dev->nphys = of_get_child_count(np);
miphy_dev        1204 drivers/phy/st/phy-miphy28lp.c 	miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys,
miphy_dev        1205 drivers/phy/st/phy-miphy28lp.c 				       sizeof(*miphy_dev->phys), GFP_KERNEL);
miphy_dev        1206 drivers/phy/st/phy-miphy28lp.c 	if (!miphy_dev->phys)
miphy_dev        1209 drivers/phy/st/phy-miphy28lp.c 	miphy_dev->regmap = syscon_regmap_lookup_by_phandle(np, "st,syscfg");
miphy_dev        1210 drivers/phy/st/phy-miphy28lp.c 	if (IS_ERR(miphy_dev->regmap)) {
miphy_dev        1211 drivers/phy/st/phy-miphy28lp.c 		dev_err(miphy_dev->dev, "No syscfg phandle specified\n");
miphy_dev        1212 drivers/phy/st/phy-miphy28lp.c 		return PTR_ERR(miphy_dev->regmap);
miphy_dev        1215 drivers/phy/st/phy-miphy28lp.c 	miphy_dev->dev = &pdev->dev;
miphy_dev        1217 drivers/phy/st/phy-miphy28lp.c 	dev_set_drvdata(&pdev->dev, miphy_dev);
miphy_dev        1219 drivers/phy/st/phy-miphy28lp.c 	mutex_init(&miphy_dev->miphy_mutex);
miphy_dev        1231 drivers/phy/st/phy-miphy28lp.c 		miphy_dev->phys[port] = miphy_phy;
miphy_dev        1240 drivers/phy/st/phy-miphy28lp.c 		miphy_dev->phys[port]->phy = phy;
miphy_dev        1241 drivers/phy/st/phy-miphy28lp.c 		miphy_dev->phys[port]->phydev = miphy_dev;
miphy_dev        1247 drivers/phy/st/phy-miphy28lp.c 		ret = miphy28lp_probe_resets(child, miphy_dev->phys[port]);
miphy_dev        1251 drivers/phy/st/phy-miphy28lp.c 		phy_set_drvdata(phy, miphy_dev->phys[port]);