Home
last modified time | relevance | path

Searched refs:readq (Results 1 – 9 of 9) sorted by relevance

/sound/core/seq/oss/
Dseq_oss_rw.c46 struct seq_oss_readq *readq = dp->readq; in snd_seq_oss_read() local
52 if (readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_read()
56 snd_seq_oss_readq_lock(readq, flags); in snd_seq_oss_read()
57 err = snd_seq_oss_readq_pick(readq, &rec); in snd_seq_oss_read()
60 snd_seq_oss_readq_unlock(readq, flags); in snd_seq_oss_read()
61 snd_seq_oss_readq_wait(readq); in snd_seq_oss_read()
62 snd_seq_oss_readq_lock(readq, flags); in snd_seq_oss_read()
66 err = snd_seq_oss_readq_pick(readq, &rec); in snd_seq_oss_read()
69 snd_seq_oss_readq_unlock(readq, flags); in snd_seq_oss_read()
74 snd_seq_oss_readq_unlock(readq, flags); in snd_seq_oss_read()
[all …]
Dseq_oss_readq.h44 void snd_seq_oss_readq_clear(struct seq_oss_readq *readq);
45 unsigned int snd_seq_oss_readq_poll(struct seq_oss_readq *readq, struct file *file, poll_table *wai…
46 int snd_seq_oss_readq_puts(struct seq_oss_readq *readq, int dev, unsigned char *data, int len);
49 int snd_seq_oss_readq_put_event(struct seq_oss_readq *readq, union evrec *ev);
50 int snd_seq_oss_readq_put_timestamp(struct seq_oss_readq *readq, unsigned long curt, int seq_mode);
Dseq_oss_init.c245 dp->readq = snd_seq_oss_readq_new(dp, maxqlen); in snd_seq_oss_open()
246 if (!dp->readq) { in snd_seq_oss_open()
408 snd_seq_oss_readq_delete(dp->readq); in free_devinfo()
457 if (dp->readq) in snd_seq_oss_reset()
458 snd_seq_oss_readq_clear(dp->readq); in snd_seq_oss_reset()
513 if (is_read_mode(dp->file_mode) && dp->readq) in snd_seq_oss_system_info_read()
514 snd_seq_oss_readq_info_read(dp->readq, buf); in snd_seq_oss_system_info_read()
Dseq_oss_ioctl.c115 if (dp->readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_ioctl()
117 return put_user(dp->readq->qlen, p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
173 if (dp->readq == NULL || !is_read_mode(dp->file_mode)) in snd_seq_oss_ioctl()
181 dp->readq->pre_event_timeout = val; in snd_seq_oss_ioctl()
Dseq_oss_readq.c125 struct seq_oss_readq *readq; member
133 return snd_seq_oss_readq_puts(ctx->readq, ctx->dev, buf, count); in readq_dump_sysex()
140 .readq = q, in snd_seq_oss_readq_sysex()
Dseq_oss_midi.c523 if (dp->readq == NULL) in snd_seq_oss_midi_input()
596 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); in send_synth_event()
597 snd_seq_oss_readq_put_event(dp->readq, &ossev); in send_synth_event()
611 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); in send_midi_event()
615 snd_seq_oss_readq_sysex(dp->readq, mdev->seq_device, ev); in send_midi_event()
619 snd_seq_oss_readq_puts(dp->readq, mdev->seq_device, msg, len); in send_midi_event()
Dseq_oss_device.h106 struct seq_oss_readq *readq; member
Dseq_oss_event.c451 if (dp->readq == NULL) in snd_seq_oss_event_input()
453 snd_seq_oss_readq_put_event(dp->readq, rec); in snd_seq_oss_event_input()
/sound/mips/
Dsgio2audio.c127 val = readq(&mace->perif.audio.codec_control); /* flush bus */ in read_ad1843_reg()
130 val = readq(&mace->perif.audio.codec_read); in read_ad1843_reg()
151 val = readq(&mace->perif.audio.codec_control); /* flush bus */ in write_ad1843_reg()
374 src_pos = readq(&mace->perif.audio.chan[ch].read_ptr); in snd_sgio2audio_dma_pull_frag()
422 dst_pos = readq(&mace->perif.audio.chan[ch].write_ptr); in snd_sgio2audio_dma_push_frag()
496 readq(&mace->perif.audio.chan[ch].depth) - 32; in snd_sgio2audio_dma_in_isr()
515 readq(&mace->perif.audio.chan[ch].depth) - 32; in snd_sgio2audio_dma_out_isr()
840 if (!(readq(&mace->perif.audio.control) & AUDIO_CONTROL_CODEC_PRESENT)) in snd_sgio2audio_create()