Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
ipr.h File Reference
#include <asm/unaligned.h>
#include <linux/types.h>
#include <linux/completion.h>
#include <linux/libata.h>
#include <linux/list.h>
#include <linux/kref.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>

Go to the source code of this file.

Data Structures

struct  ipr_res_addr
 
struct  ipr_std_inq_vpids
 
struct  ipr_vpd
 
struct  ipr_ext_vpd
 
struct  ipr_ext_vpd64
 
struct  ipr_std_inq_data
 
struct  ipr_config_table_entry
 
struct  ipr_config_table_entry64
 
struct  ipr_config_table_hdr
 
struct  ipr_config_table_hdr64
 
struct  ipr_config_table
 
struct  ipr_config_table64
 
struct  ipr_config_table_entry_wrapper
 
struct  ipr_hostrcb_cfg_ch_not
 
struct  ipr_supported_device
 
struct  ipr_cmd_pkt
 
struct  ipr_ioarcb_ata_regs
 
struct  ipr_ioadl_desc
 
struct  ipr_ioadl64_desc
 
struct  ipr_ata64_ioadl
 
struct  ipr_ioarcb_add_data
 
struct  ipr_ioarcb_sis64_add_addr_ecb
 
struct  ipr_ioarcb
 
struct  ipr_ioasa_vset
 
struct  ipr_ioasa_af_dasd
 
struct  ipr_ioasa_gpdd
 
struct  ipr_ioasa_gata
 
struct  ipr_auto_sense
 
struct  ipr_ioasa_hdr
 
struct  ipr_ioasa
 
struct  ipr_ioasa64
 
struct  ipr_mode_parm_hdr
 
struct  ipr_mode_pages
 
struct  ipr_mode_page_hdr
 
struct  ipr_dev_bus_entry
 
struct  ipr_mode_page28
 
struct  ipr_mode_page24
 
struct  ipr_ioa_vpd
 
struct  ipr_inquiry_page3
 
struct  ipr_inquiry_cap
 
struct  ipr_inquiry_page0
 
struct  ipr_hostrcb_device_data_entry
 
struct  ipr_hostrcb_device_data_entry_enhanced
 
struct  ipr_hostrcb64_device_data_entry_enhanced
 
struct  ipr_hostrcb_array_data_entry
 
struct  ipr_hostrcb64_array_data_entry
 
struct  ipr_hostrcb_array_data_entry_enhanced
 
struct  ipr_hostrcb_type_ff_error
 
struct  ipr_hostrcb_type_01_error
 
struct  ipr_hostrcb_type_02_error
 
struct  ipr_hostrcb_type_12_error
 
struct  ipr_hostrcb_type_03_error
 
struct  ipr_hostrcb_type_13_error
 
struct  ipr_hostrcb_type_23_error
 
struct  ipr_hostrcb_type_04_error
 
struct  ipr_hostrcb_type_14_error
 
struct  ipr_hostrcb_type_24_error
 
struct  ipr_hostrcb_type_07_error
 
struct  ipr_hostrcb_type_17_error
 
struct  ipr_hostrcb_config_element
 
struct  ipr_hostrcb64_config_element
 
struct  ipr_hostrcb_fabric_desc
 
struct  ipr_hostrcb64_fabric_desc
 
struct  ipr_hostrcb_type_20_error
 
struct  ipr_hostrcb_type_30_error
 
struct  ipr_hostrcb_error
 
struct  ipr_hostrcb64_error
 
struct  ipr_hostrcb_raw
 
struct  ipr_hcam
 
struct  ipr_hostrcb
 
struct  ipr_sdt_entry
 
struct  ipr_sdt_header
 
struct  ipr_sdt
 
struct  ipr_uc_sdt
 
struct  ipr_bus_attributes
 
struct  ipr_sata_port
 
struct  ipr_resource_entry
 
struct  ipr_resource_hdr
 
struct  ipr_misc_cbs
 
struct  ipr_interrupt_offsets
 
struct  ipr_interrupts
 
struct  ipr_chip_cfg_t
 
struct  ipr_chip_t
 
struct  ipr_trace_entry
 
struct  ipr_sglist
 
struct  ipr_ioa_cfg
 
struct  ipr_cmnd
 
struct  ipr_ses_table_entry
 
struct  ipr_dump_header
 
struct  ipr_dump_entry_header
 
struct  ipr_dump_location_entry
 
struct  ipr_dump_trace_entry
 
struct  ipr_dump_version_entry
 
struct  ipr_dump_ioa_type_entry
 
struct  ipr_driver_dump
 
struct  ipr_ioa_dump
 
struct  ipr_dump
 
struct  ipr_error_table_t
 
struct  ipr_software_inq_lid_info
 
struct  ipr_ucode_image_header
 

Macros

#define IPR_DRIVER_VERSION   "2.5.4"
 
#define IPR_DRIVER_DATE   "(July 11, 2012)"
 
#define IPR_MAX_CMD_PER_LUN   6
 
#define IPR_MAX_CMD_PER_ATA_LUN   1
 
#define IPR_NUM_BASE_CMD_BLKS   (ioa_cfg->max_cmds)
 
#define PCI_DEVICE_ID_IBM_OBSIDIAN_E   0x0339
 
#define PCI_DEVICE_ID_IBM_CROC_FPGA_E2   0x033D
 
#define PCI_DEVICE_ID_IBM_CROCODILE   0x034A
 
#define IPR_SUBS_DEV_ID_2780   0x0264
 
#define IPR_SUBS_DEV_ID_5702   0x0266
 
#define IPR_SUBS_DEV_ID_5703   0x0278
 
#define IPR_SUBS_DEV_ID_572E   0x028D
 
#define IPR_SUBS_DEV_ID_573E   0x02D3
 
#define IPR_SUBS_DEV_ID_573D   0x02D4
 
#define IPR_SUBS_DEV_ID_571A   0x02C0
 
#define IPR_SUBS_DEV_ID_571B   0x02BE
 
#define IPR_SUBS_DEV_ID_571E   0x02BF
 
#define IPR_SUBS_DEV_ID_571F   0x02D5
 
#define IPR_SUBS_DEV_ID_572A   0x02C1
 
#define IPR_SUBS_DEV_ID_572B   0x02C2
 
#define IPR_SUBS_DEV_ID_572F   0x02C3
 
#define IPR_SUBS_DEV_ID_574E   0x030A
 
#define IPR_SUBS_DEV_ID_575B   0x030D
 
#define IPR_SUBS_DEV_ID_575C   0x0338
 
#define IPR_SUBS_DEV_ID_57B3   0x033A
 
#define IPR_SUBS_DEV_ID_57B7   0x0360
 
#define IPR_SUBS_DEV_ID_57B8   0x02C2
 
#define IPR_SUBS_DEV_ID_57B4   0x033B
 
#define IPR_SUBS_DEV_ID_57B2   0x035F
 
#define IPR_SUBS_DEV_ID_57C3   0x0353
 
#define IPR_SUBS_DEV_ID_57C4   0x0354
 
#define IPR_SUBS_DEV_ID_57C6   0x0357
 
#define IPR_SUBS_DEV_ID_57CC   0x035C
 
#define IPR_SUBS_DEV_ID_57B5   0x033C
 
#define IPR_SUBS_DEV_ID_57CE   0x035E
 
#define IPR_SUBS_DEV_ID_57B1   0x0355
 
#define IPR_SUBS_DEV_ID_574D   0x0356
 
#define IPR_SUBS_DEV_ID_57C8   0x035D
 
#define IPR_NAME   "ipr"
 
#define IPR_RC_JOB_CONTINUE   1
 
#define IPR_RC_JOB_RETURN   2
 
#define IPR_IOASC_NR_INIT_CMD_REQUIRED   0x02040200
 
#define IPR_IOASC_NR_IOA_RESET_REQUIRED   0x02048000
 
#define IPR_IOASC_SYNC_REQUIRED   0x023f0000
 
#define IPR_IOASC_MED_DO_NOT_REALLOC   0x03110C00
 
#define IPR_IOASC_HW_SEL_TIMEOUT   0x04050000
 
#define IPR_IOASC_HW_DEV_BUS_STATUS   0x04448500
 
#define IPR_IOASC_IOASC_MASK   0xFFFFFF00
 
#define IPR_IOASC_SCSI_STATUS_MASK   0x000000FF
 
#define IPR_IOASC_IR_INVALID_REQ_TYPE_OR_PKT   0x05240000
 
#define IPR_IOASC_IR_RESOURCE_HANDLE   0x05250000
 
#define IPR_IOASC_IR_NO_CMDS_TO_2ND_IOA   0x05258100
 
#define IPR_IOASA_IR_DUAL_IOA_DISABLED   0x052C8000
 
#define IPR_IOASC_BUS_WAS_RESET   0x06290000
 
#define IPR_IOASC_BUS_WAS_RESET_BY_OTHER   0x06298000
 
#define IPR_IOASC_ABORTED_CMD_TERM_BY_HOST   0x0B5A0000
 
#define IPR_FIRST_DRIVER_IOASC   0x10000000
 
#define IPR_IOASC_IOA_WAS_RESET   0x10000001
 
#define IPR_IOASC_PCI_ACCESS_ERROR   0x10000002
 
#define IPR_USE_LONG_TRANSOP_TIMEOUT   0x00000001
 
#define IPR_USE_PCI_WARM_RESET   0x00000002
 
#define IPR_DEFAULT_MAX_ERROR_DUMP   984
 
#define IPR_NUM_LOG_HCAMS   2
 
#define IPR_NUM_CFG_CHG_HCAMS   2
 
#define IPR_NUM_HCAMS   (IPR_NUM_LOG_HCAMS + IPR_NUM_CFG_CHG_HCAMS)
 
#define IPR_MAX_SIS64_TARGETS_PER_BUS   1024
 
#define IPR_MAX_SIS64_LUNS_PER_TARGET   0xffffffff
 
#define IPR_MAX_NUM_TARGETS_PER_BUS   256
 
#define IPR_MAX_NUM_LUNS_PER_TARGET   256
 
#define IPR_MAX_NUM_VSET_LUNS_PER_TARGET   8
 
#define IPR_VSET_BUS   0xff
 
#define IPR_IOA_BUS   0xff
 
#define IPR_IOA_TARGET   0xff
 
#define IPR_IOA_LUN   0xff
 
#define IPR_MAX_NUM_BUSES   16
 
#define IPR_MAX_BUS_TO_SCAN   IPR_MAX_NUM_BUSES
 
#define IPR_NUM_RESET_RELOAD_RETRIES   3
 
#define IPR_NUM_INTERNAL_CMD_BLKS
 
#define IPR_MAX_COMMANDS   100
 
#define IPR_NUM_CMD_BLKS
 
#define IPR_MAX_PHYSICAL_DEVS   192
 
#define IPR_DEFAULT_SIS64_DEVS   1024
 
#define IPR_MAX_SIS64_DEVS   4096
 
#define IPR_MAX_SGLIST   64
 
#define IPR_IOA_MAX_SECTORS   32767
 
#define IPR_VSET_MAX_SECTORS   512
 
#define IPR_MAX_CDB_LEN   16
 
#define IPR_MAX_HRRQ_RETRIES   3
 
#define IPR_DEFAULT_BUS_WIDTH   16
 
#define IPR_80MBs_SCSI_RATE   ((80 * 10) / (IPR_DEFAULT_BUS_WIDTH / 8))
 
#define IPR_U160_SCSI_RATE   ((160 * 10) / (IPR_DEFAULT_BUS_WIDTH / 8))
 
#define IPR_U320_SCSI_RATE   ((320 * 10) / (IPR_DEFAULT_BUS_WIDTH / 8))
 
#define IPR_MAX_SCSI_RATE(width)   ((320 * 10) / ((width) / 8))
 
#define IPR_IOA_RES_HANDLE   0xffffffff
 
#define IPR_INVALID_RES_HANDLE   0
 
#define IPR_IOA_RES_ADDR   0x00ffffff
 
#define IPR_QUERY_RSRC_STATE   0xC2
 
#define IPR_RESET_DEVICE   0xC3
 
#define IPR_RESET_TYPE_SELECT   0x80
 
#define IPR_LUN_RESET   0x40
 
#define IPR_TARGET_RESET   0x20
 
#define IPR_BUS_RESET   0x10
 
#define IPR_ATA_PHY_RESET   0x80
 
#define IPR_ID_HOST_RR_Q   0xC4
 
#define IPR_QUERY_IOA_CONFIG   0xC5
 
#define IPR_CANCEL_ALL_REQUESTS   0xCE
 
#define IPR_HOST_CONTROLLED_ASYNC   0xCF
 
#define IPR_HCAM_CDB_OP_CODE_CONFIG_CHANGE   0x01
 
#define IPR_HCAM_CDB_OP_CODE_LOG_DATA   0x02
 
#define IPR_SET_SUPPORTED_DEVICES   0xFB
 
#define IPR_SET_ALL_SUPPORTED_DEVICES   0x80
 
#define IPR_IOA_SHUTDOWN   0xF7
 
#define IPR_WR_BUF_DOWNLOAD_AND_SAVE   0x05
 
#define IPR_SHUTDOWN_TIMEOUT   (ipr_fastfail ? 60 * HZ : 10 * 60 * HZ)
 
#define IPR_VSET_RW_TIMEOUT   (ipr_fastfail ? 30 * HZ : 2 * 60 * HZ)
 
#define IPR_ABBREV_SHUTDOWN_TIMEOUT   (10 * HZ)
 
#define IPR_DUAL_IOA_ABBR_SHUTDOWN_TO   (2 * 60 * HZ)
 
#define IPR_DEVICE_RESET_TIMEOUT   (ipr_fastfail ? 10 * HZ : 30 * HZ)
 
#define IPR_CANCEL_ALL_TIMEOUT   (ipr_fastfail ? 10 * HZ : 30 * HZ)
 
#define IPR_ABORT_TASK_TIMEOUT   (ipr_fastfail ? 10 * HZ : 30 * HZ)
 
#define IPR_INTERNAL_TIMEOUT   (ipr_fastfail ? 10 * HZ : 30 * HZ)
 
#define IPR_WRITE_BUFFER_TIMEOUT   (30 * 60 * HZ)
 
#define IPR_SET_SUP_DEVICE_TIMEOUT   (2 * 60 * HZ)
 
#define IPR_REQUEST_SENSE_TIMEOUT   (10 * HZ)
 
#define IPR_OPERATIONAL_TIMEOUT   (5 * 60)
 
#define IPR_LONG_OPERATIONAL_TIMEOUT   (12 * 60)
 
#define IPR_WAIT_FOR_RESET_TIMEOUT   (2 * HZ)
 
#define IPR_CHECK_FOR_RESET_TIMEOUT   (HZ / 10)
 
#define IPR_WAIT_FOR_BIST_TIMEOUT   (2 * HZ)
 
#define IPR_PCI_RESET_TIMEOUT   (HZ / 2)
 
#define IPR_SIS32_DUMP_TIMEOUT   (15 * HZ)
 
#define IPR_SIS64_DUMP_TIMEOUT   (40 * HZ)
 
#define IPR_DUMP_DELAY_SECONDS   4
 
#define IPR_DUMP_DELAY_TIMEOUT   (IPR_DUMP_DELAY_SECONDS * HZ)
 
#define IPR_VENDOR_ID_LEN   8
 
#define IPR_PROD_ID_LEN   16
 
#define IPR_SERIAL_NUM_LEN   8
 
#define IPR_FMT2_MBX_ADDR_MASK   0x0fffffff
 
#define IPR_FMT2_MBX_BAR_SEL_MASK   0xf0000000
 
#define IPR_FMT2_MKR_BAR_SEL_SHIFT   28
 
#define IPR_GET_FMT2_BAR_SEL(mbx)   (((mbx) & IPR_FMT2_MBX_BAR_SEL_MASK) >> IPR_FMT2_MKR_BAR_SEL_SHIFT)
 
#define IPR_SDT_FMT2_BAR0_SEL   0x0
 
#define IPR_SDT_FMT2_BAR1_SEL   0x1
 
#define IPR_SDT_FMT2_BAR2_SEL   0x2
 
#define IPR_SDT_FMT2_BAR3_SEL   0x3
 
#define IPR_SDT_FMT2_BAR4_SEL   0x4
 
#define IPR_SDT_FMT2_BAR5_SEL   0x5
 
#define IPR_SDT_FMT2_EXP_ROM_SEL   0x8
 
#define IPR_FMT2_SDT_READY_TO_USE   0xC4D4E3F2
 
#define IPR_FMT3_SDT_READY_TO_USE   0xC4D4E3F3
 
#define IPR_DOORBELL   0x82800000
 
#define IPR_RUNTIME_RESET   0x40000000
 
#define IPR_IPL_INIT_MIN_STAGE_TIME   5
 
#define IPR_IPL_INIT_DEFAULT_STAGE_TIME   15
 
#define IPR_IPL_INIT_STAGE_UNKNOWN   0x0
 
#define IPR_IPL_INIT_STAGE_TRANSOP   0xB0000000
 
#define IPR_IPL_INIT_STAGE_MASK   0xff000000
 
#define IPR_IPL_INIT_STAGE_TIME_MASK   0x0000ffff
 
#define IPR_PCII_IPL_STAGE_CHANGE   (0x80000000 >> 0)
 
#define IPR_PCII_IOA_TRANS_TO_OPER   (0x80000000 >> 0)
 
#define IPR_PCII_IOARCB_XFER_FAILED   (0x80000000 >> 3)
 
#define IPR_PCII_IOA_UNIT_CHECKED   (0x80000000 >> 4)
 
#define IPR_PCII_NO_HOST_RRQ   (0x80000000 >> 5)
 
#define IPR_PCII_CRITICAL_OPERATION   (0x80000000 >> 6)
 
#define IPR_PCII_IO_DEBUG_ACKNOWLEDGE   (0x80000000 >> 7)
 
#define IPR_PCII_IOARRIN_LOST   (0x80000000 >> 27)
 
#define IPR_PCII_MMIO_ERROR   (0x80000000 >> 28)
 
#define IPR_PCII_PROC_ERR_STATE   (0x80000000 >> 29)
 
#define IPR_PCII_HRRQ_UPDATED   (0x80000000 >> 30)
 
#define IPR_PCII_CORE_ISSUED_RST_REQ   (0x80000000 >> 31)
 
#define IPR_PCII_ERROR_INTERRUPTS
 
#define IPR_PCII_OPER_INTERRUPTS   (IPR_PCII_ERROR_INTERRUPTS | IPR_PCII_HRRQ_UPDATED | IPR_PCII_IOA_TRANS_TO_OPER)
 
#define IPR_UPROCI_RESET_ALERT   (0x80000000 >> 7)
 
#define IPR_UPROCI_IO_DEBUG_ALERT   (0x80000000 >> 9)
 
#define IPR_UPROCI_SIS64_START_BIST   (0x80000000 >> 23)
 
#define IPR_LDUMP_MAX_LONG_ACK_DELAY_IN_USEC   200000 /* 200 ms */
 
#define IPR_LDUMP_MAX_SHORT_ACK_DELAY_IN_USEC   200000 /* 200 ms */
 
#define IPR_FMT2_MAX_IOA_DUMP_SIZE   (4 * 1024 * 1024)
 
#define IPR_FMT3_MAX_IOA_DUMP_SIZE   (32 * 1024 * 1024)
 
#define IPR_FMT2_NUM_SDT_ENTRIES   511
 
#define IPR_FMT3_NUM_SDT_ENTRIES   0xFFF
 
#define IPR_FMT2_MAX_NUM_DUMP_PAGES   ((IPR_FMT2_MAX_IOA_DUMP_SIZE / PAGE_SIZE) + 1)
 
#define IPR_FMT3_MAX_NUM_DUMP_PAGES   ((IPR_FMT3_MAX_IOA_DUMP_SIZE / PAGE_SIZE) + 1)
 
#define IPR_NUM_IOADL_ENTRIES   IPR_MAX_SGLIST
 
#define IPR_GET_PHYS_LOC(res_addr)   (((res_addr).bus << 16) | ((res_addr).target << 8) | (res_addr).lun)
 
#define IPR_STD_INQ_PERI_QUAL(peri)   ((peri) >> 5)
 
#define IPR_STD_INQ_PERI_DEV_TYPE(peri)   ((peri) & 0x1F)
 
#define IPR_STD_INQ_REMOVEABLE_MEDIUM   0x80
 
#define IPR_IS_DASD_DEVICE(std_inq)
 
#define IPR_IS_SES_DEVICE(std_inq)   (IPR_STD_INQ_PERI_DEV_TYPE((std_inq).peri_qual_dev_type) == TYPE_ENCLOSURE)
 
#define IPR_RES_TYPE_AF_DASD   0x00
 
#define IPR_RES_TYPE_GENERIC_SCSI   0x01
 
#define IPR_RES_TYPE_VOLUME_SET   0x02
 
#define IPR_RES_TYPE_REMOTE_AF_DASD   0x03
 
#define IPR_RES_TYPE_GENERIC_ATA   0x04
 
#define IPR_RES_TYPE_ARRAY   0x05
 
#define IPR_RES_TYPE_IOAFP   0xff
 
#define IPR_PROTO_SATA   0x02
 
#define IPR_PROTO_SATA_ATAPI   0x03
 
#define IPR_PROTO_SAS_STP   0x06
 
#define IPR_PROTO_SAS_STP_ATAPI   0x07
 
#define IPR_IS_IOA_RESOURCE   0x80
 
#define IPR_QUEUEING_MODEL(res)   ((((res)->flags) & 0x70) >> 4)
 
#define IPR_QUEUE_FROZEN_MODEL   0
 
#define IPR_QUEUE_NACA_MODEL   1
 
#define IPR_QUEUEING_MODEL64(res)   ((((res)->res_flags) & 0x7000) >> 12)
 
#define IPR_MAX_RES_PATH_LENGTH   24
 
#define IPR_UCODE_DOWNLOAD_REQ   0x10
 
#define IPR_RQTYPE_SCSICDB   0x00
 
#define IPR_RQTYPE_IOACMD   0x01
 
#define IPR_RQTYPE_HCAM   0x02
 
#define IPR_RQTYPE_ATA_PASSTHRU   0x04
 
#define IPR_FLAGS_HI_WRITE_NOT_READ   0x80
 
#define IPR_FLAGS_HI_NO_ULEN_CHK   0x20
 
#define IPR_FLAGS_HI_SYNC_OVERRIDE   0x10
 
#define IPR_FLAGS_HI_SYNC_COMPLETE   0x08
 
#define IPR_FLAGS_HI_NO_LINK_DESC   0x04
 
#define IPR_FLAGS_LO_ALIGNED_BFR   0x20
 
#define IPR_FLAGS_LO_DELAY_AFTER_RST   0x10
 
#define IPR_FLAGS_LO_UNTAGGED_TASK   0x00
 
#define IPR_FLAGS_LO_SIMPLE_TASK   0x02
 
#define IPR_FLAGS_LO_ORDERED_TASK   0x04
 
#define IPR_FLAGS_LO_HEAD_OF_Q_TASK   0x06
 
#define IPR_FLAGS_LO_ACA_TASK   0x08
 
#define IPR_ATA_FLAG_PACKET_CMD   0x80
 
#define IPR_ATA_FLAG_XFER_TYPE_DMA   0x40
 
#define IPR_ATA_FLAG_STATUS_ON_GOOD_COMPLETION   0x20
 
#define IPR_IOADL_FLAGS_MASK   0xff000000
 
#define IPR_IOADL_GET_FLAGS(x)   (be32_to_cpu(x) & IPR_IOADL_FLAGS_MASK)
 
#define IPR_IOADL_DATA_LEN_MASK   0x00ffffff
 
#define IPR_IOADL_GET_DATA_LEN(x)   (be32_to_cpu(x) & IPR_IOADL_DATA_LEN_MASK)
 
#define IPR_IOADL_FLAGS_READ   0x48000000
 
#define IPR_IOADL_FLAGS_READ_LAST   0x49000000
 
#define IPR_IOADL_FLAGS_WRITE   0x68000000
 
#define IPR_IOADL_FLAGS_WRITE_LAST   0x69000000
 
#define IPR_IOADL_FLAGS_LAST   0x01000000
 
#define IPR_IOASC_SENSE_KEY(ioasc)   ((ioasc) >> 24)
 
#define IPR_IOASC_SENSE_CODE(ioasc)   (((ioasc) & 0x00ff0000) >> 16)
 
#define IPR_IOASC_SENSE_QUAL(ioasc)   (((ioasc) & 0x0000ff00) >> 8)
 
#define IPR_IOASC_SENSE_STATUS(ioasc)   ((ioasc) & 0x000000ff)
 
#define IPR_NO_ILID   0
 
#define IPR_DRIVER_ILID   0xffffffff
 
#define IPR_ADDITIONAL_STATUS_FMT   0x80000000
 
#define IPR_AUTOSENSE_VALID   0x40000000
 
#define IPR_ATA_DEVICE_WAS_RESET   0x20000000
 
#define IPR_IOASC_SPECIFIC_MASK   0x00ffffff
 
#define IPR_FIELD_POINTER_VALID   (0x80000000 >> 8)
 
#define IPR_FIELD_POINTER_MASK   0x0000ffff
 
#define IPR_MODE_PAGE_PS   0x80
 
#define IPR_GET_MODE_PAGE_CODE(hdr)   ((hdr)->ps_page_code & 0x3F)
 
#define IPR_SCSI_ATTR_ENABLE_QAS   0x80
 
#define IPR_SCSI_ATTR_DISABLE_QAS   0x40
 
#define IPR_SCSI_ATTR_QAS_MASK   0xC0
 
#define IPR_SCSI_ATTR_ENABLE_TM   0x20
 
#define IPR_SCSI_ATTR_NO_TERM_PWR   0x10
 
#define IPR_SCSI_ATTR_TM_SUPPORTED   0x08
 
#define IPR_SCSI_ATTR_LVD_TO_SE_NOT_ALLOWED   0x04
 
#define IPR_EXTENDED_RESET_DELAY   7
 
#define IPR_ENABLE_DUAL_IOA_AF   0x80
 
#define IPR_CAP_DUAL_IOA_RAID   0x80
 
#define IPR_INQUIRY_PAGE0_ENTRIES   20
 
#define IPR_INVALID_ARRAY_DEV_NUM   0xff
 
#define IPR_PATH_CFG_TYPE_MASK   0xF0
 
#define IPR_PATH_CFG_NOT_EXIST   0x00
 
#define IPR_PATH_CFG_IOA_PORT   0x10
 
#define IPR_PATH_CFG_EXP_PORT   0x20
 
#define IPR_PATH_CFG_DEVICE_PORT   0x30
 
#define IPR_PATH_CFG_DEVICE_LUN   0x40
 
#define IPR_PATH_CFG_STATUS_MASK   0x0F
 
#define IPR_PATH_CFG_NO_PROB   0x00
 
#define IPR_PATH_CFG_DEGRADED   0x01
 
#define IPR_PATH_CFG_FAILED   0x02
 
#define IPR_PATH_CFG_SUSPECT   0x03
 
#define IPR_PATH_NOT_DETECTED   0x04
 
#define IPR_PATH_INCORRECT_CONN   0x05
 
#define IPR_PHY_LINK_RATE_MASK   0x0F
 
#define IPR_DESCRIPTOR_MASK   0xC0
 
#define IPR_DESCRIPTOR_SIS64   0x00
 
#define IPR_PATH_ACTIVE_MASK   0xC0
 
#define IPR_PATH_NO_INFO   0x00
 
#define IPR_PATH_ACTIVE   0x40
 
#define IPR_PATH_NOT_ACTIVE   0x80
 
#define IPR_PATH_STATE_MASK   0x0F
 
#define IPR_PATH_STATE_NO_INFO   0x00
 
#define IPR_PATH_HEALTHY   0x01
 
#define IPR_PATH_DEGRADED   0x02
 
#define IPR_PATH_FAILED   0x03
 
#define for_each_fabric_cfg(fabric, cfg)
 
#define IPR_HOST_RCB_OP_CODE_CONFIG_CHANGE   0xE1
 
#define IPR_HOST_RCB_OP_CODE_LOG_DATA   0xE2
 
#define IPR_HOST_RCB_NOTIF_TYPE_EXISTING_CHANGED   0x00
 
#define IPR_HOST_RCB_NOTIF_TYPE_NEW_ENTRY   0x01
 
#define IPR_HOST_RCB_NOTIF_TYPE_REM_ENTRY   0x02
 
#define IPR_HOST_RCB_NOTIF_TYPE_ERROR_LOG_ENTRY   0x10
 
#define IPR_HOST_RCB_NOTIF_TYPE_INFORMATION_ENTRY   0x11
 
#define IPR_HOST_RCB_NO_NOTIFICATIONS_LOST   0
 
#define IPR_HOST_RCB_NOTIFICATIONS_LOST   0x80
 
#define IPR_HOSTRCB_INTERNAL_OPER   0x80
 
#define IPR_HOSTRCB_ERR_RESP_SENT   0x40
 
#define IPR_HOST_RCB_OVERLAY_ID_1   0x01
 
#define IPR_HOST_RCB_OVERLAY_ID_2   0x02
 
#define IPR_HOST_RCB_OVERLAY_ID_3   0x03
 
#define IPR_HOST_RCB_OVERLAY_ID_4   0x04
 
#define IPR_HOST_RCB_OVERLAY_ID_6   0x06
 
#define IPR_HOST_RCB_OVERLAY_ID_7   0x07
 
#define IPR_HOST_RCB_OVERLAY_ID_12   0x12
 
#define IPR_HOST_RCB_OVERLAY_ID_13   0x13
 
#define IPR_HOST_RCB_OVERLAY_ID_14   0x14
 
#define IPR_HOST_RCB_OVERLAY_ID_16   0x16
 
#define IPR_HOST_RCB_OVERLAY_ID_17   0x17
 
#define IPR_HOST_RCB_OVERLAY_ID_20   0x20
 
#define IPR_HOST_RCB_OVERLAY_ID_23   0x23
 
#define IPR_HOST_RCB_OVERLAY_ID_24   0x24
 
#define IPR_HOST_RCB_OVERLAY_ID_26   0x26
 
#define IPR_HOST_RCB_OVERLAY_ID_30   0x30
 
#define IPR_HOST_RCB_OVERLAY_ID_DEFAULT   0xFF
 
#define IPR_SDT_ENDIAN   0x80
 
#define IPR_SDT_VALID_ENTRY   0x20
 
#define IPR_ARRAY_VIRTUAL_BUS   0x1
 
#define IPR_VSET_VIRTUAL_BUS   0x2
 
#define IPR_IOAFP_VIRTUAL_BUS   0x3
 
#define IPR_GET_RES_PHYS_LOC(res)   (((res)->bus << 24) | ((res)->target << 8) | (res)->lun)
 
#define IPR_ENDIAN_SWAP_KEY   0x00080800
 
#define IPR_USE_LSI   0x00
 
#define IPR_USE_MSI   0x01
 
#define IPR_SIS32   0x00
 
#define IPR_SIS64   0x01
 
#define IPR_PCI_CFG   0x00
 
#define IPR_MMIO   0x01
 
#define IPR_TRACE_START   0x00
 
#define IPR_TRACE_FINISH   0xff
 
#define IPR_EYECATCHER   "iprcfg"
 
#define IPR_MAX_LOG_LEVEL   4
 
#define IPR_DEFAULT_LOG_LEVEL   2
 
#define IPR_NUM_TRACE_INDEX_BITS   8
 
#define IPR_NUM_TRACE_ENTRIES   (1 << IPR_NUM_TRACE_INDEX_BITS)
 
#define IPR_TRACE_SIZE   (sizeof(struct ipr_trace_entry) * IPR_NUM_TRACE_ENTRIES)
 
#define IPR_TRACE_START_LABEL   "trace"
 
#define IPR_FREEQ_LABEL   "free-q"
 
#define IPR_PENDQ_LABEL   "pend-q"
 
#define IPR_CFG_TBL_START   "cfg"
 
#define IPR_RES_TABLE_LABEL   "res_tbl"
 
#define IPR_HCAM_LABEL   "hcams"
 
#define IPR_HRRQ_REQ_RESP_HANDLE_MASK   0xfffffffc
 
#define IPR_HRRQ_RESP_BIT_SET   0x00000002
 
#define IPR_HRRQ_TOGGLE_BIT   0x00000001
 
#define IPR_HRRQ_REQ_RESP_HANDLE_SHIFT   2
 
#define IPR_CMD_LABEL   "ipr_cmd"
 
#define IPR_DUMP_EYE_CATCHER   0xC5D4E3F2
 
#define IPR_DUMP_STATUS_SUCCESS   0
 
#define IPR_DUMP_STATUS_QUAL_SUCCESS   2
 
#define IPR_DUMP_STATUS_FAILED   0xffffffff
 
#define IPR_DUMP_OS_LINUX   0x4C4E5558
 
#define IPR_DUMP_DRIVER_NAME   0x49505232
 
#define IPR_DUMP_EYE_CATCHER   0xC5D4E3F2
 
#define IPR_DUMP_DATA_TYPE_ASCII   0x41534349
 
#define IPR_DUMP_DATA_TYPE_BINARY   0x42494E41
 
#define IPR_DUMP_IOA_DUMP_ID   0x494F4131
 
#define IPR_DUMP_LOCATION_ID   0x4C4F4341
 
#define IPR_DUMP_TRACE_ID   0x54524143
 
#define IPR_DUMP_DRIVER_VERSION_ID   0x44525652
 
#define IPR_DUMP_DRIVER_TYPE_ID   0x54595045
 
#define IPR_DUMP_IOA_CTRL_BLK   0x494F4342
 
#define IPR_DUMP_PEND_OPS   0x414F5053
 
#define IPR_DBG_CMD(CMD)   if (ipr_debug) { CMD; }
 
#define ipr_create_trace_file(kobj, attr)   0
 
#define ipr_remove_trace_file(kobj, attr)   do { } while(0)
 
#define ipr_create_dump_file(kobj, attr)   0
 
#define ipr_remove_dump_file(kobj, attr)   do { } while(0)
 
#define ipr_err(...)   printk(KERN_ERR IPR_NAME ": "__VA_ARGS__)
 
#define ipr_info(...)   printk(KERN_INFO IPR_NAME ": "__VA_ARGS__)
 
#define ipr_dbg(...)   IPR_DBG_CMD(printk(KERN_INFO IPR_NAME ": "__VA_ARGS__))
 
#define ipr_res_printk(level, ioa_cfg, bus, target, lun, fmt,...)
 
#define ipr_res_err(ioa_cfg, res, fmt,...)   ipr_res_printk(KERN_ERR, ioa_cfg, (res)->bus, (res)->target, (res)->lun, fmt, ##__VA_ARGS__)
 
#define ipr_ra_printk(level, ioa_cfg, ra, fmt,...)
 
#define ipr_ra_err(ioa_cfg, ra, fmt,...)   ipr_ra_printk(KERN_ERR, ioa_cfg, ra, fmt, ##__VA_ARGS__)
 
#define ipr_phys_res_err(ioa_cfg, res, fmt,...)
 
#define ipr_hcam_err(hostrcb, fmt,...)
 
#define ipr_trace
 
#define ENTER   IPR_DBG_CMD(printk(KERN_INFO IPR_NAME": Entering %s\n", __func__))
 
#define LEAVE   IPR_DBG_CMD(printk(KERN_INFO IPR_NAME": Leaving %s\n", __func__))
 
#define ipr_err_separator   ipr_err("----------------------------------------------------------\n")
 

Enumerations

enum  ipr_shutdown_type { IPR_SHUTDOWN_NORMAL = 0x00, IPR_SHUTDOWN_PREPARE_FOR_NORMAL = 0x40, IPR_SHUTDOWN_ABBREV = 0x80, IPR_SHUTDOWN_NONE = 0x100 }
 
enum  ipr_sdt_state {
  INACTIVE, WAIT_FOR_DUMP, GET_DUMP, READ_DUMP,
  ABORT_DUMP, DUMP_OBTAINED
}
 

Functions

struct ipr_res_addr __attribute__ ((packed, aligned(4)))
 
struct ipr_std_inq_vpids __attribute__ ((packed))
 
struct ipr_config_table_entry64 __attribute__ ((packed, aligned(8)))
 
struct ipr_ioadl64_desc __attribute__ ((packed, aligned(16)))
 

Variables

u8 reserved
 
u8 bus
 
u8 target
 
u8 lun
 
u8 vendor_id [IPR_VENDOR_ID_LEN]
 
u8 product_id [IPR_PROD_ID_LEN]
 
struct ipr_std_inq_vpids vpids
 
u8 sn [IPR_SERIAL_NUM_LEN]
 
struct ipr_vpd vpd
 
__be32 wwid [2]
 
u8 peri_qual_dev_type
 
u8 removeable_medium_rsvd
 
u8 version
 
u8 aen_naca_fmt
 
u8 additional_len
 
u8 sccs_rsvd
 
u8 bq_enc_multi
 
u8 sync_cmdq_flags
 
u8 ros_rsvd_ram_rsvd [4]
 
u8 serial_num [IPR_SERIAL_NUM_LEN]
 
u8 proto
 
u8 array_id
 
u8 flags
 
u8 rsvd_subtype
 
struct ipr_res_addr res_addr
 
__be32 res_handle
 
__be32 lun_wwn [2]
 
struct ipr_std_inq_data std_inq_data
 
u8 res_type
 
u8 vset_num
 
__be16 res_flags
 
u8 dev_id_type
 
__be64 dev_id
 
__be64 res_path
 
u8 reserved2 [4]
 
__be64 reserved3 [2]
 
u8 reserved4 [8]
 
u8 num_entries
 
struct ipr_config_table_hdr hdr
 
struct ipr_config_table_entry dev [0]
 
struct ipr_config_table_hdr64 hdr64
 
struct
ipr_config_table_entry_wrapper 
__attribute__
 
union {
   struct ipr_config_table_entry   cfgte
 
   struct ipr_config_table_entry64   cfgte64
 
u
 
__be16 data_length
 
u8 num_records
 
u8 request_type
 
u8 flags_hi
 
u8 flags_lo
 
u8 cdb [16]
 
__be16 timeout
 
__be16 data
 
u8 feature
 
u8 nsect
 
u8 lbal
 
u8 lbam
 
u8 lbah
 
u8 device
 
u8 command
 
u8 hob_feature
 
u8 hob_nsect
 
u8 hob_lbal
 
u8 hob_lbam
 
u8 hob_lbah
 
u8 ctl
 
__be32 flags_and_data_len
 
__be32 address
 
__be32 data_len
 
struct ipr_ioarcb_ata_regs regs
 
struct ipr_ioadl64_desc ioadl64 [IPR_NUM_IOADL_ENTRIES]
 
__be64 ioasa_host_pci_addr
 
__be64 data_ioadl_addr
 
__be32 ext_control_buf [4]
 
union {
   __be32   ioarcb_host_pci_addr
 
   __be64   ioarcb_host_pci_addr64
 
a
 
__be32 host_response_handle
 
__be32 reserved1
 
__be32 data_transfer_length
 
__be32 read_data_transfer_length
 
__be32 write_ioadl_addr
 
__be32 ioadl_len
 
__be32 read_ioadl_addr
 
__be32 read_ioadl_len
 
__be16 ioasa_len
 
struct ipr_cmd_pkt cmd_pkt
 
__be16 add_cmd_parms_offset
 
__be16 add_cmd_parms_len
 
__be32 failing_lba_hi
 
__be32 failing_lba_lo
 
__be32 failing_lba
 
u8 end_state
 
u8 bus_phase
 
__be32 ioa_data [2]
 
u8 error
 
u8 status
 
u8 alt_status
 
__be32 ioasc
 
__be16 ret_stat_len
 
__be16 avail_stat_len
 
__be32 residual_data_len
 
__be32 ilid
 
__be32 fd_ioasc
 
__be32 fd_phys_locator
 
__be32 fd_res_handle
 
__be32 ioasc_specific
 
struct ipr_auto_sense auto_sense
 
u8 fd_res_path [8]
 
u8 length
 
u8 medium_type
 
u8 device_spec_parms
 
u8 block_desc_len
 
u8 ps_page_code
 
u8 page_length
 
u8 scsi_id
 
u8 bus_width
 
u8 extended_reset_delay
 
__be32 max_xfer_rate
 
u8 spinup_delay
 
u8 entry_length
 
u8 ascii_part_num [12]
 
u8 ascii_plant_code [4]
 
u8 page_code
 
u8 ascii_len
 
u8 load_id [4]
 
u8 major_release
 
u8 card_type
 
u8 minor_release [2]
 
u8 ptf_number [4]
 
u8 patch_number [4]
 
u8 sis_version [2]
 
u8 cap
 
u8 len
 
u8 page [IPR_INQUIRY_PAGE0_ENTRIES]
 
struct ipr_res_addr dev_res_addr
 
struct ipr_vpd new_vpd
 
struct ipr_vpd ioa_last_with_dev_vpd
 
struct ipr_vpd cfc_last_with_dev_vpd
 
u8 ccin [4]
 
u8 new_ccin [4]
 
struct ipr_res_addr expected_dev_res_addr
 
u8 expected_res_path [8]
 
__be32 seek_counter
 
__be32 read_counter
 
u8 sense_data [32]
 
struct ipr_vpd ioa_vpd
 
struct ipr_vpd cfc_vpd
 
struct ipr_vpd ioa_last_attached_to_cfc_vpd
 
struct ipr_vpd cfc_last_attached_to_ioa_vpd
 
__be32 errors_detected
 
__be32 errors_logged
 
struct ipr_hostrcb_array_data_entry array_member [10]
 
__be32 exposed_mode_adn
 
struct ipr_vpd incomp_dev_vpd
 
__be32 ioa_data2
 
struct ipr_hostrcb_array_data_entry array_member2 [8]
 
struct ipr_res_addr last_func_vset_res_addr
 
u8 vset_serial_num [IPR_SERIAL_NUM_LEN]
 
u8 protection_level [8]
 
u8 last_res_path [8]
 
struct ipr_ext_vpd64 array_vpd
 
u8 description [16]
 
u8 failure_reason [64]
 
u8 type_status
 
u8 cascaded_expander
 
u8 phy
 
u8 link_rate
 
u8 descriptor_id
 
u8 ioa_port
 
u8 path_state
 
struct ipr_hostrcb_config_element elem [1]
 
struct ipr_hostrcb_fabric_desc desc [1]
 
struct ipr_res_addr fd_res_addr
 
__be32 prc
 
__be32 ioa_fw_level
 
__be64 fd_dev_id
 
__be64 fd_lun
 
__be64 time_stamp
 
u8 op_code
 
u8 notify_type
 
u8 notifications_lost
 
u8 overlay_id
 
__be32 time_since_last_ioa_reset
 
__be32 start_token
 
__be32 end_token
 
u8 resv
 
__be16 priority
 
__be32 state
 
__be32 num_entries_used
 
__be32 dump_size
 
struct ipr_sdt_entry entry [IPR_FMT3_NUM_SDT_ENTRIES]
 
u32 eye_catcher
 
u32 first_entry_offset
 
u32 os
 
u32 driver_name
 
u32 num_elems
 
u32 offset
 
u32 data_type
 
u32 id
 
u8 location [20]
 
u32 trace [IPR_TRACE_SIZE/sizeof(u32)]
 
struct ipr_dump_version_entry version_entry
 
struct ipr_dump_location_entry location_entry
 
struct ipr_dump_ioa_type_entry ioa_type_entry
 
struct ipr_dump_trace_entry trace_entry
 
struct ipr_sdt sdt
 
u32 next_page_index
 
u32 page_offset
 
u32 format
 
__be32 timestamp [3]
 
__be32 header_length
 
__be32 lid_table_offset
 
char eyecatcher [16]
 
__be32 num_lids
 
struct ipr_software_inq_lid_info lid [1]
 

Macro Definition Documentation

#define ENTER   IPR_DBG_CMD(printk(KERN_INFO IPR_NAME": Entering %s\n", __func__))

Definition at line 1737 of file ipr.h.

#define for_each_fabric_cfg (   fabric,
  cfg 
)
Value:
for (cfg = (fabric)->elem; \
cfg < ((fabric)->elem + be16_to_cpu((fabric)->num_entries)); \
cfg++)

Definition at line 1025 of file ipr.h.

#define IPR_80MBs_SCSI_RATE   ((80 * 10) / (IPR_DEFAULT_BUS_WIDTH / 8))

Definition at line 171 of file ipr.h.

#define IPR_ABBREV_SHUTDOWN_TIMEOUT   (10 * HZ)

Definition at line 206 of file ipr.h.

#define IPR_ABORT_TASK_TIMEOUT   (ipr_fastfail ? 10 * HZ : 30 * HZ)

Definition at line 210 of file ipr.h.

#define IPR_ADDITIONAL_STATUS_FMT   0x80000000

Definition at line 690 of file ipr.h.

#define IPR_ARRAY_VIRTUAL_BUS   0x1

Definition at line 1208 of file ipr.h.

#define IPR_ATA_DEVICE_WAS_RESET   0x20000000

Definition at line 692 of file ipr.h.

#define IPR_ATA_FLAG_PACKET_CMD   0x80

Definition at line 517 of file ipr.h.

#define IPR_ATA_FLAG_STATUS_ON_GOOD_COMPLETION   0x20

Definition at line 519 of file ipr.h.

#define IPR_ATA_FLAG_XFER_TYPE_DMA   0x40

Definition at line 518 of file ipr.h.

#define IPR_ATA_PHY_RESET   0x80

Definition at line 189 of file ipr.h.

#define IPR_AUTOSENSE_VALID   0x40000000

Definition at line 691 of file ipr.h.

#define IPR_BUS_RESET   0x10

Definition at line 188 of file ipr.h.

#define IPR_CANCEL_ALL_REQUESTS   0xCE

Definition at line 192 of file ipr.h.

#define IPR_CANCEL_ALL_TIMEOUT   (ipr_fastfail ? 10 * HZ : 30 * HZ)

Definition at line 209 of file ipr.h.

#define IPR_CAP_DUAL_IOA_RAID   0x80

Definition at line 791 of file ipr.h.

#define IPR_CFG_TBL_START   "cfg"

Definition at line 1433 of file ipr.h.

#define IPR_CHECK_FOR_RESET_TIMEOUT   (HZ / 10)

Definition at line 218 of file ipr.h.

#define IPR_CMD_LABEL   "ipr_cmd"

Definition at line 1506 of file ipr.h.

#define ipr_create_dump_file (   kobj,
  attr 
)    0

Definition at line 1679 of file ipr.h.

#define ipr_create_trace_file (   kobj,
  attr 
)    0

Definition at line 1671 of file ipr.h.

#define ipr_dbg (   ...)    IPR_DBG_CMD(printk(KERN_INFO IPR_NAME ": "__VA_ARGS__))

Definition at line 1688 of file ipr.h.

#define IPR_DBG_CMD (   CMD)    if (ipr_debug) { CMD; }

Definition at line 1665 of file ipr.h.

#define IPR_DEFAULT_BUS_WIDTH   16

Definition at line 170 of file ipr.h.

#define IPR_DEFAULT_LOG_LEVEL   2

Definition at line 1408 of file ipr.h.

#define IPR_DEFAULT_MAX_ERROR_DUMP   984

Definition at line 132 of file ipr.h.

#define IPR_DEFAULT_SIS64_DEVS   1024

Definition at line 161 of file ipr.h.

#define IPR_DESCRIPTOR_MASK   0xC0

Definition at line 991 of file ipr.h.

#define IPR_DESCRIPTOR_SIS64   0x00

Definition at line 992 of file ipr.h.

#define IPR_DEVICE_RESET_TIMEOUT   (ipr_fastfail ? 10 * HZ : 30 * HZ)

Definition at line 208 of file ipr.h.

#define IPR_DOORBELL   0x82800000

Definition at line 250 of file ipr.h.

#define IPR_DRIVER_DATE   "(July 11, 2012)"

Definition at line 42 of file ipr.h.

#define IPR_DRIVER_ILID   0xffffffff

Definition at line 681 of file ipr.h.

#define IPR_DRIVER_VERSION   "2.5.4"

Definition at line 41 of file ipr.h.

#define IPR_DUAL_IOA_ABBR_SHUTDOWN_TO   (2 * 60 * HZ)

Definition at line 207 of file ipr.h.

#define IPR_DUMP_DATA_TYPE_ASCII   0x41534349

Definition at line 1597 of file ipr.h.

#define IPR_DUMP_DATA_TYPE_BINARY   0x42494E41

Definition at line 1598 of file ipr.h.

#define IPR_DUMP_DELAY_SECONDS   4

Definition at line 223 of file ipr.h.

#define IPR_DUMP_DELAY_TIMEOUT   (IPR_DUMP_DELAY_SECONDS * HZ)

Definition at line 224 of file ipr.h.

#define IPR_DUMP_DRIVER_NAME   0x49505232

Definition at line 1583 of file ipr.h.

#define IPR_DUMP_DRIVER_TYPE_ID   0x54595045

Definition at line 1604 of file ipr.h.

#define IPR_DUMP_DRIVER_VERSION_ID   0x44525652

Definition at line 1603 of file ipr.h.

#define IPR_DUMP_EYE_CATCHER   0xC5D4E3F2

Definition at line 1592 of file ipr.h.

#define IPR_DUMP_EYE_CATCHER   0xC5D4E3F2

Definition at line 1592 of file ipr.h.

#define IPR_DUMP_IOA_CTRL_BLK   0x494F4342

Definition at line 1605 of file ipr.h.

#define IPR_DUMP_IOA_DUMP_ID   0x494F4131

Definition at line 1600 of file ipr.h.

#define IPR_DUMP_LOCATION_ID   0x4C4F4341

Definition at line 1601 of file ipr.h.

#define IPR_DUMP_OS_LINUX   0x4C4E5558

Definition at line 1581 of file ipr.h.

#define IPR_DUMP_PEND_OPS   0x414F5053

Definition at line 1606 of file ipr.h.

#define IPR_DUMP_STATUS_FAILED   0xffffffff

Definition at line 1579 of file ipr.h.

#define IPR_DUMP_STATUS_QUAL_SUCCESS   2

Definition at line 1578 of file ipr.h.

#define IPR_DUMP_STATUS_SUCCESS   0

Definition at line 1577 of file ipr.h.

#define IPR_DUMP_TRACE_ID   0x54524143

Definition at line 1602 of file ipr.h.

#define IPR_ENABLE_DUAL_IOA_AF   0x80

Definition at line 750 of file ipr.h.

#define IPR_ENDIAN_SWAP_KEY   0x00080800

Definition at line 1275 of file ipr.h.

#define ipr_err (   ...)    printk(KERN_ERR IPR_NAME ": "__VA_ARGS__)

Definition at line 1686 of file ipr.h.

#define ipr_err_separator   ipr_err("----------------------------------------------------------\n")

Definition at line 1740 of file ipr.h.

#define IPR_EXTENDED_RESET_DELAY   7

Definition at line 748 of file ipr.h.

#define IPR_EYECATCHER   "iprcfg"

Definition at line 1374 of file ipr.h.

#define IPR_FIELD_POINTER_MASK   0x0000ffff

Definition at line 695 of file ipr.h.

#define IPR_FIELD_POINTER_VALID   (0x80000000 >> 8)

Definition at line 694 of file ipr.h.

#define IPR_FIRST_DRIVER_IOASC   0x10000000

Definition at line 124 of file ipr.h.

#define IPR_FLAGS_HI_NO_LINK_DESC   0x04

Definition at line 506 of file ipr.h.

#define IPR_FLAGS_HI_NO_ULEN_CHK   0x20

Definition at line 503 of file ipr.h.

#define IPR_FLAGS_HI_SYNC_COMPLETE   0x08

Definition at line 505 of file ipr.h.

#define IPR_FLAGS_HI_SYNC_OVERRIDE   0x10

Definition at line 504 of file ipr.h.

#define IPR_FLAGS_HI_WRITE_NOT_READ   0x80

Definition at line 502 of file ipr.h.

#define IPR_FLAGS_LO_ACA_TASK   0x08

Definition at line 515 of file ipr.h.

#define IPR_FLAGS_LO_ALIGNED_BFR   0x20

Definition at line 509 of file ipr.h.

#define IPR_FLAGS_LO_DELAY_AFTER_RST   0x10

Definition at line 510 of file ipr.h.

#define IPR_FLAGS_LO_HEAD_OF_Q_TASK   0x06

Definition at line 514 of file ipr.h.

#define IPR_FLAGS_LO_ORDERED_TASK   0x04

Definition at line 513 of file ipr.h.

#define IPR_FLAGS_LO_SIMPLE_TASK   0x02

Definition at line 512 of file ipr.h.

#define IPR_FLAGS_LO_UNTAGGED_TASK   0x00

Definition at line 511 of file ipr.h.

#define IPR_FMT2_MAX_IOA_DUMP_SIZE   (4 * 1024 * 1024)

Definition at line 290 of file ipr.h.

#define IPR_FMT2_MAX_NUM_DUMP_PAGES   ((IPR_FMT2_MAX_IOA_DUMP_SIZE / PAGE_SIZE) + 1)

Definition at line 294 of file ipr.h.

#define IPR_FMT2_MBX_ADDR_MASK   0x0fffffff

Definition at line 236 of file ipr.h.

#define IPR_FMT2_MBX_BAR_SEL_MASK   0xf0000000

Definition at line 237 of file ipr.h.

#define IPR_FMT2_MKR_BAR_SEL_SHIFT   28

Definition at line 238 of file ipr.h.

#define IPR_FMT2_NUM_SDT_ENTRIES   511

Definition at line 292 of file ipr.h.

#define IPR_FMT2_SDT_READY_TO_USE   0xC4D4E3F2

Definition at line 248 of file ipr.h.

#define IPR_FMT3_MAX_IOA_DUMP_SIZE   (32 * 1024 * 1024)

Definition at line 291 of file ipr.h.

#define IPR_FMT3_MAX_NUM_DUMP_PAGES   ((IPR_FMT3_MAX_IOA_DUMP_SIZE / PAGE_SIZE) + 1)

Definition at line 295 of file ipr.h.

#define IPR_FMT3_NUM_SDT_ENTRIES   0xFFF

Definition at line 293 of file ipr.h.

#define IPR_FMT3_SDT_READY_TO_USE   0xC4D4E3F3

Definition at line 249 of file ipr.h.

#define IPR_FREEQ_LABEL   "free-q"

Definition at line 1422 of file ipr.h.

#define IPR_GET_FMT2_BAR_SEL (   mbx)    (((mbx) & IPR_FMT2_MBX_BAR_SEL_MASK) >> IPR_FMT2_MKR_BAR_SEL_SHIFT)

Definition at line 239 of file ipr.h.

#define IPR_GET_MODE_PAGE_CODE (   hdr)    ((hdr)->ps_page_code & 0x3F)

Definition at line 714 of file ipr.h.

#define IPR_GET_PHYS_LOC (   res_addr)    (((res_addr).bus << 16) | ((res_addr).target << 8) | (res_addr).lun)

Definition at line 318 of file ipr.h.

#define IPR_GET_RES_PHYS_LOC (   res)    (((res)->bus << 24) | ((res)->target << 8) | (res)->lun)

Definition at line 1212 of file ipr.h.

#define IPR_HCAM_CDB_OP_CODE_CONFIG_CHANGE   0x01

Definition at line 194 of file ipr.h.

#define IPR_HCAM_CDB_OP_CODE_LOG_DATA   0x02

Definition at line 195 of file ipr.h.

#define ipr_hcam_err (   hostrcb,
  fmt,
  ... 
)
Value:
{ \
if (ipr_is_device(hostrcb)) { \
if ((hostrcb)->ioa_cfg->sis64) { \
printk(KERN_ERR IPR_NAME ": %s: " fmt, \
ipr_format_res_path(hostrcb->hcam.u.error64.fd_res_path, \
hostrcb->rp_buffer, \
sizeof(hostrcb->rp_buffer)), \
__VA_ARGS__); \
} else { \
ipr_ra_err((hostrcb)->ioa_cfg, \
(hostrcb)->hcam.u.error.fd_res_addr, \
fmt, __VA_ARGS__); \
} \
} else { \
dev_err(&(hostrcb)->ioa_cfg->pdev->dev, fmt, __VA_ARGS__); \
} \
}

Definition at line 1715 of file ipr.h.

#define IPR_HCAM_LABEL   "hcams"

Definition at line 1449 of file ipr.h.

#define IPR_HOST_CONTROLLED_ASYNC   0xCF

Definition at line 193 of file ipr.h.

#define IPR_HOST_RCB_NO_NOTIFICATIONS_LOST   0

Definition at line 1152 of file ipr.h.

#define IPR_HOST_RCB_NOTIF_TYPE_ERROR_LOG_ENTRY   0x10

Definition at line 1148 of file ipr.h.

#define IPR_HOST_RCB_NOTIF_TYPE_EXISTING_CHANGED   0x00

Definition at line 1145 of file ipr.h.

#define IPR_HOST_RCB_NOTIF_TYPE_INFORMATION_ENTRY   0x11

Definition at line 1149 of file ipr.h.

#define IPR_HOST_RCB_NOTIF_TYPE_NEW_ENTRY   0x01

Definition at line 1146 of file ipr.h.

#define IPR_HOST_RCB_NOTIF_TYPE_REM_ENTRY   0x02

Definition at line 1147 of file ipr.h.

#define IPR_HOST_RCB_NOTIFICATIONS_LOST   0x80

Definition at line 1153 of file ipr.h.

#define IPR_HOST_RCB_OP_CODE_CONFIG_CHANGE   0xE1

Definition at line 1141 of file ipr.h.

#define IPR_HOST_RCB_OP_CODE_LOG_DATA   0xE2

Definition at line 1142 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_1   0x01

Definition at line 1160 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_12   0x12

Definition at line 1166 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_13   0x13

Definition at line 1167 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_14   0x14

Definition at line 1168 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_16   0x16

Definition at line 1169 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_17   0x17

Definition at line 1170 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_2   0x02

Definition at line 1161 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_20   0x20

Definition at line 1171 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_23   0x23

Definition at line 1172 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_24   0x24

Definition at line 1173 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_26   0x26

Definition at line 1174 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_3   0x03

Definition at line 1162 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_30   0x30

Definition at line 1175 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_4   0x04

Definition at line 1163 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_6   0x06

Definition at line 1164 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_7   0x07

Definition at line 1165 of file ipr.h.

#define IPR_HOST_RCB_OVERLAY_ID_DEFAULT   0xFF

Definition at line 1176 of file ipr.h.

#define IPR_HOSTRCB_ERR_RESP_SENT   0x40

Definition at line 1157 of file ipr.h.

#define IPR_HOSTRCB_INTERNAL_OPER   0x80

Definition at line 1156 of file ipr.h.

#define IPR_HRRQ_REQ_RESP_HANDLE_MASK   0xfffffffc

Definition at line 1457 of file ipr.h.

#define IPR_HRRQ_REQ_RESP_HANDLE_SHIFT   2

Definition at line 1460 of file ipr.h.

#define IPR_HRRQ_RESP_BIT_SET   0x00000002

Definition at line 1458 of file ipr.h.

#define IPR_HRRQ_TOGGLE_BIT   0x00000001

Definition at line 1459 of file ipr.h.

#define IPR_ID_HOST_RR_Q   0xC4

Definition at line 190 of file ipr.h.

#define ipr_info (   ...)    printk(KERN_INFO IPR_NAME ": "__VA_ARGS__)

Definition at line 1687 of file ipr.h.

#define IPR_INQUIRY_PAGE0_ENTRIES   20

Definition at line 784 of file ipr.h.

#define IPR_INTERNAL_TIMEOUT   (ipr_fastfail ? 10 * HZ : 30 * HZ)

Definition at line 211 of file ipr.h.

#define IPR_INVALID_ARRAY_DEV_NUM   0xff

Definition at line 940 of file ipr.h.

#define IPR_INVALID_RES_HANDLE   0

Definition at line 177 of file ipr.h.

#define IPR_IOA_BUS   0xff

Definition at line 144 of file ipr.h.

#define IPR_IOA_LUN   0xff

Definition at line 146 of file ipr.h.

#define IPR_IOA_MAX_SECTORS   32767

Definition at line 165 of file ipr.h.

#define IPR_IOA_RES_ADDR   0x00ffffff

Definition at line 178 of file ipr.h.

#define IPR_IOA_RES_HANDLE   0xffffffff

Definition at line 176 of file ipr.h.

#define IPR_IOA_SHUTDOWN   0xF7

Definition at line 198 of file ipr.h.

#define IPR_IOA_TARGET   0xff

Definition at line 145 of file ipr.h.

#define IPR_IOADL_DATA_LEN_MASK   0x00ffffff

Definition at line 534 of file ipr.h.

#define IPR_IOADL_FLAGS_LAST   0x01000000

Definition at line 540 of file ipr.h.

#define IPR_IOADL_FLAGS_MASK   0xff000000

Definition at line 532 of file ipr.h.

#define IPR_IOADL_FLAGS_READ   0x48000000

Definition at line 536 of file ipr.h.

#define IPR_IOADL_FLAGS_READ_LAST   0x49000000

Definition at line 537 of file ipr.h.

#define IPR_IOADL_FLAGS_WRITE   0x68000000

Definition at line 538 of file ipr.h.

#define IPR_IOADL_FLAGS_WRITE_LAST   0x69000000

Definition at line 539 of file ipr.h.

#define IPR_IOADL_GET_DATA_LEN (   x)    (be32_to_cpu(x) & IPR_IOADL_DATA_LEN_MASK)

Definition at line 535 of file ipr.h.

#define IPR_IOADL_GET_FLAGS (   x)    (be32_to_cpu(x) & IPR_IOADL_FLAGS_MASK)

Definition at line 533 of file ipr.h.

#define IPR_IOAFP_VIRTUAL_BUS   0x3

Definition at line 1210 of file ipr.h.

#define IPR_IOASA_IR_DUAL_IOA_DISABLED   0x052C8000

Definition at line 119 of file ipr.h.

#define IPR_IOASC_ABORTED_CMD_TERM_BY_HOST   0x0B5A0000

Definition at line 122 of file ipr.h.

#define IPR_IOASC_BUS_WAS_RESET   0x06290000

Definition at line 120 of file ipr.h.

#define IPR_IOASC_BUS_WAS_RESET_BY_OTHER   0x06298000

Definition at line 121 of file ipr.h.

#define IPR_IOASC_HW_DEV_BUS_STATUS   0x04448500

Definition at line 113 of file ipr.h.

#define IPR_IOASC_HW_SEL_TIMEOUT   0x04050000

Definition at line 112 of file ipr.h.

#define IPR_IOASC_IOA_WAS_RESET   0x10000001

Definition at line 125 of file ipr.h.

#define IPR_IOASC_IOASC_MASK   0xFFFFFF00

Definition at line 114 of file ipr.h.

#define IPR_IOASC_IR_INVALID_REQ_TYPE_OR_PKT   0x05240000

Definition at line 116 of file ipr.h.

#define IPR_IOASC_IR_NO_CMDS_TO_2ND_IOA   0x05258100

Definition at line 118 of file ipr.h.

#define IPR_IOASC_IR_RESOURCE_HANDLE   0x05250000

Definition at line 117 of file ipr.h.

#define IPR_IOASC_MED_DO_NOT_REALLOC   0x03110C00

Definition at line 111 of file ipr.h.

#define IPR_IOASC_NR_INIT_CMD_REQUIRED   0x02040200

Definition at line 108 of file ipr.h.

#define IPR_IOASC_NR_IOA_RESET_REQUIRED   0x02048000

Definition at line 109 of file ipr.h.

#define IPR_IOASC_PCI_ACCESS_ERROR   0x10000002

Definition at line 126 of file ipr.h.

#define IPR_IOASC_SCSI_STATUS_MASK   0x000000FF

Definition at line 115 of file ipr.h.

#define IPR_IOASC_SENSE_CODE (   ioasc)    (((ioasc) & 0x00ff0000) >> 16)

Definition at line 668 of file ipr.h.

#define IPR_IOASC_SENSE_KEY (   ioasc)    ((ioasc) >> 24)

Definition at line 667 of file ipr.h.

#define IPR_IOASC_SENSE_QUAL (   ioasc)    (((ioasc) & 0x0000ff00) >> 8)

Definition at line 669 of file ipr.h.

#define IPR_IOASC_SENSE_STATUS (   ioasc)    ((ioasc) & 0x000000ff)

Definition at line 670 of file ipr.h.

#define IPR_IOASC_SPECIFIC_MASK   0x00ffffff

Definition at line 693 of file ipr.h.

#define IPR_IOASC_SYNC_REQUIRED   0x023f0000

Definition at line 110 of file ipr.h.

#define IPR_IPL_INIT_DEFAULT_STAGE_TIME   15

Definition at line 254 of file ipr.h.

#define IPR_IPL_INIT_MIN_STAGE_TIME   5

Definition at line 253 of file ipr.h.

#define IPR_IPL_INIT_STAGE_MASK   0xff000000

Definition at line 257 of file ipr.h.

#define IPR_IPL_INIT_STAGE_TIME_MASK   0x0000ffff

Definition at line 258 of file ipr.h.

#define IPR_IPL_INIT_STAGE_TRANSOP   0xB0000000

Definition at line 256 of file ipr.h.

#define IPR_IPL_INIT_STAGE_UNKNOWN   0x0

Definition at line 255 of file ipr.h.

#define IPR_IS_DASD_DEVICE (   std_inq)
Value:

Definition at line 370 of file ipr.h.

#define IPR_IS_IOA_RESOURCE   0x80

Definition at line 399 of file ipr.h.

#define IPR_IS_SES_DEVICE (   std_inq)    (IPR_STD_INQ_PERI_DEV_TYPE((std_inq).peri_qual_dev_type) == TYPE_ENCLOSURE)

Definition at line 374 of file ipr.h.

#define IPR_LDUMP_MAX_LONG_ACK_DELAY_IN_USEC   200000 /* 200 ms */

Definition at line 284 of file ipr.h.

#define IPR_LDUMP_MAX_SHORT_ACK_DELAY_IN_USEC   200000 /* 200 ms */

Definition at line 285 of file ipr.h.

#define IPR_LONG_OPERATIONAL_TIMEOUT   (12 * 60)

Definition at line 216 of file ipr.h.

#define IPR_LUN_RESET   0x40

Definition at line 186 of file ipr.h.

#define IPR_MAX_BUS_TO_SCAN   IPR_MAX_NUM_BUSES

Definition at line 148 of file ipr.h.

#define IPR_MAX_CDB_LEN   16

Definition at line 167 of file ipr.h.

#define IPR_MAX_CMD_PER_ATA_LUN   1

Definition at line 50 of file ipr.h.

#define IPR_MAX_CMD_PER_LUN   6

Definition at line 49 of file ipr.h.

#define IPR_MAX_COMMANDS   100

Definition at line 156 of file ipr.h.

#define IPR_MAX_HRRQ_RETRIES   3

Definition at line 168 of file ipr.h.

#define IPR_MAX_LOG_LEVEL   4

Definition at line 1407 of file ipr.h.

#define IPR_MAX_NUM_BUSES   16

Definition at line 147 of file ipr.h.

#define IPR_MAX_NUM_LUNS_PER_TARGET   256

Definition at line 141 of file ipr.h.

#define IPR_MAX_NUM_TARGETS_PER_BUS   256

Definition at line 140 of file ipr.h.

#define IPR_MAX_NUM_VSET_LUNS_PER_TARGET   8

Definition at line 142 of file ipr.h.

#define IPR_MAX_PHYSICAL_DEVS   192

Definition at line 160 of file ipr.h.

#define IPR_MAX_RES_PATH_LENGTH   24

Definition at line 427 of file ipr.h.

#define IPR_MAX_SCSI_RATE (   width)    ((320 * 10) / ((width) / 8))

Definition at line 174 of file ipr.h.

#define IPR_MAX_SGLIST   64

Definition at line 164 of file ipr.h.

#define IPR_MAX_SIS64_DEVS   4096

Definition at line 162 of file ipr.h.

#define IPR_MAX_SIS64_LUNS_PER_TARGET   0xffffffff

Definition at line 138 of file ipr.h.

#define IPR_MAX_SIS64_TARGETS_PER_BUS   1024

Definition at line 137 of file ipr.h.

#define IPR_MMIO   0x01

Definition at line 1325 of file ipr.h.

#define IPR_MODE_PAGE_PS   0x80

Definition at line 713 of file ipr.h.

#define IPR_NAME   "ipr"

Definition at line 97 of file ipr.h.

#define IPR_NO_ILID   0

Definition at line 680 of file ipr.h.

#define IPR_NUM_BASE_CMD_BLKS   (ioa_cfg->max_cmds)

Definition at line 56 of file ipr.h.

#define IPR_NUM_CFG_CHG_HCAMS   2

Definition at line 134 of file ipr.h.

#define IPR_NUM_CMD_BLKS
Value:
IPR_NUM_INTERNAL_CMD_BLKS)

Definition at line 157 of file ipr.h.

#define IPR_NUM_HCAMS   (IPR_NUM_LOG_HCAMS + IPR_NUM_CFG_CHG_HCAMS)

Definition at line 135 of file ipr.h.

#define IPR_NUM_INTERNAL_CMD_BLKS
Value:

Definition at line 153 of file ipr.h.

#define IPR_NUM_IOADL_ENTRIES   IPR_MAX_SGLIST

Definition at line 300 of file ipr.h.

#define IPR_NUM_LOG_HCAMS   2

Definition at line 133 of file ipr.h.

#define IPR_NUM_RESET_RELOAD_RETRIES   3

Definition at line 150 of file ipr.h.

#define IPR_NUM_TRACE_ENTRIES   (1 << IPR_NUM_TRACE_INDEX_BITS)

Definition at line 1411 of file ipr.h.

#define IPR_NUM_TRACE_INDEX_BITS   8

Definition at line 1410 of file ipr.h.

#define IPR_OPERATIONAL_TIMEOUT   (5 * 60)

Definition at line 215 of file ipr.h.

#define IPR_PATH_ACTIVE   0x40

Definition at line 1017 of file ipr.h.

#define IPR_PATH_ACTIVE_MASK   0xC0

Definition at line 1015 of file ipr.h.

#define IPR_PATH_CFG_DEGRADED   0x01

Definition at line 983 of file ipr.h.

#define IPR_PATH_CFG_DEVICE_LUN   0x40

Definition at line 979 of file ipr.h.

#define IPR_PATH_CFG_DEVICE_PORT   0x30

Definition at line 978 of file ipr.h.

#define IPR_PATH_CFG_EXP_PORT   0x20

Definition at line 977 of file ipr.h.

#define IPR_PATH_CFG_FAILED   0x02

Definition at line 984 of file ipr.h.

#define IPR_PATH_CFG_IOA_PORT   0x10

Definition at line 976 of file ipr.h.

#define IPR_PATH_CFG_NO_PROB   0x00

Definition at line 982 of file ipr.h.

#define IPR_PATH_CFG_NOT_EXIST   0x00

Definition at line 975 of file ipr.h.

#define IPR_PATH_CFG_STATUS_MASK   0x0F

Definition at line 981 of file ipr.h.

#define IPR_PATH_CFG_SUSPECT   0x03

Definition at line 985 of file ipr.h.

#define IPR_PATH_CFG_TYPE_MASK   0xF0

Definition at line 974 of file ipr.h.

#define IPR_PATH_DEGRADED   0x02

Definition at line 1023 of file ipr.h.

#define IPR_PATH_FAILED   0x03

Definition at line 1024 of file ipr.h.

#define IPR_PATH_HEALTHY   0x01

Definition at line 1022 of file ipr.h.

#define IPR_PATH_INCORRECT_CONN   0x05

Definition at line 987 of file ipr.h.

#define IPR_PATH_NO_INFO   0x00

Definition at line 1016 of file ipr.h.

#define IPR_PATH_NOT_ACTIVE   0x80

Definition at line 1018 of file ipr.h.

#define IPR_PATH_NOT_DETECTED   0x04

Definition at line 986 of file ipr.h.

#define IPR_PATH_STATE_MASK   0x0F

Definition at line 1020 of file ipr.h.

#define IPR_PATH_STATE_NO_INFO   0x00

Definition at line 1021 of file ipr.h.

#define IPR_PCI_CFG   0x00

Definition at line 1324 of file ipr.h.

#define IPR_PCI_RESET_TIMEOUT   (HZ / 2)

Definition at line 220 of file ipr.h.

#define IPR_PCII_CORE_ISSUED_RST_REQ   (0x80000000 >> 31)

Definition at line 271 of file ipr.h.

#define IPR_PCII_CRITICAL_OPERATION   (0x80000000 >> 6)

Definition at line 265 of file ipr.h.

#define IPR_PCII_ERROR_INTERRUPTS
Value:

Definition at line 273 of file ipr.h.

#define IPR_PCII_HRRQ_UPDATED   (0x80000000 >> 30)

Definition at line 270 of file ipr.h.

#define IPR_PCII_IO_DEBUG_ACKNOWLEDGE   (0x80000000 >> 7)

Definition at line 266 of file ipr.h.

#define IPR_PCII_IOA_TRANS_TO_OPER   (0x80000000 >> 0)

Definition at line 261 of file ipr.h.

#define IPR_PCII_IOA_UNIT_CHECKED   (0x80000000 >> 4)

Definition at line 263 of file ipr.h.

#define IPR_PCII_IOARCB_XFER_FAILED   (0x80000000 >> 3)

Definition at line 262 of file ipr.h.

#define IPR_PCII_IOARRIN_LOST   (0x80000000 >> 27)

Definition at line 267 of file ipr.h.

#define IPR_PCII_IPL_STAGE_CHANGE   (0x80000000 >> 0)

Definition at line 259 of file ipr.h.

#define IPR_PCII_MMIO_ERROR   (0x80000000 >> 28)

Definition at line 268 of file ipr.h.

#define IPR_PCII_NO_HOST_RRQ   (0x80000000 >> 5)

Definition at line 264 of file ipr.h.

#define IPR_PCII_OPER_INTERRUPTS   (IPR_PCII_ERROR_INTERRUPTS | IPR_PCII_HRRQ_UPDATED | IPR_PCII_IOA_TRANS_TO_OPER)

Definition at line 277 of file ipr.h.

#define IPR_PCII_PROC_ERR_STATE   (0x80000000 >> 29)

Definition at line 269 of file ipr.h.

#define IPR_PENDQ_LABEL   "pend-q"

Definition at line 1429 of file ipr.h.

#define IPR_PHY_LINK_RATE_MASK   0x0F

Definition at line 992 of file ipr.h.

#define ipr_phys_res_err (   ioa_cfg,
  res,
  fmt,
  ... 
)
Value:
{ \
if ((res).bus >= IPR_MAX_NUM_BUSES) { \
ipr_err(fmt": unknown\n", ##__VA_ARGS__); \
} else { \
ipr_err(fmt": %d:%d:%d:%d\n", \
##__VA_ARGS__, (ioa_cfg)->host->host_no, \
(res).bus, (res).target, (res).lun); \
} \
}

Definition at line 1704 of file ipr.h.

#define IPR_PROD_ID_LEN   16

Definition at line 230 of file ipr.h.

#define IPR_PROTO_SAS_STP   0x06

Definition at line 395 of file ipr.h.

#define IPR_PROTO_SAS_STP_ATAPI   0x07

Definition at line 396 of file ipr.h.

#define IPR_PROTO_SATA   0x02

Definition at line 393 of file ipr.h.

#define IPR_PROTO_SATA_ATAPI   0x03

Definition at line 394 of file ipr.h.

#define IPR_QUERY_IOA_CONFIG   0xC5

Definition at line 191 of file ipr.h.

#define IPR_QUERY_RSRC_STATE   0xC2

Definition at line 183 of file ipr.h.

#define IPR_QUEUE_FROZEN_MODEL   0

Definition at line 403 of file ipr.h.

#define IPR_QUEUE_NACA_MODEL   1

Definition at line 404 of file ipr.h.

#define IPR_QUEUEING_MODEL (   res)    ((((res)->flags) & 0x70) >> 4)

Definition at line 402 of file ipr.h.

#define IPR_QUEUEING_MODEL64 (   res)    ((((res)->res_flags) & 0x7000) >> 12)

Definition at line 420 of file ipr.h.

#define ipr_ra_err (   ioa_cfg,
  ra,
  fmt,
  ... 
)    ipr_ra_printk(KERN_ERR, ioa_cfg, ra, fmt, ##__VA_ARGS__)

Definition at line 1701 of file ipr.h.

#define ipr_ra_printk (   level,
  ioa_cfg,
  ra,
  fmt,
  ... 
)
Value:
printk(level IPR_NAME ": %d:%d:%d:%d: " fmt, (ioa_cfg)->host->host_no, \
(ra).bus, (ra).target, (ra).lun, ##__VA_ARGS__)

Definition at line 1697 of file ipr.h.

#define IPR_RC_JOB_CONTINUE   1

Definition at line 102 of file ipr.h.

#define IPR_RC_JOB_RETURN   2

Definition at line 103 of file ipr.h.

#define ipr_remove_dump_file (   kobj,
  attr 
)    do { } while(0)

Definition at line 1680 of file ipr.h.

#define ipr_remove_trace_file (   kobj,
  attr 
)    do { } while(0)

Definition at line 1672 of file ipr.h.

#define IPR_REQUEST_SENSE_TIMEOUT   (10 * HZ)

Definition at line 214 of file ipr.h.

#define ipr_res_err (   ioa_cfg,
  res,
  fmt,
  ... 
)    ipr_res_printk(KERN_ERR, ioa_cfg, (res)->bus, (res)->target, (res)->lun, fmt, ##__VA_ARGS__)

Definition at line 1694 of file ipr.h.

#define ipr_res_printk (   level,
  ioa_cfg,
  bus,
  target,
  lun,
  fmt,
  ... 
)
Value:
printk(level IPR_NAME ": %d:%d:%d:%d: " fmt, (ioa_cfg)->host->host_no, \
bus, target, lun, ##__VA_ARGS__)

Definition at line 1690 of file ipr.h.

#define IPR_RES_TABLE_LABEL   "res_tbl"

Definition at line 1443 of file ipr.h.

#define IPR_RES_TYPE_AF_DASD   0x00

Definition at line 364 of file ipr.h.

#define IPR_RES_TYPE_ARRAY   0x05

Definition at line 369 of file ipr.h.

#define IPR_RES_TYPE_GENERIC_ATA   0x04

Definition at line 368 of file ipr.h.

#define IPR_RES_TYPE_GENERIC_SCSI   0x01

Definition at line 365 of file ipr.h.

#define IPR_RES_TYPE_IOAFP   0xff

Definition at line 370 of file ipr.h.

#define IPR_RES_TYPE_REMOTE_AF_DASD   0x03

Definition at line 367 of file ipr.h.

#define IPR_RES_TYPE_VOLUME_SET   0x02

Definition at line 366 of file ipr.h.

#define IPR_RESET_DEVICE   0xC3

Definition at line 184 of file ipr.h.

#define IPR_RESET_TYPE_SELECT   0x80

Definition at line 185 of file ipr.h.

#define IPR_RQTYPE_ATA_PASSTHRU   0x04

Definition at line 497 of file ipr.h.

#define IPR_RQTYPE_HCAM   0x02

Definition at line 496 of file ipr.h.

#define IPR_RQTYPE_IOACMD   0x01

Definition at line 495 of file ipr.h.

#define IPR_RQTYPE_SCSICDB   0x00

Definition at line 494 of file ipr.h.

#define IPR_RUNTIME_RESET   0x40000000

Definition at line 251 of file ipr.h.

#define IPR_SCSI_ATTR_DISABLE_QAS   0x40

Definition at line 738 of file ipr.h.

#define IPR_SCSI_ATTR_ENABLE_QAS   0x80

Definition at line 737 of file ipr.h.

#define IPR_SCSI_ATTR_ENABLE_TM   0x20

Definition at line 740 of file ipr.h.

#define IPR_SCSI_ATTR_LVD_TO_SE_NOT_ALLOWED   0x04

Definition at line 743 of file ipr.h.

#define IPR_SCSI_ATTR_NO_TERM_PWR   0x10

Definition at line 741 of file ipr.h.

#define IPR_SCSI_ATTR_QAS_MASK   0xC0

Definition at line 739 of file ipr.h.

#define IPR_SCSI_ATTR_TM_SUPPORTED   0x08

Definition at line 742 of file ipr.h.

#define IPR_SDT_ENDIAN   0x80

Definition at line 1167 of file ipr.h.

#define IPR_SDT_FMT2_BAR0_SEL   0x0

Definition at line 241 of file ipr.h.

#define IPR_SDT_FMT2_BAR1_SEL   0x1

Definition at line 242 of file ipr.h.

#define IPR_SDT_FMT2_BAR2_SEL   0x2

Definition at line 243 of file ipr.h.

#define IPR_SDT_FMT2_BAR3_SEL   0x3

Definition at line 244 of file ipr.h.

#define IPR_SDT_FMT2_BAR4_SEL   0x4

Definition at line 245 of file ipr.h.

#define IPR_SDT_FMT2_BAR5_SEL   0x5

Definition at line 246 of file ipr.h.

#define IPR_SDT_FMT2_EXP_ROM_SEL   0x8

Definition at line 247 of file ipr.h.

#define IPR_SDT_VALID_ENTRY   0x20

Definition at line 1168 of file ipr.h.

#define IPR_SERIAL_NUM_LEN   8

Definition at line 231 of file ipr.h.

#define IPR_SET_ALL_SUPPORTED_DEVICES   0x80

Definition at line 197 of file ipr.h.

#define IPR_SET_SUP_DEVICE_TIMEOUT   (2 * 60 * HZ)

Definition at line 213 of file ipr.h.

#define IPR_SET_SUPPORTED_DEVICES   0xFB

Definition at line 196 of file ipr.h.

#define IPR_SHUTDOWN_TIMEOUT   (ipr_fastfail ? 60 * HZ : 10 * 60 * HZ)

Definition at line 204 of file ipr.h.

#define IPR_SIS32   0x00

Definition at line 1321 of file ipr.h.

#define IPR_SIS32_DUMP_TIMEOUT   (15 * HZ)

Definition at line 221 of file ipr.h.

#define IPR_SIS64   0x01

Definition at line 1322 of file ipr.h.

#define IPR_SIS64_DUMP_TIMEOUT   (40 * HZ)

Definition at line 222 of file ipr.h.

#define IPR_STD_INQ_PERI_DEV_TYPE (   peri)    ((peri) & 0x1F)

Definition at line 365 of file ipr.h.

#define IPR_STD_INQ_PERI_QUAL (   peri)    ((peri) >> 5)

Definition at line 364 of file ipr.h.

#define IPR_STD_INQ_REMOVEABLE_MEDIUM   0x80

Definition at line 368 of file ipr.h.

#define IPR_SUBS_DEV_ID_2780   0x0264

Definition at line 63 of file ipr.h.

#define IPR_SUBS_DEV_ID_5702   0x0266

Definition at line 64 of file ipr.h.

#define IPR_SUBS_DEV_ID_5703   0x0278

Definition at line 65 of file ipr.h.

#define IPR_SUBS_DEV_ID_571A   0x02C0

Definition at line 69 of file ipr.h.

#define IPR_SUBS_DEV_ID_571B   0x02BE

Definition at line 70 of file ipr.h.

#define IPR_SUBS_DEV_ID_571E   0x02BF

Definition at line 71 of file ipr.h.

#define IPR_SUBS_DEV_ID_571F   0x02D5

Definition at line 72 of file ipr.h.

#define IPR_SUBS_DEV_ID_572A   0x02C1

Definition at line 73 of file ipr.h.

#define IPR_SUBS_DEV_ID_572B   0x02C2

Definition at line 74 of file ipr.h.

#define IPR_SUBS_DEV_ID_572E   0x028D

Definition at line 66 of file ipr.h.

#define IPR_SUBS_DEV_ID_572F   0x02C3

Definition at line 75 of file ipr.h.

#define IPR_SUBS_DEV_ID_573D   0x02D4

Definition at line 68 of file ipr.h.

#define IPR_SUBS_DEV_ID_573E   0x02D3

Definition at line 67 of file ipr.h.

#define IPR_SUBS_DEV_ID_574D   0x0356

Definition at line 94 of file ipr.h.

#define IPR_SUBS_DEV_ID_574E   0x030A

Definition at line 76 of file ipr.h.

#define IPR_SUBS_DEV_ID_575B   0x030D

Definition at line 77 of file ipr.h.

#define IPR_SUBS_DEV_ID_575C   0x0338

Definition at line 78 of file ipr.h.

#define IPR_SUBS_DEV_ID_57B1   0x0355

Definition at line 92 of file ipr.h.

#define IPR_SUBS_DEV_ID_57B2   0x035F

Definition at line 84 of file ipr.h.

#define IPR_SUBS_DEV_ID_57B3   0x033A

Definition at line 79 of file ipr.h.

#define IPR_SUBS_DEV_ID_57B4   0x033B

Definition at line 83 of file ipr.h.

#define IPR_SUBS_DEV_ID_57B5   0x033C

Definition at line 90 of file ipr.h.

#define IPR_SUBS_DEV_ID_57B7   0x0360

Definition at line 80 of file ipr.h.

#define IPR_SUBS_DEV_ID_57B8   0x02C2

Definition at line 81 of file ipr.h.

#define IPR_SUBS_DEV_ID_57C3   0x0353

Definition at line 85 of file ipr.h.

#define IPR_SUBS_DEV_ID_57C4   0x0354

Definition at line 86 of file ipr.h.

#define IPR_SUBS_DEV_ID_57C6   0x0357

Definition at line 87 of file ipr.h.

#define IPR_SUBS_DEV_ID_57C8   0x035D

Definition at line 95 of file ipr.h.

#define IPR_SUBS_DEV_ID_57CC   0x035C

Definition at line 88 of file ipr.h.

#define IPR_SUBS_DEV_ID_57CE   0x035E

Definition at line 91 of file ipr.h.

#define IPR_TARGET_RESET   0x20

Definition at line 187 of file ipr.h.

#define ipr_trace
Value:
ipr_dbg("%s: %s: Line: %d\n",\
__FILE__, __func__, __LINE__)

Definition at line 1734 of file ipr.h.

#define IPR_TRACE_FINISH   0xff

Definition at line 1343 of file ipr.h.

#define IPR_TRACE_SIZE   (sizeof(struct ipr_trace_entry) * IPR_NUM_TRACE_ENTRIES)

Definition at line 1412 of file ipr.h.

#define IPR_TRACE_START   0x00

Definition at line 1342 of file ipr.h.

#define IPR_TRACE_START_LABEL   "trace"

Definition at line 1414 of file ipr.h.

#define IPR_U160_SCSI_RATE   ((160 * 10) / (IPR_DEFAULT_BUS_WIDTH / 8))

Definition at line 172 of file ipr.h.

#define IPR_U320_SCSI_RATE   ((320 * 10) / (IPR_DEFAULT_BUS_WIDTH / 8))

Definition at line 173 of file ipr.h.

#define IPR_UCODE_DOWNLOAD_REQ   0x10

Definition at line 423 of file ipr.h.

#define IPR_UPROCI_IO_DEBUG_ALERT   (0x80000000 >> 9)

Definition at line 281 of file ipr.h.

#define IPR_UPROCI_RESET_ALERT   (0x80000000 >> 7)

Definition at line 280 of file ipr.h.

#define IPR_UPROCI_SIS64_START_BIST   (0x80000000 >> 23)

Definition at line 282 of file ipr.h.

#define IPR_USE_LONG_TRANSOP_TIMEOUT   0x00000001

Definition at line 129 of file ipr.h.

#define IPR_USE_LSI   0x00

Definition at line 1318 of file ipr.h.

#define IPR_USE_MSI   0x01

Definition at line 1319 of file ipr.h.

#define IPR_USE_PCI_WARM_RESET   0x00000002

Definition at line 130 of file ipr.h.

#define IPR_VENDOR_ID_LEN   8

Definition at line 229 of file ipr.h.

#define IPR_VSET_BUS   0xff

Definition at line 143 of file ipr.h.

#define IPR_VSET_MAX_SECTORS   512

Definition at line 166 of file ipr.h.

#define IPR_VSET_RW_TIMEOUT   (ipr_fastfail ? 30 * HZ : 2 * 60 * HZ)

Definition at line 205 of file ipr.h.

#define IPR_VSET_VIRTUAL_BUS   0x2

Definition at line 1209 of file ipr.h.

#define IPR_WAIT_FOR_BIST_TIMEOUT   (2 * HZ)

Definition at line 219 of file ipr.h.

#define IPR_WAIT_FOR_RESET_TIMEOUT   (2 * HZ)

Definition at line 217 of file ipr.h.

#define IPR_WR_BUF_DOWNLOAD_AND_SAVE   0x05

Definition at line 199 of file ipr.h.

#define IPR_WRITE_BUFFER_TIMEOUT   (30 * 60 * HZ)

Definition at line 212 of file ipr.h.

#define LEAVE   IPR_DBG_CMD(printk(KERN_INFO IPR_NAME": Leaving %s\n", __func__))

Definition at line 1738 of file ipr.h.

#define PCI_DEVICE_ID_IBM_CROC_FPGA_E2   0x033D

Definition at line 60 of file ipr.h.

#define PCI_DEVICE_ID_IBM_CROCODILE   0x034A

Definition at line 61 of file ipr.h.

#define PCI_DEVICE_ID_IBM_OBSIDIAN_E   0x0339

Definition at line 58 of file ipr.h.

Enumeration Type Documentation

Enumerator:
INACTIVE 
WAIT_FOR_DUMP 
GET_DUMP 
READ_DUMP 
ABORT_DUMP 
DUMP_OBTAINED 

Definition at line 1362 of file ipr.h.

Enumerator:
IPR_SHUTDOWN_NORMAL 
IPR_SHUTDOWN_PREPARE_FOR_NORMAL 
IPR_SHUTDOWN_ABBREV 
IPR_SHUTDOWN_NONE 

Definition at line 1329 of file ipr.h.

Function Documentation

struct ipr_res_addr __attribute__ ( (packed, aligned(4))  )
read

Scatter-gather list for preada/pwritea calls.

< Client physical address of the buffer segment.

< Page table entry describing the caching and location override characteristics of the buffer segment. Some drivers ignore this element and will require that the NOCACHE flag be set on their requests.

< Length of the buffer segment.

Definition at line 1740 of file hypervisor.h.

struct ipr_std_inq_vpids __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

Variable Documentation

union { ... } a
__be32 add_cmd_parms[10]

Definition at line 554 of file ipr.h.

__be16 add_cmd_parms_len

Definition at line 617 of file ipr.h.

__be16 add_cmd_parms_offset

Definition at line 616 of file ipr.h.

Definition at line 620 of file ipr.h.

u8 additional_len

Definition at line 379 of file ipr.h.

Definition at line 542 of file ipr.h.

u8 aen_naca_fmt

Definition at line 378 of file ipr.h.

u8 alt_status

Definition at line 633 of file ipr.h.

u8 array_id

Definition at line 397 of file ipr.h.

Definition at line 911 of file ipr.h.

Definition at line 916 of file ipr.h.

struct ipr_ext_vpd64 array_vpd

Definition at line 944 of file ipr.h.

u8 ascii_len

Definition at line 774 of file ipr.h.

u8 ascii_part_num[12]

Definition at line 756 of file ipr.h.

u8 ascii_plant_code[4]

Definition at line 758 of file ipr.h.

struct ipr_auto_sense auto_sense

Definition at line 688 of file ipr.h.

__be16 avail_stat_len

Definition at line 674 of file ipr.h.

u8 block_desc_len

Definition at line 703 of file ipr.h.

u8 bq_enc_multi

Definition at line 381 of file ipr.h.

Definition at line 315 of file ipr.h.

u8 bus_phase

Definition at line 612 of file ipr.h.

u8 bus_width

Definition at line 746 of file ipr.h.

u8 cap

Definition at line 790 of file ipr.h.

Definition at line 778 of file ipr.h.

u8 cascaded_expander

Definition at line 989 of file ipr.h.

u8 ccin

Definition at line 812 of file ipr.h.

Definition at line 1187 of file ipr.h.

u8 cdb[16]

Definition at line 517 of file ipr.h.

struct ipr_ext_vpd cfc_last_attached_to_ioa_vpd

Definition at line 863 of file ipr.h.

struct ipr_ext_vpd cfc_last_with_dev_vpd

Definition at line 805 of file ipr.h.

Definition at line 861 of file ipr.h.

Definition at line 454 of file ipr.h.

Definition at line 455 of file ipr.h.

Definition at line 614 of file ipr.h.

Definition at line 529 of file ipr.h.

u8 ctl

Definition at line 536 of file ipr.h.

Definition at line 683 of file ipr.h.

Definition at line 522 of file ipr.h.

__be64 data_ioadl_addr

Definition at line 559 of file ipr.h.

__be32 data_len

Definition at line 538 of file ipr.h.

__be16 data_length

Definition at line 461 of file ipr.h.

__be32 data_transfer_length

Definition at line 603 of file ipr.h.

Definition at line 1596 of file ipr.h.

Definition at line 1039 of file ipr.h.

u8 description[16]

Definition at line 945 of file ipr.h.

u8 descriptor_id

Definition at line 990 of file ipr.h.

Definition at line 434 of file ipr.h.

__be64 dev_id

Definition at line 424 of file ipr.h.

u8 dev_id_type

Definition at line 422 of file ipr.h.

struct ipr_res_addr dev_res_addr

Definition at line 802 of file ipr.h.

Definition at line 528 of file ipr.h.

u8 device_spec_parms

Definition at line 702 of file ipr.h.

u32 driver_name

Definition at line 1582 of file ipr.h.

__be32 dump_size

Definition at line 1172 of file ipr.h.

Definition at line 1027 of file ipr.h.

u8 end_state

Definition at line 611 of file ipr.h.

__be32 end_token

Definition at line 1163 of file ipr.h.

Definition at line 1175 of file ipr.h.

u8 entry_length

Definition at line 744 of file ipr.h.

Definition at line 626 of file ipr.h.

Definition at line 1186 of file ipr.h.

__be32 errors_detected

Definition at line 879 of file ipr.h.

__be32 errors_logged

Definition at line 880 of file ipr.h.

struct ipr_res_addr expected_dev_res_addr

Definition at line 828 of file ipr.h.

u8 expected_res_path[8]

Definition at line 836 of file ipr.h.

u8 exposed_mode_adn

Definition at line 912 of file ipr.h.

__be32 ext_control_buf[4]

Definition at line 561 of file ipr.h.

u8 extended_reset_delay

Definition at line 747 of file ipr.h.

u32 eye_catcher

Definition at line 1571 of file ipr.h.

char eyecatcher[16]

Definition at line 1667 of file ipr.h.

__be32 failing_lba

Definition at line 604 of file ipr.h.

__be32 failing_lba_hi

Definition at line 599 of file ipr.h.

__be32 failing_lba_lo

Definition at line 600 of file ipr.h.

u8 failure_reason

Definition at line 942 of file ipr.h.

__be64 fd_dev_id

Definition at line 1087 of file ipr.h.

__le32 fd_ioasc

Definition at line 683 of file ipr.h.

__be64 fd_lun

Definition at line 1088 of file ipr.h.

__be32 fd_phys_locator

Definition at line 685 of file ipr.h.

struct ipr_res_addr fd_res_addr

Definition at line 1064 of file ipr.h.

__be32 fd_res_handle

Definition at line 687 of file ipr.h.

u8 fd_res_path

Definition at line 694 of file ipr.h.

u8 feature

Definition at line 523 of file ipr.h.

u32 first_entry_offset

Definition at line 1575 of file ipr.h.

u8 flags

Definition at line 398 of file ipr.h.

__be32 flags_and_data_len

Definition at line 531 of file ipr.h.

u8 flags_hi

Definition at line 501 of file ipr.h.

u8 flags_lo

Definition at line 508 of file ipr.h.

Definition at line 1636 of file ipr.h.

Definition at line 685 of file ipr.h.

Definition at line 684 of file ipr.h.

Definition at line 433 of file ipr.h.

Definition at line 438 of file ipr.h.

__be32 header_length

Definition at line 1661 of file ipr.h.

u8 hob_feature

Definition at line 531 of file ipr.h.

u8 hob_lbah

Definition at line 535 of file ipr.h.

u8 hob_lbal

Definition at line 533 of file ipr.h.

u8 hob_lbam

Definition at line 534 of file ipr.h.

u8 hob_nsect

Definition at line 532 of file ipr.h.

__be32 host_response_handle

Definition at line 598 of file ipr.h.

Definition at line 1599 of file ipr.h.

__le32 ilid

Definition at line 679 of file ipr.h.

struct ipr_vpd incomp_dev_vpd

Definition at line 914 of file ipr.h.

__be32 ** ioa_data

Definition at line 614 of file ipr.h.

__be32 ioa_data2

Definition at line 915 of file ipr.h.

__be32 ioa_fw_level

Definition at line 1084 of file ipr.h.

struct ipr_ext_vpd ioa_last_attached_to_cfc_vpd

Definition at line 862 of file ipr.h.

struct ipr_ext_vpd ioa_last_with_dev_vpd

Definition at line 804 of file ipr.h.

u8 ioa_port

Definition at line 1011 of file ipr.h.

Definition at line 1623 of file ipr.h.

Definition at line 860 of file ipr.h.

Definition at line 553 of file ipr.h.

Definition at line 545 of file ipr.h.

__be32 ioadl_len

Definition at line 606 of file ipr.h.

__be32 ioarcb_host_pci_addr

Definition at line 594 of file ipr.h.

__be64 ioarcb_host_pci_addr64

Definition at line 595 of file ipr.h.

__be32 ioasa_host_pci_addr

Definition at line 558 of file ipr.h.

__be16 ioasa_len

Definition at line 611 of file ipr.h.

__be32 ioasc

Definition at line 666 of file ipr.h.

__be32 ioasc_specific

Definition at line 689 of file ipr.h.

struct ipr_res_addr last_func_vset_res_addr

Definition at line 917 of file ipr.h.

u8 last_res_path[8]

Definition at line 942 of file ipr.h.

u8 lbah

Definition at line 527 of file ipr.h.

u8 lbal

Definition at line 525 of file ipr.h.

u8 lbam

Definition at line 526 of file ipr.h.

u32 len

Definition at line 795 of file ipr.h.

__be32 length

Definition at line 700 of file ipr.h.

Definition at line 1669 of file ipr.h.

__be32 lid_table_offset

Definition at line 1662 of file ipr.h.

u8 link_rate

Definition at line 991 of file ipr.h.

__be32 load_id

Definition at line 776 of file ipr.h.

u8 location[20]

Definition at line 1597 of file ipr.h.

Definition at line 1622 of file ipr.h.

__be64 lun

Definition at line 317 of file ipr.h.

__be64 lun_wwn

Definition at line 408 of file ipr.h.

u8 major_release

Definition at line 777 of file ipr.h.

__be32 max_xfer_rate

Definition at line 750 of file ipr.h.

u8 medium_type

Definition at line 701 of file ipr.h.

u8 minor_release

Definition at line 779 of file ipr.h.

u8 new_ccin

Definition at line 815 of file ipr.h.

Definition at line 803 of file ipr.h.

u32 next_page_index

Definition at line 1634 of file ipr.h.

u8 notifications_lost

Definition at line 1151 of file ipr.h.

Definition at line 1144 of file ipr.h.

u8 nsect

Definition at line 524 of file ipr.h.

u32 num_elems

Definition at line 1594 of file ipr.h.

u64 num_entries

Definition at line 421 of file ipr.h.

__be32 num_entries_used

Definition at line 1171 of file ipr.h.

__be32 num_lids

Definition at line 1668 of file ipr.h.

u8 num_records

Definition at line 463 of file ipr.h.

Definition at line 1595 of file ipr.h.

u8 op_code

Definition at line 1140 of file ipr.h.

u32 os

Definition at line 1580 of file ipr.h.

u8 overlay_id

Definition at line 1159 of file ipr.h.

Definition at line 796 of file ipr.h.

u8 page_code

Definition at line 771 of file ipr.h.

u8 page_length

Definition at line 715 of file ipr.h.

u32 page_offset

Definition at line 1635 of file ipr.h.

u8 patch_number[4]

Definition at line 781 of file ipr.h.

Definition at line 1014 of file ipr.h.

u8 peri_qual_dev_type

Definition at line 363 of file ipr.h.

Definition at line 990 of file ipr.h.

__be32 prc

Definition at line 1066 of file ipr.h.

__be16 priority

Definition at line 1171 of file ipr.h.

u8 product_id[IPR_PROD_ID_LEN]

Definition at line 320 of file ipr.h.

u8 protection_level

Definition at line 919 of file ipr.h.

Definition at line 392 of file ipr.h.

u8 ps_page_code

Definition at line 712 of file ipr.h.

u8 ptf_number[4]

Definition at line 780 of file ipr.h.

Definition at line 1188 of file ipr.h.

__be32 read_counter

Definition at line 853 of file ipr.h.

__be32 read_data_transfer_length

Definition at line 604 of file ipr.h.

__be32 read_ioadl_addr

Definition at line 607 of file ipr.h.

__be32 read_ioadl_len

Definition at line 608 of file ipr.h.

Definition at line 543 of file ipr.h.

u8 removeable_medium_rsvd

Definition at line 367 of file ipr.h.

Definition at line 493 of file ipr.h.

struct ipr_res_addr res_addr

Definition at line 406 of file ipr.h.

__be16 res_flags

Definition at line 419 of file ipr.h.

__be32 res_handle

Definition at line 407 of file ipr.h.

u8 res_path

Definition at line 428 of file ipr.h.

u8 res_type

Definition at line 414 of file ipr.h.

u8 reserved[20]

Definition at line 314 of file ipr.h.

u8 reserved1[3]

Definition at line 599 of file ipr.h.

__be32 reserved2

Definition at line 430 of file ipr.h.

u8 reserved3[6]

Definition at line 431 of file ipr.h.

__be16 reserved4

Definition at line 432 of file ipr.h.

__be32 residual_data_len

Definition at line 676 of file ipr.h.

u8 resv

Definition at line 1170 of file ipr.h.

__be16 ret_stat_len

Definition at line 672 of file ipr.h.

u8 ros_rsvd_ram_rsvd[4]

Definition at line 386 of file ipr.h.

u8 rsvd_subtype

Definition at line 400 of file ipr.h.

u8 sccs_rsvd

Definition at line 380 of file ipr.h.

u8 scsi_id

Definition at line 745 of file ipr.h.

Definition at line 1631 of file ipr.h.

__be32 seek_counter

Definition at line 852 of file ipr.h.

Definition at line 854 of file ipr.h.

u8 serial_num[IPR_SERIAL_NUM_LEN]

Definition at line 388 of file ipr.h.

Definition at line 621 of file ipr.h.

u8 sis_version[2]

Definition at line 789 of file ipr.h.

Definition at line 325 of file ipr.h.

u8 spinup_delay

Definition at line 752 of file ipr.h.

__be32 start_token

Definition at line 1162 of file ipr.h.

Definition at line 1169 of file ipr.h.

Definition at line 632 of file ipr.h.

struct ipr_std_inq_data std_inq_data

Definition at line 409 of file ipr.h.

u8 sync_cmdq_flags

Definition at line 382 of file ipr.h.

u8 target

Definition at line 316 of file ipr.h.

__be32 time_since_last_ioa_reset

Definition at line 1180 of file ipr.h.

__be64 time_stamp

Definition at line 1090 of file ipr.h.

__be16 timeout

Definition at line 518 of file ipr.h.

Definition at line 1650 of file ipr.h.

Definition at line 1602 of file ipr.h.

Definition at line 1624 of file ipr.h.

Definition at line 1069 of file ipr.h.

Definition at line 1070 of file ipr.h.

Definition at line 1071 of file ipr.h.

Definition at line 1072 of file ipr.h.

Definition at line 1073 of file ipr.h.

Definition at line 1074 of file ipr.h.

Definition at line 1075 of file ipr.h.

Definition at line 1076 of file ipr.h.

Definition at line 1077 of file ipr.h.

Definition at line 1078 of file ipr.h.

Definition at line 1096 of file ipr.h.

Definition at line 1097 of file ipr.h.

Definition at line 1098 of file ipr.h.

Definition at line 1068 of file ipr.h.

u8 type_status

Definition at line 973 of file ipr.h.

union { ... } u
u8 vendor_id[IPR_VENDOR_ID_LEN]

Definition at line 319 of file ipr.h.

u8 version

Definition at line 377 of file ipr.h.

Definition at line 1621 of file ipr.h.

Definition at line 329 of file ipr.h.

Definition at line 324 of file ipr.h.

Definition at line 682 of file ipr.h.

u8 vset_num

Definition at line 416 of file ipr.h.

u8 vset_serial_num

Definition at line 918 of file ipr.h.

__be32 write_ioadl_addr

Definition at line 605 of file ipr.h.

__u64 wwid

Definition at line 330 of file ipr.h.