Lines Matching refs:inuse
235 static void ocelot_wm_status(struct ocelot *ocelot, int index, u32 *inuse, in ocelot_wm_status() argument
240 return ocelot->ops->wm_stat(res_stat, inuse, maxuse); in ocelot_wm_status()
514 void ocelot_wm_stat(u32 val, u32 *inuse, u32 *maxuse) in ocelot_wm_stat() argument
516 *inuse = (val & GENMASK(23, 12)) >> 12; in ocelot_wm_stat()
777 u32 inuse, maxuse; in ocelot_sb_occ_max_clear() local
785 &inuse, &maxuse); in ocelot_sb_occ_max_clear()
787 &inuse, &maxuse); in ocelot_sb_occ_max_clear()
790 &inuse, &maxuse); in ocelot_sb_occ_max_clear()
792 &inuse, &maxuse); in ocelot_sb_occ_max_clear()
799 &inuse, &maxuse); in ocelot_sb_occ_max_clear()
801 &inuse, &maxuse); in ocelot_sb_occ_max_clear()
804 &inuse, &maxuse); in ocelot_sb_occ_max_clear()
806 &inuse, &maxuse); in ocelot_sb_occ_max_clear()