Searched refs:readq (Results 1 – 11 of 11) sorted by relevance
/sound/core/seq/oss/ |
D | seq_oss_rw.c | 33 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 …]
|
D | seq_oss_readq.h | 31 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);
|
D | seq_oss_init.c | 232 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()
|
D | seq_oss_ioctl.c | 102 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()
|
D | seq_oss_readq.c | 112 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()
|
D | seq_oss_midi.c | 523 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()
|
D | seq_oss_device.h | 94 struct seq_oss_readq *readq; member
|
D | seq_oss_event.c | 441 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/ |
D | sgio2audio.c | 113 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/ |
D | utils.c | 45 return readq(addr); in sof_io_read64()
|
/sound/soc/intel/common/ |
D | sst-dsp.c | 43 return readq(addr + offset); in sst_shim32_read64()
|