Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/phy/
Dphy-miphy365x.c447 struct device_node *phynode = miphy_phy->phy->dev.of_node; in miphy365x_get_addr() local
452 ret = of_property_read_string_index(phynode, "reg-names", index, &name); in miphy365x_get_addr()
462 miphy_phy->base = of_iomap(phynode, index); in miphy365x_get_addr()
464 dev_err(dev, "Failed to map %s\n", phynode->full_name); in miphy365x_get_addr()
476 struct device_node *phynode = args->np; in miphy365x_xlate() local
485 if (phynode == miphy_dev->phys[index]->phy->dev.of_node) { in miphy365x_xlate()
518 static int miphy365x_of_probe(struct device_node *phynode, in miphy365x_of_probe() argument
521 of_property_read_u32(phynode, "st,sata-gen", &miphy_phy->sata_gen); in miphy365x_of_probe()
526 of_property_read_bool(phynode, "st,pcie-tx-pol-inv"); in miphy365x_of_probe()
529 of_property_read_bool(phynode, "st,sata-tx-pol-inv"); in miphy365x_of_probe()
Dphy-miphy28lp.c1076 struct device_node *phynode = miphy_phy->phy->dev.of_node; in miphy28lp_get_addr() local
1085 err = miphy28lp_get_one_addr(miphy_dev->dev, phynode, in miphy28lp_get_addr()
1093 err = miphy28lp_get_one_addr(miphy_dev->dev, phynode, "pipew", in miphy28lp_get_addr()
1107 struct device_node *phynode = args->np; in miphy28lp_xlate() local
1116 if (phynode == miphy_dev->phys[index]->phy->dev.of_node) { in miphy28lp_xlate()
/linux-4.4.14/drivers/net/ethernet/altera/
Daltera_tse_main.c784 struct device_node *phynode; in init_phy() local
796 phynode = of_parse_phandle(priv->device->of_node, "phy-handle", 0); in init_phy()
798 if (!phynode) { in init_phy()
810 phynode = of_node_get(priv->device->of_node); in init_phy()
814 phydev = of_phy_connect(dev, phynode, in init_phy()
827 phydev = of_phy_connect(dev, phynode, in init_phy()
/linux-4.4.14/drivers/power/
Dtwl4030_charger.c1065 struct device_node *phynode; in twl4030_bci_probe() local
1067 phynode = of_find_compatible_node(bci->dev->of_node->parent, in twl4030_bci_probe()
1069 if (phynode) in twl4030_bci_probe()
1071 bci->dev, phynode, &bci->usb_nb); in twl4030_bci_probe()