GNU Linux-libre 5.19-rc6-gnu
[releases.git] / drivers / staging / media / atomisp / pci / ia_css_mmu.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms and conditions of the GNU General Public License,
8  * version 2, as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13  * more details.
14  */
15
16 #ifndef __IA_CSS_MMU_H
17 #define __IA_CSS_MMU_H
18
19 /* @file
20  * This file contains one support function for invalidating the CSS MMU cache
21  */
22
23 /* @brief Invalidate the MMU internal cache.
24  * @return      None
25  *
26  * This function triggers an invalidation of the translate-look-aside
27  * buffer (TLB) that's inside the CSS MMU. This function should be called
28  * every time the page tables used by the MMU change.
29  */
30 void
31 ia_css_mmu_invalidate_cache(void);
32
33 #endif /* __IA_CSS_MMU_H */