Lines Matching +full:rotary +full:- +full:encoder

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
37 * necessary transmits - don't set this too high.
53 #define D_EXTRA 2 /* useful, but non-vital information */
57 #define D_PROTO 64 /* debug auto-protocol support */
107 name, bytes, _y - _x, \
108 100000000 / 1024 * bytes / (_y - _x + 1)); \
115 * Time needed to reset the card - in ms (milliseconds). This works on my
127 * In non-RFC1201 protocols, we have to just tack some extra bytes on the
140 #define RESETflag 0x10 /* power-on-reset */
141 #define RES1flag 0x20 /* reserved - usually set by jumper */
142 #define RES2flag 0x40 /* reserved - usually set by jumper */
145 /* Flags used for IO-mapped memory operations */
148 #define ENABLE16flag 0x80 /* (for 90xx) Enable 16-bit mode */
151 * 0-2 command
152 * 3-4 page number (for enable rcv/xmt command)
165 #define RESETclear 0x08 /* power-on-reset */
180 #define NORMALconf 0x00 /* 1-249 byte packets */
181 #define EXTconf 0x08 /* 250-504 byte packets */
183 /* card feature flags, set during auto-detection.
190 #define ARC_HAS_ROTARY 8 /* card has rotary encoder */
194 char suffix; /* a for RFC1201, e for ether-encap, etc. */
196 int is_ip; /* This is a ip plugin - not a raw thing */
215 * to us. Mostly for partially-received split packets.
249 int cur_tx, /* buffer used by current transmit, or -1 */
274 * Buffer management: an ARCnet card has 4 x 512-byte buffers, each of
278 * situations in which we (for example) want to pre-load a transmit
317 /* hardware-specific functions */
377 #define BUS_ALIGN 2 /* 8 bit device on a 16 bit bus - needs padding */