Lines Matching refs:sent
209 int bytes, sent, time;
215 sent = bytes = 0;
222 sent = write_midi(chip, buf, bytes);
223 if (sent < 0) {
224 snd_printk(KERN_ERR "write_midi() error %d\n", sent);
226 sent = 9000;
228 } else if (sent > 0) {
229 DE_MID(("%d bytes sent\n", sent));
230 snd_rawmidi_transmit_ack(chip->midi_out, sent);
233 bytes long. Let's wait until half of them are sent */
235 sent = 32;
243 sent */
244 time = (sent << 3) / 25 + 1; /* 8/25=0.32ms to send a byte */