Lines Matching refs:port_phy_modes
1250 phy_interface_t *port_phy_modes) in felix_parse_ports_node() argument
1286 port_phy_modes[port] = phy_mode; in felix_parse_ports_node()
1292 static int felix_parse_dt(struct felix *felix, phy_interface_t *port_phy_modes) in felix_parse_dt() argument
1309 err = felix_parse_ports_node(felix, ports_node, port_phy_modes); in felix_parse_dt()
1362 phy_interface_t *port_phy_modes; in felix_init_structs() local
1385 port_phy_modes = kcalloc(num_phys_ports, sizeof(phy_interface_t), in felix_init_structs()
1387 if (!port_phy_modes) in felix_init_structs()
1390 err = felix_parse_dt(felix, port_phy_modes); in felix_init_structs()
1392 kfree(port_phy_modes); in felix_init_structs()
1402 kfree(port_phy_modes); in felix_init_structs()
1412 kfree(port_phy_modes); in felix_init_structs()
1425 kfree(port_phy_modes); in felix_init_structs()
1434 kfree(port_phy_modes); in felix_init_structs()
1438 ocelot_port->phy_mode = port_phy_modes[port]; in felix_init_structs()
1445 kfree(port_phy_modes); in felix_init_structs()