Searched refs:ndev_dn (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp_intf.c | 1203 struct device_node *ndev_dn, int i) in bcmasp_interface_create() argument 1210 if (of_property_read_u32(ndev_dn, "reg", &port)) { in bcmasp_interface_create() 1211 dev_warn(dev, "%s: invalid port number\n", ndev_dn->name); in bcmasp_interface_create() 1215 if (of_property_read_u32(ndev_dn, "brcm,channel", &ch)) { in bcmasp_interface_create() 1216 dev_warn(dev, "%s: invalid ch number\n", ndev_dn->name); in bcmasp_interface_create() 1222 dev_warn(dev, "%s: unable to alloc ndev\n", ndev_dn->name); in bcmasp_interface_create() 1231 intf->ndev_dn = ndev_dn; in bcmasp_interface_create() 1234 ret = of_get_phy_mode(ndev_dn, &intf->phy_interface); in bcmasp_interface_create() 1243 intf->phy_dn = of_parse_phandle(ndev_dn, "phy-handle", 0); in bcmasp_interface_create() 1244 if (!intf->phy_dn && of_phy_is_fixed_link(ndev_dn)) { in bcmasp_interface_create() [all …]
|
| H A D | bcmasp.h | 326 struct device_node *ndev_dn; member 549 struct device_node *ndev_dn, int i);
|