Lines Matching +full:no +full:- +full:high +full:- +full:z

1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Maybe this should handle DIO-II later?
19 * range from 0-63 (DIO) and 132-255 (DIO-II).
22 * So DIO cards cover [0x600000-0x800000); the areas [0x200000-0x400000) and
23 * [0x800000-0x1000000) are for additional space required by things
24 * like framebuffers. [0x400000-0x600000) is for miscellaneous internal I/O.
27 * DIO-II boards are at 0x1000000 + (sc - 132) * 0x400000
28 * which is address range [0x1000000-0x20000000) -- too big to map completely,
29 * so currently we just don't handle DIO-II boards. It wouldn't be hard to
90 int (*probe)(struct dio_dev *z, const struct dio_device_id *id);
92 …void (*remove)(struct dio_dev *z); /* Device removed (NULL if not a hot-plug capable driver…
98 /* DIO/DIO-II boards all have the following 8bit registers.
104 #define DIOII_SIZEOFF 0x101 /* device size, DIO-II only */
111 #define DIOII_BASE 0x01000000 /* start of DIO-II space */
112 #define DIOII_END 0x20000000 /* end of DIO-II space */
113 #define DIOII_DEVSIZE 0x00400000 /* size of a DIO-II device */
115 /* Highest valid select code. If we add DIO-II support this should become
119 #define DIOII_SCBASE 132 /* lowest DIO-II select code */
130 /* find the size of a DIO-II board's address space.
135 /* general purpose macro for both DIO and DIO-II */
163 #define DIO_ID_FHPIB 0x08 /* 98625A/98625B fast HP-IB */
165 #define DIO_ID_NHPIB 0x01 /* 98624A HP-IB (normal ie slow) */
177 /* the NetBSD kernel source is a bit unsure as to what these next IDs actually do :-> */
196 #define DIO_ID_MISC8 0x1a /* quad-wide card */
197 #define DIO_DESC_MISC8 "quad-wide card"
222 #define DIO_DESC2_LRCATSEYE "low-res catseye display"
224 #define DIO_DESC2_HRCCATSEYE "high-res color catseye display"
226 #define DIO_DESC2_HRMCATSEYE "high-res mono catseye display"
233 #define DIO_ID2_XGENESIS 0x0b /* "x-genesis"; no NetBSD support */
234 #define DIO_DESC2_XGENESIS "\"x-genesis\" display"
235 #define DIO_ID2_TIGER 0x0c /* "tiger"; no NetBSD support */
237 #define DIO_ID2_YGENESIS 0x0d /* "y-genesis"; no NetBSD support */
238 #define DIO_DESC2_YGENESIS "\"y-genesis\" display"
247 /* New-style probing */
251 #define dio_resource_start(d) ((d)->resource.start)
252 #define dio_resource_end(d) ((d)->resource.end)
253 #define dio_resource_len(d) (resource_size(&(d)->resource))
254 #define dio_resource_flags(d) ((d)->resource.flags)
261 /* Similar to the helpers above, these manipulate per-dio_dev
262 * driver-specific data. They are really just a wrapper around
267 return dev_get_drvdata(&d->dev); in dio_get_drvdata()
272 dev_set_drvdata(&d->dev, data); in dio_set_drvdata()