Searched refs:as_nr (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_mmu.c | 493 static int wait_ready(struct panthor_device *ptdev, u32 as_nr) in wait_ready() argument 501 ret = gpu_read_relaxed_poll_timeout_atomic(ptdev, AS_STATUS(as_nr), val, in wait_ready() 513 static int write_cmd(struct panthor_device *ptdev, u32 as_nr, u32 cmd) in write_cmd() argument 518 status = wait_ready(ptdev, as_nr); in write_cmd() 520 gpu_write(ptdev, AS_COMMAND(as_nr), cmd); in write_cmd() 525 static void lock_region(struct panthor_device *ptdev, u32 as_nr, in lock_region() argument 555 gpu_write64(ptdev, AS_LOCKADDR(as_nr), region); in lock_region() 556 write_cmd(ptdev, as_nr, AS_COMMAND_LOCK); in lock_region() 559 static int mmu_hw_do_operation_locked(struct panthor_device *ptdev, int as_nr, in mmu_hw_do_operation_locked() argument 580 if (as_nr < 0) in mmu_hw_do_operation_locked() [all …]
|