tag | line | file | source code |
audio_devs | 481 | drivers/sound/ad1848.c | devc = (ad1848_info *) audio_devs[codec_dev]->devc; |
audio_devs | 568 | drivers/sound/ad1848.c | devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 583 | drivers/sound/ad1848.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 605 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 793 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 841 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 858 | drivers/sound/ad1848.c | if (devc->irq_mode & PCM_ENABLE_OUTPUT && audio_devs[dev]->flags & DMA_AUTOMODE && |
audio_devs | 893 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 909 | drivers/sound/ad1848.c | if (devc->irq_mode & PCM_ENABLE_INPUT && audio_devs[dev]->flags & DMA_AUTOMODE && |
audio_devs | 955 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1045 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1059 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1071 | drivers/sound/ad1848.c | disable_dma (audio_devs[dev]->dmachan1); |
audio_devs | 1078 | drivers/sound/ad1848.c | enable_dma (audio_devs[dev]->dmachan1); |
audio_devs | 1096 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1107 | drivers/sound/ad1848.c | disable_dma (audio_devs[dev]->dmachan1); |
audio_devs | 1114 | drivers/sound/ad1848.c | enable_dma (audio_devs[dev]->dmachan1); |
audio_devs | 1132 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1479 | drivers/sound/ad1848.c | audio_devs[my_dev = num_audiodevs++] = &ad1848_pcm_operations[nr_ad1848_devs]; |
audio_devs | 1482 | drivers/sound/ad1848.c | audio_devs[my_dev]->devc = devc; |
audio_devs | 1485 | drivers/sound/ad1848.c | audio_devs[my_dev]->name, |
audio_devs | 1521 | drivers/sound/ad1848.c | audio_devs[my_dev]->dmachan1 = dma_playback; |
audio_devs | 1522 | drivers/sound/ad1848.c | audio_devs[my_dev]->dmachan2 = dma_capture; |
audio_devs | 1523 | drivers/sound/ad1848.c | audio_devs[my_dev]->buffsize = DSP_BUFFSIZE; |
audio_devs | 1524 | drivers/sound/ad1848.c | audio_devs[my_dev]->devc = devc; |
audio_devs | 1525 | drivers/sound/ad1848.c | audio_devs[my_dev]->format_mask = ad_format_mask[devc->mode]; |
audio_devs | 1553 | drivers/sound/ad1848.c | audio_devs[my_dev]->mixer_dev = num_mixers; |
audio_devs | 1584 | drivers/sound/ad1848.c | sound_free_dma (audio_devs[dev]->dmachan1); |
audio_devs | 1586 | drivers/sound/ad1848.c | if (audio_devs[dev]->dmachan2 != audio_devs[dev]->dmachan1) |
audio_devs | 1587 | drivers/sound/ad1848.c | sound_free_dma (audio_devs[dev]->dmachan2); |
audio_devs | 1623 | drivers/sound/ad1848.c | devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1626 | drivers/sound/ad1848.c | devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1873 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1931 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1944 | drivers/sound/ad1848.c | ad1848_info *devc = (ad1848_info *) audio_devs[dev]->devc; |
audio_devs | 1972 | drivers/sound/ad1848.c | sound_timer_init (&ad1848_tmr, audio_devs[dev]->name); |
audio_devs | 61 | drivers/sound/audio.c | if (!(audio_devs[dev]->format_mask & fmt)) /* Not supported */ |
audio_devs | 97 | drivers/sound/audio.c | if (audio_devs[dev]->coproc) |
audio_devs | 98 | drivers/sound/audio.c | if ((ret = audio_devs[dev]->coproc-> |
audio_devs | 99 | drivers/sound/audio.c | open (audio_devs[dev]->coproc->devc, COPR_PCM)) < 0) |
audio_devs | 133 | drivers/sound/audio.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; |
audio_devs | 166 | drivers/sound/audio.c | audio_devs[dev]->dmap_out->closing = 1; |
audio_devs | 167 | drivers/sound/audio.c | audio_devs[dev]->dmap_in->closing = 1; |
audio_devs | 171 | drivers/sound/audio.c | if (audio_devs[dev]->coproc) |
audio_devs | 172 | drivers/sound/audio.c | audio_devs[dev]->coproc->close (audio_devs[dev]->coproc->devc, COPR_PCM); |
audio_devs | 219 | drivers/sound/audio.c | if ((audio_mode[dev] & AM_READ) && !(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 223 | drivers/sound/audio.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 254 | drivers/sound/audio.c | if (!audio_devs[dev]->copy_from_user) |
audio_devs | 261 | drivers/sound/audio.c | audio_devs[dev]->copy_from_user (dev, |
audio_devs | 304 | drivers/sound/audio.c | if ((audio_mode[dev] & AM_WRITE) && !(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 309 | drivers/sound/audio.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 364 | drivers/sound/audio.c | if (audio_devs[dev]->coproc) /* Coprocessor ioctl */ |
audio_devs | 365 | drivers/sound/audio.c | return audio_devs[dev]->coproc->ioctl (audio_devs[dev]->coproc->devc, cmd, arg, 0); |
audio_devs | 390 | drivers/sound/audio.c | return snd_ioctl_return ((int *) arg, audio_devs[dev]->format_mask | AFMT_MU_LAW); |
audio_devs | 397 | drivers/sound/audio.c | if ((audio_mode[dev] & AM_WRITE) && !(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 413 | drivers/sound/audio.c | if ((audio_mode[dev] & AM_READ) && !(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 442 | drivers/sound/audio.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 445 | drivers/sound/audio.c | if (audio_devs[dev]->coproc) |
audio_devs | 448 | drivers/sound/audio.c | if (audio_devs[dev]->local_qlen) /* Device has hidden buffers */ |
audio_devs | 451 | drivers/sound/audio.c | if (audio_devs[dev]->trigger) /* Supports SETTRIGGER */ |
audio_devs | 486 | drivers/sound/audio.c | if (audio_mode[dev] & AM_WRITE && !(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 495 | drivers/sound/audio.c | if (audio_mode[dev] & AM_READ && !(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 271 | drivers/sound/dev_table.h | struct audio_operations *audio_devs[MAX_AUDIO_DEV] = {NULL}; int num_audiodevs = 0; |
audio_devs | 497 | drivers/sound/dev_table.h | extern struct audio_operations * audio_devs[MAX_AUDIO_DEV]; extern int num_audiodevs; |
audio_devs | 70 | drivers/sound/dmabuf.c | struct audio_operations *dsp_dev = audio_devs[dev]; |
audio_devs | 141 | drivers/sound/dmabuf.c | if (dmap->fragment_size > (audio_devs[dev]->buffsize / 2)) |
audio_devs | 142 | drivers/sound/dmabuf.c | dmap->fragment_size = (audio_devs[dev]->buffsize / 2); |
audio_devs | 174 | drivers/sound/dmabuf.c | if (dmap == audio_devs[dev]->dmap_out) |
audio_devs | 186 | drivers/sound/dmabuf.c | dmap->bytes_in_use = audio_devs[dev]->buffsize; |
audio_devs | 211 | drivers/sound/dmabuf.c | if (sound_open_dma (chan, audio_devs[dev]->name)) |
audio_devs | 254 | drivers/sound/dmabuf.c | if (!audio_devs[dev]) |
audio_devs | 260 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 262 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in = audio_devs[dev]->dmap_out; |
audio_devs | 263 | drivers/sound/dmabuf.c | audio_devs[dev]->dmachan2 = audio_devs[dev]->dmachan1; |
audio_devs | 266 | drivers/sound/dmabuf.c | if ((retval = audio_devs[dev]->open (dev, mode)) < 0) |
audio_devs | 269 | drivers/sound/dmabuf.c | dmap_out = audio_devs[dev]->dmap_out; |
audio_devs | 270 | drivers/sound/dmabuf.c | dmap_in = audio_devs[dev]->dmap_in; |
audio_devs | 272 | drivers/sound/dmabuf.c | if ((retval = open_dmap (dev, mode, dmap_out, audio_devs[dev]->dmachan1)) < 0) |
audio_devs | 274 | drivers/sound/dmabuf.c | audio_devs[dev]->close (dev); |
audio_devs | 278 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits = mode; |
audio_devs | 279 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX && dmap_out != dmap_in) |
audio_devs | 280 | drivers/sound/dmabuf.c | if ((retval = open_dmap (dev, mode, dmap_in, audio_devs[dev]->dmachan2)) < 0) |
audio_devs | 282 | drivers/sound/dmabuf.c | audio_devs[dev]->close (dev); |
audio_devs | 283 | drivers/sound/dmabuf.c | close_dmap (dev, dmap_out, audio_devs[dev]->dmachan1); |
audio_devs | 286 | drivers/sound/dmabuf.c | audio_devs[dev]->open_mode = mode; |
audio_devs | 287 | drivers/sound/dmabuf.c | audio_devs[dev]->go = 1; |
audio_devs | 291 | drivers/sound/dmabuf.c | audio_devs[dev]->ioctl (dev, SOUND_PCM_WRITE_BITS, (caddr_t) 8, 1); |
audio_devs | 292 | drivers/sound/dmabuf.c | audio_devs[dev]->ioctl (dev, SOUND_PCM_WRITE_CHANNELS, (caddr_t) 1, 1); |
audio_devs | 293 | drivers/sound/dmabuf.c | audio_devs[dev]->ioctl (dev, SOUND_PCM_WRITE_RATE, (caddr_t) DSP_DEFAULT_SPEED, 1); |
audio_devs | 305 | drivers/sound/dmabuf.c | audio_devs[dev]->reset (dev); |
audio_devs | 310 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 321 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_DUPLEX) || |
audio_devs | 322 | drivers/sound/dmabuf.c | !audio_devs[dev]->halt_output) |
audio_devs | 323 | drivers/sound/dmabuf.c | audio_devs[dev]->reset (dev); |
audio_devs | 325 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_output (dev); |
audio_devs | 328 | drivers/sound/dmabuf.c | dma_init_buffers (dev, audio_devs[dev]->dmap_out); |
audio_devs | 329 | drivers/sound/dmabuf.c | reorganize_buffers (dev, audio_devs[dev]->dmap_out, 0); |
audio_devs | 339 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_DUPLEX) || |
audio_devs | 340 | drivers/sound/dmabuf.c | !audio_devs[dev]->halt_input) |
audio_devs | 341 | drivers/sound/dmabuf.c | audio_devs[dev]->reset (dev); |
audio_devs | 343 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_input (dev); |
audio_devs | 346 | drivers/sound/dmabuf.c | dma_init_buffers (dev, audio_devs[dev]->dmap_in); |
audio_devs | 347 | drivers/sound/dmabuf.c | reorganize_buffers (dev, audio_devs[dev]->dmap_in, 1); |
audio_devs | 355 | drivers/sound/dmabuf.c | if (!audio_devs[dev]->go && (!audio_devs[dev]->enable_bits & PCM_ENABLE_OUTPUT)) |
audio_devs | 358 | drivers/sound/dmabuf.c | if (audio_devs[dev]->dmap_out->dma_mode == DMODE_OUTPUT) |
audio_devs | 363 | drivers/sound/dmabuf.c | audio_devs[dev]->flags |= DMA_SYNCING; |
audio_devs | 365 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_out->underrun_count = 0; |
audio_devs | 367 | drivers/sound/dmabuf.c | && audio_devs[dev]->dmap_out->qlen |
audio_devs | 368 | drivers/sound/dmabuf.c | && audio_devs[dev]->dmap_out->underrun_count == 0) |
audio_devs | 389 | drivers/sound/dmabuf.c | audio_devs[dev]->flags &= ~DMA_SYNCING; |
audio_devs | 391 | drivers/sound/dmabuf.c | return audio_devs[dev]->dmap_out->qlen; |
audio_devs | 394 | drivers/sound/dmabuf.c | audio_devs[dev]->flags &= ~DMA_SYNCING; |
audio_devs | 404 | drivers/sound/dmabuf.c | if (audio_devs[dev]->local_qlen) /* Device has hidden buffers */ |
audio_devs | 407 | drivers/sound/dmabuf.c | && audio_devs[dev]->local_qlen (dev)) |
audio_devs | 430 | drivers/sound/dmabuf.c | return audio_devs[dev]->dmap_out->qlen; |
audio_devs | 438 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_out->closing = 1; |
audio_devs | 439 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in->closing = 1; |
audio_devs | 442 | drivers/sound/dmabuf.c | && (audio_devs[dev]->dmap_out->dma_mode == DMODE_OUTPUT)) |
audio_devs | 446 | drivers/sound/dmabuf.c | memset (audio_devs[dev]->dmap_out->raw_buf, |
audio_devs | 447 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_out->neutral_byte, |
audio_devs | 448 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_out->bytes_in_use); |
audio_devs | 454 | drivers/sound/dmabuf.c | audio_devs[dev]->close (dev); |
audio_devs | 456 | drivers/sound/dmabuf.c | close_dmap (dev, audio_devs[dev]->dmap_out, audio_devs[dev]->dmachan1); |
audio_devs | 458 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 459 | drivers/sound/dmabuf.c | close_dmap (dev, audio_devs[dev]->dmap_in, audio_devs[dev]->dmachan2); |
audio_devs | 460 | drivers/sound/dmabuf.c | audio_devs[dev]->open_mode = 0; |
audio_devs | 470 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->enable_bits & PCM_ENABLE_INPUT)) |
audio_devs | 493 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_input (dev, |
audio_devs | 503 | drivers/sound/dmabuf.c | audio_devs[dev]->start_input (dev, dmap->raw_buf_phys + |
audio_devs | 506 | drivers/sound/dmabuf.c | !(audio_devs[dev]->flags & DMA_AUTOMODE) || |
audio_devs | 509 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger) |
audio_devs | 510 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, |
audio_devs | 511 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits * audio_devs[dev]->go); |
audio_devs | 521 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_in; |
audio_devs | 525 | drivers/sound/dmabuf.c | if (audio_devs[dev]->dmap_in->mapping_flags & DMA_MAP_MAPPED) |
audio_devs | 548 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->enable_bits & PCM_ENABLE_INPUT) & |
audio_devs | 549 | drivers/sound/dmabuf.c | audio_devs[dev]->go) |
audio_devs | 555 | drivers/sound/dmabuf.c | if (!audio_devs[dev]->go) |
audio_devs | 581 | drivers/sound/dmabuf.c | audio_devs[dev]->reset (dev); |
audio_devs | 601 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_in; |
audio_devs | 605 | drivers/sound/dmabuf.c | if (audio_devs[dev]->dmap_in->mapping_flags & DMA_MAP_MAPPED) |
audio_devs | 682 | drivers/sound/dmabuf.c | if (dmap->fragment_size > audio_devs[dev]->buffsize) |
audio_devs | 683 | drivers/sound/dmabuf.c | dmap->fragment_size = audio_devs[dev]->buffsize; |
audio_devs | 685 | drivers/sound/dmabuf.c | if (dmap->fragment_size == audio_devs[dev]->buffsize && |
audio_devs | 686 | drivers/sound/dmabuf.c | audio_devs[dev]->flags & DMA_AUTOMODE) |
audio_devs | 713 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_AUTOMODE) |
audio_devs | 728 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap_out = audio_devs[dev]->dmap_out; |
audio_devs | 729 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap_in = audio_devs[dev]->dmap_in; |
audio_devs | 748 | drivers/sound/dmabuf.c | (audio_devs[dev]->open_mode == OPEN_READ)); |
audio_devs | 749 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 751 | drivers/sound/dmabuf.c | (audio_devs[dev]->open_mode == OPEN_READ)); |
audio_devs | 766 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 782 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 799 | drivers/sound/dmabuf.c | if (cmd == SNDCTL_DSP_GETISPACE && audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 819 | drivers/sound/dmabuf.c | if (audio_devs[dev]->local_qlen) |
audio_devs | 821 | drivers/sound/dmabuf.c | int tmp = audio_devs[dev]->local_qlen (dev); |
audio_devs | 849 | drivers/sound/dmabuf.c | int bits = get_fs_long ((long *) arg) & audio_devs[dev]->open_mode; |
audio_devs | 852 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger == NULL) |
audio_devs | 855 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_DUPLEX)) |
audio_devs | 864 | drivers/sound/dmabuf.c | changed = audio_devs[dev]->enable_bits ^ bits; |
audio_devs | 866 | drivers/sound/dmabuf.c | if ((changed & bits) & PCM_ENABLE_INPUT && audio_devs[dev]->go) |
audio_devs | 875 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_input (dev, |
audio_devs | 884 | drivers/sound/dmabuf.c | audio_devs[dev]->go) |
audio_devs | 893 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_output (dev, |
audio_devs | 901 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits = bits; |
audio_devs | 902 | drivers/sound/dmabuf.c | if (changed && audio_devs[dev]->trigger) |
audio_devs | 903 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, bits * audio_devs[dev]->go); |
audio_devs | 907 | drivers/sound/dmabuf.c | return snd_ioctl_return ((int *) arg, audio_devs[dev]->enable_bits); |
audio_devs | 912 | drivers/sound/dmabuf.c | if (!audio_devs[dev]->trigger) |
audio_devs | 915 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, 0); |
audio_devs | 916 | drivers/sound/dmabuf.c | audio_devs[dev]->go = 0; |
audio_devs | 927 | drivers/sound/dmabuf.c | info.bytes = audio_devs[dev]->dmap_in->byte_counter; |
audio_devs | 928 | drivers/sound/dmabuf.c | info.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan2, audio_devs[dev]->dmap_in); |
audio_devs | 929 | drivers/sound/dmabuf.c | info.blocks = audio_devs[dev]->dmap_in->qlen; |
audio_devs | 933 | drivers/sound/dmabuf.c | if (audio_devs[dev]->dmap_in->mapping_flags & DMA_MAP_MAPPED) |
audio_devs | 934 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in->qlen = 0; /* Acknowledge interrupts */ |
audio_devs | 947 | drivers/sound/dmabuf.c | info.bytes = audio_devs[dev]->dmap_out->byte_counter; |
audio_devs | 948 | drivers/sound/dmabuf.c | info.ptr = get_buffer_pointer (dev, audio_devs[dev]->dmachan1, audio_devs[dev]->dmap_out); |
audio_devs | 949 | drivers/sound/dmabuf.c | info.blocks = audio_devs[dev]->dmap_out->qlen; |
audio_devs | 953 | drivers/sound/dmabuf.c | if (audio_devs[dev]->dmap_out->mapping_flags & DMA_MAP_MAPPED) |
audio_devs | 954 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_out->qlen = 0; /* Acknowledge interrupts */ |
audio_devs | 962 | drivers/sound/dmabuf.c | return audio_devs[dev]->ioctl (dev, cmd, arg, local); |
audio_devs | 979 | drivers/sound/dmabuf.c | if (audio_devs[dev]->open_mode != 0) |
audio_devs | 980 | drivers/sound/dmabuf.c | if (!audio_devs[dev]->go) |
audio_devs | 983 | drivers/sound/dmabuf.c | audio_devs[dev]->go = 1; |
audio_devs | 985 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger) |
audio_devs | 986 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, |
audio_devs | 987 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits * audio_devs[dev]->go); |
audio_devs | 995 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; |
audio_devs | 1008 | drivers/sound/dmabuf.c | if (audio_devs[dev]->local_qlen) |
audio_devs | 1010 | drivers/sound/dmabuf.c | tmp = audio_devs[dev]->local_qlen (dev); |
audio_devs | 1028 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; |
audio_devs | 1032 | drivers/sound/dmabuf.c | if (audio_devs[dev]->dmap_out->mapping_flags & DMA_MAP_MAPPED) |
audio_devs | 1059 | drivers/sound/dmabuf.c | if ((err = audio_devs[dev]->prepare_for_output (dev, |
audio_devs | 1079 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->enable_bits & PCM_ENABLE_OUTPUT) && |
audio_devs | 1080 | drivers/sound/dmabuf.c | audio_devs[dev]->go) |
audio_devs | 1089 | drivers/sound/dmabuf.c | if (!audio_devs[dev]->go) |
audio_devs | 1117 | drivers/sound/dmabuf.c | audio_devs[dev]->reset (dev); |
audio_devs | 1142 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; |
audio_devs | 1156 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; |
audio_devs | 1171 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; |
audio_devs | 1179 | drivers/sound/dmabuf.c | if (audio_devs[dev]->dmap_out->mapping_flags & DMA_MAP_MAPPED) |
audio_devs | 1206 | drivers/sound/dmabuf.c | ((audio_devs[dev]->flags & DMA_AUTOMODE) && |
audio_devs | 1207 | drivers/sound/dmabuf.c | audio_devs[dev]->flags & NEEDS_RESTART)) |
audio_devs | 1218 | drivers/sound/dmabuf.c | audio_devs[dev]->output_block (dev, dmap->raw_buf_phys + |
audio_devs | 1221 | drivers/sound/dmabuf.c | !(audio_devs[dev]->flags & DMA_AUTOMODE) || |
audio_devs | 1224 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger) |
audio_devs | 1225 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, |
audio_devs | 1226 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits * audio_devs[dev]->go); |
audio_devs | 1241 | drivers/sound/dmabuf.c | chan = audio_devs[dev]->dmachan1; |
audio_devs | 1242 | drivers/sound/dmabuf.c | dmap = audio_devs[dev]->dmap_out; |
audio_devs | 1246 | drivers/sound/dmabuf.c | chan = audio_devs[dev]->dmachan2; |
audio_devs | 1247 | drivers/sound/dmabuf.c | dmap = audio_devs[dev]->dmap_in; |
audio_devs | 1255 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_AUTOMODE) |
audio_devs | 1297 | drivers/sound/dmabuf.c | if (audio_devs[dev]->dmap_out == NULL) |
audio_devs | 1299 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_out = |
audio_devs | 1300 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in = |
audio_devs | 1303 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 1304 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in = |
audio_devs | 1338 | drivers/sound/dmabuf.c | if ((audio_devs[dev]->flags & DMA_DUPLEX) && |
audio_devs | 1339 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_output) |
audio_devs | 1340 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_output (dev); |
audio_devs | 1342 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_xfer (dev); |
audio_devs | 1345 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_AUTOMODE) |
audio_devs | 1365 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_out; |
audio_devs | 1370 | drivers/sound/dmabuf.c | sound_dma_intr (dev, audio_devs[dev]->dmap_out, audio_devs[dev]->dmachan1); |
audio_devs | 1382 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_AUTOMODE)) |
audio_devs | 1384 | drivers/sound/dmabuf.c | audio_devs[dev]->output_block (dev, dmap->raw_buf_phys + |
audio_devs | 1387 | drivers/sound/dmabuf.c | !(audio_devs[dev]->flags & DMA_AUTOMODE)); |
audio_devs | 1388 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger) |
audio_devs | 1389 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, |
audio_devs | 1390 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits * audio_devs[dev]->go); |
audio_devs | 1412 | drivers/sound/dmabuf.c | (audio_devs[dev]->flags & DMA_SYNCING || dmap->underrun_count > 5 || dmap->flags & DMA_EMPTY)) |
audio_devs | 1422 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_xfer (dev); |
audio_devs | 1440 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_AUTOMODE)) |
audio_devs | 1446 | drivers/sound/dmabuf.c | audio_devs[dev]->output_block (dev, dmap->raw_buf_phys + |
audio_devs | 1449 | drivers/sound/dmabuf.c | !(audio_devs[dev]->flags & DMA_AUTOMODE)); |
audio_devs | 1450 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger) |
audio_devs | 1451 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, |
audio_devs | 1452 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits * audio_devs[dev]->go); |
audio_devs | 1474 | drivers/sound/dmabuf.c | struct dma_buffparms *dmap = audio_devs[dev]->dmap_in; |
audio_devs | 1479 | drivers/sound/dmabuf.c | sound_dma_intr (dev, audio_devs[dev]->dmap_in, audio_devs[dev]->dmachan2); |
audio_devs | 1487 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_AUTOMODE)) |
audio_devs | 1489 | drivers/sound/dmabuf.c | audio_devs[dev]->start_input (dev, dmap->raw_buf_phys + |
audio_devs | 1492 | drivers/sound/dmabuf.c | !(audio_devs[dev]->flags & DMA_AUTOMODE)); |
audio_devs | 1493 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger) |
audio_devs | 1494 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, |
audio_devs | 1495 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits * audio_devs[dev]->go); |
audio_devs | 1505 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_AUTOMODE) |
audio_devs | 1508 | drivers/sound/dmabuf.c | if ((audio_devs[dev]->flags & DMA_DUPLEX) && |
audio_devs | 1509 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_input) |
audio_devs | 1510 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_input (dev); |
audio_devs | 1512 | drivers/sound/dmabuf.c | audio_devs[dev]->halt_xfer (dev); |
audio_devs | 1515 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_AUTOMODE) |
audio_devs | 1530 | drivers/sound/dmabuf.c | if (!(audio_devs[dev]->flags & DMA_AUTOMODE)) |
audio_devs | 1532 | drivers/sound/dmabuf.c | audio_devs[dev]->start_input (dev, dmap->raw_buf_phys + |
audio_devs | 1535 | drivers/sound/dmabuf.c | !(audio_devs[dev]->flags & DMA_AUTOMODE)); |
audio_devs | 1536 | drivers/sound/dmabuf.c | if (audio_devs[dev]->trigger) |
audio_devs | 1537 | drivers/sound/dmabuf.c | audio_devs[dev]->trigger (dev, |
audio_devs | 1538 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits * audio_devs[dev]->go); |
audio_devs | 1558 | drivers/sound/dmabuf.c | int chan = audio_devs[dev]->dmachan1; |
audio_devs | 1562 | drivers/sound/dmabuf.c | if ((err = open_dmap (dev, OPEN_READWRITE, audio_devs[dev]->dmap_out, audio_devs[dev]->dmachan1)) < 0) |
audio_devs | 1566 | drivers/sound/dmabuf.c | dma_init_buffers (dev, audio_devs[dev]->dmap_out); |
audio_devs | 1567 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_out->flags |= DMA_ALLOC_DONE; |
audio_devs | 1568 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_out->fragment_size = audio_devs[dev]->buffsize; |
audio_devs | 1571 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 1573 | drivers/sound/dmabuf.c | if ((err = open_dmap (dev, OPEN_READWRITE, audio_devs[dev]->dmap_in, audio_devs[dev]->dmachan2)) < 0) |
audio_devs | 1576 | drivers/sound/dmabuf.c | audio_devs[dev]->dmachan2); |
audio_devs | 1577 | drivers/sound/dmabuf.c | close_dmap (dev, audio_devs[dev]->dmap_out, audio_devs[dev]->dmachan1); |
audio_devs | 1580 | drivers/sound/dmabuf.c | dma_init_buffers (dev, audio_devs[dev]->dmap_in); |
audio_devs | 1581 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in->flags |= DMA_ALLOC_DONE; |
audio_devs | 1582 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in->fragment_size = audio_devs[dev]->buffsize; |
audio_devs | 1587 | drivers/sound/dmabuf.c | audio_devs[dev]->dmap_in = audio_devs[dev]->dmap_out; |
audio_devs | 1588 | drivers/sound/dmabuf.c | audio_devs[dev]->dmachan2 = audio_devs[dev]->dmachan1; |
audio_devs | 1605 | drivers/sound/dmabuf.c | close_dmap (dev, audio_devs[dev]->dmap_out, audio_devs[dev]->dmachan1); |
audio_devs | 1607 | drivers/sound/dmabuf.c | if (audio_devs[dev]->flags & DMA_DUPLEX) |
audio_devs | 1608 | drivers/sound/dmabuf.c | close_dmap (dev, audio_devs[dev]->dmap_in, audio_devs[dev]->dmachan2); |
audio_devs | 1626 | drivers/sound/dmabuf.c | dmap = audio_devs[dev]->dmap_in; |
audio_devs | 1644 | drivers/sound/dmabuf.c | if ((audio_devs[dev]->flags & DMA_DUPLEX) && !dmap->qlen && |
audio_devs | 1645 | drivers/sound/dmabuf.c | audio_devs[dev]->enable_bits & PCM_ENABLE_INPUT && |
audio_devs | 1646 | drivers/sound/dmabuf.c | audio_devs[dev]->go) |
audio_devs | 1672 | drivers/sound/dmabuf.c | dmap = audio_devs[dev]->dmap_out; |
audio_devs | 1645 | drivers/sound/gus_wave.c | blk_sz = audio_devs[gus_devnum]->dmap_out->bytes_in_use; |
audio_devs | 1690 | drivers/sound/gus_wave.c | memcpy_fromfs (audio_devs[gus_devnum]->dmap_out->raw_buf, &((addr)[sizeof_patch + src_offs]), blk_sz); |
audio_devs | 1697 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->dmap_out->raw_buf_phys, |
audio_devs | 1706 | drivers/sound/gus_wave.c | if (audio_devs[gus_devnum]->dmachan1 > 3) |
audio_devs | 1725 | drivers/sound/gus_wave.c | if (audio_devs[gus_devnum]->dmachan1 > 3) |
audio_devs | 2085 | drivers/sound/gus_wave.c | audio_devs[dev]->format_mask = AFMT_U8; |
audio_devs | 2087 | drivers/sound/gus_wave.c | audio_devs[dev]->format_mask = AFMT_U8 | AFMT_S16_LE; |
audio_devs | 2293 | drivers/sound/gus_wave.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 2310 | drivers/sound/gus_wave.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 2364 | drivers/sound/gus_wave.c | if (audio_devs[dev]->dmachan2 > 3) |
audio_devs | 3154 | drivers/sound/gus_wave.c | audio_devs[gus_devnum = num_audiodevs++] = &gus_sampling_operations; |
audio_devs | 3155 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->dmachan1 = dma; |
audio_devs | 3156 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->dmachan2 = dma2; |
audio_devs | 3157 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->buffsize = DSP_BUFFSIZE; |
audio_devs | 3159 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->flags |= DMA_DUPLEX; |
audio_devs | 294 | drivers/sound/pas2_pcm.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 297 | drivers/sound/pas2_pcm.c | if (audio_devs[dev]->flags & DMA_AUTOMODE && |
audio_devs | 313 | drivers/sound/pas2_pcm.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 346 | drivers/sound/pas2_pcm.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 349 | drivers/sound/pas2_pcm.c | if (audio_devs[my_devnum]->flags & DMA_AUTOMODE && |
audio_devs | 362 | drivers/sound/pas2_pcm.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 457 | drivers/sound/pas2_pcm.c | audio_devs[my_devnum = num_audiodevs++] = &pas_pcm_operations; |
audio_devs | 458 | drivers/sound/pas2_pcm.c | audio_devs[my_devnum]->dmachan1 = hw_config->dma; |
audio_devs | 459 | drivers/sound/pas2_pcm.c | audio_devs[my_devnum]->buffsize = DSP_BUFFSIZE; |
audio_devs | 479 | drivers/sound/pas2_pcm.c | if (!(audio_devs[my_devnum]->flags & DMA_AUTOMODE)) |
audio_devs | 847 | drivers/sound/pss.c | audio_devs[prev_devs]->coproc = &pss_coproc_operations; |
audio_devs | 254 | drivers/sound/sb16_dsp.c | audio_devs[dev]->dmachan1 = audio_devs[dev]->dmachan2 = dma8; |
audio_devs | 289 | drivers/sound/sb16_dsp.c | if (audio_devs[dev]->flags & DMA_AUTOMODE && |
audio_devs | 342 | drivers/sound/sb16_dsp.c | if (audio_devs[dev]->flags & DMA_AUTOMODE && |
audio_devs | 380 | drivers/sound/sb16_dsp.c | audio_devs[my_dev]->dmachan1 = |
audio_devs | 381 | drivers/sound/sb16_dsp.c | audio_devs[my_dev]->dmachan2 = |
audio_devs | 392 | drivers/sound/sb16_dsp.c | audio_devs[my_dev]->dmachan1 = |
audio_devs | 393 | drivers/sound/sb16_dsp.c | audio_devs[my_dev]->dmachan2 = |
audio_devs | 504 | drivers/sound/sb16_dsp.c | audio_devs[my_dev = num_audiodevs++] = &sb16_dsp_operations; |
audio_devs | 505 | drivers/sound/sb16_dsp.c | audio_devs[my_dev]->dmachan1 = audio_devs[my_dev]->dmachan2 = dma8; |
audio_devs | 506 | drivers/sound/sb16_dsp.c | audio_devs[my_dev]->buffsize = DSP_BUFFSIZE; |
audio_devs | 484 | drivers/sound/sb_dsp.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 571 | drivers/sound/sb_dsp.c | if (audio_devs[dev]->dmachan1 > 3) |
audio_devs | 716 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan1 = |
audio_devs | 717 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan2 = |
audio_devs | 787 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan1 = |
audio_devs | 788 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan2 = |
audio_devs | 859 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan1 = |
audio_devs | 860 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan2 = |
audio_devs | 891 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan1 = |
audio_devs | 892 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan2 = |
audio_devs | 1592 | drivers/sound/sb_dsp.c | audio_devs[my_dev = num_audiodevs++] = &sb_dsp_operations; |
audio_devs | 1595 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->flags |= DMA_AUTOMODE; |
audio_devs | 1597 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->buffsize = DSP_BUFFSIZE; |
audio_devs | 1598 | drivers/sound/sb_dsp.c | dma8 = audio_devs[my_dev]->dmachan1 = hw_config->dma; |
audio_devs | 1599 | drivers/sound/sb_dsp.c | dma16 = audio_devs[my_dev]->dmachan2 = hw_config->dma; |
audio_devs | 230 | drivers/sound/sound_switch.c | if (!put_status (audio_devs[i]->name)) |
audio_devs | 233 | drivers/sound/sound_switch.c | if (audio_devs[i]->flags & DMA_DUPLEX) |
audio_devs | 535 | drivers/sound/sound_switch.c | mixdev = audio_devs[dev >> 4]->mixer_dev; |
audio_devs | 261 | drivers/sound/soundcard.c | dmap = audio_devs[dev]->dmap_in; |
audio_devs | 265 | drivers/sound/soundcard.c | dmap = audio_devs[dev]->dmap_out; |
audio_devs | 632 | drivers/sound/soundcard.c | printk ("sound: buffsize[%d] = %lu\n", dev, audio_devs[dev]->buffsize); |
audio_devs | 634 | drivers/sound/soundcard.c | audio_devs[dev]->buffsize = dma_buffsize; |
audio_devs | 636 | drivers/sound/soundcard.c | if (audio_devs[dev]->buffsize > dma_pagesize) |
audio_devs | 637 | drivers/sound/soundcard.c | audio_devs[dev]->buffsize = dma_pagesize; |
audio_devs | 646 | drivers/sound/soundcard.c | while (start_addr == NULL && audio_devs[dev]->buffsize > PAGE_SIZE) |
audio_devs | 651 | drivers/sound/soundcard.c | size < audio_devs[dev]->buffsize; |
audio_devs | 654 | drivers/sound/soundcard.c | audio_devs[dev]->buffsize = PAGE_SIZE * (1 << sz); |
audio_devs | 657 | drivers/sound/soundcard.c | audio_devs[dev]->buffsize /= 2; |
audio_devs | 668 | drivers/sound/soundcard.c | end_addr = start_addr + audio_devs[dev]->buffsize - 1; |
audio_devs | 683 | drivers/sound/soundcard.c | audio_devs[dev]->buffsize); |
audio_devs | 712 | drivers/sound/soundcard.c | size < audio_devs[dev]->buffsize; |
audio_devs | 716 | drivers/sound/soundcard.c | end_addr = start_addr + audio_devs[dev]->buffsize; |
audio_devs | 484 | drivers/sound/sscape.c | memcpy (audio_devs[devc->my_audiodev]->dmap_out->raw_buf, block, size); |
audio_devs | 490 | drivers/sound/sscape.c | audio_devs[devc->my_audiodev]->dmap_out->raw_buf_phys, |
audio_devs | 696 | drivers/sound/sscape.c | sscape_info *devc = (sscape_info *) audio_devs[dev]->devc; |
audio_devs | 727 | drivers/sound/sscape.c | sscape_info *devc = (sscape_info *) audio_devs[dev]->devc; |
audio_devs | 760 | drivers/sound/sscape.c | sscape_info *devc = (sscape_info *) audio_devs[dev]->devc; |
audio_devs | 991 | drivers/sound/sscape.c | audio_devs[my_dev = num_audiodevs++] = &sscape_audio_operations; |
audio_devs | 992 | drivers/sound/sscape.c | audio_devs[my_dev]->dmachan1 = hw_config->dma; |
audio_devs | 993 | drivers/sound/sscape.c | audio_devs[my_dev]->buffsize = DSP_BUFFSIZE; |
audio_devs | 994 | drivers/sound/sscape.c | audio_devs[my_dev]->devc = devc; |
audio_devs | 997 | drivers/sound/sscape.c | audio_devs[my_dev]->coproc = &sscape_coproc_operations; |
audio_devs | 1178 | drivers/sound/sscape.c | audio_devs[prev_devs]->coproc = &sscape_coproc_operations; |