#include <linux/ethtool.h>
#include <soc/mscc/ocelot.h>
#include <soc/mscc/ocelot_dev.h>
#include <soc/mscc/ocelot_qsys.h>
#include "ocelot.h"
static const char *
mm_verify_state_to_string(enum ethtool_mm_verify_status state)
{ … }
static enum ethtool_mm_verify_status ocelot_mm_verify_status(u32 val)
{ … }
void ocelot_port_update_active_preemptible_tcs(struct ocelot *ocelot, int port)
{ … }
void ocelot_port_change_fp(struct ocelot *ocelot, int port,
unsigned long preemptible_tcs)
{ … }
static void ocelot_mm_update_port_status(struct ocelot *ocelot, int port)
{ … }
void ocelot_mm_irq(struct ocelot *ocelot)
{ … }
EXPORT_SYMBOL_GPL(…);
int ocelot_port_set_mm(struct ocelot *ocelot, int port,
struct ethtool_mm_cfg *cfg,
struct netlink_ext_ack *extack)
{ … }
EXPORT_SYMBOL_GPL(…);
int ocelot_port_get_mm(struct ocelot *ocelot, int port,
struct ethtool_mm_state *state)
{ … }
EXPORT_SYMBOL_GPL(…);
int ocelot_mm_init(struct ocelot *ocelot)
{ … }