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