Lines Matching +full:0 +full:x4500

58 #define IOCTL_SUCCESS               0
76 * NOTE - if channel == 0xFF, the request is
83 #define FUNC_FW_DOWNLOAD 0x09
84 #define FUNC_FW_UPLOAD 0x12
87 #define FW_IMG_FW 0x01
88 #define FW_IMG_BIOS 0x02
89 #define FW_IMG_NVR 0x03
90 #define FW_IMG_RAW 0x04
91 #define FW_IMG_FM_API 0x05
92 #define FW_IMG_FS_API 0x06
97 u8 image[0x80000];
161 #define CSMI_STS_SUCCESS 0
198 #define CSMI_MAJOR_REV_0_81 0
222 #define CSMI_SLOT_NUM_UNKNOWN 0xFFFF
246 #define CSMI_CNTLRF_SAS_HBA 0x00000001
247 #define CSMI_CNTLRF_SAS_RAID 0x00000002
248 #define CSMI_CNTLRF_SATA_HBA 0x00000004
249 #define CSMI_CNTLRF_SATA_RAID 0x00000008
250 #define CSMI_CNTLRF_FWD_SUPPORT 0x00010000
251 #define CSMI_CNTLRF_FWD_ONLINE 0x00020000
252 #define CSMI_CNTLRF_FWD_SRESET 0x00040000
253 #define CSMI_CNTLRF_FWD_HRESET 0x00080000
254 #define CSMI_CNTLRF_FWD_RROM 0x00100000
275 #define CSMI_OFFLINE_NO_REASON 0
286 #define CSMI_FWDF_VALIDATE 0x00000001
287 #define CSMI_FWDF_SOFT_RESET 0x00000002
288 #define CSMI_FWDF_HARD_RESET 0x00000004
292 #define CSMI_FWD_STS_SUCCESS 0
299 #define CSMI_FWD_SEV_INFO 0
320 #define CSMI_DRV_STS_OK 0
326 #define CSMI_DRV_USE_NOT_USED 0
348 u8 ident_frame[0x1C];
355 #define CSMI_DISC_NOT_SUPPORTED 0x00
356 #define CSMI_DISC_NOT_STARTED 0x01
357 #define CSMI_DISC_IN_PROGRESS 0x02
358 #define CSMI_DISC_COMPLETE 0x03
359 #define CSMI_DISC_ERROR 0x04
362 u8 attach_ident_frame[0x1C];
375 #define CSMI_NEG_RATE_NEGOTIATE 0x00
376 #define CSMI_NEG_RATE_PHY_DIS 0x01
381 #define CSMI_SIG_CLASS_UNKNOWN 0x00
382 #define CSMI_SIG_CLASS_DIRECT 0x01
383 #define CSMI_SIG_CLASS_SERVER 0x02
384 #define CSMI_SIG_CLASS_ENCLOSURE 0x03
392 #define CSMI_RESET_CNTS_NO 0x00
393 #define CSMI_RESET_CNTS_YES 0x01
447 #define CSMI_SSPF_DD_READ 0x00000001
448 #define CSMI_SSPF_DD_WRITE 0x00000002
449 #define CSMI_SSPF_DD_UNSPECIFIED 0x00000004
450 #define CSMI_SSPF_TA_SIMPLE 0x00000000
451 #define CSMI_SSPF_TA_HEAD_OF_Q 0x00000010
452 #define CSMI_SSPF_TA_ORDERED 0x00000020
453 #define CSMI_SSPF_TA_ACA 0x00000040
478 #define CSMI_STPF_DD_READ 0x00000001
479 #define CSMI_STPF_DD_WRITE 0x00000002
480 #define CSMI_STPF_DD_UNSPECIFIED 0x00000004
481 #define CSMI_STPF_PIO 0x00000010
482 #define CSMI_STPF_DMA 0x00000020
483 #define CSMI_STPF_PACKET 0x00000040
484 #define CSMI_STPF_DMA_QUEUED 0x00000080
485 #define CSMI_STPF_EXECUTE_DIAG 0x00000100
486 #define CSMI_STPF_RESET_DEVICE 0x00000200
523 #define CSMI_TMF_TASK_IU 0x00000001
524 #define CSMI_TMF_HARD_RST 0x00000002
525 #define CSMI_TMF_SUPPRESS_RSLT 0x00000004
543 #define CSMI_CON_UNKNOWN 0x00000001
544 #define CSMI_CON_SFF_8482 0x00000002
545 #define CSMI_CON_SFF_8470_LANE_1 0x00000100
546 #define CSMI_CON_SFF_8470_LANE_2 0x00000200
547 #define CSMI_CON_SFF_8470_LANE_3 0x00000400
548 #define CSMI_CON_SFF_8470_LANE_4 0x00000800
549 #define CSMI_CON_SFF_8484_LANE_1 0x00010000
550 #define CSMI_CON_SFF_8484_LANE_2 0x00020000
551 #define CSMI_CON_SFF_8484_LANE_3 0x00040000
552 #define CSMI_CON_SFF_8484_LANE_4 0x00080000
556 #define CSMI_CON_INTERNAL 0x02
557 #define CSMI_CON_EXTERNAL 0x04
558 #define CSMI_CON_SWITCHABLE 0x08
559 #define CSMI_CON_AUTO 0x10
567 #define CSMI_CTF_POS_DISP 0x01
568 #define CSMI_CTF_NEG_DISP 0x02
569 #define CSMI_CTF_CTRL_CHAR 0x04
576 #define CSMI_PC_TYPE_UNDEFINED 0x00
577 #define CSMI_PC_TYPE_SATA 0x01
578 #define CSMI_PC_TYPE_SAS 0x02
583 #define CSMI_PC_TXF_PREEMP_DIS 0x00000001
591 #define CSMI_PC_RXF_EQ_DIS 0x00000001
598 #define CSMI_PC_PATF_FIXED 0x00000001
599 #define CSMI_PC_PATF_DIS_SCR 0x00000002
600 #define CSMI_PC_PATF_DIS_ALIGN 0x00000004
601 #define CSMI_PC_PATF_DIS_SSC 0x00000008
604 #define CSMI_PC_FP_CJPAT 0x00000001
605 #define CSMI_PC_FP_ALIGN 0x00000002
615 #define CSMI_PC_FUNC_GET_SETUP 0x00000100
622 #define CSMI_PHY_ACTIVATE_CTRL 0x00000001
623 #define CSMI_PHY_UPD_SPINUP_RATE 0x00000002
624 #define CSMI_PHY_AUTO_COMWAKE 0x00000004
674 #define ATTO_FUNC_GET_ADAP_INFO 0x00
675 #define ATTO_VER_GET_ADAP_INFO0 0
692 #define ATTO_GAI_PCILW_UNKNOWN 0x00
696 #define ATTO_GAI_PCILS_UNKNOWN 0x00
697 #define ATTO_GAI_PCILS_GEN1 0x01
698 #define ATTO_GAI_PCILS_GEN2 0x02
699 #define ATTO_GAI_PCILS_GEN3 0x03
702 #define ATTO_GAI_PCIIM_UNKNOWN 0x00
703 #define ATTO_GAI_PCIIM_LEGACY 0x01
704 #define ATTO_GAI_PCIIM_MSI 0x02
705 #define ATTO_GAI_PCIIM_MSIX 0x03
712 #define ATTO_GAI_AT_EPCIU320 0x00
713 #define ATTO_GAI_AT_ESASRAID 0x01
714 #define ATTO_GAI_AT_ESASRAID2 0x02
715 #define ATTO_GAI_AT_ESASHBA 0x03
716 #define ATTO_GAI_AT_ESASHBA2 0x04
717 #define ATTO_GAI_AT_CELERITY 0x05
718 #define ATTO_GAI_AT_CELERITY8 0x06
719 #define ATTO_GAI_AT_FASTFRAME 0x07
720 #define ATTO_GAI_AT_ESASHBA3 0x08
721 #define ATTO_GAI_AT_CELERITY16 0x09
722 #define ATTO_GAI_AT_TLSASHBA 0x0A
723 #define ATTO_GAI_AT_ESASHBA4 0x0B
726 #define ATTO_GAI_AF_DEGRADED 0x01
727 #define ATTO_GAI_AF_SPT_SUPP 0x02
728 #define ATTO_GAI_AF_DEVADDR_SUPP 0x04
729 #define ATTO_GAI_AF_PHYCTRL_SUPP 0x08
730 #define ATTO_GAI_AF_TEST_SUPP 0x10
731 #define ATTO_GAI_AF_DIAG_SUPP 0x20
732 #define ATTO_GAI_AF_VIRT_SES 0x40
733 #define ATTO_GAI_AF_CONN_CTRL 0x80
753 #define ATTO_GAI_AF2_FCOE_SUPP 0x01
754 #define ATTO_GAI_AF2_NIC_SUPP 0x02
755 #define ATTO_GAI_AF2_LOCATE_SUPP 0x04
756 #define ATTO_GAI_AF2_ADAP_CTRL_SUPP 0x08
757 #define ATTO_GAI_AF2_DEV_INFO_SUPP 0x10
758 #define ATTO_GAI_AF2_NPIV_SUPP 0x20
759 #define ATTO_GAI_AF2_MP_SUPP 0x40
764 #define ATTO_GAI_TF_MEM_RW 0x00000001
765 #define ATTO_GAI_TF_TRACE 0x00000002
766 #define ATTO_GAI_TF_SCSI_PASS_THRU 0x00000004
767 #define ATTO_GAI_TF_GET_DEV_ADDR 0x00000008
768 #define ATTO_GAI_TF_PHY_CTRL 0x00000010
769 #define ATTO_GAI_TF_CONN_CTRL 0x00000020
770 #define ATTO_GAI_TF_GET_DEV_INFO 0x00000040
772 u8 reserved3[0x138];
775 #define ATTO_FUNC_GET_ADAP_ADDR 0x01
776 #define ATTO_VER_GET_ADAP_ADDR0 0
782 #define ATTO_GAA_AT_PORT 0x00
783 #define ATTO_GAA_AT_NODE 0x01
784 #define ATTO_GAA_AT_CURR_MAC 0x02
785 #define ATTO_GAA_AT_PERM_MAC 0x03
786 #define ATTO_GAA_AT_VNIC 0x04
793 #define ATTO_FUNC_MEM_RW 0x02
794 #define ATTO_VER_MEM_RW0 0
811 #define ATTO_FUNC_TRACE 0x03
812 #define ATTO_VER_TRACE0 0
818 #define ATTO_TRC_TF_GET_INFO 0x00
819 #define ATTO_TRC_TF_ENABLE 0x01
820 #define ATTO_TRC_TF_DISABLE 0x02
821 #define ATTO_TRC_TF_SET_MASK 0x03
822 #define ATTO_TRC_TF_UPLOAD 0x04
823 #define ATTO_TRC_TF_RESET 0x05
826 #define ATTO_TRC_TT_DRIVER 0x00
827 #define ATTO_TRC_TT_FWCOREDUMP 0x01
837 #define ATTO_FUNC_SCSI_PASS_THRU 0x04
838 #define ATTO_VER_SCSI_PASS_THRU0 0
845 #define ATTO_SPT_RS_SUCCESS 0x00
846 #define ATTO_SPT_RS_FAILED 0x01
847 #define ATTO_SPT_RS_OVERRUN 0x02
848 #define ATTO_SPT_RS_UNDERRUN 0x03
849 #define ATTO_SPT_RS_NO_DEVICE 0x04
850 #define ATTO_SPT_RS_NO_LUN 0x05
851 #define ATTO_SPT_RS_TIMEOUT 0x06
852 #define ATTO_SPT_RS_BUS_RESET 0x07
853 #define ATTO_SPT_RS_ABORTED 0x08
854 #define ATTO_SPT_RS_BUSY 0x09
855 #define ATTO_SPT_RS_DEGRADED 0x0A
860 #define ATTO_SPTF_DATA_IN 0x00000001
861 #define ATTO_SPTF_DATA_OUT 0x00000002
862 #define ATTO_SPTF_SIMPLE_Q 0x00000004
863 #define ATTO_SPTF_HEAD_OF_Q 0x00000008
864 #define ATTO_SPTF_ORDERED_Q 0x00000010
870 u8 sense_data[0xFC];
871 u8 reserved[0x28];
874 #define ATTO_FUNC_GET_DEV_ADDR 0x05
875 #define ATTO_VER_GET_DEV_ADDR0 0
880 #define ATTO_GDA_AT_PORT 0x00
881 #define ATTO_GDA_AT_NODE 0x01
882 #define ATTO_GDA_AT_MAC 0x02
883 #define ATTO_GDA_AT_PORTID 0x03
884 #define ATTO_GDA_AT_UNIQUE 0x04
895 #define ATTO_FUNC_PHY_CTRL 0x06
896 #define ATTO_FUNC_CONN_CTRL 0x0C
897 #define ATTO_FUNC_ADAP_CTRL 0x0E
898 #define ATTO_VER_ADAP_CTRL0 0
903 #define ATTO_AC_AF_HARD_RST 0x00
904 #define ATTO_AC_AF_GET_STATE 0x01
905 #define ATTO_AC_AF_GET_TEMP 0x02
908 #define ATTO_AC_AS_UNKNOWN 0x00
909 #define ATTO_AC_AS_OK 0x01
910 #define ATTO_AC_AS_RST_SCHED 0x02
911 #define ATTO_AC_AS_RST_IN_PROG 0x03
912 #define ATTO_AC_AS_RST_DISC 0x04
913 #define ATTO_AC_AS_DEGRADED 0x05
914 #define ATTO_AC_AS_DISABLED 0x06
915 #define ATTO_AC_AS_TEMP 0x07
924 #define ATTO_AC_TS_UNSUPP 0x00
925 #define ATTO_AC_TS_UNKNOWN 0x01
926 #define ATTO_AC_TS_INIT_FAILED 0x02
927 #define ATTO_AC_TS_NORMAL 0x03
928 #define ATTO_AC_TS_OUT_OF_RANGE 0x04
929 #define ATTO_AC_TS_FAULT 0x05
940 #define ATTO_FUNC_GET_DEV_INFO 0x0F
941 #define ATTO_VER_GET_DEV_INFO0 0
953 #define ATTO_SDI_SAS_LVL_INV 0xFF
959 #define ATTO_SDI_DT_END_DEVICE 0
967 #define ATTO_SDI_LF_DIRECT 0x01
968 #define ATTO_SDI_LF_EXPANDER 0x02
969 #define ATTO_SDI_LF_PORT_MULT 0x04
971 u8 reserved[0x60];
981 #define ATTO_GDI_IT_UNKNOWN 0x00
982 #define ATTO_GDI_IT_SAS 0x01
983 #define ATTO_GDI_IT_FC 0x02
984 #define ATTO_GDI_IT_FCOE 0x03
994 #define ATTO_STS_SUCCESS 0x00
995 #define ATTO_STS_FAILED 0x01
996 #define ATTO_STS_INV_VERSION 0x02
997 #define ATTO_STS_OUT_OF_RSRC 0x03
998 #define ATTO_STS_INV_FUNC 0x04
999 #define ATTO_STS_UNSUPPORTED 0x05
1000 #define ATTO_STS_INV_ADAPTER 0x06
1001 #define ATTO_STS_INV_DRVR_VER 0x07
1002 #define ATTO_STS_INV_PARAM 0x08
1003 #define ATTO_STS_TIMEOUT 0x09
1004 #define ATTO_STS_NOT_APPL 0x0A
1005 #define ATTO_STS_DEGRADED 0x0B
1008 #define HBAF_TUNNEL 0x01
1028 #define ATTO_VDA_SCSI_VER0 0
1044 #define ATTO_VDA_FLASH_VER0 0
1069 #define ATTO_VDA_DIAG_VER0 0
1081 #define ATTO_VDA_CLI_VER0 0
1089 #define ATTO_VDA_SMP_VER0 0
1098 #define ATTO_VDA_CFG_VER0 0
1114 #define ATTO_VDA_MGT_VER0 0
1140 #define ATTO_VDA_GSV_VER0 0
1146 #define ATTO_VDA_VER_UNSUPPORTED 0xFF
1179 #define ATTO_SMP_VERSION0 0
1185 #define ATTO_SMP_FUNC_DISC_SMP 0x00
1186 #define ATTO_SMP_FUNC_DISC_TARG 0x01
1187 #define ATTO_SMP_FUNC_SEND_CMD 0x02
1188 #define ATTO_SMP_FUNC_DISC_TARG_DIRECT 0x03
1189 #define ATTO_SMP_FUNC_SEND_CMD_DIRECT 0x04
1190 #define ATTO_SMP_FUNC_DISC_SMP_DIRECT 0x05
1194 #define ATTO_SMP_STS_SUCCESS 0x00
1195 #define ATTO_SMP_STS_FAILURE 0x01
1196 #define ATTO_SMP_STS_RESCAN 0x02
1197 #define ATTO_SMP_STS_NOT_FOUND 0x03
1207 #define ATTO_SMPF_ROOT_EXP 0x01 /* expander direct attached */
1236 #define EXPRESS_IOCTL_MIN 0x4500
1237 #define EXPRESS_IOCTL_RW_FIRMWARE 0x4500 /* FIRMWARERW */
1238 #define EXPRESS_IOCTL_READ_PARAMS 0x4501 /* PARAMRW */
1239 #define EXPRESS_IOCTL_WRITE_PARAMS 0x4502 /* PARAMRW */
1240 #define EXPRESS_IOCTL_FC_API 0x4503 /* internal */
1241 #define EXPRESS_IOCTL_GET_CHANNELS 0x4504 /* CHANNELLIST */
1242 #define EXPRESS_IOCTL_CHAN_INFO 0x4505 /* CHANNELINFO */
1243 #define EXPRESS_IOCTL_DEFAULT_PARAMS 0x4506 /* PARAMRW */
1244 #define EXPRESS_ADDR_MEMORY 0x4507 /* MEMADDR */
1245 #define EXPRESS_RW_MEMORY 0x4508 /* MEMRW */
1246 #define EXPRESS_TSDK_DUMP 0x4509 /* TSDKDUMP */
1247 #define EXPRESS_IOCTL_SMP 0x450A /* IOCTL_SMP */
1248 #define EXPRESS_CSMI 0x450B /* CSMI */
1249 #define EXPRESS_IOCTL_HBA 0x450C /* IOCTL_HBA */
1250 #define EXPRESS_IOCTL_VDA 0x450D /* IOCTL_VDA */
1251 #define EXPRESS_IOCTL_GET_ID 0x450E /* GET_ID */
1252 #define EXPRESS_IOCTL_GET_MOD_INFO 0x450F /* MODULE_INFO */
1253 #define EXPRESS_IOCTL_MAX 0x450F