| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Adaptec AAC series RAID controller driver |
|---|
| 3 | 4 | * (c) Copyright 2001 Red Hat Inc. |
|---|
| .. | .. |
|---|
| 9 | 10 | * 2010-2015 PMC-Sierra, Inc. (aacraid@pmc-sierra.com) |
|---|
| 10 | 11 | * 2016-2017 Microsemi Corp. (aacraid@microsemi.com) |
|---|
| 11 | 12 | * |
|---|
| 12 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 13 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 14 | | - * the Free Software Foundation; either version 2, or (at your option) |
|---|
| 15 | | - * any later version. |
|---|
| 16 | | - * |
|---|
| 17 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 18 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 19 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 20 | | - * GNU General Public License for more details. |
|---|
| 21 | | - * |
|---|
| 22 | | - * You should have received a copy of the GNU General Public License |
|---|
| 23 | | - * along with this program; see the file COPYING. If not, write to |
|---|
| 24 | | - * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
|---|
| 25 | | - * |
|---|
| 26 | 13 | * Module Name: |
|---|
| 27 | 14 | * sa.c |
|---|
| 28 | 15 | * |
|---|
| 29 | 16 | * Abstract: Drawbridge specific support functions |
|---|
| 30 | | - * |
|---|
| 31 | 17 | */ |
|---|
| 32 | 18 | |
|---|
| 33 | 19 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 149 | 135 | * @dev: Adapter |
|---|
| 150 | 136 | * @command: Command to execute |
|---|
| 151 | 137 | * @p1: first parameter |
|---|
| 138 | + * @p2: second parameter |
|---|
| 139 | + * @p3: third parameter |
|---|
| 140 | + * @p4: forth parameter |
|---|
| 141 | + * @p5: fifth parameter |
|---|
| 142 | + * @p6: sixth parameter |
|---|
| 152 | 143 | * @ret: adapter status |
|---|
| 144 | + * @r1: first return value |
|---|
| 145 | + * @r2: second return value |
|---|
| 146 | + * @r3: third return value |
|---|
| 147 | + * @r4: forth return value |
|---|
| 153 | 148 | * |
|---|
| 154 | | - * This routine will send a synchronous command to the adapter and wait |
|---|
| 149 | + * This routine will send a synchronous command to the adapter and wait |
|---|
| 155 | 150 | * for its completion. |
|---|
| 156 | 151 | */ |
|---|
| 157 | | - |
|---|
| 158 | | -static int sa_sync_cmd(struct aac_dev *dev, u32 command, |
|---|
| 152 | +static int sa_sync_cmd(struct aac_dev *dev, u32 command, |
|---|
| 159 | 153 | u32 p1, u32 p2, u32 p3, u32 p4, u32 p5, u32 p6, |
|---|
| 160 | 154 | u32 *ret, u32 *r1, u32 *r2, u32 *r3, u32 *r4) |
|---|
| 161 | 155 | { |
|---|
| .. | .. |
|---|
| 297 | 291 | |
|---|
| 298 | 292 | /** |
|---|
| 299 | 293 | * aac_sa_ioremap |
|---|
| 294 | + * @dev: device to ioremap |
|---|
| 300 | 295 | * @size: mapping resize request |
|---|
| 301 | 296 | * |
|---|
| 302 | 297 | */ |
|---|
| .. | .. |
|---|
| 314 | 309 | * aac_sa_init - initialize an ARM based AAC card |
|---|
| 315 | 310 | * @dev: device to configure |
|---|
| 316 | 311 | * |
|---|
| 317 | | - * Allocate and set up resources for the ARM based AAC variants. The |
|---|
| 318 | | - * device_interface in the commregion will be allocated and linked |
|---|
| 312 | + * Allocate and set up resources for the ARM based AAC variants. The |
|---|
| 313 | + * device_interface in the commregion will be allocated and linked |
|---|
| 319 | 314 | * to the comm region. |
|---|
| 320 | 315 | */ |
|---|
| 321 | 316 | |
|---|