Lines Matching refs:cpu_off
4902 s64 off, cpu_off; in goya_mmu_add_mappings_for_device_cpu() local
4933 for (cpu_off = 0 ; cpu_off < SZ_2M ; cpu_off += PAGE_SIZE_4KB) { in goya_mmu_add_mappings_for_device_cpu()
4935 VA_CPU_ACCESSIBLE_MEM_ADDR + cpu_off, in goya_mmu_add_mappings_for_device_cpu()
4936 hdev->cpu_accessible_dma_address + cpu_off, in goya_mmu_add_mappings_for_device_cpu()
4941 cpu_off -= PAGE_SIZE_4KB; in goya_mmu_add_mappings_for_device_cpu()
4960 for (; cpu_off >= 0 ; cpu_off -= PAGE_SIZE_4KB) in goya_mmu_add_mappings_for_device_cpu()
4962 VA_CPU_ACCESSIBLE_MEM_ADDR + cpu_off, in goya_mmu_add_mappings_for_device_cpu()
4966 VA_CPU_ACCESSIBLE_MEM_ADDR + cpu_off); in goya_mmu_add_mappings_for_device_cpu()
4983 u32 off, cpu_off; in goya_mmu_remove_device_cpu_mappings() local
5001 for (cpu_off = 0 ; cpu_off < SZ_2M ; cpu_off += PAGE_SIZE_4KB) in goya_mmu_remove_device_cpu_mappings()
5003 VA_CPU_ACCESSIBLE_MEM_ADDR + cpu_off, in goya_mmu_remove_device_cpu_mappings()
5005 (cpu_off + PAGE_SIZE_4KB) >= SZ_2M)) in goya_mmu_remove_device_cpu_mappings()
5008 VA_CPU_ACCESSIBLE_MEM_ADDR + cpu_off); in goya_mmu_remove_device_cpu_mappings()