/linux-5.19.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 void (*remove)(struct vio_dev *dev); 117 void (*shutdown)(struct vio_dev *dev); 121 unsigned long (*get_desired_dma)(struct vio_dev *dev); 136 extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired); 138 extern void vio_unregister_device(struct vio_dev *dev); 140 extern int vio_h_cop_sync(struct vio_dev *vdev, struct vio_pfo_op *op); 144 extern struct vio_dev *vio_register_device_node( 146 extern const void *vio_get_attribute(struct vio_dev *vdev, char *which, [all …]
|
/linux-5.19.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() 115 struct vio_dev *vdev = to_vio_dev(dev); in devspec_show() 130 struct vio_dev *vdev = to_vio_dev(dev); in type_show() 138 const struct vio_dev *vdev = to_vio_dev(dev); in modalias_show() [all …]
|
/linux-5.19.10/arch/powerpc/platforms/pseries/ |
D | vio.c | 38 static struct vio_dev vio_bus_device = { /* fake "parent" device */ 70 struct vio_dev *viodev; 145 static inline int vio_cmo_alloc(struct vio_dev *viodev, size_t size) in vio_cmo_alloc() 189 static inline void vio_cmo_dealloc(struct vio_dev *viodev, size_t size) in vio_cmo_dealloc() 280 struct vio_dev *viodev; in vio_cmo_entitlement_update() 389 struct vio_dev *viodev; in vio_cmo_balance() 486 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_alloc_coherent() 509 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_free_coherent() 520 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_map_page() 544 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_unmap_page() [all …]
|
/linux-5.19.10/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 256 struct vio_dev *vio_dev; in dlpar_add_vio_slot() local 258 vio_dev = vio_find_node(dn); in dlpar_add_vio_slot() 259 if (vio_dev) { in dlpar_add_vio_slot() 260 put_device(&vio_dev->dev); in dlpar_add_vio_slot() 332 struct vio_dev *vio_dev; in dlpar_remove_vio_slot() local 334 vio_dev = vio_find_node(dn); in dlpar_remove_vio_slot() 335 if (!vio_dev) in dlpar_remove_vio_slot() 338 vio_unregister_device(vio_dev); in dlpar_remove_vio_slot() 340 put_device(&vio_dev->dev); in dlpar_remove_vio_slot()
|
/linux-5.19.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() 343 static void tpm_ibmvtpm_remove(struct vio_dev *vdev) in tpm_ibmvtpm_remove() 381 static unsigned long tpm_ibmvtpm_get_desired_dma(struct vio_dev *vdev) in tpm_ibmvtpm_get_desired_dma() 598 static int tpm_ibmvtpm_probe(struct vio_dev *vio_dev, in tpm_ibmvtpm_probe() argument 602 struct device *dev = &vio_dev->dev; in tpm_ibmvtpm_probe() 618 ibmvtpm->vdev = vio_dev; in tpm_ibmvtpm_probe() 638 rc = plpar_hcall_norets(H_REG_CRQ, vio_dev->unit_address, in tpm_ibmvtpm_probe() 648 rc = request_irq(vio_dev->irq, ibmvtpm_interrupt, 0, in tpm_ibmvtpm_probe() 651 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-5.19.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 void (*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-5.19.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 void pseries_rng_remove(struct vio_dev *dev) in pseries_rng_remove()
|
/linux-5.19.10/drivers/tty/hvc/ |
D | hvcs.c | 286 struct vio_dev *vdev; 305 static inline struct hvcs_struct *from_vio_dev(struct vio_dev *viod) in from_vio_dev() 313 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_vtys_show() 327 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_clcs_show() 352 struct vio_dev *viod = to_vio_dev(dev); in hvcs_current_vty_show() 369 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_store() 406 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_show() 421 struct vio_dev *viod = to_vio_dev(dev); in hvcs_index_show() 659 struct vio_dev *vdev; in hvcs_destruct_port() 718 struct vio_dev *dev, in hvcs_probe() [all …]
|
D | hvc_vio.c | 296 static int hvc_vio_probe(struct vio_dev *vdev, in hvc_vio_probe()
|
/linux-5.19.10/drivers/net/ethernet/sun/ |
D | sunvnet.c | 285 struct vio_dev *vdev) in vnet_new() 346 struct vio_dev *vdev) in vnet_find_or_create() 387 struct vio_dev *vdev) in vnet_find_parent() 425 static int vnet_port_probe(struct vio_dev *vdev, const struct vio_device_id *id) in vnet_port_probe() 515 static void vnet_port_remove(struct vio_dev *vdev) in vnet_port_remove()
|
D | ldmvsw.c | 227 struct vio_dev *vdev, in vsw_alloc_netdev() 276 static int vsw_port_probe(struct vio_dev *vdev, const struct vio_device_id *id) in vsw_port_probe() 404 static void vsw_port_remove(struct vio_dev *vdev) in vsw_port_remove()
|
/linux-5.19.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-5.19.10/drivers/scsi/ibmvscsi/ |
D | ibmvscsi.c | 146 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_release_crq_queue() 198 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_send_crq() 215 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() 332 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() 2112 static unsigned long ibmvscsi_get_desired_dma(struct vio_dev *vdev) in ibmvscsi_get_desired_dma() 2222 static int ibmvscsi_probe(struct vio_dev *vdev, const struct vio_device_id *id) in ibmvscsi_probe() 2340 static void ibmvscsi_remove(struct vio_dev *vdev) in ibmvscsi_remove()
|
D | ibmvfc.c | 731 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_send_crq() 738 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_send_sub_crq() 889 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_release_crq_queue() 917 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reenable_crq_queue() 955 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reset_crq() 3707 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_tasklet() 3761 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_toggle_scrq_irq() 5704 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_init_crq() 5756 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_register_scsi_channel() 5808 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_deregister_scsi_channel() [all …]
|
/linux-5.19.10/drivers/crypto/nx/ |
D | nx-common-pseries.c | 127 struct vio_dev *vdev; 170 static unsigned long nx842_get_desired_dma(struct vio_dev *viodev) in nx842_get_desired_dma() 1028 static int nx842_probe(struct vio_dev *viodev, in nx842_probe() 1110 static void nx842_remove(struct vio_dev *viodev) in nx842_remove()
|
D | nx.c | 45 struct vio_dev *viodev = nx_driver.viodev; in nx_hcall_sync() 769 static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id) in nx_probe() 787 static void nx_remove(struct vio_dev *viodev) in nx_remove()
|
D | nx.h | 79 struct vio_dev *viodev;
|
/linux-5.19.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); 1493 struct vio_dev *viodev = adapter->vdev; in ibmveth_change_mtu() 1552 static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev) in ibmveth_get_desired_dma() 1626 static int ibmveth_probe(struct vio_dev *dev, const struct vio_device_id *id) in ibmveth_probe() 1748 static void ibmveth_remove(struct vio_dev *dev) in ibmveth_remove()
|
D | ibmvnic.c | 5795 struct vio_dev *vdev = adapter->vdev; in ibmvnic_reenable_crq_queue() 5812 struct vio_dev *vdev = adapter->vdev; in ibmvnic_reset_crq() 5844 struct vio_dev *vdev = adapter->vdev; in release_crq_queue() 5868 struct vio_dev *vdev = adapter->vdev; in init_crq_queue() 6016 static int ibmvnic_probe(struct vio_dev *dev, const struct vio_device_id *id) in ibmvnic_probe() 6188 static void ibmvnic_remove(struct vio_dev *dev) in ibmvnic_remove() 6275 static unsigned long ibmvnic_get_desired_dma(struct vio_dev *vdev) in ibmvnic_get_desired_dma()
|
/linux-5.19.10/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.h | 295 struct vio_dev *dma_dev;
|
D | ibmvscsi_tgt.c | 2589 struct vio_dev *vdev = vscsi->dma_dev; in read_dma_window() 2635 struct vio_dev *vdev; in ibmvscsis_lookup_port() 3000 struct vio_dev *vdev = vscsi->dma_dev; in ibmvscsis_create_command_q() 3422 static int ibmvscsis_probe(struct vio_dev *vdev, in ibmvscsis_probe() 3587 static void ibmvscsis_remove(struct vio_dev *vdev) in ibmvscsis_remove()
|
/linux-5.19.10/drivers/block/ |
D | sunvdc.c | 922 struct vio_dev *vdev = to_vio_dev(dev); in vdc_device_probed() 948 static bool vdc_port_mpgroup_check(struct vio_dev *vdev) in vdc_port_mpgroup_check() 965 static int vdc_port_probe(struct vio_dev *vdev, const struct vio_device_id *id) in vdc_port_probe() 1061 static void vdc_port_remove(struct vio_dev *vdev) in vdc_port_remove()
|
/linux-5.19.10/drivers/tty/ |
D | vcc.c | 559 static int vcc_probe(struct vio_dev *vdev, const struct vio_device_id *id) in vcc_probe() 671 static void vcc_remove(struct vio_dev *vdev) in vcc_remove()
|