Home
last modified time | relevance | path

Searched refs:adev (Results 1 – 3 of 3) sorted by relevance

/sound/oss/
Ddmabuf.c39 static int local_start_dma(struct audio_operations *adev, unsigned long physaddr, int count, int dm…
187 static int open_dmap(struct audio_operations *adev, int mode, struct dma_buffparms *dmap) in open_dmap() argument
200 if (dmap->dma >= 0 && sound_open_dma(dmap->dma, adev->name)) { in open_dmap()
219 static void close_dmap(struct audio_operations *adev, struct dma_buffparms *dmap) in close_dmap() argument
281 struct audio_operations *adev = audio_devs[dev]; in DMAbuf_open() local
286 if (!adev) in DMAbuf_open()
288 if (!(adev->flags & DMA_DUPLEX)) in DMAbuf_open()
289 adev->dmap_in = adev->dmap_out; in DMAbuf_open()
290 check_driver(adev->d); in DMAbuf_open()
292 if ((retval = adev->d->open(dev, mode)) < 0) in DMAbuf_open()
[all …]
Dvidc.c340 struct audio_operations *adev = audio_devs[dev]; in vidc_audio_prepare_for_output() local
343 adev->dmap_out->flags |= DMA_NODMA; in vidc_audio_prepare_for_output()
363 struct audio_operations *adev = audio_devs[dev]; in vidc_audio_trigger() local
366 if (!(adev->dmap_out->flags & DMA_ACTIVE)) { in vidc_audio_trigger()
372 adev->dmap_out->flags |= DMA_ACTIVE; in vidc_audio_trigger()
442 int i, adev; in attach_vidc() local
448 adev = sound_install_audiodrv(AUDIO_DRIVER_VERSION, name, in attach_vidc()
453 if (adev < 0) in attach_vidc()
459 audio_devs[adev]->min_fragment = 10; in attach_vidc()
460 audio_devs[adev]->mixer_dev = num_mixers; in attach_vidc()
[all …]
/sound/soc/intel/common/
Dsst-match-acpi.c22 struct acpi_device *adev; in sst_acpi_find_name() local
25 if (acpi_bus_get_device(handle, &adev)) in sst_acpi_find_name()
28 if (adev->status.present && adev->status.functional) { in sst_acpi_find_name()
29 name = acpi_dev_name(adev); in sst_acpi_find_name()