Lines Matching defs:ocelot
15 static int ocelot_port_update_stats(struct ocelot *ocelot, int port) in ocelot_port_update_stats()
36 static void ocelot_port_transfer_stats(struct ocelot *ocelot, int port) in ocelot_port_transfer_stats()
60 struct ocelot *ocelot = container_of(del_work, struct ocelot, in ocelot_check_stats_work() local
88 void ocelot_get_strings(struct ocelot *ocelot, int port, u32 sset, u8 *data) in ocelot_get_strings()
106 static void ocelot_port_stats_run(struct ocelot *ocelot, int port, void *priv, in ocelot_port_stats_run()
107 void (*cb)(struct ocelot *ocelot, int port, in ocelot_port_stats_run()
132 int ocelot_get_sset_count(struct ocelot *ocelot, int port, int sset) in ocelot_get_sset_count()
147 static void ocelot_port_ethtool_stats_cb(struct ocelot *ocelot, int port, in ocelot_port_ethtool_stats_cb()
164 void ocelot_get_ethtool_stats(struct ocelot *ocelot, int port, u64 *data) in ocelot_get_ethtool_stats()
170 static void ocelot_port_pause_stats_cb(struct ocelot *ocelot, int port, void *priv) in ocelot_port_pause_stats_cb()
179 void ocelot_port_get_pause_stats(struct ocelot *ocelot, int port, in ocelot_port_get_pause_stats()
198 static void ocelot_port_rmon_stats_cb(struct ocelot *ocelot, int port, void *priv) in ocelot_port_rmon_stats_cb()
225 void ocelot_port_get_rmon_stats(struct ocelot *ocelot, int port, in ocelot_port_get_rmon_stats()
236 static void ocelot_port_ctrl_stats_cb(struct ocelot *ocelot, int port, void *priv) in ocelot_port_ctrl_stats_cb()
244 void ocelot_port_get_eth_ctrl_stats(struct ocelot *ocelot, int port, in ocelot_port_get_eth_ctrl_stats()
252 static void ocelot_port_mac_stats_cb(struct ocelot *ocelot, int port, void *priv) in ocelot_port_mac_stats_cb()
294 void ocelot_port_get_eth_mac_stats(struct ocelot *ocelot, int port, in ocelot_port_get_eth_mac_stats()
302 static void ocelot_port_phy_stats_cb(struct ocelot *ocelot, int port, void *priv) in ocelot_port_phy_stats_cb()
310 void ocelot_port_get_eth_phy_stats(struct ocelot *ocelot, int port, in ocelot_port_get_eth_phy_stats()
318 void ocelot_port_get_stats64(struct ocelot *ocelot, int port, in ocelot_port_get_stats64()
383 static int ocelot_prepare_stats_regions(struct ocelot *ocelot) in ocelot_prepare_stats_regions()
421 int ocelot_stats_init(struct ocelot *ocelot) in ocelot_stats_init()
454 void ocelot_stats_deinit(struct ocelot *ocelot) in ocelot_stats_deinit()