Lines Matching refs:port_phy_modes
1251 phy_interface_t *port_phy_modes) in felix_parse_ports_node() argument
1291 port_phy_modes[port] = phy_mode; in felix_parse_ports_node()
1297 static int felix_parse_dt(struct felix *felix, phy_interface_t *port_phy_modes) in felix_parse_dt() argument
1314 err = felix_parse_ports_node(felix, ports_node, port_phy_modes); in felix_parse_dt()
1374 phy_interface_t *port_phy_modes; in felix_init_structs() local
1396 port_phy_modes = kcalloc(num_phys_ports, sizeof(phy_interface_t), in felix_init_structs()
1398 if (!port_phy_modes) in felix_init_structs()
1401 err = felix_parse_dt(felix, port_phy_modes); in felix_init_structs()
1403 kfree(port_phy_modes); in felix_init_structs()
1413 kfree(port_phy_modes); in felix_init_structs()
1423 kfree(port_phy_modes); in felix_init_structs()
1436 kfree(port_phy_modes); in felix_init_structs()
1445 kfree(port_phy_modes); in felix_init_structs()
1449 ocelot_port->phy_mode = port_phy_modes[port]; in felix_init_structs()
1456 kfree(port_phy_modes); in felix_init_structs()