Home
last modified time | relevance | path

Searched refs:to_vio_dev (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/scsi/ibmvscsi/
Drpa_vscsi.c58 vio_disable_interrupts(to_vio_dev(hostdata->dev)); in rpavscsi_handle_event()
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()
356 vio_disable_interrupts(to_vio_dev(hostdata->dev)); in rpavscsi_resume()
Dibmvfc.c613 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()
3124 vio_disable_interrupts(to_vio_dev(vhost->dev)); in ibmvfc_interrupt()
3140 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_tasklet()
4308 vio_enable_interrupts(to_vio_dev(vhost->dev)); in ibmvfc_do_work()
4310 (rc = vio_enable_interrupts(to_vio_dev(vhost->dev)))) { in ibmvfc_do_work()
4470 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_init_crq()
4855 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_resume()
Dibmvscsi.c1853 rc = vio_enable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_do_work()
/linux-2.6.39/arch/sparc/kernel/
Dvio.c49 struct vio_dev *vio_dev = to_vio_dev(dev); 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()
137 kfree(to_vio_dev(dev)); in vio_dev_release()
147 vdev = to_vio_dev(dev); in show_pciobppath_attr()
286 } else if (to_vio_dev(parent) == root_vdev) { in vio_create_one()
295 dp = to_vio_dev(parent)->dp; in vio_create_one()
322 struct vio_dev *vdev = to_vio_dev(dev); in vio_md_node_match()
/linux-2.6.39/arch/powerpc/kernel/
Dvio.c491 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()
556 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_map_sg()
590 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_unmap_sg()
927 return sprintf(buf, "%lu\n", to_vio_dev(dev)->cmo.name); \
933 struct vio_dev *viodev = to_vio_dev(dev); in viodev_cmo_allocs_failed_show()
940 struct vio_dev *viodev = to_vio_dev(dev); in viodev_cmo_allocs_failed_reset()
948 struct vio_dev *viodev = to_vio_dev(dev); in viodev_cmo_desired_set()
[all …]
/linux-2.6.39/arch/powerpc/include/asm/
Dvio.h112 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev() function
/linux-2.6.39/drivers/tty/hvc/
Dhvcs.c359 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()
467 struct vio_dev *viod = to_vio_dev(dev); in hvcs_index_show()
/linux-2.6.39/arch/sparc/include/asm/
Dvio.h382 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev() function