Home
last modified time | relevance | path

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

/linux-6.6.21/sound/isa/wavefront/
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 …]
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
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()
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 …]
/linux-6.6.21/drivers/comedi/
Dcomedi_usb.c25 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL; in comedi_to_usb_interface()
Dcomedi_pcmcia.c26 return dev->hw_dev ? to_pcmcia_dev(dev->hw_dev) : NULL; in comedi_to_pcmcia_dev()
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()
Dcomedi_pci.c26 return dev->hw_dev ? to_pci_dev(dev->hw_dev) : NULL; in comedi_to_pci_dev()
Dcomedi_buf.c89 bm->dma_hw_dev = get_device(dev->hw_dev); in comedi_buf_map_alloc()
Dcomedi_fops.c3288 if (dev && dev->hw_dev == hardware_device) { in comedi_release_hardware_device()
/linux-6.6.21/drivers/net/wireless/intersil/p54/
Dled.c69 struct ieee80211_hw *dev = led->hw_dev; in p54_led_brightness_set()
93 led->hw_dev = priv->hw; in p54_register_led()
Dp54.h147 struct ieee80211_hw *hw_dev; member
/linux-6.6.21/drivers/comedi/drivers/
Dcomedi_isadma.c173 if (dev->hw_dev) { in comedi_isadma_alloc()
174 dma->dev = dev->hw_dev; in comedi_isadma_alloc()
Dni_atmio.c343 isapnp_dev = dev->hw_dev ? to_pnp_dev(dev->hw_dev) : NULL; in ni_atmio_detach()
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()
Dmite.h30 struct device *hw_dev; member
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()
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()
/linux-6.6.21/include/linux/comedi/
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,
/linux-6.6.21/net/sched/
Dcls_flower.c128 struct net_device *hw_dev; member