Lines Matching full:ocelot
3 * Microsemi Ocelot Switch driver
25 #include <soc/mscc/ocelot.h>
54 /* A (PGID) port mask structure, encoding the 2^ocelot->num_phys_ports
77 static inline void ocelot_reg_to_target_addr(struct ocelot *ocelot, in ocelot_reg_to_target_addr() argument
83 *addr = ocelot->map[*target][reg & REG_MASK]; in ocelot_reg_to_target_addr()
86 int ocelot_bridge_num_find(struct ocelot *ocelot,
89 int ocelot_mact_learn(struct ocelot *ocelot, int port,
92 int ocelot_mact_forget(struct ocelot *ocelot,
94 struct net_device *ocelot_port_to_netdev(struct ocelot *ocelot, int port);
97 int ocelot_probe_port(struct ocelot *ocelot, int port, struct regmap *target,
100 int ocelot_port_devlink_init(struct ocelot *ocelot, int port,
102 void ocelot_port_devlink_teardown(struct ocelot *ocelot, int port);
104 int ocelot_trap_add(struct ocelot *ocelot, int port,
107 int ocelot_trap_del(struct ocelot *ocelot, int port, unsigned long cookie);
109 struct ocelot_mirror *ocelot_mirror_get(struct ocelot *ocelot, int to,
111 void ocelot_mirror_put(struct ocelot *ocelot);
113 int ocelot_stats_init(struct ocelot *ocelot);
114 void ocelot_stats_deinit(struct ocelot *ocelot);
116 int ocelot_mm_init(struct ocelot *ocelot);
117 void ocelot_port_change_fp(struct ocelot *ocelot, int port,
119 void ocelot_port_update_active_preemptible_tcs(struct ocelot *ocelot, int port);