Lines Matching refs:sent
205 int bytes, sent, time; in snd_echo_midi_output_write() local
210 sent = 0; in snd_echo_midi_output_write()
217 sent = write_midi(chip, buf, bytes); in snd_echo_midi_output_write()
218 if (sent < 0) { in snd_echo_midi_output_write()
220 "write_midi() error %d\n", sent); in snd_echo_midi_output_write()
222 sent = 9000; in snd_echo_midi_output_write()
224 } else if (sent > 0) { in snd_echo_midi_output_write()
225 dev_dbg(chip->card->dev, "%d bytes sent\n", sent); in snd_echo_midi_output_write()
226 snd_rawmidi_transmit_ack(chip->midi_out, sent); in snd_echo_midi_output_write()
231 sent = 32; in snd_echo_midi_output_write()
240 time = (sent << 3) / 25 + 1; /* 8/25=0.32ms to send a byte */ in snd_echo_midi_output_write()