Lines Matching refs:port_phy_modes
1253 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()
1425 kfree(port_phy_modes); in felix_init_structs()
1438 kfree(port_phy_modes); in felix_init_structs()
1447 kfree(port_phy_modes); in felix_init_structs()
1451 ocelot_port->phy_mode = port_phy_modes[port]; in felix_init_structs()
1458 kfree(port_phy_modes); in felix_init_structs()