Searched refs:vio_dev (Results 1 – 6 of 6) sorted by relevance
/arch/powerpc/include/asm/ |
D | vio.h | 100 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/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 | 1157 static int ds_probe(struct vio_dev *vdev, const struct vio_device_id *id) in ds_probe() 1238 static int ds_remove(struct vio_dev *vdev) in ds_remove()
|
D | viohs.c | 808 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev, in vio_driver_init()
|
/arch/powerpc/platforms/pseries/ |
D | vio.c | 39 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/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);
|