Searched refs:dsc_idx (Results 1 – 1 of 1) sorted by relevance
426 static int _dpu_rm_pingpong_dsc_check(int dsc_idx, int pp_idx) in _dpu_rm_pingpong_dsc_check() argument432 if ((dsc_idx & 0x01) != (pp_idx & 0x01)) in _dpu_rm_pingpong_dsc_check()445 int dsc_idx; in _dpu_rm_dsc_alloc() local448 for (dsc_idx = 0; dsc_idx < ARRAY_SIZE(rm->dsc_blks) && in _dpu_rm_dsc_alloc()449 num_dsc < top->num_dsc; dsc_idx++) { in _dpu_rm_dsc_alloc()450 if (!rm->dsc_blks[dsc_idx]) in _dpu_rm_dsc_alloc()453 if (reserved_by_other(global_state->dsc_to_enc_id, dsc_idx, enc_id)) in _dpu_rm_dsc_alloc()460 ret = _dpu_rm_pingpong_dsc_check(dsc_idx, pp_idx); in _dpu_rm_dsc_alloc()464 global_state->dsc_to_enc_id[dsc_idx] = enc_id; in _dpu_rm_dsc_alloc()484 int dsc_idx, pp_idx = 0; in _dpu_rm_dsc_alloc_pair() local[all …]