Searched refs:ref_rsrv_i (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot_devlink.c | 325 static void ocelot_get_ref_rsrv(struct ocelot *ocelot, u32 *ref_rsrv_i, in ocelot_get_ref_rsrv() argument 330 *ref_rsrv_i = 0; in ocelot_get_ref_rsrv() 335 *ref_rsrv_i += ocelot_wm_read(ocelot, in ocelot_get_ref_rsrv() 341 *ref_rsrv_i += ocelot_wm_read(ocelot, REF_P_RSRV_I(port)); in ocelot_get_ref_rsrv() 352 u32 ref_rsrv_i, ref_rsrv_e; in ocelot_setup_sharing_watermarks() local 357 ocelot_get_ref_rsrv(ocelot, &ref_rsrv_i, &ref_rsrv_e); in ocelot_setup_sharing_watermarks() 364 ref_rsrv_i; in ocelot_setup_sharing_watermarks() 386 u32 ref_rsrv_i, ref_rsrv_e; in ocelot_watermark_validate() local 389 ocelot_get_ref_rsrv(ocelot, &ref_rsrv_i, &ref_rsrv_e); in ocelot_watermark_validate() 401 if (ref_rsrv_i > ocelot->pool_size[OCELOT_SB_REF][OCELOT_SB_POOL_ING]) { in ocelot_watermark_validate()
|