Home
last modified time | relevance | path

Searched refs:as_nr (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c29 static int wait_ready(struct panfrost_device *pfdev, u32 as_nr) in wait_ready() argument
36 ret = readl_relaxed_poll_timeout_atomic(pfdev->iomem + AS_STATUS(as_nr), in wait_ready()
48 static int write_cmd(struct panfrost_device *pfdev, u32 as_nr, u32 cmd) in write_cmd() argument
53 status = wait_ready(pfdev, as_nr); in write_cmd()
55 mmu_write(pfdev, AS_COMMAND(as_nr), cmd); in write_cmd()
60 static void lock_region(struct panfrost_device *pfdev, u32 as_nr, in lock_region() argument
90 mmu_write(pfdev, AS_LOCKADDR_LO(as_nr), lower_32_bits(region)); in lock_region()
91 mmu_write(pfdev, AS_LOCKADDR_HI(as_nr), upper_32_bits(region)); in lock_region()
92 write_cmd(pfdev, as_nr, AS_COMMAND_LOCK); in lock_region()
96 static int mmu_hw_do_operation_locked(struct panfrost_device *pfdev, int as_nr, in mmu_hw_do_operation_locked() argument
[all …]
Dpanfrost_dump.c78 u32 as_nr, int slot) in panfrost_core_dump_registers() argument
92 js_as_offset = (as_nr << MMU_AS_SHIFT); in panfrost_core_dump_registers()
111 u32 as_nr; in panfrost_core_dump() local
115 as_nr = job->mmu->as; in panfrost_core_dump()
186 panfrost_core_dump_registers(&iter, pfdev, as_nr, slot); in panfrost_core_dump()