Searched refs:ndev_dn (Results 1 – 2 of 2) sorted by relevance
| /Linux-v6.6/drivers/net/ethernet/broadcom/asp2/ |
| D | bcmasp_intf.c | 1200 struct device_node *ndev_dn, int i) in bcmasp_interface_create() argument 1207 if (of_property_read_u32(ndev_dn, "reg", &port)) { in bcmasp_interface_create() 1208 dev_warn(dev, "%s: invalid port number\n", ndev_dn->name); in bcmasp_interface_create() 1212 if (of_property_read_u32(ndev_dn, "brcm,channel", &ch)) { in bcmasp_interface_create() 1213 dev_warn(dev, "%s: invalid ch number\n", ndev_dn->name); in bcmasp_interface_create() 1219 dev_warn(dev, "%s: unable to alloc ndev\n", ndev_dn->name); in bcmasp_interface_create() 1228 intf->ndev_dn = ndev_dn; in bcmasp_interface_create() 1231 ret = of_get_phy_mode(ndev_dn, &intf->phy_interface); in bcmasp_interface_create() 1240 intf->phy_dn = of_parse_phandle(ndev_dn, "phy-handle", 0); in bcmasp_interface_create() 1241 if (!intf->phy_dn && of_phy_is_fixed_link(ndev_dn)) { in bcmasp_interface_create() [all …]
|
| D | bcmasp.h | 321 struct device_node *ndev_dn; member 536 struct device_node *ndev_dn, int i);
|