Lines Matching refs:prio
47 #define BUF_Q_RSRV_E(port, prio) \ argument
48 (BUF_xxxx_E + xxx_Q_RSRV_x + OCELOT_NUM_TC * (port) + (prio))
69 #define BUF_Q_RSRV_I(port, prio) \ argument
70 (BUF_xxxx_I + xxx_Q_RSRV_x + OCELOT_NUM_TC * (port) + (prio))
91 #define REF_Q_RSRV_E(port, prio) \ argument
92 (REF_xxxx_E + xxx_Q_RSRV_x + OCELOT_NUM_TC * (port) + (prio))
113 #define REF_Q_RSRV_I(port, prio) \ argument
114 (REF_xxxx_I + xxx_Q_RSRV_x + OCELOT_NUM_TC * (port) + (prio))
141 #define BUF_PRIO_SHR_E(prio) \ argument
142 (BUF_xxxx_E + xxx_PRIO_SHR_x + (prio))
163 #define BUF_PRIO_SHR_I(prio) \ argument
164 (BUF_xxxx_I + xxx_PRIO_SHR_x + (prio))
185 #define REF_PRIO_SHR_E(prio) \ argument
186 (REF_xxxx_E + xxx_PRIO_SHR_x + (prio))
207 #define REF_PRIO_SHR_I(prio) \ argument
208 (REF_xxxx_I + xxx_PRIO_SHR_x + (prio))
255 int prio; in ocelot_disable_reservation_watermarks() local
257 for (prio = 0; prio < OCELOT_NUM_TC; prio++) { in ocelot_disable_reservation_watermarks()
258 ocelot_wm_write(ocelot, BUF_Q_RSRV_I(port, prio), 0); in ocelot_disable_reservation_watermarks()
259 ocelot_wm_write(ocelot, BUF_Q_RSRV_E(port, prio), 0); in ocelot_disable_reservation_watermarks()
260 ocelot_wm_write(ocelot, REF_Q_RSRV_I(port, prio), 0); in ocelot_disable_reservation_watermarks()
261 ocelot_wm_write(ocelot, REF_Q_RSRV_E(port, prio), 0); in ocelot_disable_reservation_watermarks()
291 int prio; in ocelot_disable_tc_sharing_watermarks() local
293 for (prio = 0; prio < OCELOT_NUM_TC; prio++) { in ocelot_disable_tc_sharing_watermarks()
294 ocelot_wm_write(ocelot, BUF_PRIO_SHR_I(prio), 0); in ocelot_disable_tc_sharing_watermarks()
295 ocelot_wm_write(ocelot, BUF_PRIO_SHR_E(prio), 0); in ocelot_disable_tc_sharing_watermarks()
296 ocelot_wm_write(ocelot, REF_PRIO_SHR_I(prio), 0); in ocelot_disable_tc_sharing_watermarks()
297 ocelot_wm_write(ocelot, REF_PRIO_SHR_E(prio), 0); in ocelot_disable_tc_sharing_watermarks()
304 int port, prio; in ocelot_get_buf_rsrv() local
310 for (prio = 0; prio < OCELOT_NUM_TC; prio++) { in ocelot_get_buf_rsrv()
312 BUF_Q_RSRV_I(port, prio)); in ocelot_get_buf_rsrv()
314 BUF_Q_RSRV_E(port, prio)); in ocelot_get_buf_rsrv()
328 int port, prio; in ocelot_get_ref_rsrv() local
334 for (prio = 0; prio < OCELOT_NUM_TC; prio++) { in ocelot_get_ref_rsrv()
336 REF_Q_RSRV_I(port, prio)); in ocelot_get_ref_rsrv()
338 REF_Q_RSRV_E(port, prio)); in ocelot_get_ref_rsrv()
778 int port, prio; in ocelot_sb_occ_max_clear() local
783 for (prio = 0; prio < OCELOT_NUM_TC; prio++) { in ocelot_sb_occ_max_clear()
784 ocelot_wm_status(ocelot, BUF_Q_RSRV_I(port, prio), in ocelot_sb_occ_max_clear()
786 ocelot_wm_status(ocelot, BUF_Q_RSRV_E(port, prio), in ocelot_sb_occ_max_clear()
797 for (prio = 0; prio < OCELOT_NUM_TC; prio++) { in ocelot_sb_occ_max_clear()
798 ocelot_wm_status(ocelot, REF_Q_RSRV_I(port, prio), in ocelot_sb_occ_max_clear()
800 ocelot_wm_status(ocelot, REF_Q_RSRV_E(port, prio), in ocelot_sb_occ_max_clear()