Lines Matching refs:pp_idx

240 		uint32_t enc_id, int lm_idx, int *pp_idx, int *dspp_idx,  in _dpu_rm_check_lm_and_get_connected_blks()  argument
264 *pp_idx = idx; in _dpu_rm_check_lm_and_get_connected_blks()
292 int pp_idx[MAX_BLOCKS]; in _dpu_rm_reserve_lms() local
311 enc_id, i, &pp_idx[lm_count], in _dpu_rm_reserve_lms()
331 &pp_idx[lm_count], &dspp_idx[lm_count], in _dpu_rm_reserve_lms()
348 global_state->pingpong_to_enc_id[pp_idx[i]] = enc_id; in _dpu_rm_reserve_lms()
353 pp_idx[i] + PINGPONG_0); in _dpu_rm_reserve_lms()
426 static int _dpu_rm_pingpong_dsc_check(int dsc_idx, int pp_idx) in _dpu_rm_pingpong_dsc_check() argument
432 if ((dsc_idx & 0x01) != (pp_idx & 0x01)) in _dpu_rm_pingpong_dsc_check()
444 int pp_idx = 0; in _dpu_rm_dsc_alloc() local
456 pp_idx = _dpu_rm_pingpong_next_index(global_state, pp_idx, enc_id); in _dpu_rm_dsc_alloc()
457 if (pp_idx < 0) in _dpu_rm_dsc_alloc()
460 ret = _dpu_rm_pingpong_dsc_check(dsc_idx, pp_idx); in _dpu_rm_dsc_alloc()
466 pp_idx++; in _dpu_rm_dsc_alloc()
484 int dsc_idx, pp_idx = 0; in _dpu_rm_dsc_alloc_pair() local
499 pp_idx = _dpu_rm_pingpong_next_index(global_state, pp_idx, enc_id); in _dpu_rm_dsc_alloc_pair()
500 if (pp_idx < 0) in _dpu_rm_dsc_alloc_pair()
503 ret = _dpu_rm_pingpong_dsc_check(dsc_idx, pp_idx); in _dpu_rm_dsc_alloc_pair()
505 pp_idx = 0; in _dpu_rm_dsc_alloc_pair()
509 pp_idx = _dpu_rm_pingpong_next_index(global_state, pp_idx + 1, enc_id); in _dpu_rm_dsc_alloc_pair()
510 if (pp_idx < 0) in _dpu_rm_dsc_alloc_pair()
513 ret = _dpu_rm_pingpong_dsc_check(dsc_idx + 1, pp_idx); in _dpu_rm_dsc_alloc_pair()
515 pp_idx = 0; in _dpu_rm_dsc_alloc_pair()
522 pp_idx++; /* start for next pair */ in _dpu_rm_dsc_alloc_pair()