Lines Matching defs:ocelot_ops
651 struct ocelot_ops { struct
652 struct net_device *(*port_to_netdev)(struct ocelot *ocelot, int port);
653 int (*netdev_to_port)(struct net_device *dev);
654 int (*reset)(struct ocelot *ocelot);
655 u16 (*wm_enc)(u16 value);
656 u16 (*wm_dec)(u16 value);
657 void (*wm_stat)(u32 val, u32 *inuse, u32 *maxuse);
658 void (*psfp_init)(struct ocelot *ocelot);
659 int (*psfp_filter_add)(struct ocelot *ocelot, int port,
661 int (*psfp_filter_del)(struct ocelot *ocelot, struct flow_cls_offload *f);
662 int (*psfp_stats_get)(struct ocelot *ocelot, struct flow_cls_offload *f,
664 void (*cut_through_fwd)(struct ocelot *ocelot);
665 void (*tas_clock_adjust)(struct ocelot *ocelot);
666 void (*tas_guard_bands_update)(struct ocelot *ocelot, int port);
667 void (*update_stats)(struct ocelot *ocelot);