Home
last modified time | relevance | path

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

/linux-4.4.14/arch/sparc/kernel/
Dvio.c50 struct vio_dev *vio_dev = to_vio_dev(dev); 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()
142 kfree(to_vio_dev(dev)); in vio_dev_release()
152 vdev = to_vio_dev(dev); in show_pciobppath_attr()
302 } else if (to_vio_dev(parent) == root_vdev) { in vio_create_one()
311 dp = to_vio_dev(parent)->dp; in vio_create_one()
338 struct vio_dev *vdev = to_vio_dev(dev); in vio_md_node_match()
/linux-4.4.14/arch/powerpc/kernel/
Dvio.c487 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()
557 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_map_sg()
593 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_unmap_sg()
955 return sprintf(buf, "%lu\n", to_vio_dev(dev)->cmo.name); \
961 struct vio_dev *viodev = to_vio_dev(dev); in viodev_cmo_allocs_failed_show()
968 struct vio_dev *viodev = to_vio_dev(dev); in viodev_cmo_allocs_failed_reset()
976 struct vio_dev *viodev = to_vio_dev(dev); in viodev_cmo_desired_set()
[all …]
/linux-4.4.14/drivers/tty/hvc/
Dhvcs.c353 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_vtys_show()
367 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_clcs_show()
392 struct vio_dev *viod = to_vio_dev(dev); in hvcs_current_vty_show()
409 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_store()
446 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_show()
461 struct vio_dev *viod = to_vio_dev(dev); in hvcs_index_show()
/linux-4.4.14/arch/powerpc/include/asm/
Dvio.h167 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev() function
/linux-4.4.14/drivers/scsi/ibmvscsi/
Dibmvscsi.c139 vio_disable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_handle_event()
157 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_release_crq_queue()
209 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_send_crq()
226 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_task()
300 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_reset_crq_queue()
343 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_init_crq_queue()
428 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_reenable_crq_queue()
2181 vio_enable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_do_work()
2381 vio_disable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_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()
3161 vio_disable_interrupts(to_vio_dev(vhost->dev)); in ibmvfc_interrupt()
3177 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_tasklet()
4350 vio_enable_interrupts(to_vio_dev(vhost->dev)); in ibmvfc_do_work()
4352 (rc = vio_enable_interrupts(to_vio_dev(vhost->dev)))) { in ibmvfc_do_work()
4512 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_init_crq()
4897 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_resume()
/linux-4.4.14/arch/sparc/include/asm/
Dvio.h470 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev() function