/kernel/linux/linux-5.10/sound/isa/wavefront/ |
H A D | wavefront.c | 222 int hw_dev, in snd_wavefront_new_synth() 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() 259 if (snd_hwdep_new (card, "YSS225", hw_dev, &fx_processor) < 0) in snd_wavefront_new_fx() 358 int hw_dev = 0, midi_dev = 0, err; in snd_wavefront_probe() local 390 err = snd_opl3_hwdep_new(opl3, hw_dev, 1, NULL); in snd_wavefront_probe() 393 hw_dev++; in snd_wavefront_probe() 415 wavefront_synth = snd_wavefront_new_synth(card, hw_dev, acard); in snd_wavefront_probe() 423 hw_dev++; in snd_wavefront_probe() 482 hw_dev, in snd_wavefront_probe() 221 snd_wavefront_new_synth(struct snd_card *card, int hw_dev, snd_wavefront_card_t *acard) snd_wavefront_new_synth() argument 246 snd_wavefront_new_fx(struct snd_card *card, int hw_dev, snd_wavefront_card_t *acard, unsigned long port) snd_wavefront_new_fx() argument [all...] |
/kernel/linux/linux-6.6/sound/isa/wavefront/ |
H A D | wavefront.c | 221 int hw_dev, in snd_wavefront_new_synth() 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() 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() 220 snd_wavefront_new_synth(struct snd_card *card, int hw_dev, snd_wavefront_card_t *acard) snd_wavefront_new_synth() argument 245 snd_wavefront_new_fx(struct snd_card *card, int hw_dev, snd_wavefront_card_t *acard, unsigned long port) snd_wavefront_new_fx() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_sriov.c | 260 struct hinic_hwdev *hw_dev = hwdev; in hinic_register_vf_msg_handler() local 264 nic_io = &hw_dev->func_to_io; in hinic_register_vf_msg_handler() 266 dev_err(&hw_dev->hwif->pdev->dev, "Register VF id %d exceed limit[0-%d]\n", in hinic_register_vf_msg_handler() 273 err = hinic_init_vf_config(hw_dev, vf_id); in hinic_register_vf_msg_handler() 288 struct hinic_hwdev *hw_dev = hwdev; in hinic_unregister_vf_msg_handler() local 291 nic_io = &hw_dev->func_to_io; in hinic_unregister_vf_msg_handler() 305 struct hinic_hwdev *hw_dev = hwdev; in hinic_change_vf_mtu_msg_handler() local 311 dev_err(&hw_dev->hwif->pdev->dev, "Failed to set VF %u mtu\n", in hinic_change_vf_mtu_msg_handler() 344 struct hinic_hwdev *hw_dev = hwdev; in hinic_set_vf_mac_msg_handler() local 349 nic_io = &hw_dev in hinic_set_vf_mac_msg_handler() 378 struct hinic_hwdev *hw_dev = hwdev; hinic_del_vf_mac_msg_handler() local 409 struct hinic_hwdev *hw_dev = hwdev; hinic_get_vf_link_status_msg_handler() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/ |
H A 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 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...] |
/kernel/linux/linux-5.10/drivers/staging/comedi/ |
H A D | comedi_usb.c | 18 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a 21 * Return: Attached USB interface if @dev->hw_dev is non-%NULL. 22 * Return %NULL if @dev->hw_dev is %NULL. 26 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL; in comedi_to_usb_interface() 34 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a 37 * Return: USB device to which the USB interface belongs if @dev->hw_dev is 38 * non-%NULL. Return %NULL if @dev->hw_dev is %NULL.
|
H A D | drivers.c | 31 * @hw_dev: Hardware device. 41 * If @dev->hw_dev is NULL, it gets a reference to @hw_dev and sets 42 * @dev->hw_dev, otherwise, it does nothing. Calling it multiple times 47 * Returns 0 if @dev->hw_dev was NULL or the same as @hw_dev, otherwise 50 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev) in comedi_set_hw_dev() argument 52 if (hw_dev == dev->hw_dev) in comedi_set_hw_dev() 54 if (dev->hw_dev) in comedi_set_hw_dev() [all...] |
H A D | comedi_pci.c | 19 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a 22 * Return: Attached PCI device if @dev->hw_dev is non-%NULL. 23 * Return %NULL if @dev->hw_dev is %NULL. 27 return dev->hw_dev ? to_pci_dev(dev->hw_dev) : NULL; in comedi_to_pci_dev() 35 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a 44 * -%ENODEV if @dev->hw_dev is %NULL, 75 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
|
H A D | comedi_pcmcia.c | 19 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a 22 * Return: Attached PCMCIA device if @dev->hw_dev is non-%NULL. 23 * Return %NULL if @dev->hw_dev is %NULL. 27 return dev->hw_dev ? to_pcmcia_dev(dev->hw_dev) : NULL; in comedi_to_pcmcia_dev() 46 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a a 67 * -%ENODEV id @dev->hw_dev is %NULL, 96 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
|
H A D | comedidev.h | 228 * COMEDI device's hw_dev member. 465 * @hw_dev: Optional pointer to the low-level hardware &struct device. It is 550 struct device *hw_dev; member 950 * Must set dev->hw_dev if you wish to dma directly into comedi's buffer. 955 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev); 1022 int comedi_load_firmware(struct comedi_device *dev, struct device *hw_dev,
|
/kernel/linux/linux-6.6/drivers/comedi/ |
H A D | comedi_usb.c | 17 * 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 D | drivers.c | 30 * @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 D | comedi_pci.c | 18 * 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 D | comedi_pcmcia.c | 18 * 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
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/ |
H A 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()
|
H A D | p54.h | 147 struct ieee80211_hw *hw_dev; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/p54/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
H A D | comedi_isadma.c | 175 if (dev->hw_dev) { in comedi_isadma_alloc() 176 dma->dev = dev->hw_dev; in comedi_isadma_alloc()
|
H A D | ni_atmio.c | 344 isapnp_dev = dev->hw_dev ? to_pnp_dev(dev->hw_dev) : NULL; in ni_atmio_detach()
|
H A D | mite.c | 703 dma_free_coherent(ring->hw_dev, in mite_free_dma_descs() 730 descs = dma_alloc_coherent(ring->hw_dev, in mite_buf_change() 756 ring->hw_dev = get_device(&mite->pcidev->dev); in mite_alloc_ring() 757 if (!ring->hw_dev) { in mite_alloc_ring() 776 put_device(ring->hw_dev); in mite_free_ring()
|
H A D | mite.h | 30 struct device *hw_dev; member
|
/kernel/linux/linux-6.6/drivers/comedi/drivers/ |
H A D | ni_atmio.c | 343 isapnp_dev = dev->hw_dev ? to_pnp_dev(dev->hw_dev) : NULL; in ni_atmio_detach()
|
H A D | comedi_isadma.c | 173 if (dev->hw_dev) { in comedi_isadma_alloc() 174 dma->dev = dev->hw_dev; in comedi_isadma_alloc()
|
H A 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()
|
H A D | mite.h | 30 struct device *hw_dev; member
|
/kernel/linux/linux-6.6/include/linux/comedi/ |
H A D | comedidev.h | 227 * COMEDI device's hw_dev member. 464 * @hw_dev: Optional pointer to the low-level hardware &struct device. It is 549 struct device *hw_dev; member 949 * Must set dev->hw_dev if you wish to dma directly into comedi's buffer. 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,
|