Lines Matching defs:ocelot
221 static u32 ocelot_wm_read(struct ocelot *ocelot, int index) in ocelot_wm_read()
228 static void ocelot_wm_write(struct ocelot *ocelot, int index, u32 val) in ocelot_wm_write()
235 static void ocelot_wm_status(struct ocelot *ocelot, int index, u32 *inuse, in ocelot_wm_status()
252 static void ocelot_disable_reservation_watermarks(struct ocelot *ocelot, in ocelot_disable_reservation_watermarks()
289 static void ocelot_disable_tc_sharing_watermarks(struct ocelot *ocelot) in ocelot_disable_tc_sharing_watermarks()
301 static void ocelot_get_buf_rsrv(struct ocelot *ocelot, u32 *buf_rsrv_i, in ocelot_get_buf_rsrv()
325 static void ocelot_get_ref_rsrv(struct ocelot *ocelot, u32 *ref_rsrv_i, in ocelot_get_ref_rsrv()
349 static void ocelot_setup_sharing_watermarks(struct ocelot *ocelot) in ocelot_setup_sharing_watermarks()
382 static int ocelot_watermark_validate(struct ocelot *ocelot, in ocelot_watermark_validate()
476 static void ocelot_watermark_init(struct ocelot *ocelot) in ocelot_watermark_init()
536 int ocelot_sb_pool_get(struct ocelot *ocelot, unsigned int sb_index, in ocelot_sb_pool_get()
561 int ocelot_sb_pool_set(struct ocelot *ocelot, unsigned int sb_index, in ocelot_sb_pool_set()
601 int ocelot_sb_port_pool_get(struct ocelot *ocelot, int port, in ocelot_sb_port_pool_get()
632 int ocelot_sb_port_pool_set(struct ocelot *ocelot, int port, in ocelot_sb_port_pool_set()
675 int ocelot_sb_tc_pool_bind_get(struct ocelot *ocelot, int port, in ocelot_sb_tc_pool_bind_get()
712 int ocelot_sb_tc_pool_bind_set(struct ocelot *ocelot, int port, in ocelot_sb_tc_pool_bind_set()
766 int ocelot_sb_occ_snapshot(struct ocelot *ocelot, unsigned int sb_index) in ocelot_sb_occ_snapshot()
775 int ocelot_sb_occ_max_clear(struct ocelot *ocelot, unsigned int sb_index) in ocelot_sb_occ_max_clear()
818 int ocelot_sb_occ_port_pool_get(struct ocelot *ocelot, int port, in ocelot_sb_occ_port_pool_get()
850 int ocelot_sb_occ_tc_port_bind_get(struct ocelot *ocelot, int port, in ocelot_sb_occ_tc_port_bind_get()
882 int ocelot_devlink_sb_register(struct ocelot *ocelot) in ocelot_devlink_sb_register()
911 void ocelot_devlink_sb_unregister(struct ocelot *ocelot) in ocelot_devlink_sb_unregister()