Home
last modified time | relevance | path

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

/openbmc/linux/sound/isa/wavefront/
H A Dwavefront.c221 int hw_dev, in snd_wavefront_new_synth() argument
234 if (snd_hwdep_new(card, "WaveFront", hw_dev, &wavefront_synth) < 0) in snd_wavefront_new_synth()
246 int hw_dev, in snd_wavefront_new_fx() argument
258 if (snd_hwdep_new (card, "YSS225", hw_dev, &fx_processor) < 0) in snd_wavefront_new_fx()
344 int hw_dev = 0, midi_dev = 0, err; in snd_wavefront_probe() local
376 err = snd_opl3_hwdep_new(opl3, hw_dev, 1, NULL); in snd_wavefront_probe()
379 hw_dev++; in snd_wavefront_probe()
403 wavefront_synth = snd_wavefront_new_synth(card, hw_dev, acard); in snd_wavefront_probe()
411 hw_dev++; in snd_wavefront_probe()
470 hw_dev, in snd_wavefront_probe()
[all …]
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.c262 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()
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
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()
365 dev_err(&hw_dev->hwif->pdev->dev, in hinic_set_vf_mac_msg_handler()
380 struct hinic_hwdev *hw_dev = hwdev; in hinic_del_vf_mac_msg_handler() local
385 nic_io = &hw_dev->func_to_io; in hinic_del_vf_mac_msg_handler()
[all …]
/openbmc/linux/drivers/comedi/
H A Dcomedi_usb.c25 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL; in comedi_to_usb_interface()
H A Dcomedi_pcmcia.c26 return dev->hw_dev ? to_pcmcia_dev(dev->hw_dev) : NULL; in comedi_to_pcmcia_dev()
H A Dcomedi_pci.c26 return dev->hw_dev ? to_pci_dev(dev->hw_dev) : NULL; in comedi_to_pci_dev()
H A Ddrivers.c49 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()
H A Dcomedi_buf.c89 bm->dma_hw_dev = get_device(dev->hw_dev); in comedi_buf_map_alloc()
H A Dcomedi_fops.c3288 if (dev && dev->hw_dev == hardware_device) { in comedi_release_hardware_device()
/openbmc/linux/drivers/net/wireless/intersil/p54/
H A Dled.c69 struct ieee80211_hw *dev = led->hw_dev; in p54_led_brightness_set()
93 led->hw_dev = priv->hw; in p54_register_led()
H A Dp54.h147 struct ieee80211_hw *hw_dev; member
/openbmc/linux/drivers/comedi/drivers/
H A Dcomedi_isadma.c173 if (dev->hw_dev) { in comedi_isadma_alloc()
174 dma->dev = dev->hw_dev; in comedi_isadma_alloc()
H A Dni_atmio.c343 isapnp_dev = dev->hw_dev ? to_pnp_dev(dev->hw_dev) : NULL; in ni_atmio_detach()
H A Dmite.c702 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()
H A Dmite.h30 struct device *hw_dev; member
H A Daddi_apci_3120.c916 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()
H A 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()
/openbmc/linux/include/linux/comedi/
H A Dcomedidev.h549 struct device *hw_dev; member
954 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev);
1021 int comedi_load_firmware(struct comedi_device *dev, struct device *hw_dev,
/openbmc/linux/net/sched/
H A Dcls_flower.c128 struct net_device *hw_dev; member