Searched refs:portnp (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mscc/ |
D | ocelot_vsc7514.c | 145 struct device_node *portnp; in mscc_ocelot_init_ports() local 161 for_each_available_child_of_node(ports, portnp) { in mscc_ocelot_init_ports() 166 if (of_property_read_u32(portnp, "reg", ®)) in mscc_ocelot_init_ports() 184 of_node_put(portnp); in mscc_ocelot_init_ports() 191 of_node_put(portnp); in mscc_ocelot_init_ports() 195 err = ocelot_probe_port(ocelot, port, target, portnp); in mscc_ocelot_init_ports()
|
D | ocelot.h | 98 struct device_node *portnp);
|
D | ocelot_net.c | 1721 struct device_node *portnp) in ocelot_port_phylink_create() argument 1730 of_get_phy_mode(portnp, &phy_mode); in ocelot_port_phylink_create() 1747 err = ocelot_port_configure_serdes(ocelot, port, portnp); in ocelot_port_phylink_create() 1762 of_fwnode_handle(portnp), in ocelot_port_phylink_create() 1772 err = phylink_of_phy_connect(phylink, portnp, 0); in ocelot_port_phylink_create() 1784 struct device_node *portnp) in ocelot_probe_port() argument 1811 err = of_get_ethdev_address(portnp, dev); in ocelot_probe_port() 1820 err = ocelot_port_phylink_create(ocelot, port, portnp); in ocelot_probe_port()
|
D | ocelot.c | 815 struct device_node *portnp) in ocelot_port_configure_serdes() argument 829 struct phy *serdes = of_phy_get(portnp, NULL); in ocelot_port_configure_serdes()
|
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_main.c | 745 struct device_node *ports, *portnp; in mchp_sparx5_probe() local 788 for_each_available_child_of_node(ports, portnp) { in mchp_sparx5_probe() 793 err = of_property_read_u32(portnp, "reg", &portno); in mchp_sparx5_probe() 802 err = of_get_phy_mode(portnp, &conf->phy_mode); in mchp_sparx5_probe() 808 err = of_property_read_u32(portnp, "microchip,bandwidth", in mchp_sparx5_probe() 815 err = of_property_read_u32(portnp, "microchip,sd-sgpio", &conf->sd_sgpio); in mchp_sparx5_probe() 820 serdes = devm_of_phy_get(sparx5->dev, portnp, NULL); in mchp_sparx5_probe() 825 of_node_put(portnp); in mchp_sparx5_probe() 829 config->node = portnp; in mchp_sparx5_probe()
|
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_main.c | 789 struct fwnode_handle *portnp) in lan966x_probe_port() argument 854 portnp, in lan966x_probe_port() 1079 struct fwnode_handle *ports, *portnp; in lan966x_probe() local 1188 fwnode_for_each_available_child_node(ports, portnp) { in lan966x_probe() 1193 if (fwnode_property_read_u32(portnp, "reg", &p)) in lan966x_probe() 1196 phy_mode = fwnode_get_phy_mode(portnp); in lan966x_probe() 1197 err = lan966x_probe_port(lan966x, p, phy_mode, portnp); in lan966x_probe() 1203 lan966x->ports[p]->fwnode = fwnode_handle_get(portnp); in lan966x_probe() 1206 to_of_node(portnp), NULL); in lan966x_probe() 1253 fwnode_handle_put(portnp); in lan966x_probe()
|
/linux-6.6.21/drivers/net/dsa/ocelot/ |
D | felix.h | 66 struct device_node *portnp);
|
/linux-6.6.21/include/soc/mscc/ |
D | ocelot.h | 1127 struct device_node *portnp);
|