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()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()183 kfree(to_vio_dev(dev)); in vio_dev_release()193 vdev = to_vio_dev(dev); in show_pciobppath_attr()368 } else if (to_vio_dev(parent) == root_vdev) { in vio_create_one()[all …]
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()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()956 return sprintf(buf, "%lu\n", to_vio_dev(dev)->cmo.name); \962 struct vio_dev *viodev = to_vio_dev(dev); in cmo_allocs_failed_show()969 struct vio_dev *viodev = to_vio_dev(dev); in cmo_allocs_failed_store()977 struct vio_dev *viodev = to_vio_dev(dev); in cmo_desired_store()[all …]
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()1467 buffer->real_addr_local = alloc_dma_buffer(to_vio_dev(adapter->dev), in ibmvmc_add_buffer()1577 free_dma_buffer(to_vio_dev(adapter->dev), in ibmvmc_rem_buffer()1836 vio_enable_interrupts(to_vio_dev(adapter->dev)); in ibmvmc_reset_task()2068 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_task()2112 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_init_crq_queue()
340 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_vtys_show()354 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_clcs_show()379 struct vio_dev *viod = to_vio_dev(dev); in hvcs_current_vty_show()396 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_store()433 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_show()448 struct vio_dev *viod = to_vio_dev(dev); in hvcs_index_show()
167 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev() function
140 vio_disable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_handle_event()158 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_release_crq_queue()210 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_send_crq()227 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_task()301 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_reset_crq_queue()344 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_init_crq_queue()429 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_reenable_crq_queue()2118 vio_enable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_do_work()2320 vio_disable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_resume()
618 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_send_crq()658 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_release_crq_queue()686 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reenable_crq_queue()712 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reset_crq()3168 vio_disable_interrupts(to_vio_dev(vhost->dev)); in ibmvfc_interrupt()3184 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_tasklet()4352 vio_enable_interrupts(to_vio_dev(vhost->dev)); in ibmvfc_do_work()4354 (rc = vio_enable_interrupts(to_vio_dev(vhost->dev)))) { in ibmvfc_do_work()4514 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_init_crq()4901 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_resume()
491 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev() function
892 struct vio_dev *vdev = to_vio_dev(dev); in vdc_device_probed()