Searched refs:felix (Results 1 – 5 of 5) sorted by relevance
/drivers/net/dsa/ocelot/ |
D | felix.c | 193 struct felix *felix = ocelot_to_felix(ocelot); in felix_phylink_validate() local 195 if (felix->info->phylink_validate) in felix_phylink_validate() 196 felix->info->phylink_validate(ocelot, port, supported, state); in felix_phylink_validate() 204 struct felix *felix = ocelot_to_felix(ocelot); in felix_phylink_mac_config() local 207 if (felix->pcs[port]) in felix_phylink_mac_config() 208 phylink_set_pcs(dp->pl, &felix->pcs[port]->pcs); in felix_phylink_mac_config() 246 struct felix *felix = ocelot_to_felix(ocelot); in felix_phylink_mac_link_up() local 313 if (felix->info->port_sched_speed_set) in felix_phylink_mac_link_up() 314 felix->info->port_sched_speed_set(ocelot, port, speed); in felix_phylink_mac_link_up() 368 static int felix_parse_ports_node(struct felix *felix, in felix_parse_ports_node() argument [all …]
|
D | felix_vsc9959.c | 1019 struct felix *felix = ocelot_to_felix(ocelot); in vsc9959_mdio_bus_alloc() local 1029 felix->pcs = devm_kcalloc(dev, felix->info->num_ports, in vsc9959_mdio_bus_alloc() 1032 if (!felix->pcs) { in vsc9959_mdio_bus_alloc() 1037 memcpy(&res, felix->info->imdio_res, sizeof(res)); in vsc9959_mdio_bus_alloc() 1039 res.start += felix->imdio_base; in vsc9959_mdio_bus_alloc() 1040 res.end += felix->imdio_base; in vsc9959_mdio_bus_alloc() 1078 felix->imdio = bus; in vsc9959_mdio_bus_alloc() 1080 for (port = 0; port < felix->info->num_ports; port++) { in vsc9959_mdio_bus_alloc() 1085 if (dsa_is_unused_port(felix->ds, port)) in vsc9959_mdio_bus_alloc() 1091 pcs = mdio_device_create(felix->imdio, port); in vsc9959_mdio_bus_alloc() [all …]
|
D | seville_vsc9953.c | 1069 struct felix *felix = ocelot_to_felix(ocelot); in vsc9953_mdio_bus_alloc() local 1075 felix->pcs = devm_kcalloc(dev, felix->info->num_ports, in vsc9953_mdio_bus_alloc() 1078 if (!felix->pcs) { in vsc9953_mdio_bus_alloc() 1101 felix->imdio = bus; in vsc9953_mdio_bus_alloc() 1103 for (port = 0; port < felix->info->num_ports; port++) { in vsc9953_mdio_bus_alloc() 1109 if (dsa_is_unused_port(felix->ds, port)) in vsc9953_mdio_bus_alloc() 1115 pcs = mdio_device_create(felix->imdio, addr); in vsc9953_mdio_bus_alloc() 1125 felix->pcs[port] = lynx; in vsc9953_mdio_bus_alloc() 1135 struct felix *felix = ocelot_to_felix(ocelot); in vsc9953_mdio_bus_free() local 1139 struct lynx_pcs *pcs = felix->pcs[port]; in vsc9953_mdio_bus_free() [all …]
|
D | Makefile | 6 felix.o \ 10 felix.o \
|
D | felix.h | 7 #define ocelot_to_felix(o) container_of((o), struct felix, ocelot) 45 struct felix { struct
|