Searched refs:to_vio_dev (Results 1 – 9 of 9) sorted by relevance
51 const struct vio_dev *vio_dev = to_vio_dev(dev); in vio_hotplug()59 struct vio_dev *vio_dev = to_vio_dev(dev); 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()115 struct vio_dev *vdev = to_vio_dev(dev); in devspec_show()130 struct vio_dev *vdev = to_vio_dev(dev); in type_show()138 const struct vio_dev *vdev = to_vio_dev(dev); in modalias_show()181 kfree(to_vio_dev(dev)); in vio_dev_release()191 vdev = to_vio_dev(dev); in show_pciobppath_attr()366 } else if (to_vio_dev(parent) == root_vdev) { in vio_create_one()[all …]
486 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_alloc_coherent()509 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()555 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()943 return sprintf(buf, "%lu\n", to_vio_dev(dev)->cmo.name); \949 struct vio_dev *viodev = to_vio_dev(dev); in cmo_allocs_failed_show()956 struct vio_dev *viodev = to_vio_dev(dev); in cmo_allocs_failed_store()964 struct vio_dev *viodev = to_vio_dev(dev); in cmo_desired_store()[all …]
314 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_vtys_show()328 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_clcs_show()353 struct vio_dev *viod = to_vio_dev(dev); in hvcs_current_vty_show()370 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_store()407 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_show()422 struct vio_dev *viod = to_vio_dev(dev); in hvcs_index_show()
127 vio_disable_interrupts(to_vio_dev(adapter->dev)); in ibmvmc_handle_event()144 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_release_crq_queue()174 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_reset_crq_queue()243 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_send_crq()499 vdev = to_vio_dev(adapter->dev); in ibmvmc_return_hmc()1472 buffer->real_addr_local = alloc_dma_buffer(to_vio_dev(adapter->dev), in ibmvmc_add_buffer()1582 free_dma_buffer(to_vio_dev(adapter->dev), in ibmvmc_rem_buffer()1841 vio_enable_interrupts(to_vio_dev(adapter->dev)); in ibmvmc_reset_task()2073 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_task()2117 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_init_crq_queue()
164 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev() function
127 vio_disable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_handle_event()146 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_release_crq_queue()198 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_send_crq()215 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_task()288 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_reset_crq_queue()332 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_init_crq_queue()416 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_reenable_crq_queue()2141 vio_enable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_do_work()2373 vio_disable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_resume()
736 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_send_crq()743 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_send_sub_crq()894 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_release_crq_queue()922 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reenable_crq_queue()960 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reset_crq()3699 vio_disable_interrupts(to_vio_dev(vhost->dev)); in ibmvfc_interrupt()3715 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_tasklet()3769 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_toggle_scrq_irq()5430 vio_enable_interrupts(to_vio_dev(vhost->dev)); in ibmvfc_do_work()5441 (rc = vio_enable_interrupts(to_vio_dev(vhost->dev)))) { in ibmvfc_do_work()[all …]
491 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev() function
922 struct vio_dev *vdev = to_vio_dev(dev); in vdc_device_probed()