Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/dsa/ocelot/
Dfelix.c908 phy_interface_t *port_phy_modes) in felix_parse_ports_node() argument
945 port_phy_modes[port] = phy_mode; in felix_parse_ports_node()
951 static int felix_parse_dt(struct felix *felix, phy_interface_t *port_phy_modes) in felix_parse_dt() argument
966 err = felix_parse_ports_node(felix, ports_node, port_phy_modes); in felix_parse_dt()
975 phy_interface_t *port_phy_modes; in felix_init_structs() local
995 port_phy_modes = kcalloc(num_phys_ports, sizeof(phy_interface_t), in felix_init_structs()
997 if (!port_phy_modes) in felix_init_structs()
1000 err = felix_parse_dt(felix, port_phy_modes); in felix_init_structs()
1002 kfree(port_phy_modes); in felix_init_structs()
1021 kfree(port_phy_modes); in felix_init_structs()
[all …]