Lines Matching +full:sub +full:- +full:device

6  *-------------------------------------------------------------------------
8 /*-
9 * SPDX-License-Identifier: BSD-3-Clause
53 #define CIS_MEM_COMMON 0x01 /* Device descriptor, common memory */
67 #define CIS_MEM_ATTR 0x17 /* Device descriptor, Attribute memory */
72 #define CIS_DEVICE_OC 0x1C /* Other conditions info - common memory */
73 #define CIS_DEVICE_OA 0x1D /* Other conditions info - attribute memory */
95 * Device descriptor for memory (CIS_MEM_ATTR, CIS_MEM_COMMON)
98 * 0xF0 - Device type
99 * 0x08 - Write protect switch
100 * 0x07 - Speed index (7 = extended speed)
103 * 0xF8 - Addressable units (0's numbered)
104 * 0x07 - Unit size
109 * CIS_INFO_V1 - Version one card information.
113 * Byte 3-x: Null terminated Manufacturer name
114 * Byte x-x: Null terminated product name
115 * Byte x-x: Null terminated additional info 1
116 * Byte x-x: Null terminated additional info 2
123 * CIS_CONF_MAP - Provides an address map for the card
128 * 0x3C - Register mask size (0's numbered)
129 * 0x03 - Register address size (0's numbered)
131 * 0x3F - ID of last configuration.
132 * Byte 3-n: Card register address (size is determined by
134 * Byte x-x: Card register masks (size determined by the
139 * CIS_CONFIG - Card configuration entry. Multiple tuples may
141 * memory/I-O map that can be used to address this card.
148 * 0x3F - Configuration ID number.
149 * 0x40 - Indicates this is the default configuration
150 * 0x80 - Interface byte exists
152 * 0x0F - Interface type value
153 * 0x10 - Battery voltage detect
154 * 0x20 - Write protect active
155 * 0x40 - RdyBsy active bit
156 * 0x80 - Wait signal required
158 * 0x03 - Power sub-tuple(s) exists
159 * 0x04 - Timing sub-tuple exists
160 * 0x08 - I/O space sub-tuple exists
161 * 0x10 - IRQ sub-tuple exists
162 * 0x60 - Memory space sub-tuple(s) exists
163 * 0x80 - Miscellaneous sub-tuple exists
173 * bit set, a number of sub-tuples follow. Some features have
174 * more than one sub-tuple, depending on the count within the
175 * features byte (e.g power feature bits allows up to 3 sub-tuples).
177 * Power structure sub-tuple:
178 * Byte 1: parameter exists - Each bit (starting from 0x01) indicates
179 * that a parameter block exists - up to 8 parameter blocks
182 * 0x7F - Parameter data
183 * 0x80 - More bytes follow (0 = last byte)
185 * Timing sub-tuple
187 * 0x03 - Wait scale
188 * 0x1C - Ready scale
189 * 0xE0 - Reserved scale
198 * I/O mapping sub-tuple:
200 * 0x1F - I/O address lines
201 * 0x20 - 8 bit I/O
202 * 0x40 - 16 bit I/O
203 * 0x80 - I/O range??
205 * 0x0F - 0's numbered count of I/O block subtuples following.
206 * 0x30 - Size of I/O address value within subtuple. Values
208 * 0xC0 - Size of I/O port block size value within subtuple.
209 * I/O block sub-tuples, count from previous block:
210 * Byte 1-n: I/O start address
211 * Byte x-x: Size of I/O port block.
221 * IRQ sub-tuple.
223 * 0x0F - Irq number or mask bits
224 * 0x10 - IRQ mask values exist
225 * 0x20 - Level triggered interrupts
226 * 0x40 - Pulse triggered requests
227 * 0x80 - Interrupt sharing.
228 * Byte 2-3: Interrupt req mask (if 0x10 of byte 1 set).
239 * Byte 1-2: upper 16 bits of 24 bit memory length.
241 * Byte 1-2: upper 16 bits of 24 bit memory length.
242 * Byte 3-4: upper 16 bits of 24 bit memory address.
245 * 0x07 - 0's numbered count of memory sub-tuples
246 * 0x18 - Memory length size (1's numbered)
247 * 0x60 - Memory address size (1's numbered)
248 * 0x80 - Host address value exists
249 * Memory sub-tuples follow:
250 * Byte 1-n: Memory length value (<< 8)
251 * Byte n-n: Memory card address value (<< 8)
252 * Byte n-n: Memory host address value (<< 8)
264 * Misc sub-tuple.
267 * 0x0c - DMA Request Signal
268 * 00 - not support DMA
269 * 01 - use SPKR# line
270 * 10 - use IOIS16# line
271 * 11 - use INPACK# line
272 * 0x10 - DMA Width
273 * 0 - 8 bit DMA
274 * 1 - 16 bit DMA