io.h (ead5d1f4d877e92c051e1a1ade623d0d30e71619) io.h (6262f661ff5d7d6a2613b95d0b7820c60b46b0b5)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * {read,write}{b,w,l,q} based on arch/arm64/include/asm/io.h
4 * which was based on arch/arm/include/io.h
5 *
6 * Copyright (C) 1996-2000 Russell King
7 * Copyright (C) 2012 ARM Ltd.
8 * Copyright (C) 2014 Regents of the University of California
9 */
10
11#ifndef _ASM_RISCV_IO_H
12#define _ASM_RISCV_IO_H
13
14#include <linux/types.h>
15#include <linux/pgtable.h>
16#include <asm/mmiowb.h>
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * {read,write}{b,w,l,q} based on arch/arm64/include/asm/io.h
4 * which was based on arch/arm/include/io.h
5 *
6 * Copyright (C) 1996-2000 Russell King
7 * Copyright (C) 2012 ARM Ltd.
8 * Copyright (C) 2014 Regents of the University of California
9 */
10
11#ifndef _ASM_RISCV_IO_H
12#define _ASM_RISCV_IO_H
13
14#include <linux/types.h>
15#include <linux/pgtable.h>
16#include <asm/mmiowb.h>
17#include <asm/early_ioremap.h>
17
18/*
19 * MMIO access functions are separated out to break dependency cycles
20 * when using {read,write}* fns in low-level headers
21 */
22#include <asm/mmio.h>
23
24/*

--- 126 unchanged lines hidden ---
18
19/*
20 * MMIO access functions are separated out to break dependency cycles
21 * when using {read,write}* fns in low-level headers
22 */
23#include <asm/mmio.h>
24
25/*

--- 126 unchanged lines hidden ---