Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/dsa/ocelot/
H A Dfelix.c370 phy_interface_t *port_phy_modes) in felix_parse_ports_node() argument
407 port_phy_modes[port] = phy_mode; in felix_parse_ports_node()
413 static int felix_parse_dt(struct felix *felix, phy_interface_t *port_phy_modes) in felix_parse_dt() argument
428 err = felix_parse_ports_node(felix, ports_node, port_phy_modes); in felix_parse_dt()
437 phy_interface_t *port_phy_modes; in felix_init_structs() local
457 port_phy_modes = kcalloc(num_phys_ports, sizeof(phy_interface_t), in felix_init_structs()
459 if (!port_phy_modes) in felix_init_structs()
462 err = felix_parse_dt(felix, port_phy_modes); in felix_init_structs()
464 kfree(port_phy_modes); in felix_init_structs()
483 kfree(port_phy_modes); in felix_init_structs()
[all …]