Searched refs:MFC_NUM_CONTEXTS (Results 1 – 4 of 4) sorted by relevance
56 #define MFC_NUM_CONTEXTS 4 macro324 struct s5p_mfc_ctx *ctx[MFC_NUM_CONTEXTS];
1161 new_ctx = (dev->curr_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx()1164 new_ctx = (new_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx()1165 if (++cnt > MFC_NUM_CONTEXTS) { in s5p_mfc_get_new_ctx()
1512 new_ctx = (dev->curr_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx()1515 new_ctx = (new_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx()1517 if (cnt > MFC_NUM_CONTEXTS) { in s5p_mfc_get_new_ctx()
148 for (i = 0; i < MFC_NUM_CONTEXTS; i++) { in s5p_mfc_watchdog_worker()749 if (ctx->num >= MFC_NUM_CONTEXTS) { in s5p_mfc_open()