Searched refs:hw_dev (Results 1 - 14 of 14) sorted by relevance

/drivers/staging/comedi/
H A Dcomedi_usb.c29 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL;
H A Dcomedi_pcmcia.c32 return dev->hw_dev ? to_pcmcia_dev(dev->hw_dev) : NULL;
H A Dcomedi_pci.c30 return dev->hw_dev ? to_pci_dev(dev->hw_dev) : NULL;
H A Ddrivers.c45 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev) argument
47 if (hw_dev == dev->hw_dev)
49 if (dev->hw_dev != NULL)
51 dev->hw_dev = get_device(hw_dev);
58 put_device(dev->hw_dev);
59 dev->hw_dev = NULL;
H A Dcomedidev.h240 /* hw_dev is passed to dma_alloc_coherent when allocating async buffers
243 struct device *hw_dev; member in struct:comedi_device
403 * Must set dev->hw_dev if you wish to dma directly into comedi's buffer.
408 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev);
H A Dcomedi_buf.c109 bm->dma_hw_dev = get_device(dev->hw_dev);
H A Dcomedi_fops.c2479 if (dev && dev->hw_dev == hardware_device) {
/drivers/net/wireless/p54/
H A Dled.c72 struct ieee80211_hw *dev = led->hw_dev;
96 led->hw_dev = priv->hw;
H A Dp54.h150 struct ieee80211_hw *hw_dev; member in struct:p54_led_dev
/drivers/staging/comedi/drivers/
H A Dmite.c191 ring->hw_dev = get_device(&mite->pcidev->dev);
192 if (ring->hw_dev == NULL) {
207 dma_free_coherent(ring->hw_dev,
213 put_device(ring->hw_dev);
305 dma_free_coherent(ring->hw_dev,
321 dma_alloc_coherent(ring->hw_dev,
H A Daddi_apci_3120.c95 dma_alloc_coherent(dev->hw_dev, PAGE_SIZE << order,
201 dma_free_coherent(dev->hw_dev,
H A Dni_atmio.c371 isapnp_dev = dev->hw_dev ? to_pnp_dev(dev->hw_dev) : NULL;
H A Dmite.h39 struct device *hw_dev; member in struct:mite_dma_descriptor_ring
H A Dadl_pci9118.c1487 dma_alloc_coherent(dev->hw_dev, PAGE_SIZE << order,
1515 dma_free_coherent(dev->hw_dev, dmabuf->size,

Completed in 227 milliseconds