#include "qla_def.h"
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/ratelimit.h>
#include <linux/vmalloc.h>
#include <scsi/scsi_tcq.h>
Go to the source code of this file.
|
char * | qdev_state (uint32_t dev_state) |
|
int | qla82xx_wr_32 (struct qla_hw_data *ha, ulong off, u32 data) |
|
int | qla82xx_rd_32 (struct qla_hw_data *ha, ulong off) |
|
int | qla82xx_idc_lock (struct qla_hw_data *ha) |
|
void | qla82xx_idc_unlock (struct qla_hw_data *ha) |
|
int | qla82xx_md_rw_32 (struct qla_hw_data *ha, uint32_t off, u32 data, uint8_t flag) |
|
int | qla82xx_pci_mem_read_2M (struct qla_hw_data *ha, u64 off, void *data, int size) |
|
int | qla82xx_pci_region_offset (struct pci_dev *pdev, int region) |
|
int | qla82xx_iospace_config (struct qla_hw_data *ha) |
|
int | qla82xx_pci_config (scsi_qla_host_t *vha) |
|
void | qla82xx_reset_chip (scsi_qla_host_t *vha) |
|
void | qla82xx_config_rings (struct scsi_qla_host *vha) |
|
void | qla82xx_reset_adapter (struct scsi_qla_host *vha) |
|
int | qla82xx_validate_firmware_blob (scsi_qla_host_t *vha, uint8_t fw_type) |
|
irqreturn_t | qla82xx_intr_handler (int irq, void *dev_id) |
|
irqreturn_t | qla82xx_msix_default (int irq, void *dev_id) |
|
irqreturn_t | qla82xx_msix_rsp_q (int irq, void *dev_id) |
|
void | qla82xx_poll (int irq, void *dev_id) |
|
void | qla82xx_enable_intrs (struct qla_hw_data *ha) |
|
void | qla82xx_disable_intrs (struct qla_hw_data *ha) |
|
void | qla82xx_init_flags (struct qla_hw_data *ha) |
|
void | qla82xx_set_idc_version (scsi_qla_host_t *vha) |
|
void | qla82xx_set_drv_active (scsi_qla_host_t *vha) |
|
void | qla82xx_clear_drv_active (struct qla_hw_data *ha) |
|
void | qla82xx_clear_qsnt_ready (scsi_qla_host_t *vha) |
|
int | qla82xx_start_firmware (scsi_qla_host_t *vha) |
|
uint8_t * | qla82xx_read_optrom_data (struct scsi_qla_host *vha, uint8_t *buf, uint32_t offset, uint32_t length) |
|
int | qla82xx_write_optrom_data (struct scsi_qla_host *vha, uint8_t *buf, uint32_t offset, uint32_t length) |
|
void | qla82xx_start_iocbs (scsi_qla_host_t *vha) |
|
void | qla82xx_rom_lock_recovery (struct qla_hw_data *ha) |
|
uint32_t | qla82xx_wait_for_state_change (scsi_qla_host_t *vha, uint32_t curr_state) |
|
void | qla8xxx_dev_failed_handler (scsi_qla_host_t *vha) |
|
int | qla82xx_check_md_needed (scsi_qla_host_t *vha) |
|
int | qla82xx_check_fw_alive (scsi_qla_host_t *vha) |
|
int | qla82xx_device_state_handler (scsi_qla_host_t *vha) |
|
void | qla82xx_clear_pending_mbx (scsi_qla_host_t *vha) |
|
void | qla82xx_watchdog (scsi_qla_host_t *vha) |
|
int | qla82xx_load_risc (scsi_qla_host_t *vha, uint32_t *srisc_addr) |
|
void | qla82xx_set_reset_owner (scsi_qla_host_t *vha) |
|
int | qla82xx_abort_isp (scsi_qla_host_t *vha) |
|
int | qla82xx_fcoe_ctx_reset (scsi_qla_host_t *vha) |
|
int | qla2x00_wait_for_fcoe_ctx_reset (scsi_qla_host_t *vha) |
|
void | qla82xx_chip_reset_cleanup (scsi_qla_host_t *vha) |
|
int | qla82xx_md_collect (scsi_qla_host_t *vha) |
|
int | qla82xx_md_alloc (scsi_qla_host_t *vha) |
|
void | qla82xx_md_free (scsi_qla_host_t *vha) |
|
void | qla82xx_md_prep (scsi_qla_host_t *vha) |
|
int | qla82xx_beacon_on (struct scsi_qla_host *vha) |
|
int | qla82xx_beacon_off (struct scsi_qla_host *vha) |
|
#define BLOCK_PROTECT_BITS 0x0F |
#define CRB_BLK |
( |
|
off | ) |
((off >> 20) & 0x3f) |
#define CRB_INDIRECT_2M (0x1e0000UL) |
#define CRB_SUBBLK |
( |
|
off | ) |
((off >> 16) & 0xf) |
#define CRB_WIN_LOCK_TIMEOUT 100000000 |
#define CRB_WINDOW_2M (0x130060) |
#define IDC_LOCK_TIMEOUT 100000000 |
#define MASK |
( |
|
n | ) |
((1ULL<<(n))-1) |
Value:(((
addr & 0x1fc0000) >> 1) | \
Definition at line 15 of file qla_nx.c.
#define MS_WIN |
( |
|
addr | ) |
(addr & 0x0ffc0000) |
#define MTU_FUDGE_FACTOR 100 |
Value:(((
addr & 0x1ff0000) >> 1) | \
Definition at line 17 of file qla_nx.c.
#define qla82xx_crb_addr_transform |
( |
|
name | ) |
|
Value:(crb_addr_xform[QLA82XX_HW_PX_MAP_CRB_##
name] = \
QLA82XX_HW_CRB_HUB_AGT_ADR_##
name << 20)
Definition at line 41 of file qla_nx.c.
#define QLA82XX_PCI_CAMQM_2M_BASE (0x000ff800UL) |
#define QLA82XX_PCI_CAMQM_2M_END (0x04800800UL) |
#define QLA82XX_PCI_MN_2M (0) |
#define QLA82XX_PCI_MS_2M (0x80000) |
#define QLA82XX_PCI_OCM0_2M (0xc0000) |
#define VALID_OCM_ADDR |
( |
|
addr | ) |
(((addr) & 0x3f800) != 0x3f800) |
Initial value:= {
"Unknown",
"Cold",
"Initializing",
"Ready",
"Need Reset",
"Need Quiescent",
"Failed",
"Quiescent",
}
Definition at line 333 of file qla_nx.c.
unsigned qla82xx_crb_hub_agt[64] |
int qla82xx_crb_table_initialized |
uint32_t qla82xx_isr_int_target_mask_enable[8] |
uint32_t qla82xx_isr_int_target_status[8] |
int qla82xx_pci_set_window_warning_count |