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

12

/linux-master/arch/powerpc/include/asm/
H A Dvio.h89 * vio_dev - This structure is used to describe virtual I/O devices.
96 struct vio_dev { struct
115 int (*probe)(struct vio_dev *dev, const struct vio_device_id *id);
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_nod
[all...]
/linux-master/drivers/char/hw_random/
H A Dpseries-rng.c41 static unsigned long pseries_rng_get_desired_dma(struct vio_dev *vdev)
51 static int pseries_rng_probe(struct vio_dev *dev,
57 static void pseries_rng_remove(struct vio_dev *dev)
/linux-master/arch/sparc/kernel/
H A Dvio.c24 const struct vio_dev *dev)
51 const struct vio_dev *vio_dev = to_vio_dev(dev); local
53 add_uevent_var(env, "MODALIAS=vio:T%sS%s", vio_dev->type, vio_dev->compat);
59 struct vio_dev *vio_dev = to_vio_dev(dev); local
66 return vio_match_device(matches, vio_dev) != NULL;
71 struct vio_dev *vdev = to_vio_dev(dev);
98 struct vio_dev *vde
150 ATTRIBUTE_GROUPS(vio_dev); variable
[all...]
H A Dviohs.c812 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev,
/linux-master/drivers/pci/hotplug/
H A Drpadlpar_core.c256 struct vio_dev *vio_dev; local
258 vio_dev = vio_find_node(dn);
259 if (vio_dev) {
260 put_device(&vio_dev->dev);
332 struct vio_dev *vio_dev; local
334 vio_dev = vio_find_node(dn);
335 if (!vio_dev)
338 vio_unregister_device(vio_dev);
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dvio.c38 static struct vio_dev vio_bus_device = { /* fake "parent" device */
66 * @vio_dev: struct vio_dev pointer
70 struct vio_dev *viodev;
145 static inline int vio_cmo_alloc(struct vio_dev *viodev, size_t size)
189 static inline void vio_cmo_dealloc(struct vio_dev *viodev, size_t size)
280 struct vio_dev *viodev;
389 struct vio_dev *viodev;
486 struct vio_dev *viodev = to_vio_dev(dev);
509 struct vio_dev *viode
1552 const struct vio_dev *vio_dev = to_vio_dev(dev); local
1581 const struct vio_dev *vio_dev = to_vio_dev(dev); local
1590 const struct vio_dev *vio_dev = to_vio_dev(dev); local
1635 ATTRIBUTE_GROUPS(vio_dev); variable
[all...]
/linux-master/drivers/char/tpm/
H A Dtpm_ibmvtpm.c46 static int ibmvtpm_send_crq_word(struct vio_dev *vdev, u64 w1)
87 static int ibmvtpm_send_crq(struct vio_dev *vdev,
343 static void tpm_ibmvtpm_remove(struct vio_dev *vdev)
381 static unsigned long tpm_ibmvtpm_get_desired_dma(struct vio_dev *vdev)
591 * @vio_dev: vio device struct
598 static int tpm_ibmvtpm_probe(struct vio_dev *vio_dev, argument
602 struct device *dev = &vio_dev->dev;
618 ibmvtpm->vdev = vio_dev;
638 rc = plpar_hcall_norets(H_REG_CRQ, vio_dev
[all...]
H A Dtpm_ibmvtpm.h34 struct vio_dev *vdev;
/linux-master/arch/sparc/include/asm/
H A Dvio.h332 struct vio_dev { struct
364 int (*probe)(struct vio_dev *dev, const struct vio_device_id *id);
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-master/drivers/tty/hvc/
H A Dhvcs.c288 struct vio_dev *vdev;
308 static inline struct hvcs_struct *from_vio_dev(struct vio_dev *viod)
316 struct vio_dev *viod = to_vio_dev(dev);
330 struct vio_dev *viod = to_vio_dev(dev);
355 struct vio_dev *viod = to_vio_dev(dev);
372 struct vio_dev *viod = to_vio_dev(dev);
409 struct vio_dev *viod = to_vio_dev(dev);
424 struct vio_dev *viod = to_vio_dev(dev);
727 struct vio_dev *dev,
797 static void hvcs_remove(struct vio_dev *de
[all...]
H A Dhvc_vio.c298 static int hvc_vio_probe(struct vio_dev *vdev,
/linux-master/drivers/net/ethernet/sun/
H A Dsunvnet.c285 struct vio_dev *vdev)
346 struct vio_dev *vdev)
387 struct vio_dev *vdev)
425 static int vnet_port_probe(struct vio_dev *vdev, const struct vio_device_id *id)
517 static void vnet_port_remove(struct vio_dev *vdev)
H A Dldmvsw.c226 struct vio_dev *vdev,
275 static int vsw_port_probe(struct vio_dev *vdev, const struct vio_device_id *id)
405 static void vsw_port_remove(struct vio_dev *vdev)
/linux-master/drivers/net/ethernet/ibm/
H A Dibmveth.h137 struct vio_dev *vdev;
H A Dibmveth.c43 static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev);
1516 struct vio_dev *viodev = adapter->vdev;
1568 * @vdev: struct vio_dev for the device whose desired IO mem is to be returned
1573 static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev)
1649 static int ibmveth_probe(struct vio_dev *dev, const struct vio_device_id *id)
1781 static void ibmveth_remove(struct vio_dev *dev)
/linux-master/drivers/crypto/nx/
H A Dnx.h79 struct vio_dev *viodev;
H A Dnx-common-pseries.c127 struct vio_dev *vdev;
172 static unsigned long nx842_get_desired_dma(struct vio_dev *viodev)
1030 static int nx842_probe(struct vio_dev *viodev,
1112 static void nx842_remove(struct vio_dev *viodev)
H A Dnx.c45 struct vio_dev *viodev = nx_driver.viodev;
769 static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id)
787 static void nx_remove(struct vio_dev *viodev)
/linux-master/drivers/misc/
H A Dibmvmc.c144 struct vio_dev *vdev = to_vio_dev(adapter->dev);
174 struct vio_dev *vdev = to_vio_dev(adapter->dev);
243 struct vio_dev *vdev = to_vio_dev(adapter->dev);
263 * @vdev: vio_dev struct
272 static void *alloc_dma_buffer(struct vio_dev *vdev, size_t size,
299 * @vdev: vio_dev struct
306 static void free_dma_buffer(struct vio_dev *vdev, size_t size, void *vaddr,
482 struct vio_dev *vdev;
2071 struct vio_dev *vdev = to_vio_dev(adapter->dev);
2115 struct vio_dev *vde
[all...]
/linux-master/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.h295 struct vio_dev *dma_dev;
H A Dibmvscsi_tgt.c2589 struct vio_dev *vdev = vscsi->dma_dev;
2635 struct vio_dev *vdev;
3000 struct vio_dev *vdev = vscsi->dma_dev;
3422 static int ibmvscsis_probe(struct vio_dev *vdev,
3587 static void ibmvscsis_remove(struct vio_dev *vdev)
/linux-master/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c146 struct vio_dev *vdev = to_vio_dev(hostdata->dev);
198 struct vio_dev *vdev = to_vio_dev(hostdata->dev);
215 struct vio_dev *vdev = to_vio_dev(hostdata->dev);
288 struct vio_dev *vdev = to_vio_dev(hostdata->dev);
332 struct vio_dev *vdev = to_vio_dev(hostdata->dev);
416 struct vio_dev *vdev = to_vio_dev(hostdata->dev);
2107 * @vdev: struct vio_dev for the device whose desired IO mem is to be returned
2112 static unsigned long ibmvscsi_get_desired_dma(struct vio_dev *vdev)
2222 static int ibmvscsi_probe(struct vio_dev *vdev, const struct vio_device_id *id)
2340 static void ibmvscsi_remove(struct vio_dev *vde
[all...]
H A Dibmvfc.c739 struct vio_dev *vdev = to_vio_dev(vhost->dev);
746 struct vio_dev *vdev = to_vio_dev(vhost->dev);
897 struct vio_dev *vdev = to_vio_dev(vhost->dev);
925 struct vio_dev *vdev = to_vio_dev(vhost->dev);
963 struct vio_dev *vdev = to_vio_dev(vhost->dev);
3785 struct vio_dev *vdev = to_vio_dev(vhost->dev);
3839 struct vio_dev *vdev = to_vio_dev(dev);
5865 struct vio_dev *vdev = to_vio_dev(dev);
5918 struct vio_dev *vdev = to_vio_dev(dev);
5987 struct vio_dev *vde
[all...]
/linux-master/drivers/block/
H A Dsunvdc.c922 struct vio_dev *vdev = to_vio_dev(dev);
948 static bool vdc_port_mpgroup_check(struct vio_dev *vdev)
965 static int vdc_port_probe(struct vio_dev *vdev, const struct vio_device_id *id)
1063 static void vdc_port_remove(struct vio_dev *vdev)
/linux-master/drivers/tty/
H A Dvcc.c560 static int vcc_probe(struct vio_dev *vdev, const struct vio_device_id *id)
682 static void vcc_remove(struct vio_dev *vdev)

Completed in 494 milliseconds

12