| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. |
|---|
| 3 | 4 | * Copyright (c) 2014- QLogic Corporation. |
|---|
| .. | .. |
|---|
| 5 | 6 | * www.qlogic.com |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 10 | | - * under the terms of the GNU General Public License (GPL) Version 2 as |
|---|
| 11 | | - * published by the Free Software Foundation |
|---|
| 12 | | - * |
|---|
| 13 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 14 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 16 | | - * General Public License for more details. |
|---|
| 17 | 9 | */ |
|---|
| 18 | 10 | |
|---|
| 19 | 11 | #include "bfad_drv.h" |
|---|
| .. | .. |
|---|
| 61 | 53 | |
|---|
| 62 | 54 | bfa_rspq_ci(bfa, rspq) = ci; |
|---|
| 63 | 55 | writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); |
|---|
| 64 | | - mmiowb(); |
|---|
| 65 | 56 | } |
|---|
| 66 | 57 | |
|---|
| 67 | 58 | void |
|---|
| .. | .. |
|---|
| 72 | 63 | |
|---|
| 73 | 64 | bfa_rspq_ci(bfa, rspq) = ci; |
|---|
| 74 | 65 | writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); |
|---|
| 75 | | - mmiowb(); |
|---|
| 76 | 66 | } |
|---|
| 77 | 67 | |
|---|
| 78 | 68 | void |
|---|