Searched refs:devlink_ports (Results 1 – 4 of 4) sorted by relevance
43 class devlink_ports(object): class72 self.if_names = devlink_ports.get_if_names(dev)147 for dev_port in devlink_ports.get_if_names(dev))276 ports = devlink_ports(dev)
154 ocelot->devlink_ports = devm_kcalloc(ocelot->dev, in mscc_ocelot_init_ports()156 sizeof(*ocelot->devlink_ports), in mscc_ocelot_init_ports()158 if (!ocelot->devlink_ports) in mscc_ocelot_init_ports()
41 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()1827 SET_NETDEV_DEVLINK_PORT(dev, &ocelot->devlink_ports[port]); in ocelot_probe_port()
808 struct devlink_port *devlink_ports; member