ocelot.h (fb4be9a4e7146fad672190db162ae22aa915a8a6) | ocelot.h (403ffc2c34de5297d007e0e169bf022094d444c2) |
---|---|
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_ --- 105 unchanged lines hidden (view full) --- 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 121int ocelot_mm_init(struct ocelot *ocelot); | 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_ --- 105 unchanged lines hidden (view full) --- 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 121int ocelot_mm_init(struct ocelot *ocelot); |
122void ocelot_port_change_fp(struct ocelot *ocelot, int port, 123 unsigned long preemptible_tcs); 124void ocelot_port_update_active_preemptible_tcs(struct ocelot *ocelot, int port); |
|
122 123extern struct notifier_block ocelot_netdevice_nb; 124extern struct notifier_block ocelot_switchdev_nb; 125extern struct notifier_block ocelot_switchdev_blocking_nb; 126extern const struct devlink_ops ocelot_devlink_ops; 127 128#endif | 125 126extern struct notifier_block ocelot_netdevice_nb; 127extern struct notifier_block ocelot_switchdev_nb; 128extern struct notifier_block ocelot_switchdev_blocking_nb; 129extern const struct devlink_ops ocelot_devlink_ops; 130 131#endif |