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];
1163 new_ctx = (dev->curr_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx()1166 new_ctx = (new_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx()1167 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()756 if (ctx->num >= MFC_NUM_CONTEXTS) { in s5p_mfc_open()
1519 new_ctx = (dev->curr_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx()1522 new_ctx = (new_ctx + 1) % MFC_NUM_CONTEXTS; in s5p_mfc_get_new_ctx()1524 if (cnt > MFC_NUM_CONTEXTS) { in s5p_mfc_get_new_ctx()