/linux-2.6.39/arch/powerpc/include/asm/ |
D | vio.h | 57 struct vio_dev { struct 73 int (*probe)(struct vio_dev *dev, const struct vio_device_id *id); argument 74 int (*remove)(struct vio_dev *dev); 78 unsigned long (*get_desired_dma)(struct vio_dev *dev); 86 extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired); 88 extern void __devinit vio_unregister_device(struct vio_dev *dev); 92 extern struct vio_dev *vio_register_device_node( 94 extern const void *vio_get_attribute(struct vio_dev *vdev, char *which, 97 extern struct vio_dev *vio_find_node(struct device_node *vnode); 98 extern int vio_enable_interrupts(struct vio_dev *dev); [all …]
|
/linux-2.6.39/arch/powerpc/kernel/ |
D | vio.c | 44 static struct vio_dev vio_bus_device = { /* fake "parent" device */ 76 struct vio_dev *viodev; 151 static inline int vio_cmo_alloc(struct vio_dev *viodev, size_t size) in vio_cmo_alloc() 195 static inline void vio_cmo_dealloc(struct vio_dev *viodev, size_t size) in vio_cmo_dealloc() 286 struct vio_dev *viodev; in vio_cmo_entitlement_update() 395 struct vio_dev *viodev; in vio_cmo_balance() 491 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_alloc_coherent() 511 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_free_coherent() 523 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_map_page() 545 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_unmap_page() [all …]
|
/linux-2.6.39/arch/sparc/kernel/ |
D | vio.c | 22 const struct vio_dev *dev) in vio_match_device() 49 struct vio_dev *vio_dev = to_vio_dev(dev); in vio_bus_match() local 56 return vio_match_device(matches, vio_dev) != NULL; in vio_bus_match() 61 struct vio_dev *vdev = to_vio_dev(dev); in vio_device_probe() 77 struct vio_dev *vdev = to_vio_dev(dev); in vio_device_remove() 89 struct vio_dev *vdev = to_vio_dev(dev); in devspec_show() 103 struct vio_dev *vdev = to_vio_dev(dev); in type_show() 144 struct vio_dev *vdev; in show_pciobppath_attr() 158 static struct vio_dev *root_vdev; 162 struct vio_dev *vdev) in vio_fill_channel_info() [all …]
|
D | ds.c | 1132 static int __devinit ds_probe(struct vio_dev *vdev, in ds_probe() 1216 static int ds_remove(struct vio_dev *vdev) in ds_remove()
|
/linux-2.6.39/arch/sparc/include/asm/ |
D | vio.h | 268 struct vio_dev { struct 289 int (*probe)(struct vio_dev *dev, const struct vio_device_id *id); argument 290 int (*remove)(struct vio_dev *dev); 291 void (*shutdown)(struct vio_dev *dev); 354 struct vio_dev *vdev; 382 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev() 384 return container_of(dev, struct vio_dev, dev); in to_vio_dev() 397 extern int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev,
|
/linux-2.6.39/drivers/scsi/ibmvscsi/ |
D | rpa_vscsi.c | 76 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in rpavscsi_release_crq_queue() 123 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in rpavscsi_send_crq() 135 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in rpavscsi_task() 207 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in rpavscsi_reset_crq_queue() 250 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in rpavscsi_init_crq_queue() 335 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in rpavscsi_reenable_crq_queue()
|
D | ibmvstgt.c | 65 struct vio_dev *dma_dev; 830 static int ibmvstgt_probe(struct vio_dev *dev, const struct vio_device_id *id) in ibmvstgt_probe() 894 static int ibmvstgt_remove(struct vio_dev *dev) in ibmvstgt_remove()
|
D | ibmvfc.c | 613 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_send_crq() 653 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_release_crq_queue() 681 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reenable_crq_queue() 707 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reset_crq() 3140 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_tasklet() 4470 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_init_crq() 4705 static int ibmvfc_probe(struct vio_dev *vdev, const struct vio_device_id *id) in ibmvfc_probe() 4811 static int ibmvfc_remove(struct vio_dev *vdev) in ibmvfc_remove() 4855 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_resume() 4872 static unsigned long ibmvfc_get_desired_dma(struct vio_dev *vdev) in ibmvfc_get_desired_dma()
|
D | ibmvscsi.c | 1828 static unsigned long ibmvscsi_get_desired_dma(struct vio_dev *vdev) in ibmvscsi_get_desired_dma() 1912 static int ibmvscsi_probe(struct vio_dev *vdev, const struct vio_device_id *id) in ibmvscsi_probe() 2023 static int ibmvscsi_remove(struct vio_dev *vdev) in ibmvscsi_remove()
|
/linux-2.6.39/arch/powerpc/include/asm/iseries/ |
D | iommu.h | 25 struct vio_dev; 34 extern struct iommu_table *vio_build_iommu_table_iseries(struct vio_dev *dev);
|
D | vio.h | 181 extern struct vio_dev *vio_create_viodasd(u32 unit);
|
/linux-2.6.39/drivers/tty/hvc/ |
D | hvcs.c | 304 struct vio_dev *vdev; 333 uint32_t unit_address, unsigned int irq, struct vio_dev *dev); 339 static int __devinit hvcs_probe(struct vio_dev *dev, 341 static int __devexit hvcs_remove(struct vio_dev *dev); 351 static inline struct hvcs_struct *from_vio_dev(struct vio_dev *viod) in from_vio_dev() 359 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_vtys_show() 373 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_clcs_show() 398 struct vio_dev *viod = to_vio_dev(dev); in hvcs_current_vty_show() 415 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_store() 452 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_show() [all …]
|
D | hvc_vio.c | 88 static int __devinit hvc_vio_probe(struct vio_dev *vdev, in hvc_vio_probe() 106 static int __devexit hvc_vio_remove(struct vio_dev *vdev) in hvc_vio_remove()
|
D | hvc_iseries.c | 208 static int __devinit hvc_vio_probe(struct vio_dev *vdev, in hvc_vio_probe() 233 static int __devexit hvc_vio_remove(struct vio_dev *vdev) in hvc_vio_remove()
|
/linux-2.6.39/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 331 struct vio_dev *vio_dev; in dlpar_remove_vio_slot() local 333 vio_dev = vio_find_node(dn); in dlpar_remove_vio_slot() 334 if (!vio_dev) in dlpar_remove_vio_slot() 337 vio_unregister_device(vio_dev); in dlpar_remove_vio_slot()
|
/linux-2.6.39/drivers/net/ |
D | iseries_veth.c | 1020 struct vio_dev *vio_dev) in veth_probe_one() argument 1024 struct device *vdev = &vio_dev->dev; in veth_probe_one() 1028 mac_addr = vio_get_attribute(vio_dev, "local-mac-address", NULL); in veth_probe_one() 1030 mac_addr = vio_get_attribute(vio_dev, "mac-address", NULL); in veth_probe_one() 1549 static int veth_remove(struct vio_dev *vdev) in veth_remove() 1581 static int veth_probe(struct vio_dev *vdev, const struct vio_device_id *id) in veth_probe()
|
D | ibmveth.h | 137 struct vio_dev *vdev;
|
D | ibmveth.c | 54 static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev); 1247 struct vio_dev *viodev = adapter->vdev; in ibmveth_change_mtu() 1309 static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev) in ibmveth_get_desired_dma() 1355 static int __devinit ibmveth_probe(struct vio_dev *dev, in ibmveth_probe() 1455 static int __devexit ibmveth_remove(struct vio_dev *dev) in ibmveth_remove()
|
D | sunvnet.c | 1138 static int __devinit vnet_port_probe(struct vio_dev *vdev, in vnet_port_probe() 1230 static int vnet_port_remove(struct vio_dev *vdev) in vnet_port_remove()
|
/linux-2.6.39/arch/powerpc/platforms/iseries/ |
D | vio.c | 190 struct vio_dev *vio_create_viodasd(u32 unit) in vio_create_viodasd() 194 struct vio_dev *vdev = NULL; in vio_create_viodasd()
|
D | iommu.c | 246 struct iommu_table *vio_build_iommu_table_iseries(struct vio_dev *dev) in vio_build_iommu_table_iseries()
|
/linux-2.6.39/drivers/block/ |
D | viodasd.c | 683 static int viodasd_probe(struct vio_dev *vdev, const struct vio_device_id *id) in viodasd_probe() 693 static int viodasd_remove(struct vio_dev *vdev) in viodasd_remove()
|
D | sunvdc.c | 736 static int __devinit vdc_port_probe(struct vio_dev *vdev, in vdc_port_probe() 813 static int vdc_port_remove(struct vio_dev *vdev) in vdc_port_remove()
|
/linux-2.6.39/drivers/cdrom/ |
D | viocd.c | 572 static int viocd_probe(struct vio_dev *vdev, const struct vio_device_id *id) in viocd_probe() 645 static int viocd_remove(struct vio_dev *vdev) in viocd_remove()
|
/linux-2.6.39/drivers/char/ |
D | viotape.c | 867 static int viotape_probe(struct vio_dev *vdev, const struct vio_device_id *id) in viotape_probe() 903 static int viotape_remove(struct vio_dev *vdev) in viotape_remove()
|