Searched refs:hw_dev (Results 1 – 15 of 15) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 262 struct hinic_hwdev *hw_dev = hwdev; in hinic_register_vf_msg_handler() local 266 nic_io = &hw_dev->func_to_io; in hinic_register_vf_msg_handler() 268 dev_err(&hw_dev->hwif->pdev->dev, "Register VF id %d exceed limit[0-%d]\n", in hinic_register_vf_msg_handler() 275 err = hinic_init_vf_config(hw_dev, vf_id); in hinic_register_vf_msg_handler() 290 struct hinic_hwdev *hw_dev = hwdev; in hinic_unregister_vf_msg_handler() local 293 nic_io = &hw_dev->func_to_io; in hinic_unregister_vf_msg_handler() 307 struct hinic_hwdev *hw_dev = hwdev; in hinic_change_vf_mtu_msg_handler() local 313 dev_err(&hw_dev->hwif->pdev->dev, "Failed to set VF %u mtu\n", in hinic_change_vf_mtu_msg_handler() 346 struct hinic_hwdev *hw_dev = hwdev; in hinic_set_vf_mac_msg_handler() local 351 nic_io = &hw_dev->func_to_io; in hinic_set_vf_mac_msg_handler() [all …]
|
/drivers/comedi/ |
D | drivers.c | 49 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev) in comedi_set_hw_dev() argument 51 if (hw_dev == dev->hw_dev) in comedi_set_hw_dev() 53 if (dev->hw_dev) in comedi_set_hw_dev() 55 dev->hw_dev = get_device(hw_dev); in comedi_set_hw_dev() 62 put_device(dev->hw_dev); in comedi_clear_hw_dev() 63 dev->hw_dev = NULL; in comedi_clear_hw_dev()
|
D | comedi_usb.c | 25 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL; in comedi_to_usb_interface()
|
D | comedi_pcmcia.c | 26 return dev->hw_dev ? to_pcmcia_dev(dev->hw_dev) : NULL; in comedi_to_pcmcia_dev()
|
D | comedi_pci.c | 26 return dev->hw_dev ? to_pci_dev(dev->hw_dev) : NULL; in comedi_to_pci_dev()
|
D | comedi_buf.c | 89 bm->dma_hw_dev = get_device(dev->hw_dev); in comedi_buf_map_alloc()
|
D | comedi_fops.c | 3288 if (dev && dev->hw_dev == hardware_device) { in comedi_release_hardware_device()
|
/drivers/net/wireless/intersil/p54/ |
D | led.c | 69 struct ieee80211_hw *dev = led->hw_dev; in p54_led_brightness_set() 93 led->hw_dev = priv->hw; in p54_register_led()
|
D | p54.h | 147 struct ieee80211_hw *hw_dev; member
|
/drivers/comedi/drivers/ |
D | comedi_isadma.c | 173 if (dev->hw_dev) { in comedi_isadma_alloc() 174 dma->dev = dev->hw_dev; in comedi_isadma_alloc()
|
D | mite.c | 702 dma_free_coherent(ring->hw_dev, in mite_free_dma_descs() 729 descs = dma_alloc_coherent(ring->hw_dev, in mite_buf_change() 755 ring->hw_dev = get_device(&mite->pcidev->dev); in mite_alloc_ring() 756 if (!ring->hw_dev) { in mite_alloc_ring() 775 put_device(ring->hw_dev); in mite_free_ring()
|
D | ni_atmio.c | 343 isapnp_dev = dev->hw_dev ? to_pnp_dev(dev->hw_dev) : NULL; in ni_atmio_detach()
|
D | mite.h | 30 struct device *hw_dev; member
|
D | addi_apci_3120.c | 916 dmabuf->virt = dma_alloc_coherent(dev->hw_dev, in apci3120_dma_alloc() 946 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()
|