Searched refs:hw_dev (Results 1 – 15 of 15) sorted by relevance
/linux-4.4.14/sound/isa/wavefront/ |
D | wavefront.c | 235 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/ |
D | comedi_usb.c | 35 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL; in comedi_to_usb_interface()
|
D | comedi_pcmcia.c | 36 return dev->hw_dev ? to_pcmcia_dev(dev->hw_dev) : NULL; in comedi_to_pcmcia_dev()
|
D | comedi_pci.c | 36 return dev->hw_dev ? to_pci_dev(dev->hw_dev) : NULL; in comedi_to_pci_dev()
|
D | drivers.c | 59 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()
|
D | comedidev.h | 534 struct device *hw_dev; member 940 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev);
|
D | comedi_buf.c | 109 bm->dma_hw_dev = get_device(dev->hw_dev); in __comedi_buf_alloc()
|
D | comedi_fops.c | 2788 if (dev && dev->hw_dev == hardware_device) { in comedi_release_hardware_device()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | mite.c | 188 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()
|
D | ni_atmio.c | 364 isapnp_dev = dev->hw_dev ? to_pnp_dev(dev->hw_dev) : NULL; in ni_atmio_detach()
|
D | mite.h | 41 struct device *hw_dev; member
|
D | addi_apci_3120.c | 925 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()
|
D | adl_pci9118.c | 1470 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/ |
D | led.c | 72 struct ieee80211_hw *dev = led->hw_dev; in p54_led_brightness_set() 96 led->hw_dev = priv->hw; in p54_register_led()
|
D | p54.h | 150 struct ieee80211_hw *hw_dev; member
|