Home
last modified time | relevance | path

Searched refs:hw_dev (Results 1 – 15 of 15) sorted by relevance

/linux-4.4.14/sound/isa/wavefront/
Dwavefront.c235 int hw_dev, in snd_wavefront_new_synth() argument
248 if (snd_hwdep_new(card, "WaveFront", hw_dev, &wavefront_synth) < 0) in snd_wavefront_new_synth()
260 int hw_dev, in snd_wavefront_new_fx() argument
272 if (snd_hwdep_new (card, "YSS225", hw_dev, &fx_processor) < 0) in snd_wavefront_new_fx()
371 int hw_dev = 0, midi_dev = 0, err; in snd_wavefront_probe() local
403 err = snd_opl3_hwdep_new(opl3, hw_dev, 1, NULL); in snd_wavefront_probe()
406 hw_dev++; in snd_wavefront_probe()
427 wavefront_synth = snd_wavefront_new_synth(card, hw_dev, acard); in snd_wavefront_probe()
435 hw_dev++; in snd_wavefront_probe()
494 hw_dev, in snd_wavefront_probe()
[all …]
/linux-4.4.14/drivers/staging/comedi/
Dcomedi_usb.c35 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL; in comedi_to_usb_interface()
Dcomedi_pcmcia.c36 return dev->hw_dev ? to_pcmcia_dev(dev->hw_dev) : NULL; in comedi_to_pcmcia_dev()
Dcomedi_pci.c36 return dev->hw_dev ? to_pci_dev(dev->hw_dev) : NULL; in comedi_to_pci_dev()
Ddrivers.c59 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev) in comedi_set_hw_dev() argument
61 if (hw_dev == dev->hw_dev) in comedi_set_hw_dev()
63 if (dev->hw_dev) in comedi_set_hw_dev()
65 dev->hw_dev = get_device(hw_dev); in comedi_set_hw_dev()
72 put_device(dev->hw_dev); in comedi_clear_hw_dev()
73 dev->hw_dev = NULL; in comedi_clear_hw_dev()
Dcomedidev.h534 struct device *hw_dev; member
940 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev);
Dcomedi_buf.c109 bm->dma_hw_dev = get_device(dev->hw_dev); in __comedi_buf_alloc()
Dcomedi_fops.c2788 if (dev && dev->hw_dev == hardware_device) { in comedi_release_hardware_device()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dmite.c188 ring->hw_dev = get_device(&mite->pcidev->dev); in mite_alloc_ring()
189 if (!ring->hw_dev) { in mite_alloc_ring()
204 dma_free_coherent(ring->hw_dev, in mite_free_ring()
210 put_device(ring->hw_dev); in mite_free_ring()
303 dma_free_coherent(ring->hw_dev, in mite_buf_change()
319 dma_alloc_coherent(ring->hw_dev, in mite_buf_change()
Dni_atmio.c364 isapnp_dev = dev->hw_dev ? to_pnp_dev(dev->hw_dev) : NULL; in ni_atmio_detach()
Dmite.h41 struct device *hw_dev; member
Daddi_apci_3120.c925 dmabuf->virt = dma_alloc_coherent(dev->hw_dev, in apci3120_dma_alloc()
955 dma_free_coherent(dev->hw_dev, dmabuf->size, in apci3120_dma_free()
Dadl_pci9118.c1470 dma_alloc_coherent(dev->hw_dev, PAGE_SIZE << order, in pci9118_alloc_dma()
1498 dma_free_coherent(dev->hw_dev, dmabuf->size, in pci9118_free_dma()
/linux-4.4.14/drivers/net/wireless/p54/
Dled.c72 struct ieee80211_hw *dev = led->hw_dev; in p54_led_brightness_set()
96 led->hw_dev = priv->hw; in p54_register_led()
Dp54.h150 struct ieee80211_hw *hw_dev; member