Lines Matching +full:0 +full:x0000001
37 #define LPFC_SKIP_UNREG_FCF 0
46 #define LPFC_HBA_HDWQ_MIN 0
51 #define LPFC_IRQ_CHANN_MIN 0
56 #define LPFC_FCP_MQ_THRESHOLD_MIN 0
65 #define LPFC_FCOE_FCF_DEF_INDEX 0
66 #define LPFC_FCOE_FCF_GET_FIRST 0xFFFF
67 #define LPFC_FCOE_FCF_NEXT_NONE 0xFFFF
69 #define LPFC_FCOE_NULL_VID 0xFFF
70 #define LPFC_FCOE_IGNORE_VID 0xFFFF
73 #define LPFC_FCOE_FCF_MAC3 0xFF
74 #define LPFC_FCOE_FCF_MAC4 0xFF
75 #define LPFC_FCOE_FCF_MAC5 0xFE
76 #define LPFC_FCOE_FCF_MAP0 0x0E
77 #define LPFC_FCOE_FCF_MAP1 0xFC
78 #define LPFC_FCOE_FCF_MAP2 0x00
79 #define LPFC_FCOE_MAX_RCV_SIZE 0x800
80 #define LPFC_FCOE_FKA_ADV_PER 0
81 #define LPFC_FCOE_FIP_PRIORITY 0x80
84 ((fc_hdr)->fh_s_id[0] << 16 | \
89 ((fc_hdr)->fh_d_id[0] << 16 | \
94 ((fc_hdr)->fh_f_ctl[0] << 16 | \
103 #define INT_FW_UPGRADE 0
168 #define LPFC_EQ_INTERRUPT 0
229 #define LPFC_FIND_BY_EQ 0
232 #define LPFC_DB_RING_FORMAT 0x01
233 #define LPFC_DB_LIST_FORMAT 0x02
235 #define HBA_NVMET_WQFULL 0x1 /* We hit WQ Full condition for NVMET */
236 #define HBA_NVMET_CQ_NOTIFY 0x1 /* LPFC_NVMET_CQ_NOTIFY CQEs this EQE */
237 #define HBA_EQ_DELAY_CHK 0x2 /* EQ is a candidate for coalescing */
306 #define BOOT_ENABLE 0x01
307 #define RECORD_VALID 0x02
312 #define LPFC_FCF_ON_PRI_LIST 0x0001
313 #define LPFC_FCF_FLOGI_FAILED 0x0002
332 #define FCF_AVAILABLE 0x01 /* FCF available for discovery */
333 #define FCF_REGISTERED 0x02 /* FCF registered with FW */
334 #define FCF_SCAN_DONE 0x04 /* FCF table scan done */
335 #define FCF_IN_USE 0x08 /* Atleast one discovery completed */
336 #define FCF_INIT_DISC 0x10 /* Initial FCF discovery */
337 #define FCF_DEAD_DISC 0x20 /* FCF DEAD fast FCF failover discovery */
338 #define FCF_ACVL_DISC 0x40 /* All CVL fast FCF failover discovery */
340 #define FCF_REDISC_PEND 0x80 /* FCF rediscovery pending */
341 #define FCF_REDISC_EVT 0x100 /* FCF rediscovery event to worker thread */
342 #define FCF_REDISC_FOV 0x200 /* Post FCF rediscovery fast failover */
359 #define LPFC_REGION23_LAST_REC 0xff
360 #define DRIVER_SPECIFIC_TYPE 0xA2
361 #define LINUX_DRIVER_ID 0x20
362 #define PORT_STE_TYPE 0x1
366 #define FCOE_PARAM_TYPE 0xA0
370 #define FIPP_VERSION 0x01
373 #define lpfc_fip_param_hdr_fipp_mode_MASK 0x3
375 #define FIPP_MODE_ON 0x1
376 #define FIPP_MODE_OFF 0x0
377 #define FIPP_VLAN_VALID 0x1
389 #define FCOE_CONN_TBL_TYPE 0xA1
396 #define FCFCNCT_VALID 0x0001
397 #define FCFCNCT_BOOT 0x0002
398 #define FCFCNCT_PRIMARY 0x0004 /* if not set, Secondary */
399 #define FCFCNCT_FBNM_VALID 0x0008
400 #define FCFCNCT_SWNM_VALID 0x0010
401 #define FCFCNCT_VLAN_VALID 0x0020
402 #define FCFCNCT_AM_VALID 0x0040
403 #define FCFCNCT_AM_PREFERRED 0x0080 /* if not set, AM Required */
404 #define FCFCNCT_AM_SPMA 0x0100 /* if not set, FPMA */
457 #define SLI4_CT_RPI 0
505 #define lpfc_bbscn_min_SHIFT 0
506 #define lpfc_bbscn_min_MASK 0x0000000F
509 #define lpfc_bbscn_max_MASK 0x0000000F
512 #define lpfc_bbscn_def_MASK 0x0000000F
525 #define LPFC_SLI4_PROTO_FCOE 0x0000001
526 #define LPFC_SLI4_PROTO_FC 0x0000002
527 #define LPFC_SLI4_PROTO_NIC 0x0000004
528 #define LPFC_SLI4_PROTO_ISCSI 0x0000008
529 #define LPFC_SLI4_PROTO_RDMA 0x0000010
576 #define LPFC_CQ_4K_PAGE_SZ 0x1
577 #define LPFC_CQ_16K_PAGE_SZ 0x4
578 #define LPFC_WQ_4K_PAGE_SZ 0x1
579 #define LPFC_WQ_16K_PAGE_SZ 0x4
588 #define LPFC_LNK_DAT_INVAL 0
591 #define LPFC_LNK_GE 0x0 /* FCoE */
592 #define LPFC_LNK_FC 0x1 /* FC */
593 #define LPFC_LNK_FC_TRUNKED 0x2 /* FC_Trunked */
608 #define LPFC_CPU_MAP_HYPER 0x1
609 #define LPFC_CPU_MAP_UNASSIGN 0x2
610 #define LPFC_CPU_FIRST_IRQ 0x4
612 #define LPFC_VECTOR_MAP_EMPTY 0xffff
614 #define LPFC_IRQ_EMPTY 0xffffffff
741 while (spin_trylock_irqsave(lock, flag) == 0) { \
743 only_once = 0; \
751 while (spin_trylock(lock) == 0) { \
753 only_once = 0; \
788 /* IF Type 0, BAR 0 PCI cfg space reg mem map */
795 /* IF Type 2, BAR 0 PCI cfg space reg mem map. */
799 #define SLIPORT_ERR1_REG_ERR_CODE_1 0x1
800 #define SLIPORT_ERR1_REG_ERR_CODE_2 0x2
802 #define SLIPORT_ERR2_REG_FW_RESTART 0x0
803 #define SLIPORT_ERR2_REG_FUNC_PROVISON 0x1
804 #define SLIPORT_ERR2_REG_FORCED_DUMP 0x2
805 #define SLIPORT_ERR2_REG_FAILURE_EQ 0x3
806 #define SLIPORT_ERR2_REG_FAILURE_CQ 0x4
807 #define SLIPORT_ERR2_REG_FAILURE_BUS 0x5
808 #define SLIPORT_ERR2_REG_FAILURE_RQ 0x6
813 /* IF type 0, BAR1 and if type 2, Bar 0 CSR register memory map */
819 /* IF type 0, BAR 1 function CSR register memory map */
823 /* IF type 0, BAR 0 and if type 2, BAR 0 doorbell register memory map */
941 #define LPFC_SLI4_PPNAME_NON 0
961 #define lpfc_conf_trunk_port0_SHIFT 0
962 #define lpfc_conf_trunk_port0_MASK 0x1
965 #define lpfc_conf_trunk_port1_MASK 0x1
968 #define lpfc_conf_trunk_port2_MASK 0x1
971 #define lpfc_conf_trunk_port3_MASK 0x1
974 #define lpfc_conf_trunk_port0_nd_MASK 0x1
977 #define lpfc_conf_trunk_port1_nd_MASK 0x1
980 #define lpfc_conf_trunk_port2_nd_MASK 0x1
983 #define lpfc_conf_trunk_port3_nd_MASK 0x1
987 #define LPFC_FAWWPN_CONFIG 0x1 /* FA-PWWN is configured */
988 #define LPFC_FAWWPN_FABRIC 0x2 /* FA-PWWN success with Fabric */
1188 * Use only for SLI4 interface type-2 or later. If ERR is set && RN is 0, then