| 4140 | }; |
| 4141 | |
| 4142 | static uint32_t bnxt_map_reset_regs(struct bnxt *bp, uint32_t reg) |
| 4143 | { |
| 4144 | uint32_t offset; |
| 4145 | |
| 4146 | /* Only pre-map the reset GRC registers using window 3 */ |
| 4147 | rte_write32(reg & 0xfffff000, (uint8_t *)bp->bar0 + |
| 4148 | BNXT_GRCPF_REG_WINDOW_BASE_OUT + 8); |
| 4149 | |
| 4150 | offset = BNXT_GRCP_WINDOW_3_BASE + (reg & 0xffc); |
| 4151 | |
| 4152 | return offset; |
| 4153 | } |
| 4154 | |
| 4155 | int bnxt_map_fw_health_status_regs(struct bnxt *bp) |
| 4156 | { |
no test coverage detected