tag | line | file | source code |
audio_devs | 465 | drivers/sound/ad1848.c | devc = (ad1848_info *) audio_devs[codec_dev]->devc; |
audio_devs | 551 | drivers/sound/ad1848.c | devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 565 | drivers/sound/ad1848.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 586 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 774 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 822 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 839 | drivers/sound/ad1848.c | if (devc->irq_mode & PCM_ENABLE_OUTPUT && audio_devs[dev]->flags & DMA_AUTOMODE && |
audio_devs | 874 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 890 | drivers/sound/ad1848.c | if (devc->irq_mode & PCM_ENABLE_INPUT && audio_devs[dev]->flags & DMA_AUTOMODE && |
audio_devs | 936 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1013 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1044 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1068 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1092 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1427 | drivers/sound/ad1848.c | audio_devs[my_dev = num_audiodevs++] = &ad1848_pcm_operations[nr_ad1848_devs]; |
audio_devs | 1430 | drivers/sound/ad1848.c | audio_devs[my_dev]->devc = devc; |
audio_devs | 1433 | drivers/sound/ad1848.c | audio_devs[my_dev]->name, |
audio_devs | 1469 | drivers/sound/ad1848.c | audio_devs[my_dev]->dmachan1 = dma_playback; |
audio_devs | 1470 | drivers/sound/ad1848.c | audio_devs[my_dev]->dmachan2 = dma_capture; |
audio_devs | 1471 | drivers/sound/ad1848.c | audio_devs[my_dev]->buffsize = DSP_BUFFSIZE; |
audio_devs | 1472 | drivers/sound/ad1848.c | audio_devs[my_dev]->devc = devc; |
audio_devs | 1473 | drivers/sound/ad1848.c | audio_devs[my_dev]->format_mask = ad_format_mask[devc->mode]; |
audio_devs | 1501 | drivers/sound/ad1848.c | audio_devs[my_dev]->mixer_dev = num_mixers; |
audio_devs | 1532 | drivers/sound/ad1848.c | sound_free_dma (audio_devs[dev]->dmachan1); |
audio_devs | 1534 | drivers/sound/ad1848.c | if (audio_devs[dev]->dmachan2 != audio_devs[dev]->dmachan1) |
audio_devs | 1535 | drivers/sound/ad1848.c | sound_free_dma (audio_devs[dev]->dmachan2); |
audio_devs | 1570 | drivers/sound/ad1848.c | devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1573 | drivers/sound/ad1848.c | devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1782 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1840 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1853 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1881 | drivers/sound/ad1848.c | sound_timer_init (&ad1848_tmr, audio_devs[dev]->name); |
audio_devs | 68 | drivers/sound/audio.c | if (!(audio_devs[dev]->format_mask & fmt)) /* Not supported */ |
audio_devs | 104 | drivers/sound/audio.c | if (audio_devs[dev]->coproc) |
audio_devs | 105 | drivers/sound/audio.c | if ((ret = audio_devs[dev]->coproc-> |
audio_devs | 106 | drivers/sound/audio.c | open (audio_devs[dev]->coproc->devc, COPR_PCM)) < 0) |
audio_devs | 152 | drivers/sound/audio.c | if (audio_devs[dev]->coproc) |
audio_devs | 153 | drivers/sound/audio.c | audio_devs[dev]->coproc->close (audio_devs[dev]->coproc->devc, COPR_PCM); |
audio_devs | 199 | drivers/sound/audio.c | if ((audio_mode[dev] & AM_READ) && !(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 204 | drivers/sound/audio.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 246 | drivers/sound/audio.c | if (!audio_devs[dev]->copy_from_user) |
audio_devs | 253 | drivers/sound/audio.c | audio_devs[dev]->copy_from_user (dev, |
audio_devs | 300 | drivers/sound/audio.c | if ((audio_mode[dev] & AM_WRITE) && !(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 306 | drivers/sound/audio.c | if (!(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 311 | drivers/sound/audio.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 366 | drivers/sound/audio.c | if (audio_devs[dev]->coproc) /* Coprocessor ioctl */ |
audio_devs | 367 | drivers/sound/audio.c | return audio_devs[dev]->coproc->ioctl (audio_devs[dev]->coproc->devc, cmd, arg, 0); |
audio_devs | 403 | drivers/sound/audio.c | return snd_ioctl_return ((int *) arg, audio_devs[dev]->format_mask); |
audio_devs | 410 | drivers/sound/audio.c | if ((audio_mode[dev] & AM_WRITE) && !(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 426 | drivers/sound/audio.c | if ((audio_mode[dev] & AM_READ) && !(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 453 | drivers/sound/audio.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 456 | drivers/sound/audio.c | if (audio_devs[dev]->coproc) |
audio_devs | 459 | drivers/sound/audio.c | if (audio_devs[dev]->local_qlen) /* Device has hidden buffers */ |
audio_devs | 462 | drivers/sound/audio.c | if (audio_devs[dev]->trigger) /* Supports SETTRIGGER */ |
audio_devs | 493 | drivers/sound/audio.c | if (!(audio_mode[dev] & AM_READ) && !(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 501 | drivers/sound/audio.c | if (!(audio_mode[dev] & AM_WRITE) && !(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 263 | drivers/sound/dev_table.h | struct audio_operations *audio_devs[MAX_AUDIO_DEV] = {NULL}; int num_audiodevs = 0; |
audio_devs | 477 | drivers/sound/dev_table.h | extern struct audio_operations * audio_devs[MAX_AUDIO_DEV]; int num_audiodevs; |
audio_devs | 71 | drivers/sound/dmabuf.c | struct audio_operations *dsp_dev = audio_devs[dev]; |
audio_devs | 130 | drivers/sound/dmabuf.c | if (dmap->fragment_size > (audio_devs[dev]->buffsize / 2)) |
audio_devs | 131 | drivers/sound/dmabuf.c | dmap->fragment_size = (audio_devs[dev]->buffsize / 2); |
audio_devs | 156 | drivers/sound/dmabuf.c | if (dmap == audio_devs[dev]->dmap_out) |
audio_devs | 166 | drivers/sound/dmabuf.c | dmap->bytes_in_use = audio_devs[dev]->buffsize; |
audio_devs | 189 | drivers/sound/dmabuf.c | if (sound_open_dma (chan, audio_devs[dev]->name)) |
audio_devs | 231 | drivers/sound/dmabuf.c | if (!audio_devs[dev]) |
audio_devs | 237 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 239 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in = audio_devs[dev]->dmap_out; |
audio_devs | 240 | drivers/sound/dmabuf.c | audio_devs[dev]->dmachan2 = audio_devs[dev]->dmachan1; |
audio_devs | 243 | drivers/sound/dmabuf.c | if ((retval = audio_devs[dev]->open (dev, mode)) < 0) |
audio_devs | 246 | drivers/sound/dmabuf.c | dmap_out = audio_devs[dev]->dmap_out; |
audio_devs | 247 | drivers/sound/dmabuf.c | dmap_in = audio_devs[dev]->dmap_in; |
audio_devs | 249 | drivers/sound/dmabuf.c | if ((retval = open_dmap (dev, mode, dmap_out, audio_devs[dev]->dmachan1)) < 0) |
audio_devs | 251 | drivers/sound/dmabuf.c | audio_devs[dev]->close (dev); |
audio_devs | 255 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits = mode; |
audio_devs | 256 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX && dmap_out != dmap_in) |
audio_devs | 257 | drivers/sound/dmabuf.c | if ((retval = open_dmap (dev, mode, dmap_in, audio_devs[dev]->dmachan2)) < 0) |
audio_devs | 259 | drivers/sound/dmabuf.c | audio_devs[dev]->close (dev); |
audio_devs | 260 | drivers/sound/dmabuf.c | close_dmap (dev, dmap_out, audio_devs[dev]->dmachan1); |
audio_devs | 263 | drivers/sound/dmabuf.c | audio_devs[dev]->open_mode = mode; |
audio_devs | 264 | drivers/sound/dmabuf.c | audio_devs[dev]->go = 1; |
audio_devs | 266 | drivers/sound/dmabuf.c | audio_devs[dev]->ioctl (dev, SOUND_PCM_WRITE_BITS, (ioctl_arg) 8, 1); |
audio_devs | 267 | drivers/sound/dmabuf.c | audio_devs[dev]->ioctl (dev, SOUND_PCM_WRITE_CHANNELS, (ioctl_arg) 1, 1); |
audio_devs | 268 | drivers/sound/dmabuf.c | audio_devs[dev]->ioctl (dev, SOUND_PCM_WRITE_RATE, (ioctl_arg) DSP_DEFAULT_SPEED, 1); |
audio_devs | 280 | drivers/sound/dmabuf.c | audio_devs[dev]->reset (dev); |
audio_devs | 285 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 296 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_DUPLEX) || |
audio_devs | 297 | drivers/sound/dmabuf.c | !audio_devs[dev]->halt_output) |
audio_devs | 298 | drivers/sound/dmabuf.c | audio_devs[dev]->reset (dev); |
audio_devs | 300 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_output (dev); |
audio_devs | 303 | drivers/sound/dmabuf.c | dma_init_buffers (dev, audio_devs[dev]->dmap_out); |
audio_devs | 304 | drivers/sound/dmabuf.c | reorganize_buffers (dev, audio_devs[dev]->dmap_out); |
audio_devs | 314 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_DUPLEX) || |
audio_devs | 315 | drivers/sound/dmabuf.c | !audio_devs[dev]->halt_input) |
audio_devs | 316 | drivers/sound/dmabuf.c | audio_devs[dev]->reset (dev); |
audio_devs | 318 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_input (dev); |
audio_devs | 321 | drivers/sound/dmabuf.c | dma_init_buffers (dev, audio_devs[dev]->dmap_in); |
audio_devs | 322 | drivers/sound/dmabuf.c | reorganize_buffers (dev, audio_devs[dev]->dmap_in); |
audio_devs | 330 | drivers/sound/dmabuf.c | if (!audio_devs[dev]->go && (!audio_devs[dev]->enable_bits & PCM_ENABLE_OUTPUT)) |
audio_devs | 333 | drivers/sound/dmabuf.c | if (audio_devs[dev]->dmap_out->dma_mode == DMODE_OUTPUT) |
audio_devs | 339 | drivers/sound/dmabuf.c | && audio_devs[dev]->dmap_out->qlen) |
audio_devs | 361 | drivers/sound/dmabuf.c | return audio_devs[dev]->dmap_out->qlen; |
audio_devs | 373 | drivers/sound/dmabuf.c | if (audio_devs[dev]->local_qlen) /* Device has hidden buffers */ |
audio_devs | 376 | drivers/sound/dmabuf.c | && audio_devs[dev]->local_qlen (dev)) |
audio_devs | 399 | drivers/sound/dmabuf.c | return audio_devs[dev]->dmap_out->qlen; |
audio_devs | 408 | drivers/sound/dmabuf.c | && (audio_devs[dev]->dmap_out->dma_mode == DMODE_OUTPUT)) |
audio_devs | 415 | drivers/sound/dmabuf.c | audio_devs[dev]->reset (dev); |
audio_devs | 417 | drivers/sound/dmabuf.c | audio_devs[dev]->close (dev); |
audio_devs | 419 | drivers/sound/dmabuf.c | close_dmap (dev, audio_devs[dev]->dmap_out, audio_devs[dev]->dmachan1); |
audio_devs | 421 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 422 | drivers/sound/dmabuf.c | close_dmap (dev, audio_devs[dev]->dmap_in, audio_devs[dev]->dmachan2); |
audio_devs | 423 | drivers/sound/dmabuf.c | audio_devs[dev]->open_mode = 0; |
audio_devs | 433 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->enable_bits & PCM_ENABLE_INPUT)) |
audio_devs | 456 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_input (dev, |
audio_devs | 466 | drivers/sound/dmabuf.c | audio_devs[dev]->start_input (dev, dmap->raw_buf_phys + |
audio_devs | 469 | drivers/sound/dmabuf.c | !(audio_devs[dev]->flags & DMA_AUTOMODE) || |
audio_devs | 472 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger) |
audio_devs | 473 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, |
audio_devs | 474 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits * audio_devs[dev]->go); |
audio_devs | 484 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_in; |
audio_devs | 506 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->enable_bits & PCM_ENABLE_INPUT) & |
audio_devs | 507 | drivers/sound/dmabuf.c | audio_devs[dev]->go) |
audio_devs | 513 | drivers/sound/dmabuf.c | if (!audio_devs[dev]->go) |
audio_devs | 558 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_in; |
audio_devs | 629 | drivers/sound/dmabuf.c | if (dmap->fragment_size > audio_devs[dev]->buffsize) |
audio_devs | 630 | drivers/sound/dmabuf.c | dmap->fragment_size = audio_devs[dev]->buffsize; |
audio_devs | 632 | drivers/sound/dmabuf.c | if (dmap->fragment_size == audio_devs[dev]->buffsize && |
audio_devs | 633 | drivers/sound/dmabuf.c | audio_devs[dev]->flags & DMA_AUTOMODE) |
audio_devs | 660 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_AUTOMODE) |
audio_devs | 674 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap_out = audio_devs[dev]->dmap_out; |
audio_devs | 675 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap_in = audio_devs[dev]->dmap_in; |
audio_devs | 706 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 722 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 739 | drivers/sound/dmabuf.c | if (cmd == SNDCTL_DSP_GETISPACE && audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 757 | drivers/sound/dmabuf.c | if (audio_devs[dev]->local_qlen) |
audio_devs | 759 | drivers/sound/dmabuf.c | int tmp = audio_devs[dev]->local_qlen (dev); |
audio_devs | 787 | drivers/sound/dmabuf.c | int bits = get_fs_long ((long *) arg) & audio_devs[dev]->open_mode; |
audio_devs | 790 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger == NULL) |
audio_devs | 793 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 802 | drivers/sound/dmabuf.c | changed = audio_devs[dev]->enable_bits ^ bits; |
audio_devs | 804 | drivers/sound/dmabuf.c | if ((changed & bits) & PCM_ENABLE_INPUT && audio_devs[dev]->go) |
audio_devs | 813 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits = bits; |
audio_devs | 814 | drivers/sound/dmabuf.c | if (changed && audio_devs[dev]->trigger) |
audio_devs | 815 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, bits * audio_devs[dev]->go); |
audio_devs | 819 | drivers/sound/dmabuf.c | return snd_ioctl_return ((int *) arg, audio_devs[dev]->enable_bits); |
audio_devs | 829 | drivers/sound/dmabuf.c | info.bytes = audio_devs[dev]->dmap_in->byte_counter; |
audio_devs | 830 | drivers/sound/dmabuf.c | info.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan2, audio_devs[dev]->dmap_in); |
audio_devs | 831 | drivers/sound/dmabuf.c | info.blocks = audio_devs[dev]->dmap_in->qlen; |
audio_devs | 847 | drivers/sound/dmabuf.c | info.bytes = audio_devs[dev]->dmap_out->byte_counter; |
audio_devs | 848 | drivers/sound/dmabuf.c | info.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan1, audio_devs[dev]->dmap_out); |
audio_devs | 849 | drivers/sound/dmabuf.c | info.blocks = audio_devs[dev]->dmap_out->qlen; |
audio_devs | 860 | drivers/sound/dmabuf.c | return audio_devs[dev]->ioctl (dev, cmd, arg, local); |
audio_devs | 877 | drivers/sound/dmabuf.c | if (audio_devs[dev]->open_mode != 0) |
audio_devs | 878 | drivers/sound/dmabuf.c | if (!audio_devs[dev]->go) |
audio_devs | 881 | drivers/sound/dmabuf.c | audio_devs[dev]->go = 1; |
audio_devs | 889 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; |
audio_devs | 902 | drivers/sound/dmabuf.c | if (audio_devs[dev]->local_qlen) |
audio_devs | 904 | drivers/sound/dmabuf.c | tmp = audio_devs[dev]->local_qlen (dev); |
audio_devs | 922 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; |
audio_devs | 946 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_output (dev, |
audio_devs | 966 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->enable_bits & PCM_ENABLE_OUTPUT) && |
audio_devs | 967 | drivers/sound/dmabuf.c | audio_devs[dev]->go) |
audio_devs | 976 | drivers/sound/dmabuf.c | if (!audio_devs[dev]->go) |
audio_devs | 1028 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; |
audio_devs | 1048 | drivers/sound/dmabuf.c | ((audio_devs[dev]->flags & DMA_AUTOMODE) && |
audio_devs | 1049 | drivers/sound/dmabuf.c | audio_devs[dev]->flags & NEEDS_RESTART)) |
audio_devs | 1060 | drivers/sound/dmabuf.c | audio_devs[dev]->output_block (dev, dmap->raw_buf_phys + |
audio_devs | 1063 | drivers/sound/dmabuf.c | !(audio_devs[dev]->flags & DMA_AUTOMODE) || |
audio_devs | 1066 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger) |
audio_devs | 1067 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, |
audio_devs | 1068 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits * audio_devs[dev]->go); |
audio_devs | 1083 | drivers/sound/dmabuf.c | chan = audio_devs[dev]->dmachan1; |
audio_devs | 1084 | drivers/sound/dmabuf.c | dmap = audio_devs[dev]->dmap_out; |
audio_devs | 1088 | drivers/sound/dmabuf.c | chan = audio_devs[dev]->dmachan2; |
audio_devs | 1089 | drivers/sound/dmabuf.c | dmap = audio_devs[dev]->dmap_in; |
audio_devs | 1097 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_AUTOMODE) |
audio_devs | 1139 | drivers/sound/dmabuf.c | if (audio_devs[dev]->dmap_out == NULL) |
audio_devs | 1141 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_out = |
audio_devs | 1142 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in = |
audio_devs | 1145 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 1146 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in = |
audio_devs | 1166 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; |
audio_devs | 1171 | drivers/sound/dmabuf.c | sound_dma_intr (dev, audio_devs[dev]->dmap_out, audio_devs[dev]->dmachan1); |
audio_devs | 1189 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_AUTOMODE)) |
audio_devs | 1191 | drivers/sound/dmabuf.c | audio_devs[dev]->output_block (dev, dmap->raw_buf_phys + |
audio_devs | 1194 | drivers/sound/dmabuf.c | !(audio_devs[dev]->flags & DMA_AUTOMODE)); |
audio_devs | 1195 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger) |
audio_devs | 1196 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, |
audio_devs | 1197 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits * audio_devs[dev]->go); |
audio_devs | 1204 | drivers/sound/dmabuf.c | if ((audio_devs[dev]->flags & DMA_DUPLEX) && |
audio_devs | 1205 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_output) |
audio_devs | 1206 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_output (dev); |
audio_devs | 1208 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_xfer (dev); |
audio_devs | 1210 | drivers/sound/dmabuf.c | if ((audio_devs[dev]->flags & DMA_AUTOMODE) && |
audio_devs | 1211 | drivers/sound/dmabuf.c | audio_devs[dev]->flags & NEEDS_RESTART) |
audio_devs | 1234 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_in; |
audio_devs | 1239 | drivers/sound/dmabuf.c | sound_dma_intr (dev, audio_devs[dev]->dmap_in, audio_devs[dev]->dmachan2); |
audio_devs | 1246 | drivers/sound/dmabuf.c | if ((audio_devs[dev]->flags & DMA_DUPLEX) && |
audio_devs | 1247 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_input) |
audio_devs | 1248 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_input (dev); |
audio_devs | 1250 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_xfer (dev); |
audio_devs | 1253 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_AUTOMODE) |
audio_devs | 1266 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_AUTOMODE)) |
audio_devs | 1268 | drivers/sound/dmabuf.c | audio_devs[dev]->start_input (dev, dmap->raw_buf_phys + |
audio_devs | 1271 | drivers/sound/dmabuf.c | !(audio_devs[dev]->flags & DMA_AUTOMODE)); |
audio_devs | 1272 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger) |
audio_devs | 1273 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, |
audio_devs | 1274 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits * audio_devs[dev]->go); |
audio_devs | 1295 | drivers/sound/dmabuf.c | int chan = audio_devs[dev]->dmachan1; |
audio_devs | 1299 | drivers/sound/dmabuf.c | if ((err = open_dmap (dev, OPEN_READWRITE, audio_devs[dev]->dmap_out, audio_devs[dev]->dmachan1)) < 0) |
audio_devs | 1303 | drivers/sound/dmabuf.c | dma_init_buffers (dev, audio_devs[dev]->dmap_out); |
audio_devs | 1304 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_out->flags |= DMA_ALLOC_DONE; |
audio_devs | 1305 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_out->fragment_size = audio_devs[dev]->buffsize; |
audio_devs | 1308 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 1310 | drivers/sound/dmabuf.c | if ((err = open_dmap (dev, OPEN_READWRITE, audio_devs[dev]->dmap_in, audio_devs[dev]->dmachan2)) < 0) |
audio_devs | 1313 | drivers/sound/dmabuf.c | audio_devs[dev]->dmachan2); |
audio_devs | 1314 | drivers/sound/dmabuf.c | close_dmap (dev, audio_devs[dev]->dmap_out, audio_devs[dev]->dmachan1); |
audio_devs | 1317 | drivers/sound/dmabuf.c | dma_init_buffers (dev, audio_devs[dev]->dmap_in); |
audio_devs | 1318 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in->flags |= DMA_ALLOC_DONE; |
audio_devs | 1319 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in->fragment_size = audio_devs[dev]->buffsize; |
audio_devs | 1324 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in = audio_devs[dev]->dmap_out; |
audio_devs | 1325 | drivers/sound/dmabuf.c | audio_devs[dev]->dmachan2 = audio_devs[dev]->dmachan1; |
audio_devs | 1342 | drivers/sound/dmabuf.c | close_dmap (dev, audio_devs[dev]->dmap_out, audio_devs[dev]->dmachan1); |
audio_devs | 1344 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 1345 | drivers/sound/dmabuf.c | close_dmap (dev, audio_devs[dev]->dmap_in, audio_devs[dev]->dmachan2); |
audio_devs | 1363 | drivers/sound/dmabuf.c | dmap = audio_devs[dev]->dmap_in; |
audio_devs | 1368 | drivers/sound/dmabuf.c | if ((audio_devs[dev]->flags & DMA_DUPLEX) && !dmap->qlen && |
audio_devs | 1369 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits & PCM_ENABLE_INPUT && |
audio_devs | 1370 | drivers/sound/dmabuf.c | audio_devs[dev]->go) |
audio_devs | 1395 | drivers/sound/dmabuf.c | dmap = audio_devs[dev]->dmap_out; |
audio_devs | 1642 | drivers/sound/gus_wave.c | blk_size = audio_devs[gus_devnum]->dmap_out->bytes_in_use; |
audio_devs | 1687 | drivers/sound/gus_wave.c | memcpy_fromfs (audio_devs[gus_devnum]->dmap_out->raw_buf, &((addr)[sizeof_patch + src_offs]), blk_size); |
audio_devs | 1694 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->dmap_out->raw_buf_phys, |
audio_devs | 1703 | drivers/sound/gus_wave.c | if (audio_devs[gus_devnum]->dmachan1 > 3) |
audio_devs | 1722 | drivers/sound/gus_wave.c | if (audio_devs[gus_devnum]->dmachan1 > 3) |
audio_devs | 2081 | drivers/sound/gus_wave.c | audio_devs[dev]->format_mask = AFMT_U8; |
audio_devs | 2083 | drivers/sound/gus_wave.c | audio_devs[dev]->format_mask = AFMT_U8 | AFMT_S16_LE; |
audio_devs | 2289 | drivers/sound/gus_wave.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 2306 | drivers/sound/gus_wave.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 2360 | drivers/sound/gus_wave.c | if (audio_devs[dev]->dmachan2 > 3) |
audio_devs | 3128 | drivers/sound/gus_wave.c | audio_devs[gus_devnum = num_audiodevs++] = &gus_sampling_operations; |
audio_devs | 3129 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->dmachan1 = dma; |
audio_devs | 3130 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->dmachan2 = dma2; |
audio_devs | 3131 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->buffsize = DSP_BUFFSIZE; |
audio_devs | 3133 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->flags |= DMA_DUPLEX; |
audio_devs | 273 | drivers/sound/pas2_pcm.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 276 | drivers/sound/pas2_pcm.c | if (audio_devs[dev]->flags & DMA_AUTOMODE && |
audio_devs | 292 | drivers/sound/pas2_pcm.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 323 | drivers/sound/pas2_pcm.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 326 | drivers/sound/pas2_pcm.c | if (audio_devs[my_devnum]->flags & DMA_AUTOMODE && |
audio_devs | 339 | drivers/sound/pas2_pcm.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 403 | drivers/sound/pas2_pcm.c | audio_devs[my_devnum = num_audiodevs++] = &pas_pcm_operations; |
audio_devs | 404 | drivers/sound/pas2_pcm.c | audio_devs[my_devnum]->dmachan1 = hw_config->dma; |
audio_devs | 405 | drivers/sound/pas2_pcm.c | audio_devs[my_devnum]->buffsize = DSP_BUFFSIZE; |
audio_devs | 425 | drivers/sound/pas2_pcm.c | if (!(audio_devs[my_devnum]->flags & DMA_AUTOMODE)) |
audio_devs | 768 | drivers/sound/pss.c | audio_devs[prev_devs]->coproc = &pss_coproc_operations; |
audio_devs | 253 | drivers/sound/sb16_dsp.c | audio_devs[dev]->dmachan1 = dma8; |
audio_devs | 277 | drivers/sound/sb16_dsp.c | int pos, chan = audio_devs[dev]->dmachan; |
audio_devs | 289 | drivers/sound/sb16_dsp.c | if (audio_devs[dev]->flags & DMA_AUTOMODE && |
audio_devs | 336 | drivers/sound/sb16_dsp.c | int pos, chan = audio_devs[dev]->dmachan; |
audio_devs | 348 | drivers/sound/sb16_dsp.c | if (audio_devs[dev]->flags & DMA_AUTOMODE && |
audio_devs | 385 | drivers/sound/sb16_dsp.c | audio_devs[my_dev]->dmachan1 = dsp_16bit ? dma16 : dma8; |
audio_devs | 396 | drivers/sound/sb16_dsp.c | audio_devs[my_dev]->dmachan1 = dsp_16bit ? dma16 : dma8; |
audio_devs | 498 | drivers/sound/sb16_dsp.c | audio_devs[my_dev = num_audiodevs++] = &sb16_dsp_operations; |
audio_devs | 499 | drivers/sound/sb16_dsp.c | audio_devs[my_dev]->dmachan1 = dma8; |
audio_devs | 500 | drivers/sound/sb16_dsp.c | audio_devs[my_dev]->buffsize = DSP_BUFFSIZE; |
audio_devs | 408 | drivers/sound/sb_dsp.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 472 | drivers/sound/sb_dsp.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 549 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan1 = dsp_16bit ? dma16 : dma8; |
audio_devs | 586 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan1 = dsp_16bit ? dma16 : dma8; |
audio_devs | 657 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan1 = dma8; |
audio_devs | 690 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan1 = dma8; |
audio_devs | 1250 | drivers/sound/sb_dsp.c | audio_devs[my_dev = num_audiodevs++] = &sb_dsp_operations; |
audio_devs | 1251 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->buffsize = DSP_BUFFSIZE; |
audio_devs | 1252 | drivers/sound/sb_dsp.c | dma8 = audio_devs[my_dev]->dmachan1 = hw_config->dma; |
audio_devs | 1253 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan2 = -1; |
audio_devs | 226 | drivers/sound/sound_switch.c | if (!put_status (audio_devs[i]->name)) |
audio_devs | 229 | drivers/sound/sound_switch.c | if (audio_devs[i]->flags & DMA_DUPLEX) |
audio_devs | 534 | drivers/sound/sound_switch.c | mixdev = audio_devs[dev >> 4]->mixer_dev; |
audio_devs | 552 | drivers/sound/soundcard.c | printk ("sound: buffsize%d %lu\n", dev, audio_devs[dev]->buffsize); |
audio_devs | 554 | drivers/sound/soundcard.c | audio_devs[dev]->buffsize = dma_buffsize; |
audio_devs | 556 | drivers/sound/soundcard.c | if (audio_devs[dev]->buffsize > dma_pagesize) |
audio_devs | 557 | drivers/sound/soundcard.c | audio_devs[dev]->buffsize = dma_pagesize; |
audio_devs | 566 | drivers/sound/soundcard.c | while (start_addr == NULL && audio_devs[dev]->buffsize > PAGE_SIZE) |
audio_devs | 571 | drivers/sound/soundcard.c | size < audio_devs[dev]->buffsize; |
audio_devs | 574 | drivers/sound/soundcard.c | audio_devs[dev]->buffsize = PAGE_SIZE * (1 << sz); |
audio_devs | 577 | drivers/sound/soundcard.c | audio_devs[dev]->buffsize /= 2; |
audio_devs | 588 | drivers/sound/soundcard.c | end_addr = start_addr + audio_devs[dev]->buffsize - 1; |
audio_devs | 603 | drivers/sound/soundcard.c | audio_devs[dev]->buffsize); |
audio_devs | 610 | drivers/sound/soundcard.c | memset (dmap->raw_buf, 0x00, audio_devs[dev]->buffsize); |
audio_devs | 630 | drivers/sound/soundcard.c | size < audio_devs[dev]->buffsize; |
audio_devs | 634 | drivers/sound/soundcard.c | end_addr = start_addr + audio_devs[dev]->buffsize; |
audio_devs | 502 | drivers/sound/sscape.c | memcpy (audio_devs[devc->my_audiodev]->dmap_out->raw_buf, block, size); |
audio_devs | 508 | drivers/sound/sscape.c | audio_devs[devc->my_audiodev]->dmap_out->raw_buf_phys, |
audio_devs | 714 | drivers/sound/sscape.c | sscape_info *devc = (sscape_info *) audio_devs[dev]->devc; |
audio_devs | 745 | drivers/sound/sscape.c | sscape_info *devc = (sscape_info *) audio_devs[dev]->devc; |
audio_devs | 778 | drivers/sound/sscape.c | sscape_info *devc = (sscape_info *) audio_devs[dev]->devc; |
audio_devs | 1009 | drivers/sound/sscape.c | audio_devs[my_dev = num_audiodevs++] = &sscape_audio_operations; |
audio_devs | 1010 | drivers/sound/sscape.c | audio_devs[my_dev]->dmachan1 = hw_config->dma; |
audio_devs | 1011 | drivers/sound/sscape.c | audio_devs[my_dev]->buffsize = DSP_BUFFSIZE; |
audio_devs | 1012 | drivers/sound/sscape.c | audio_devs[my_dev]->devc = devc; |
audio_devs | 1015 | drivers/sound/sscape.c | audio_devs[my_dev]->coproc = &sscape_coproc_operations; |
audio_devs | 1197 | drivers/sound/sscape.c | audio_devs[prev_devs]->coproc = &sscape_coproc_operations; |