Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Dvio.h100 struct vio_dev { struct
119 int (*probe)(struct vio_dev *dev, const struct vio_device_id *id); argument
120 int (*remove)(struct vio_dev *dev);
124 unsigned long (*get_desired_dma)(struct vio_dev *dev);
139 extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired);
141 extern void vio_unregister_device(struct vio_dev *dev);
143 extern int vio_h_cop_sync(struct vio_dev *vdev, struct vio_pfo_op *op);
147 extern struct vio_dev *vio_register_device_node(
149 extern const void *vio_get_attribute(struct vio_dev *vdev, char *which,
152 extern struct vio_dev *vio_find_node(struct device_node *vnode);
[all …]
/arch/powerpc/kernel/
Dvio.c39 static struct vio_dev vio_bus_device = { /* fake "parent" device */
71 struct vio_dev *viodev;
146 static inline int vio_cmo_alloc(struct vio_dev *viodev, size_t size) in vio_cmo_alloc()
190 static inline void vio_cmo_dealloc(struct vio_dev *viodev, size_t size) in vio_cmo_dealloc()
281 struct vio_dev *viodev; in vio_cmo_entitlement_update()
390 struct vio_dev *viodev; in vio_cmo_balance()
487 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_alloc_coherent()
508 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 …]
/arch/sparc/kernel/
Dvio.c23 const struct vio_dev *dev) in vio_match_device()
50 struct vio_dev *vio_dev = to_vio_dev(dev); in vio_bus_match() local
57 return vio_match_device(matches, vio_dev) != NULL; in vio_bus_match()
62 struct vio_dev *vdev = to_vio_dev(dev); in vio_device_probe()
78 struct vio_dev *vdev = to_vio_dev(dev); in vio_device_remove()
90 struct vio_dev *vdev = to_vio_dev(dev); in devspec_show()
104 struct vio_dev *vdev = to_vio_dev(dev); in type_show()
149 struct vio_dev *vdev; in show_pciobppath_attr()
163 static struct vio_dev *root_vdev;
167 struct vio_dev *vdev) in vio_fill_channel_info()
[all …]
Dds.c1156 static int ds_probe(struct vio_dev *vdev, const struct vio_device_id *id) in ds_probe()
1237 static int ds_remove(struct vio_dev *vdev) in ds_remove()
Dviohs.c791 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev, in vio_driver_init()
/arch/sparc/include/asm/
Dvio.h321 struct vio_dev { struct
345 int (*probe)(struct vio_dev *dev, const struct vio_device_id *id); argument
346 int (*remove)(struct vio_dev *dev);
347 void (*shutdown)(struct vio_dev *dev);
410 struct vio_dev *vdev;
471 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev()
473 return container_of(dev, struct vio_dev, dev); in to_vio_dev()
486 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev,