ivpu_mmu.h (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) ivpu_mmu.h (30cf36bb0408a163eb3d58ea6b883c612c029286)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2020-2023 Intel Corporation
4 */
5
6#ifndef __IVPU_MMU_H__
7#define __IVPU_MMU_H__
8

--- 32 unchanged lines hidden (view full) ---

41void ivpu_mmu_disable(struct ivpu_device *vdev);
42int ivpu_mmu_enable(struct ivpu_device *vdev);
43int ivpu_mmu_set_pgtable(struct ivpu_device *vdev, int ssid, struct ivpu_mmu_pgtable *pgtable);
44void ivpu_mmu_clear_pgtable(struct ivpu_device *vdev, int ssid);
45int ivpu_mmu_invalidate_tlb(struct ivpu_device *vdev, u16 ssid);
46
47void ivpu_mmu_irq_evtq_handler(struct ivpu_device *vdev);
48void ivpu_mmu_irq_gerr_handler(struct ivpu_device *vdev);
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2020-2023 Intel Corporation
4 */
5
6#ifndef __IVPU_MMU_H__
7#define __IVPU_MMU_H__
8

--- 32 unchanged lines hidden (view full) ---

41void ivpu_mmu_disable(struct ivpu_device *vdev);
42int ivpu_mmu_enable(struct ivpu_device *vdev);
43int ivpu_mmu_set_pgtable(struct ivpu_device *vdev, int ssid, struct ivpu_mmu_pgtable *pgtable);
44void ivpu_mmu_clear_pgtable(struct ivpu_device *vdev, int ssid);
45int ivpu_mmu_invalidate_tlb(struct ivpu_device *vdev, u16 ssid);
46
47void ivpu_mmu_irq_evtq_handler(struct ivpu_device *vdev);
48void ivpu_mmu_irq_gerr_handler(struct ivpu_device *vdev);
49void ivpu_mmu_evtq_dump(struct ivpu_device *vdev);
49
50#endif /* __IVPU_MMU_H__ */
50
51#endif /* __IVPU_MMU_H__ */