| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /**************************************************************************** |
|---|
| 2 | 3 | * Driver for Solarflare network controllers and boards |
|---|
| 3 | 4 | * Copyright 2005-2006 Fen Systems Ltd. |
|---|
| 4 | 5 | * Copyright 2006-2013 Solarflare Communications Inc. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 7 | | - * under the terms of the GNU General Public License version 2 as published |
|---|
| 8 | | - * by the Free Software Foundation, incorporated herein by reference. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | |
|---|
| 11 | 8 | #ifndef EF4_IO_H |
|---|
| .. | .. |
|---|
| 108 | 105 | _ef4_writed(efx, value->u32[2], reg + 8); |
|---|
| 109 | 106 | _ef4_writed(efx, value->u32[3], reg + 12); |
|---|
| 110 | 107 | #endif |
|---|
| 111 | | - mmiowb(); |
|---|
| 112 | 108 | spin_unlock_irqrestore(&efx->biu_lock, flags); |
|---|
| 113 | 109 | } |
|---|
| 114 | 110 | |
|---|
| .. | .. |
|---|
| 130 | 126 | __raw_writel((__force u32)value->u32[0], membase + addr); |
|---|
| 131 | 127 | __raw_writel((__force u32)value->u32[1], membase + addr + 4); |
|---|
| 132 | 128 | #endif |
|---|
| 133 | | - mmiowb(); |
|---|
| 134 | 129 | spin_unlock_irqrestore(&efx->biu_lock, flags); |
|---|
| 135 | 130 | } |
|---|
| 136 | 131 | |
|---|