Lines Matching refs:buf_rsrv_e
302 u32 *buf_rsrv_e) in ocelot_get_buf_rsrv() argument
307 *buf_rsrv_e = 0; in ocelot_get_buf_rsrv()
313 *buf_rsrv_e += ocelot_wm_read(ocelot, in ocelot_get_buf_rsrv()
318 *buf_rsrv_e += ocelot_wm_read(ocelot, BUF_P_RSRV_E(port)); in ocelot_get_buf_rsrv()
322 *buf_rsrv_e *= OCELOT_BUFFER_CELL_SZ; in ocelot_get_buf_rsrv()
351 u32 buf_rsrv_i, buf_rsrv_e; in ocelot_setup_sharing_watermarks() local
356 ocelot_get_buf_rsrv(ocelot, &buf_rsrv_i, &buf_rsrv_e); in ocelot_setup_sharing_watermarks()
362 buf_rsrv_e; in ocelot_setup_sharing_watermarks()
385 u32 buf_rsrv_i, buf_rsrv_e; in ocelot_watermark_validate() local
388 ocelot_get_buf_rsrv(ocelot, &buf_rsrv_i, &buf_rsrv_e); in ocelot_watermark_validate()
396 if (buf_rsrv_e > ocelot->pool_size[OCELOT_SB_BUF][OCELOT_SB_POOL_EGR]) { in ocelot_watermark_validate()