/Linux-v5.10/arch/powerpc/include/asm/ |
D | vio.h | 96 struct vio_dev { struct 115 int (*probe)(struct vio_dev *dev, const struct vio_device_id *id); argument 116 int (*remove)(struct vio_dev *dev); 120 unsigned long (*get_desired_dma)(struct vio_dev *dev); 135 extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired); 137 extern void vio_unregister_device(struct vio_dev *dev); 139 extern int vio_h_cop_sync(struct vio_dev *vdev, struct vio_pfo_op *op); 143 extern struct vio_dev *vio_register_device_node( 145 extern const void *vio_get_attribute(struct vio_dev *vdev, char *which, 148 extern struct vio_dev *vio_find_node(struct device_node *vnode); [all …]
|
/Linux-v5.10/arch/sparc/kernel/ |
D | vio.c | 24 const struct vio_dev *dev) in vio_match_device() 51 const struct vio_dev *vio_dev = to_vio_dev(dev); in vio_hotplug() local 53 add_uevent_var(env, "MODALIAS=vio:T%sS%s", vio_dev->type, vio_dev->compat); in vio_hotplug() 59 struct vio_dev *vio_dev = to_vio_dev(dev); in vio_bus_match() local 66 return vio_match_device(matches, vio_dev) != NULL; in vio_bus_match() 71 struct vio_dev *vdev = to_vio_dev(dev); in vio_device_probe() 98 struct vio_dev *vdev = to_vio_dev(dev); in vio_device_remove() 117 struct vio_dev *vdev = to_vio_dev(dev); in devspec_show() 132 struct vio_dev *vdev = to_vio_dev(dev); in type_show() 140 const struct vio_dev *vdev = to_vio_dev(dev); in modalias_show() [all …]
|
D | ds.c | 1158 static int ds_probe(struct vio_dev *vdev, const struct vio_device_id *id) in ds_probe() 1239 static int ds_remove(struct vio_dev *vdev) in ds_remove()
|
/Linux-v5.10/arch/powerpc/platforms/pseries/ |
D | vio.c | 36 static struct vio_dev vio_bus_device = { /* fake "parent" device */ 68 struct vio_dev *viodev; 143 static inline int vio_cmo_alloc(struct vio_dev *viodev, size_t size) in vio_cmo_alloc() 187 static inline void vio_cmo_dealloc(struct vio_dev *viodev, size_t size) in vio_cmo_dealloc() 278 struct vio_dev *viodev; in vio_cmo_entitlement_update() 387 struct vio_dev *viodev; in vio_cmo_balance() 484 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_alloc_coherent() 507 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_free_coherent() 518 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_map_page() 542 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_unmap_page() [all …]
|
/Linux-v5.10/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 255 struct vio_dev *vio_dev; in dlpar_add_vio_slot() local 257 vio_dev = vio_find_node(dn); in dlpar_add_vio_slot() 258 if (vio_dev) { in dlpar_add_vio_slot() 259 put_device(&vio_dev->dev); in dlpar_add_vio_slot() 331 struct vio_dev *vio_dev; in dlpar_remove_vio_slot() local 333 vio_dev = vio_find_node(dn); in dlpar_remove_vio_slot() 334 if (!vio_dev) in dlpar_remove_vio_slot() 337 vio_unregister_device(vio_dev); in dlpar_remove_vio_slot() 339 put_device(&vio_dev->dev); in dlpar_remove_vio_slot()
|
/Linux-v5.10/drivers/char/tpm/ |
D | tpm_ibmvtpm.c | 46 static int ibmvtpm_send_crq_word(struct vio_dev *vdev, u64 w1) in ibmvtpm_send_crq_word() 87 static int ibmvtpm_send_crq(struct vio_dev *vdev, in ibmvtpm_send_crq() 346 static int tpm_ibmvtpm_remove(struct vio_dev *vdev) in tpm_ibmvtpm_remove() 386 static unsigned long tpm_ibmvtpm_get_desired_dma(struct vio_dev *vdev) in tpm_ibmvtpm_get_desired_dma() 603 static int tpm_ibmvtpm_probe(struct vio_dev *vio_dev, in tpm_ibmvtpm_probe() argument 607 struct device *dev = &vio_dev->dev; in tpm_ibmvtpm_probe() 623 ibmvtpm->vdev = vio_dev; in tpm_ibmvtpm_probe() 643 rc = plpar_hcall_norets(H_REG_CRQ, vio_dev->unit_address, in tpm_ibmvtpm_probe() 653 rc = request_irq(vio_dev->irq, ibmvtpm_interrupt, 0, in tpm_ibmvtpm_probe() 656 dev_err(dev, "Error %d register irq 0x%x\n", rc, vio_dev->irq); in tpm_ibmvtpm_probe() [all …]
|
D | tpm_ibmvtpm.h | 34 struct vio_dev *vdev;
|
/Linux-v5.10/arch/sparc/include/asm/ |
D | vio.h | 332 struct vio_dev { struct 364 int (*probe)(struct vio_dev *dev, const struct vio_device_id *id); argument 365 int (*remove)(struct vio_dev *dev); 366 void (*shutdown)(struct vio_dev *dev); 430 struct vio_dev *vdev; 491 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev() 493 return container_of(dev, struct vio_dev, dev); in to_vio_dev() 506 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev, 513 u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev);
|
/Linux-v5.10/drivers/char/hw_random/ |
D | pseries-rng.c | 41 static unsigned long pseries_rng_get_desired_dma(struct vio_dev *vdev) in pseries_rng_get_desired_dma() 51 static int pseries_rng_probe(struct vio_dev *dev, in pseries_rng_probe() 57 static int pseries_rng_remove(struct vio_dev *dev) in pseries_rng_remove()
|
/Linux-v5.10/drivers/tty/hvc/ |
D | hvcs.c | 286 struct vio_dev *vdev; 312 uint32_t unit_address, unsigned int irq, struct vio_dev *dev); 318 static int hvcs_probe(struct vio_dev *dev, 320 static int hvcs_remove(struct vio_dev *dev); 330 static inline struct hvcs_struct *from_vio_dev(struct vio_dev *viod) in from_vio_dev() 338 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_vtys_show() 352 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_clcs_show() 377 struct vio_dev *viod = to_vio_dev(dev); in hvcs_current_vty_show() 394 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_store() 431 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_show() [all …]
|
D | hvc_vio.c | 296 static int hvc_vio_probe(struct vio_dev *vdev, in hvc_vio_probe()
|
/Linux-v5.10/drivers/net/ethernet/sun/ |
D | sunvnet.c | 285 struct vio_dev *vdev) in vnet_new() 344 struct vio_dev *vdev) in vnet_find_or_create() 385 struct vio_dev *vdev) in vnet_find_parent() 423 static int vnet_port_probe(struct vio_dev *vdev, const struct vio_device_id *id) in vnet_port_probe() 513 static int vnet_port_remove(struct vio_dev *vdev) in vnet_port_remove()
|
D | ldmvsw.c | 227 struct vio_dev *vdev, in vsw_alloc_netdev() 279 static int vsw_port_probe(struct vio_dev *vdev, const struct vio_device_id *id) in vsw_port_probe() 407 static int vsw_port_remove(struct vio_dev *vdev) in vsw_port_remove()
|
/Linux-v5.10/drivers/misc/ |
D | ibmvmc.c | 144 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_release_crq_queue() 174 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_reset_crq_queue() 243 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_send_crq() 272 static void *alloc_dma_buffer(struct vio_dev *vdev, size_t size, in alloc_dma_buffer() 306 static void free_dma_buffer(struct vio_dev *vdev, size_t size, void *vaddr, in free_dma_buffer() 482 struct vio_dev *vdev; in ibmvmc_return_hmc() 2071 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_task() 2115 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_init_crq_queue() 2188 static int read_dma_window(struct vio_dev *vdev, in read_dma_window() 2233 static int ibmvmc_probe(struct vio_dev *vdev, const struct vio_device_id *id) in ibmvmc_probe() [all …]
|
/Linux-v5.10/drivers/crypto/nx/ |
D | nx-842-pseries.c | 102 struct vio_dev *vdev; 145 static unsigned long nx842_get_desired_dma(struct vio_dev *viodev) in nx842_get_desired_dma() 973 static int nx842_probe(struct vio_dev *viodev, in nx842_probe() 1045 static int nx842_remove(struct vio_dev *viodev) in nx842_remove()
|
D | nx.c | 45 struct vio_dev *viodev = nx_driver.viodev; in nx_hcall_sync() 768 static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id) in nx_probe() 786 static int nx_remove(struct vio_dev *viodev) in nx_remove()
|
D | nx.h | 79 struct vio_dev *viodev;
|
/Linux-v5.10/drivers/scsi/ibmvscsi/ |
D | ibmvscsi.c | 145 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_release_crq_queue() 197 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_send_crq() 214 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_task() 288 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_reset_crq_queue() 331 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_init_crq_queue() 416 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_reenable_crq_queue() 2110 static unsigned long ibmvscsi_get_desired_dma(struct vio_dev *vdev) in ibmvscsi_get_desired_dma() 2220 static int ibmvscsi_probe(struct vio_dev *vdev, const struct vio_device_id *id) in ibmvscsi_probe() 2338 static int ibmvscsi_remove(struct vio_dev *vdev) in ibmvscsi_remove()
|
D | ibmvfc.c | 658 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_send_crq() 698 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_release_crq_queue() 726 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reenable_crq_queue() 752 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reset_crq() 3250 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_tasklet() 4847 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_init_crq() 5084 static int ibmvfc_probe(struct vio_dev *vdev, const struct vio_device_id *id) in ibmvfc_probe() 5191 static int ibmvfc_remove(struct vio_dev *vdev) in ibmvfc_remove() 5235 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_resume() 5252 static unsigned long ibmvfc_get_desired_dma(struct vio_dev *vdev) in ibmvfc_get_desired_dma()
|
/Linux-v5.10/drivers/net/ethernet/ibm/ |
D | ibmveth.h | 134 struct vio_dev *vdev;
|
D | ibmveth.c | 43 static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev); 1506 struct vio_dev *viodev = adapter->vdev; in ibmveth_change_mtu() 1565 static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev) in ibmveth_get_desired_dma() 1639 static int ibmveth_probe(struct vio_dev *dev, const struct vio_device_id *id) in ibmveth_probe() 1761 static int ibmveth_remove(struct vio_dev *dev) in ibmveth_remove()
|
/Linux-v5.10/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.h | 295 struct vio_dev *dma_dev;
|
D | ibmvscsi_tgt.c | 2591 struct vio_dev *vdev = vscsi->dma_dev; in read_dma_window() 2637 struct vio_dev *vdev; in ibmvscsis_lookup_port() 3011 struct vio_dev *vdev = vscsi->dma_dev; in ibmvscsis_create_command_q() 3433 static int ibmvscsis_probe(struct vio_dev *vdev, in ibmvscsis_probe() 3598 static int ibmvscsis_remove(struct vio_dev *vdev) in ibmvscsis_remove()
|
/Linux-v5.10/drivers/block/ |
D | sunvdc.c | 934 struct vio_dev *vdev = to_vio_dev(dev); in vdc_device_probed() 960 static bool vdc_port_mpgroup_check(struct vio_dev *vdev) in vdc_port_mpgroup_check() 977 static int vdc_port_probe(struct vio_dev *vdev, const struct vio_device_id *id) in vdc_port_probe() 1074 static int vdc_port_remove(struct vio_dev *vdev) in vdc_port_remove()
|
/Linux-v5.10/drivers/tty/ |
D | vcc.c | 568 static int vcc_probe(struct vio_dev *vdev, const struct vio_device_id *id) in vcc_probe() 680 static int vcc_remove(struct vio_dev *vdev) in vcc_remove()
|