File Index
Files and directories
Sign in
FILE

video.h

File preview with syntax highlighting.

linux-6.19.14/arch/powerpc/include/asm/video.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _ASM_VIDEO_H_
 3#define _ASM_VIDEO_H_
 4
 5#include <asm/page.h>
 6
 7static inline pgprot_t pgprot_framebuffer(pgprot_t prot,
 8					  unsigned long vm_start, unsigned long vm_end,
 9					  unsigned long offset)
10{
11	return __phys_mem_access_prot(PHYS_PFN(offset), vm_end - vm_start, prot);
12}
13#define pgprot_framebuffer pgprot_framebuffer
14
15#include <asm-generic/video.h>
16
17#endif /* _ASM_VIDEO_H_ */
~/ Read-only file preview.