Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/net/
Ddevlink_port_split.py43 class devlink_ports(object): class
70 self.if_names = devlink_ports.get_if_names(dev)
145 for dev_port in devlink_ports.get_if_names(dev))
256 ports = devlink_ports(dev)
/Linux-v6.1/drivers/net/ethernet/mscc/
Docelot_vsc7514.c372 ocelot->devlink_ports = devm_kcalloc(ocelot->dev, in mscc_ocelot_init_ports()
374 sizeof(*ocelot->devlink_ports), in mscc_ocelot_init_ports()
376 if (!ocelot->devlink_ports) in mscc_ocelot_init_ports()
427 dlp = &ocelot->devlink_ports[port]; in mscc_ocelot_init_ports()
Docelot_net.c41 return dlp - ocelot->devlink_ports; in devlink_port_to_port()
174 struct devlink_port *dlp = &ocelot->devlink_ports[port]; in ocelot_port_devlink_init()
192 struct devlink_port *dlp = &ocelot->devlink_ports[port]; in ocelot_port_devlink_teardown()
203 return &ocelot->devlink_ports[port]; in ocelot_get_devlink_port()
/Linux-v6.1/include/soc/mscc/
Docelot.h964 struct devlink_port *devlink_ports; member