ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/sys/arm/samsung/exynos/exynos5_common.h
Revision: 12395
Committed: Fri Mar 6 17:05:09 2020 UTC (4 years, 1 month ago) by laffer1
Content type: text/plain
File size: 1958 byte(s)
Log Message:
sync with freebsd 11

File Contents

# Content
1 /* $MidnightBSD$ */
2 /*-
3 * Copyright (c) 2014 Ruslan Bukin <br@bsdpad.com>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: stable/11/sys/arm/samsung/exynos/exynos5_common.h 263426 2014-03-20 17:07:14Z br $
28 */
29
30 #define READ4(_sc, _reg) \
31 bus_space_read_4(_sc->bst, _sc->bsh, _reg)
32 #define WRITE4(_sc, _reg, _val) \
33 bus_space_write_4(_sc->bst, _sc->bsh, _reg, _val)
34 #define READ2(_sc, _reg) \
35 bus_space_read_2(_sc->bst, _sc->bsh, _reg)
36 #define WRITE2(_sc, _reg, _val) \
37 bus_space_write_2(_sc->bst, _sc->bsh, _reg, _val)
38 #define READ1(_sc, _reg) \
39 bus_space_read_1(_sc->bst, _sc->bsh, _reg)
40 #define WRITE1(_sc, _reg, _val) \
41 bus_space_write_1(_sc->bst, _sc->bsh, _reg, _val)

Properties

Name Value
svn:eol-style native
svn:keywords MidnightBSD=%H
svn:mime-type text/plain