Home
last modified time | relevance | path

Searched refs:vio_dev (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v6.6/arch/powerpc/include/asm/
Dvio.h96 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-v6.6/arch/sparc/kernel/
Dvio.c24 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-v6.6/arch/powerpc/platforms/pseries/
Dvio.c38 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-v6.6/drivers/pci/hotplug/
Drpadlpar_core.c256 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-v6.6/drivers/char/tpm/
Dtpm_ibmvtpm.c46 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 …]
Dtpm_ibmvtpm.h34 struct vio_dev *vdev;
/Linux-v6.6/drivers/char/hw_random/
Dpseries-rng.c41 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-v6.6/arch/sparc/include/asm/
Dvio.h332 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 #define to_vio_dev(__dev) container_of_const(__dev, struct vio_dev, dev)
503 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev,
510 u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev);
/Linux-v6.6/drivers/tty/hvc/
Dhvcs.c288 struct vio_dev *vdev;
308 static inline struct hvcs_struct *from_vio_dev(struct vio_dev *viod) in from_vio_dev()
316 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_vtys_show()
330 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_clcs_show()
355 struct vio_dev *viod = to_vio_dev(dev); in hvcs_current_vty_show()
372 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_store()
409 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_show()
424 struct vio_dev *viod = to_vio_dev(dev); in hvcs_index_show()
667 struct vio_dev *vdev; in hvcs_destruct_port()
729 struct vio_dev *dev, in hvcs_probe()
[all …]
Dhvc_vio.c296 static int hvc_vio_probe(struct vio_dev *vdev, in hvc_vio_probe()
/Linux-v6.6/drivers/net/ethernet/sun/
Dsunvnet.c285 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()
517 static void vnet_port_remove(struct vio_dev *vdev) in vnet_port_remove()
Dldmvsw.c226 struct vio_dev *vdev, in vsw_alloc_netdev()
275 static int vsw_port_probe(struct vio_dev *vdev, const struct vio_device_id *id) in vsw_port_probe()
405 static void vsw_port_remove(struct vio_dev *vdev) in vsw_port_remove()
/Linux-v6.6/drivers/misc/
Dibmvmc.c144 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()
2073 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_task()
2117 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_init_crq_queue()
2190 static int read_dma_window(struct vio_dev *vdev, in read_dma_window()
2235 static int ibmvmc_probe(struct vio_dev *vdev, const struct vio_device_id *id) in ibmvmc_probe()
[all …]
/Linux-v6.6/drivers/scsi/ibmvscsi/
Dibmvscsi.c146 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()
Dibmvfc.c736 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_send_crq()
743 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_send_sub_crq()
894 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_release_crq_queue()
922 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reenable_crq_queue()
960 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reset_crq()
3715 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_tasklet()
3769 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_toggle_scrq_irq()
5712 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_init_crq()
5764 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_register_scsi_channel()
5816 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_deregister_scsi_channel()
[all …]
/Linux-v6.6/drivers/crypto/nx/
Dnx-common-pseries.c127 struct vio_dev *vdev;
172 static unsigned long nx842_get_desired_dma(struct vio_dev *viodev) in nx842_get_desired_dma()
1030 static int nx842_probe(struct vio_dev *viodev, in nx842_probe()
1112 static void nx842_remove(struct vio_dev *viodev) in nx842_remove()
Dnx.c45 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()
Dnx.h79 struct vio_dev *viodev;
/Linux-v6.6/drivers/net/ethernet/ibm/
Dibmveth.h137 struct vio_dev *vdev;
Dibmveth.c43 static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev);
1516 struct vio_dev *viodev = adapter->vdev; in ibmveth_change_mtu()
1573 static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev) in ibmveth_get_desired_dma()
1649 static int ibmveth_probe(struct vio_dev *dev, const struct vio_device_id *id) in ibmveth_probe()
1781 static void ibmveth_remove(struct vio_dev *dev) in ibmveth_remove()
Dibmvnic.c6091 struct vio_dev *vdev = adapter->vdev; in ibmvnic_reenable_crq_queue()
6108 struct vio_dev *vdev = adapter->vdev; in ibmvnic_reset_crq()
6140 struct vio_dev *vdev = adapter->vdev; in release_crq_queue()
6164 struct vio_dev *vdev = adapter->vdev; in init_crq_queue()
6312 static int ibmvnic_probe(struct vio_dev *dev, const struct vio_device_id *id) in ibmvnic_probe()
6493 static void ibmvnic_remove(struct vio_dev *dev) in ibmvnic_remove()
6582 static unsigned long ibmvnic_get_desired_dma(struct vio_dev *vdev) in ibmvnic_get_desired_dma()
/Linux-v6.6/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h295 struct vio_dev *dma_dev;
Dibmvscsi_tgt.c2589 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-v6.6/drivers/block/
Dsunvdc.c922 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()
1063 static void vdc_port_remove(struct vio_dev *vdev) in vdc_port_remove()
/Linux-v6.6/drivers/tty/
Dvcc.c560 static int vcc_probe(struct vio_dev *vdev, const struct vio_device_id *id) in vcc_probe()
672 static void vcc_remove(struct vio_dev *vdev) in vcc_remove()

12