Home
last modified time | relevance | path

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

/linux/sound/isa/wavefront/
H A Dwavefront.c222 int hw_dev, in snd_wavefront_new_synth() argument
235 if (snd_hwdep_new(card, "WaveFront", hw_dev, &wavefront_synth) < 0) in snd_wavefront_new_synth()
247 int hw_dev, in snd_wavefront_new_fx() argument
259 if (snd_hwdep_new (card, "YSS225", hw_dev, &fx_processor) < 0) in snd_wavefront_new_fx()
345 int hw_dev = 0, midi_dev = 0, err; in snd_wavefront_probe() local
377 err = snd_opl3_hwdep_new(opl3, hw_dev, 1, NULL); in snd_wavefront_probe()
380 hw_dev++; in snd_wavefront_probe()
404 wavefront_synth = snd_wavefront_new_synth(card, hw_dev, acard); in snd_wavefront_probe()
412 hw_dev++; in snd_wavefront_probe()
471 hw_dev, in snd_wavefront_probe()
[all...]
/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()
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 in hinic_set_vf_mac_msg_handler()
380 struct hinic_hwdev *hw_dev = hwdev; hinic_del_vf_mac_msg_handler() local
411 struct hinic_hwdev *hw_dev = hwdev; hinic_get_vf_link_status_msg_handler() local
[all...]
/linux/drivers/comedi/
H A Dcomedi_usb.c17 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
20 * Return: Attached USB interface if @dev->hw_dev is non-%NULL.
21 * Return %NULL if @dev->hw_dev is %NULL.
25 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL; in comedi_to_usb_interface()
33 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
36 * Return: USB device to which the USB interface belongs if @dev->hw_dev is
37 * non-%NULL. Return %NULL if @dev->hw_dev is %NULL.
H A Dcomedi_pcmcia.c18 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
21 * Return: Attached PCMCIA device if @dev->hw_dev is non-%NULL.
22 * Return %NULL if @dev->hw_dev is %NULL.
26 return dev->hw_dev ? to_pcmcia_dev(dev->hw_dev) : NULL; in comedi_to_pcmcia_dev()
45 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a a
66 * -%ENODEV id @dev->hw_dev is %NULL,
95 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
H A Dcomedi_pci.c18 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
21 * Return: Attached PCI device if @dev->hw_dev is non-%NULL.
22 * Return %NULL if @dev->hw_dev is %NULL.
26 return dev->hw_dev ? to_pci_dev(dev->hw_dev) : NULL; in comedi_to_pci_dev()
34 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
43 * -%ENODEV if @dev->hw_dev is %NULL,
74 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
H A Ddrivers.c30 * @hw_dev: Hardware device.
40 * If @dev->hw_dev is NULL, it gets a reference to @hw_dev and sets
41 * @dev->hw_dev, otherwise, it does nothing. Calling it multiple times
46 * Returns 0 if @dev->hw_dev was NULL or the same as @hw_dev, otherwise
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()
[all...]
H A Dcomedi_buf.c81 bm->dma_hw_dev = get_device(dev->hw_dev); in comedi_buf_map_alloc()
H A Dcomedi_fops.c3395 if (dev && dev->hw_dev == hardware_device) { in comedi_release_hardware_device()
/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
/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.c352 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()
/linux/include/linux/comedi/
H A Dcomedidev.h227 * COMEDI device's hw_dev member.
458 * @hw_dev: Optional pointer to the low-level hardware &struct device. It is
543 struct device *hw_dev; member
943 * Must set dev->hw_dev if you wish to dma directly into comedi's buffer.
948 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev);
1015 int comedi_load_firmware(struct comedi_device *dev, struct device *hw_dev,