Lines Matching refs:ib_idx
521 static int amdgpu_vce_cs_reloc(struct amdgpu_cs_parser *p, uint32_t ib_idx, in amdgpu_vce_cs_reloc() argument
525 struct amdgpu_ib *ib = &p->ibs[ib_idx]; in amdgpu_vce_cs_reloc()
532 addr = ((uint64_t)amdgpu_get_ib_value(p, ib_idx, lo)) | in amdgpu_vce_cs_reloc()
533 ((uint64_t)amdgpu_get_ib_value(p, ib_idx, hi)) << 32; in amdgpu_vce_cs_reloc()
608 int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p, uint32_t ib_idx) in amdgpu_vce_ring_parse_cs() argument
610 struct amdgpu_ib *ib = &p->ibs[ib_idx]; in amdgpu_vce_ring_parse_cs()
623 uint32_t len = amdgpu_get_ib_value(p, ib_idx, idx); in amdgpu_vce_ring_parse_cs()
624 uint32_t cmd = amdgpu_get_ib_value(p, ib_idx, idx + 1); in amdgpu_vce_ring_parse_cs()
640 handle = amdgpu_get_ib_value(p, ib_idx, idx + 2); in amdgpu_vce_ring_parse_cs()
649 fb_idx = amdgpu_get_ib_value(p, ib_idx, idx + 6); in amdgpu_vce_ring_parse_cs()
650 bs_idx = amdgpu_get_ib_value(p, ib_idx, idx + 7); in amdgpu_vce_ring_parse_cs()
661 *size = amdgpu_get_ib_value(p, ib_idx, idx + 8) * in amdgpu_vce_ring_parse_cs()
662 amdgpu_get_ib_value(p, ib_idx, idx + 10) * in amdgpu_vce_ring_parse_cs()
676 r = amdgpu_vce_cs_reloc(p, ib_idx, idx + 10, idx + 9, in amdgpu_vce_ring_parse_cs()
681 r = amdgpu_vce_cs_reloc(p, ib_idx, idx + 12, idx + 11, in amdgpu_vce_ring_parse_cs()
692 r = amdgpu_vce_cs_reloc(p, ib_idx, idx + 3, idx + 2, in amdgpu_vce_ring_parse_cs()
699 tmp = amdgpu_get_ib_value(p, ib_idx, idx + 4); in amdgpu_vce_ring_parse_cs()
700 r = amdgpu_vce_cs_reloc(p, ib_idx, idx + 3, idx + 2, in amdgpu_vce_ring_parse_cs()
707 r = amdgpu_vce_cs_reloc(p, ib_idx, idx + 3, idx + 2, in amdgpu_vce_ring_parse_cs()