#include <linux/jiffies.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/kthread.h>
#include "spk_priv.h"
#include "serialio.h"
#include "speakup_dtlk.h"
#include "speakup.h"
#define DRV_VERSION …
#define PROCSPEECH …
static int synth_probe(struct spk_synth *synth);
static void dtlk_release(struct spk_synth *synth);
static const char *synth_immediate(struct spk_synth *synth, const char *buf);
static void do_catch_up(struct spk_synth *synth);
static void synth_flush(struct spk_synth *synth);
static int synth_lpc;
static int port_forced;
static unsigned int synth_portlist[] = …;
static u_char synth_status;
enum default_vars_id { … };
static struct var_t vars[NB_ID] = …;
static struct kobj_attribute caps_start_attribute = …;
static struct kobj_attribute caps_stop_attribute = …;
static struct kobj_attribute freq_attribute = …;
static struct kobj_attribute pitch_attribute = …;
static struct kobj_attribute punct_attribute = …;
static struct kobj_attribute rate_attribute = …;
static struct kobj_attribute tone_attribute = …;
static struct kobj_attribute voice_attribute = …;
static struct kobj_attribute vol_attribute = …;
static struct kobj_attribute delay_time_attribute = …;
static struct kobj_attribute direct_attribute = …;
static struct kobj_attribute full_time_attribute = …;
static struct kobj_attribute jiffy_delta_attribute = …;
static struct kobj_attribute trigger_time_attribute = …;
static struct attribute *synth_attrs[] = …;
static struct spk_synth synth_dtlk = …;
static inline bool synth_readable(void)
{ … }
static inline bool synth_writable(void)
{ … }
static inline bool synth_full(void)
{ … }
static void spk_out(const char ch)
{ … }
static void do_catch_up(struct spk_synth *synth)
{ … }
static const char *synth_immediate(struct spk_synth *synth, const char *buf)
{ … }
static void synth_flush(struct spk_synth *synth)
{ … }
static char synth_read_tts(void)
{ … }
static struct synth_settings *synth_interrogate(struct spk_synth *synth)
{ … }
static int synth_probe(struct spk_synth *synth)
{ … }
static void dtlk_release(struct spk_synth *synth)
{ … }
module_param_hw_named(port, port_forced, int, ioport, 0444);
module_param_named(start, synth_dtlk.startup, short, 0444);
module_param_named(rate, vars[RATE_ID].u.n.default_val, int, 0444);
module_param_named(pitch, vars[PITCH_ID].u.n.default_val, int, 0444);
module_param_named(vol, vars[VOL_ID].u.n.default_val, int, 0444);
module_param_named(tone, vars[TONE_ID].u.n.default_val, int, 0444);
module_param_named(punct, vars[PUNCT_ID].u.n.default_val, int, 0444);
module_param_named(voice, vars[VOICE_ID].u.n.default_val, int, 0444);
module_param_named(frequency, vars[FREQUENCY_ID].u.n.default_val, int, 0444);
module_param_named(direct, vars[DIRECT_ID].u.n.default_val, int, 0444);
MODULE_PARM_DESC(…) …;
MODULE_PARM_DESC(…) …;
MODULE_PARM_DESC(…) …;
MODULE_PARM_DESC(…) …;
MODULE_PARM_DESC(…) …;
MODULE_PARM_DESC(…) …;
MODULE_PARM_DESC(…) …;
MODULE_PARM_DESC(…) …;
MODULE_PARM_DESC(…) …;
MODULE_PARM_DESC(…) …;
module_spk_synth(…);
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_VERSION(…);