Home
last modified time | relevance | path

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

/sound/core/seq/oss/
Dseq_oss_rw.c33 struct seq_oss_readq *readq = dp->readq; in snd_seq_oss_read() local
39 if (readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_read()
43 snd_seq_oss_readq_lock(readq, flags); in snd_seq_oss_read()
44 err = snd_seq_oss_readq_pick(readq, &rec); in snd_seq_oss_read()
47 snd_seq_oss_readq_unlock(readq, flags); in snd_seq_oss_read()
48 snd_seq_oss_readq_wait(readq); in snd_seq_oss_read()
49 snd_seq_oss_readq_lock(readq, flags); in snd_seq_oss_read()
53 err = snd_seq_oss_readq_pick(readq, &rec); in snd_seq_oss_read()
56 snd_seq_oss_readq_unlock(readq, flags); in snd_seq_oss_read()
61 snd_seq_oss_readq_unlock(readq, flags); in snd_seq_oss_read()
[all …]
Dseq_oss_readq.h31 void snd_seq_oss_readq_clear(struct seq_oss_readq *readq);
32 unsigned int snd_seq_oss_readq_poll(struct seq_oss_readq *readq, struct file *file, poll_table *wai…
33 int snd_seq_oss_readq_puts(struct seq_oss_readq *readq, int dev, unsigned char *data, int len);
36 int snd_seq_oss_readq_put_event(struct seq_oss_readq *readq, union evrec *ev);
37 int snd_seq_oss_readq_put_timestamp(struct seq_oss_readq *readq, unsigned long curt, int seq_mode);
Dseq_oss_init.c232 dp->readq = snd_seq_oss_readq_new(dp, maxqlen); in snd_seq_oss_open()
233 if (!dp->readq) { in snd_seq_oss_open()
395 snd_seq_oss_readq_delete(dp->readq); in free_devinfo()
444 if (dp->readq) in snd_seq_oss_reset()
445 snd_seq_oss_readq_clear(dp->readq); in snd_seq_oss_reset()
500 if (is_read_mode(dp->file_mode) && dp->readq) in snd_seq_oss_system_info_read()
501 snd_seq_oss_readq_info_read(dp->readq, buf); in snd_seq_oss_system_info_read()
Dseq_oss_ioctl.c102 if (dp->readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_ioctl()
104 return put_user(dp->readq->qlen, p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
160 if (dp->readq == NULL || !is_read_mode(dp->file_mode)) in snd_seq_oss_ioctl()
168 dp->readq->pre_event_timeout = val; in snd_seq_oss_ioctl()
Dseq_oss_readq.c112 struct seq_oss_readq *readq; member
120 return snd_seq_oss_readq_puts(ctx->readq, ctx->dev, buf, count); in readq_dump_sysex()
127 .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()
620 snd_seq_oss_readq_puts(dp->readq, mdev->seq_device, msg, len); in send_midi_event()
Dseq_oss_device.h94 struct seq_oss_readq *readq; member
Dseq_oss_event.c441 if (dp->readq == NULL) in snd_seq_oss_event_input()
443 snd_seq_oss_readq_put_event(dp->readq, rec); in snd_seq_oss_event_input()
/sound/mips/
Dsgio2audio.c113 val = readq(&mace->perif.audio.codec_control); /* flush bus */ in read_ad1843_reg()
116 val = readq(&mace->perif.audio.codec_read); in read_ad1843_reg()
137 val = readq(&mace->perif.audio.codec_control); /* flush bus */ in write_ad1843_reg()
360 src_pos = readq(&mace->perif.audio.chan[ch].read_ptr); in snd_sgio2audio_dma_pull_frag()
408 dst_pos = readq(&mace->perif.audio.chan[ch].write_ptr); in snd_sgio2audio_dma_push_frag()
482 readq(&mace->perif.audio.chan[ch].depth) - 32; in snd_sgio2audio_dma_in_isr()
501 readq(&mace->perif.audio.chan[ch].depth) - 32; in snd_sgio2audio_dma_out_isr()
798 if (!(readq(&mace->perif.audio.control) & AUDIO_CONTROL_CODEC_PRESENT)) in snd_sgio2audio_create()
/sound/soc/sof/
Dutils.c45 return readq(addr); in sof_io_read64()
/sound/soc/intel/common/
Dsst-dsp.c43 return readq(addr + offset); in sst_shim32_read64()