| .. | .. |
|---|
| 1 | | -/** |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 2 | +/* |
|---|
| 2 | 3 | * IBM Accelerator Family 'GenWQE' |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * (C) Copyright IBM Corp. 2013 |
|---|
| .. | .. |
|---|
| 7 | 8 | * Author: Joerg-Stephan Vogt <jsvogt@de.ibm.com> |
|---|
| 8 | 9 | * Author: Michael Jung <mijung@gmx.net> |
|---|
| 9 | 10 | * Author: Michael Ruettger <michael@ibmra.de> |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 12 | | - * it under the terms of the GNU General Public License (version 2 only) |
|---|
| 13 | | - * as published by the Free Software Foundation. |
|---|
| 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 |
|---|
| 18 | | - * GNU General Public License for more details. |
|---|
| 19 | 11 | */ |
|---|
| 20 | 12 | |
|---|
| 21 | 13 | /* |
|---|
| .. | .. |
|---|
| 137 | 129 | } |
|---|
| 138 | 130 | static DEVICE_ATTR_RO(base_clock); |
|---|
| 139 | 131 | |
|---|
| 140 | | -/** |
|---|
| 132 | +/* |
|---|
| 141 | 133 | * curr_bitstream_show() - Show the current bitstream id |
|---|
| 142 | 134 | * |
|---|
| 143 | 135 | * There is a bug in some old versions of the CPLD which selects the |
|---|
| .. | .. |
|---|
| 164 | 156 | } |
|---|
| 165 | 157 | static DEVICE_ATTR_RO(curr_bitstream); |
|---|
| 166 | 158 | |
|---|
| 167 | | -/** |
|---|
| 159 | +/* |
|---|
| 168 | 160 | * next_bitstream_show() - Show the next activated bitstream |
|---|
| 169 | 161 | * |
|---|
| 170 | 162 | * IO_SLC_CFGREG_SOFTRESET: This register can only be accessed by the PF. |
|---|
| .. | .. |
|---|
| 268 | 260 | NULL, |
|---|
| 269 | 261 | }; |
|---|
| 270 | 262 | |
|---|
| 271 | | -/** |
|---|
| 263 | +/* |
|---|
| 272 | 264 | * genwqe_is_visible() - Determine if sysfs attribute should be visible or not |
|---|
| 273 | 265 | * |
|---|
| 274 | 266 | * VFs have restricted mmio capabilities, so not all sysfs entries |
|---|