ocelot.h (a4ae997adcbdf8ead133bafa5e9e2d6925c576b6) | ocelot.h (f59fd9cab7305266f4148776c3b66329551a2a3a) |
---|---|
1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 2/* 3 * Microsemi Ocelot Switch driver 4 * 5 * Copyright (c) 2017 Microsemi Corporation 6 */ 7 8#ifndef _MSCC_OCELOT_H_ --- 112 unchanged lines hidden (view full) --- 121 122int ocelot_probe_port(struct ocelot *ocelot, int port, struct regmap *target, 123 struct phy_device *phy); 124int ocelot_devlink_init(struct ocelot *ocelot); 125void ocelot_devlink_teardown(struct ocelot *ocelot); 126int ocelot_port_devlink_init(struct ocelot *ocelot, int port, 127 enum devlink_port_flavour flavour); 128void ocelot_port_devlink_teardown(struct ocelot *ocelot, int port); | 1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 2/* 3 * Microsemi Ocelot Switch driver 4 * 5 * Copyright (c) 2017 Microsemi Corporation 6 */ 7 8#ifndef _MSCC_OCELOT_H_ --- 112 unchanged lines hidden (view full) --- 121 122int ocelot_probe_port(struct ocelot *ocelot, int port, struct regmap *target, 123 struct phy_device *phy); 124int ocelot_devlink_init(struct ocelot *ocelot); 125void ocelot_devlink_teardown(struct ocelot *ocelot); 126int ocelot_port_devlink_init(struct ocelot *ocelot, int port, 127 enum devlink_port_flavour flavour); 128void ocelot_port_devlink_teardown(struct ocelot *ocelot, int port); |
129void ocelot_watermark_init(struct ocelot *ocelot); | |
130 131extern struct notifier_block ocelot_netdevice_nb; 132extern struct notifier_block ocelot_switchdev_nb; 133extern struct notifier_block ocelot_switchdev_blocking_nb; 134extern const struct devlink_ops ocelot_devlink_ops; 135 136#endif | 129 130extern struct notifier_block ocelot_netdevice_nb; 131extern struct notifier_block ocelot_switchdev_nb; 132extern struct notifier_block ocelot_switchdev_blocking_nb; 133extern const struct devlink_ops ocelot_devlink_ops; 134 135#endif |