Lines Matching +full:total +full:- +full:timeout
1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) 1998-99 Kirk Reiser.
52 [CAPS_STOP_ID] = { CAPS_STOP, .u.s = {"\x01-35p" } },
175 int timeout = SPK_XMITR_TIMEOUT; in spk_out() local
178 if (!--timeout) in spk_out()
183 timeout = SPK_XMITR_TIMEOUT; in spk_out()
185 if (!--timeout) in spk_out()
204 jiffy_delta_val = jiffy_delta->u.n.value; in do_catch_up()
212 synth->flush(synth); in do_catch_up()
221 delay_time_val = delay_time->u.n.value; in do_catch_up()
237 delay_time_val = delay_time->u.n.value; in do_catch_up()
238 jiffy_delta_val = jiffy_delta->u.n.value; in do_catch_up()
287 int total, i; in synth_interrogate() local
291 for (total = 0, i = 0; i < 50; i++) { in synth_interrogate()
292 buf[total] = synth_read_tts(); in synth_interrogate()
293 if (total > 2 && buf[total] == 0x7f) in synth_interrogate()
295 if (total < sizeof(struct synth_settings)) in synth_interrogate()
296 total++; in synth_interrogate()
304 if (i < sizeof(status.rom_version) - 1) in synth_interrogate()
339 if (synth_request_region(speakup_info.port_tts - 1, in synth_probe()
342 return -EBUSY; in synth_probe()
344 port_val = inw(speakup_info.port_tts - 1); in synth_probe()
345 synth_lpc = speakup_info.port_tts - 1; in synth_probe()
366 return -ENODEV; in synth_probe()
371 pr_info("%s: %03x-%03x, ROM ver %s, s/n %u, driver: %s\n", in synth_probe()
372 synth->long_name, synth_lpc, synth_lpc + SYNTH_IO_EXTENT - 1, in synth_probe()
373 sp->rom_version, sp->serial_number, synth->version); in synth_probe()
374 synth->alive = 1; in synth_probe()
382 synth_release_region(speakup_info.port_tts - 1, in dtlk_release()