mv_chips.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) mv_chips.h (873e65bc09078e56eaa51af2c9c60da2fad6fdbf)
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*
2 * Marvell 88SE64xx/88SE94xx register IO interface
3 *
4 * Copyright 2007 Red Hat, Inc.
5 * Copyright 2008 Marvell. <kewei@marvell.com>
6 * Copyright 2009-2011 Marvell. <yuxiangl@marvell.com>
2/*
3 * Marvell 88SE64xx/88SE94xx register IO interface
4 *
5 * Copyright 2007 Red Hat, Inc.
6 * Copyright 2008 Marvell. <kewei@marvell.com>
7 * Copyright 2009-2011 Marvell. <yuxiangl@marvell.com>
7 *
8 * This file is licensed under GPLv2.
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation; version 2 of the
13 * License.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23 * USA
24*/
25
26
27#ifndef _MV_CHIPS_H_
28#define _MV_CHIPS_H_
29
30#define mr32(reg) readl(regs + reg)
31#define mw32(reg, val) writel((val), regs + reg)

--- 239 unchanged lines hidden ---
8*/
9
10
11#ifndef _MV_CHIPS_H_
12#define _MV_CHIPS_H_
13
14#define mr32(reg) readl(regs + reg)
15#define mw32(reg, val) writel((val), regs + reg)

--- 239 unchanged lines hidden ---