Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/dsa/ocelot/
H A Dfelix.c1253 phy_interface_t *port_phy_modes) in felix_parse_ports_node() argument
1293 port_phy_modes[port] = phy_mode; in felix_parse_ports_node()
1299 static int felix_parse_dt(struct felix *felix, phy_interface_t *port_phy_modes) in felix_parse_dt() argument
1316 err = felix_parse_ports_node(felix, ports_node, port_phy_modes); in felix_parse_dt()
1376 phy_interface_t *port_phy_modes; in felix_init_structs() local
1398 port_phy_modes = kcalloc(num_phys_ports, sizeof(phy_interface_t), in felix_init_structs()
1400 if (!port_phy_modes) in felix_init_structs()
1403 err = felix_parse_dt(felix, port_phy_modes); in felix_init_structs()
1405 kfree(port_phy_modes); in felix_init_structs()
1415 kfree(port_phy_modes); in felix_init_structs()
[all …]