xref: /linux/drivers/accessibility/speakup/speakup_acnt.h (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* speakup_acntpc.h - header file for speakups Accent-PC driver. */
3 
4 #define SYNTH_IO_EXTENT	0x02
5 
6 #define SYNTH_CLEAR	0x18		/* stops speech */
7 
8 	/* Port Status Flags */
9 #define SYNTH_READABLE	0x01	/* mask for bit which is nonzero if a
10 				 * byte can be read from the data port
11 				 */
12 #define SYNTH_WRITABLE	0x02	/* mask for RDY bit, which when set to
13 				 * 1, indicates the data port is ready
14 				 *  to accept a byte of data.
15 				 */
16 #define SYNTH_QUIET	'S' /* synth is not speaking */
17 #define SYNTH_FULL	'F' /* synth is full. */
18 #define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */
19 #define SYNTH_SPEAKING	's' /* synth is speaking and has a fare way to go */
20