Home
last modified time | relevance | path

Searched refs:padev (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/amd/pds_core/
Dauxbus.c92 int pds_client_adminq_cmd(struct pds_auxiliary_dev *padev, in pds_client_adminq_cmd() argument
104 pf_pdev = pci_physfn(padev->vf_pdev); in pds_client_adminq_cmd()
108 __func__, dev_name(&padev->aux_dev.dev), req->opcode); in pds_client_adminq_cmd()
115 cmd.client_request.client_id = cpu_to_le16(padev->client_id); in pds_client_adminq_cmd()
131 struct pds_auxiliary_dev *padev = in pdsc_auxbus_dev_release() local
134 kfree(padev); in pdsc_auxbus_dev_release()
143 struct pds_auxiliary_dev *padev; in pdsc_auxbus_dev_register() local
146 padev = kzalloc(sizeof(*padev), GFP_KERNEL); in pdsc_auxbus_dev_register()
147 if (!padev) in pdsc_auxbus_dev_register()
150 padev->vf_pdev = cf->pdev; in pdsc_auxbus_dev_register()
[all …]
Dcore.h36 struct pds_auxiliary_dev *padev; member
141 struct pds_auxiliary_dev *padev; member
/linux-6.6.21/drivers/vdpa/pds/
Dcmds.c18 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_init_hw() local
19 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_init_hw()
29 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_init), in pds_vdpa_init_hw()
40 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_cmd_reset() local
41 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_reset()
50 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa), &comp, 0); in pds_vdpa_cmd_reset()
60 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_cmd_set_status() local
61 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_set_status()
71 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_status), &comp, 0); in pds_vdpa_cmd_set_status()
81 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_cmd_set_mac() local
[all …]
Daux_drv.c36 struct pds_auxiliary_dev *padev = in pds_vdpa_probe() local
46 vdpa_aux->padev = padev; in pds_vdpa_probe()
47 vdpa_aux->vf_id = pci_iov_vf_id(padev->vf_pdev); in pds_vdpa_probe()
56 vdpa_aux->vd_mdev.pci_dev = padev->vf_pdev; in pds_vdpa_probe()
82 pci_free_irq_vectors(padev->vf_pdev); in pds_vdpa_probe()
97 pci_free_irq_vectors(vdpa_aux->padev->vf_pdev); in pds_vdpa_remove()
Dvdpa_dev.c31 struct device *dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_notify_handler()
45 struct device *dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_register_event_handler()
175 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_set_vq_state() local
176 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_set_vq_state()
225 struct pds_auxiliary_dev *padev = pdsv->vdpa_aux->padev; in pds_vdpa_get_vq_state() local
226 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_get_vq_state()
382 struct pci_dev *pdev = pdsv->vdpa_aux->padev->vf_pdev; in pds_vdpa_request_irqs()
431 struct pci_dev *pdev = pdsv->vdpa_aux->padev->vf_pdev; in pds_vdpa_release_irqs()
508 dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_reset()
619 dev = &vdpa_aux->padev->aux_dev.dev; in pds_vdpa_dev_add()
[all …]
Daux_drv.h13 struct pds_auxiliary_dev *padev; member
Ddebugfs.c172 vdpa_aux->dentry = debugfs_create_dir(pci_name(vdpa_aux->padev->vf_pdev), dbfs_dir); in pds_vdpa_debugfs_add_pcidev()
182 dev_name(&vdpa_aux->padev->aux_dev.dev)); in identity_show()
/linux-6.6.21/arch/parisc/kernel/
Ddrivers.c290 find_pa_parent_type(const struct parisc_device *padev, int type) in find_pa_parent_type() argument
292 const struct device *dev = &padev->dev; in find_pa_parent_type()
400 static void setup_bus_id(struct parisc_device *padev) in setup_bus_id() argument
407 get_node_path(padev->dev.parent, &path); in setup_bus_id()
414 sprintf(output, "%u", (unsigned char) padev->hw_path); in setup_bus_id()
415 dev_set_name(&padev->dev, name); in setup_bus_id()
558 const struct parisc_device *padev = to_parisc_device(dev); in make_modalias() local
559 const struct parisc_device_id *id = &padev->id; in make_modalias()
568 const struct parisc_device *padev; in parisc_uevent() local
574 padev = to_parisc_device(dev); in parisc_uevent()
[all …]
/linux-6.6.21/sound/parisc/
Dharmony.c865 struct parisc_device *padev, in snd_harmony_create() argument
880 h->hpa = padev->hpa.start; in snd_harmony_create()
882 h->dev = padev; in snd_harmony_create()
884 h->iobase = ioremap(padev->hpa.start, HARMONY_SIZE); in snd_harmony_create()
887 (unsigned long)padev->hpa.start); in snd_harmony_create()
892 err = request_irq(padev->irq, snd_harmony_interrupt, 0, in snd_harmony_create()
896 padev->irq); in snd_harmony_create()
899 h->irq = padev->irq; in snd_harmony_create()
918 snd_harmony_probe(struct parisc_device *padev) in snd_harmony_probe() argument
924 err = snd_card_new(&padev->dev, index, id, THIS_MODULE, 0, &card); in snd_harmony_probe()
[all …]
/linux-6.6.21/drivers/parisc/
Dgsc.c209 struct parisc_device *padev = to_parisc_device(dev); in gsc_fixup_irqs_callback() local
214 if (padev->id.hw_type == HPHW_FAULTY) in gsc_fixup_irqs_callback()
215 gsc_fixup_irqs(padev, gf->ctrl, gf->choose_irq); in gsc_fixup_irqs_callback()
216 gf->choose_irq(padev, gf->ctrl); in gsc_fixup_irqs_callback()
/linux-6.6.21/include/linux/pds/
Dpds_auxbus.h15 int pds_client_adminq_cmd(struct pds_auxiliary_dev *padev,
/linux-6.6.21/drivers/input/serio/
Dgscps2.c91 struct parisc_device *padev; member
351 ps2port->padev = dev; in gscps2_probe()
391 ps2port->padev->irq, in gscps2_probe()
/linux-6.6.21/drivers/char/agp/
Dparisc-agp.c388 struct parisc_device *padev = to_parisc_device(dev); in find_quicksilver() local
390 if (IS_QUICKSILVER(padev)) in find_quicksilver()
391 *lba = padev; in find_quicksilver()
/linux-6.6.21/drivers/parport/
Dparport_gsc.c230 struct parisc_device *padev) in parport_gsc_probe_port() argument
274 p->dev = &padev->dev; in parport_gsc_probe_port()