ocelot.h (446279168e030fd0ed68e2bba336bef8bb3da352) ocelot.h (fe90104cd6048364db821c06bcb2246074919c04)
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_

--- 101 unchanged lines hidden (view full) ---

110 unsigned long cookie, bool take_ts,
111 void (*populate)(struct ocelot_vcap_filter *f));
112int ocelot_trap_del(struct ocelot *ocelot, int port, unsigned long cookie);
113
114struct ocelot_mirror *ocelot_mirror_get(struct ocelot *ocelot, int to,
115 struct netlink_ext_ack *extack);
116void ocelot_mirror_put(struct ocelot *ocelot);
117
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_

--- 101 unchanged lines hidden (view full) ---

110 unsigned long cookie, bool take_ts,
111 void (*populate)(struct ocelot_vcap_filter *f));
112int ocelot_trap_del(struct ocelot *ocelot, int port, unsigned long cookie);
113
114struct ocelot_mirror *ocelot_mirror_get(struct ocelot *ocelot, int to,
115 struct netlink_ext_ack *extack);
116void ocelot_mirror_put(struct ocelot *ocelot);
117
118int ocelot_stats_init(struct ocelot *ocelot);
119void ocelot_stats_deinit(struct ocelot *ocelot);
120
118extern struct notifier_block ocelot_netdevice_nb;
119extern struct notifier_block ocelot_switchdev_nb;
120extern struct notifier_block ocelot_switchdev_blocking_nb;
121extern const struct devlink_ops ocelot_devlink_ops;
122
123#endif
121extern struct notifier_block ocelot_netdevice_nb;
122extern struct notifier_block ocelot_switchdev_nb;
123extern struct notifier_block ocelot_switchdev_blocking_nb;
124extern const struct devlink_ops ocelot_devlink_ops;
125
126#endif