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