Lines Matching +full:mode +full:- +full:xxx
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
69 * Parallel Port Chipset mode masks.
70 * NIBBLE mode is supposed to be available under each other modes.
72 #define PPB_COMPATIBLE 0x0 /* Centronics compatible mode */
74 #define PPB_NIBBLE 0x1 /* reverse 4 bit mode */
75 #define PPB_PS2 0x2 /* PS/2 byte mode */
76 #define PPB_EPP 0x4 /* EPP mode, 32 bit */
77 #define PPB_ECP 0x8 /* ECP mode */
79 /* mode aliases */
86 #define PPB_IS_EPP(mode) (mode & PPB_EPP) argument
135 #define PPB_FOREVER -1
140 #define PPB_MS_MAXLEN 64 /* XXX according to MS_INS_MASK */
143 /* maximum number of mode dependent
172 int mode; /* XXX chipset operating mode */ member
192 /* mode dependent get msq. If NULL,
197 /* mode dependent put msq. If NULL,
210 /* Parallel Port Chipset IVARS */ /* elsewhere XXX */
218 #define PPB_PnP_STRING_SIZE 256 /* XXX */
240 int mode; /* IEEE 1284-1994 mode member
269 extern int ppb_set_mode(device_t, int); /* returns old mode */
270 extern int ppb_get_mode(device_t); /* returns current mode */