Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/sparc/kernel/
Dvio.c51 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 …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dvio.c484 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_alloc_coherent()
507 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_free_coherent()
518 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_map_page()
542 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_unmap_page()
553 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_map_sg()
587 struct vio_dev *viodev = to_vio_dev(dev); in vio_dma_iommu_unmap_sg()
940 return sprintf(buf, "%lu\n", to_vio_dev(dev)->cmo.name); \
946 struct vio_dev *viodev = to_vio_dev(dev); in cmo_allocs_failed_show()
953 struct vio_dev *viodev = to_vio_dev(dev); in cmo_allocs_failed_store()
961 struct vio_dev *viodev = to_vio_dev(dev); in cmo_desired_store()
[all …]
/kernel/linux/linux-5.10/drivers/misc/
Dibmvmc.c127 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()
1470 buffer->real_addr_local = alloc_dma_buffer(to_vio_dev(adapter->dev), in ibmvmc_add_buffer()
1580 free_dma_buffer(to_vio_dev(adapter->dev), in ibmvmc_rem_buffer()
1839 vio_enable_interrupts(to_vio_dev(adapter->dev)); in ibmvmc_reset_task()
2071 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_task()
2115 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_init_crq_queue()
/kernel/linux/linux-5.10/drivers/tty/hvc/
Dhvcs.c338 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_vtys_show()
352 struct vio_dev *viod = to_vio_dev(dev); in hvcs_partner_clcs_show()
377 struct vio_dev *viod = to_vio_dev(dev); in hvcs_current_vty_show()
394 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_store()
431 struct vio_dev *viod = to_vio_dev(dev); in hvcs_vterm_state_show()
446 struct vio_dev *viod = to_vio_dev(dev); in hvcs_index_show()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dvio.h163 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev() function
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/
Dibmvscsi.c127 vio_disable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_handle_event()
145 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_release_crq_queue()
197 struct vio_dev *vdev = to_vio_dev(hostdata->dev); in ibmvscsi_send_crq()
214 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()
331 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()
2139 vio_enable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_do_work()
2373 vio_disable_interrupts(to_vio_dev(hostdata->dev)); in ibmvscsi_resume()
Dibmvfc.c663 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_send_crq()
703 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_release_crq_queue()
731 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reenable_crq_queue()
757 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_reset_crq()
3244 vio_disable_interrupts(to_vio_dev(vhost->dev)); in ibmvfc_interrupt()
3260 struct vio_dev *vdev = to_vio_dev(vhost->dev); in ibmvfc_tasklet()
4674 vio_enable_interrupts(to_vio_dev(vhost->dev)); in ibmvfc_do_work()
4685 (rc = vio_enable_interrupts(to_vio_dev(vhost->dev)))) { in ibmvfc_do_work()
4876 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_init_crq()
5264 struct vio_dev *vdev = to_vio_dev(dev); in ibmvfc_resume()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dvio.h491 static inline struct vio_dev *to_vio_dev(struct device *dev) in to_vio_dev() function
/kernel/linux/linux-5.10/drivers/block/
Dsunvdc.c934 struct vio_dev *vdev = to_vio_dev(dev); in vdc_device_probed()