Searched refs:hw_dev (Results 1 – 11 of 11) sorted by relevance
/drivers/staging/comedi/ |
D | drivers.c | 47 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev) in comedi_set_hw_dev() argument 49 if (hw_dev == dev->hw_dev) in comedi_set_hw_dev() 51 if (dev->hw_dev != NULL) in comedi_set_hw_dev() 53 dev->hw_dev = get_device(hw_dev); in comedi_set_hw_dev() 60 put_device(dev->hw_dev); in comedi_clear_hw_dev() 61 dev->hw_dev = NULL; in comedi_clear_hw_dev()
|
D | comedi_usb.c | 33 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 | 33 return dev->hw_dev ? to_pci_dev(dev->hw_dev) : NULL; in comedi_to_pci_dev()
|
D | comedidev.h | 204 struct device *hw_dev; member 331 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev);
|
D | comedi_buf.c | 55 dma_free_coherent(dev->hw_dev, in __comedi_buf_free() 96 buf->virt_addr = dma_alloc_coherent(dev->hw_dev, in __comedi_buf_alloc()
|
D | comedi_fops.c | 2443 if (dev && dev->hw_dev == hardware_device) { in comedi_release_hardware_device()
|
/drivers/staging/comedi/drivers/ |
D | mite.c | 207 ring->hw_dev = get_device(&mite->pcidev->dev); in mite_alloc_ring() 208 if (ring->hw_dev == NULL) { in mite_alloc_ring() 223 dma_free_coherent(ring->hw_dev, in mite_free_ring() 229 put_device(ring->hw_dev); in mite_free_ring() 321 dma_free_coherent(ring->hw_dev, in mite_buf_change() 336 MDPRINTK("ring->hw_dev=%p, n_links=0x%04x\n", ring->hw_dev, n_links); in mite_buf_change() 339 dma_alloc_coherent(ring->hw_dev, in mite_buf_change()
|
D | mite.h | 50 struct device *hw_dev; member
|
/drivers/net/wireless/p54/ |
D | led.c | 73 struct ieee80211_hw *dev = led->hw_dev; in p54_led_brightness_set() 97 led->hw_dev = priv->hw; in p54_register_led()
|
D | p54.h | 150 struct ieee80211_hw *hw_dev; member
|