Lines Matching +full:max +full:- +full:by +full:- +full:define
2 * PMC-Sierra 8001/8081/8088/8089 SAS/SATA based host adapters driver
4 * Copyright (c) 2008-2009 USI Co., Ltd.
18 * 3. Neither the names of the above-listed copyright holders nor the names
23 * GNU General Public License ("GPL") version 2 as published by the Free
27 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
42 #define _PM8001_DEFS_H_
77 /* driver compile-time configuration */
78 #define PM8001_MAX_CCB 1024 /* max ccbs supported */
79 #define PM8001_MPI_QUEUE 1024 /* maximum mpi queue entries */
80 #define PM8001_MAX_INB_NUM 64
81 #define PM8001_MAX_OUTB_NUM 64
82 #define PM8001_CAN_QUEUE 508 /* SCSI Queue depth */
85 #define IOMB_SIZE_SPC 64
86 #define IOMB_SIZE_SPCV 128
89 #define PM8001_MAX_PHYS 16 /* max. possible phys */
90 #define PM8001_MAX_PORTS 16 /* max. possible ports */
91 #define PM8001_MAX_DEVICES 2048 /* max supported device */
92 #define PM8001_MAX_MSIX_VEC 64 /* max msi-x int for spcv/ve */
93 #define PM8001_RESERVE_SLOT 128
95 #define PM8001_SECTOR_SIZE 512
96 #define PM8001_PAGE_SIZE_4K 4096
97 #define PM8001_MAX_IO_SIZE (4 * 1024 * 1024)
98 #define PM8001_MAX_DMA_SG (PM8001_MAX_IO_SIZE / PM8001_PAGE_SIZE_4K)
99 #define PM8001_MAX_SECTORS (PM8001_MAX_IO_SIZE / PM8001_SECTOR_SIZE)
109 #define PM8001_EVENT_LOG_SIZE (128 * 1024)
115 #define USI_MAX_MEMCNT (USI_MAX_MEMCNT_BASE + ((2 * PM8001_MAX_INB_NUM) \
141 #define PHY_LINK_DISABLE 0x00
142 #define PHY_LINK_DOWN 0x01
143 #define PHY_STATE_LINK_UP_SPCV 0x2
144 #define PHY_STATE_LINK_UP_SPC 0x1