12067fd92SSamuel Thibault /* SPDX-License-Identifier: GPL-2.0 */ 22067fd92SSamuel Thibault /* speakup_acntpc.h - header file for speakups Accent-PC driver. */ 32067fd92SSamuel Thibault 42067fd92SSamuel Thibault #define SYNTH_IO_EXTENT 0x02 52067fd92SSamuel Thibault 62067fd92SSamuel Thibault #define SYNTH_CLEAR 0x18 /* stops speech */ 72067fd92SSamuel Thibault 82067fd92SSamuel Thibault /* Port Status Flags */ 92067fd92SSamuel Thibault #define SYNTH_READABLE 0x01 /* mask for bit which is nonzero if a 102067fd92SSamuel Thibault * byte can be read from the data port 112067fd92SSamuel Thibault */ 122067fd92SSamuel Thibault #define SYNTH_WRITABLE 0x02 /* mask for RDY bit, which when set to 132067fd92SSamuel Thibault * 1, indicates the data port is ready 142067fd92SSamuel Thibault * to accept a byte of data. 152067fd92SSamuel Thibault */ 162067fd92SSamuel Thibault #define SYNTH_QUIET 'S' /* synth is not speaking */ 172067fd92SSamuel Thibault #define SYNTH_FULL 'F' /* synth is full. */ 182067fd92SSamuel Thibault #define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */ 192067fd92SSamuel Thibault #define SYNTH_SPEAKING 's' /* synth is speaking and has a fare way to go */ 20