162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/* speakup_acntpc.h - header file for speakups Accent-PC driver. */
362306a36Sopenharmony_ci
462306a36Sopenharmony_ci#define SYNTH_IO_EXTENT	0x02
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#define SYNTH_CLEAR	0x18		/* stops speech */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci	/* Port Status Flags */
962306a36Sopenharmony_ci#define SYNTH_READABLE	0x01	/* mask for bit which is nonzero if a
1062306a36Sopenharmony_ci				 * byte can be read from the data port
1162306a36Sopenharmony_ci				 */
1262306a36Sopenharmony_ci#define SYNTH_WRITABLE	0x02	/* mask for RDY bit, which when set to
1362306a36Sopenharmony_ci				 * 1, indicates the data port is ready
1462306a36Sopenharmony_ci				 *  to accept a byte of data.
1562306a36Sopenharmony_ci				 */
1662306a36Sopenharmony_ci#define SYNTH_QUIET	'S' /* synth is not speaking */
1762306a36Sopenharmony_ci#define SYNTH_FULL	'F' /* synth is full. */
1862306a36Sopenharmony_ci#define SYNTH_ALMOST_EMPTY 'M' /* synth has less than 2 seconds of text left */
1962306a36Sopenharmony_ci#define SYNTH_SPEAKING	's' /* synth is speaking and has a fare way to go */
20