Lines Matching refs:ocelot_wm_read
221 static u32 ocelot_wm_read(struct ocelot *ocelot, int index) in ocelot_wm_read() function
311 *buf_rsrv_i += ocelot_wm_read(ocelot, in ocelot_get_buf_rsrv()
313 *buf_rsrv_e += ocelot_wm_read(ocelot, in ocelot_get_buf_rsrv()
317 *buf_rsrv_i += ocelot_wm_read(ocelot, BUF_P_RSRV_I(port)); in ocelot_get_buf_rsrv()
318 *buf_rsrv_e += ocelot_wm_read(ocelot, BUF_P_RSRV_E(port)); in ocelot_get_buf_rsrv()
335 *ref_rsrv_i += ocelot_wm_read(ocelot, in ocelot_get_ref_rsrv()
337 *ref_rsrv_e += 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()
342 *ref_rsrv_e += ocelot_wm_read(ocelot, REF_P_RSRV_E(port)); in ocelot_get_ref_rsrv()
624 *p_threshold = ocelot_wm_read(ocelot, wm_index); in ocelot_sb_port_pool_get()
659 old_thr = ocelot_wm_read(ocelot, wm_index); in ocelot_sb_port_pool_set()
699 *p_threshold = ocelot_wm_read(ocelot, wm_index); in ocelot_sb_tc_pool_bind_get()
749 old_thr = ocelot_wm_read(ocelot, wm_index); in ocelot_sb_tc_pool_bind_set()