| .. | .. |
|---|
| 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 | #ifndef __BFA_H__ |
|---|
| 19 | 11 | #define __BFA_H__ |
|---|
| .. | .. |
|---|
| 62 | 54 | ((__bfa)->iocfc.cfg.drvcfg.num_reqq_elems - 1); \ |
|---|
| 63 | 55 | writel((__bfa)->iocfc.req_cq_pi[__reqq], \ |
|---|
| 64 | 56 | (__bfa)->iocfc.bfa_regs.cpe_q_pi[__reqq]); \ |
|---|
| 65 | | - mmiowb(); \ |
|---|
| 66 | | - } while (0) |
|---|
| 57 | + } while (0) |
|---|
| 67 | 58 | |
|---|
| 68 | 59 | #define bfa_rspq_pi(__bfa, __rspq) \ |
|---|
| 69 | 60 | (*(u32 *)((__bfa)->iocfc.rsp_cq_shadow_pi[__rspq].kva)) |
|---|