Home
last modified time | relevance | path

Searched refs:viodev (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dvio.c70 struct vio_dev *viodev; member
134 * @viodev: VIO device requesting IO memory
145 static inline int vio_cmo_alloc(struct vio_dev *viodev, size_t size) in vio_cmo_alloc() argument
155 if (viodev->cmo.entitled > viodev->cmo.allocated) in vio_cmo_alloc()
156 reserve_free = viodev->cmo.entitled - viodev->cmo.allocated; in vio_cmo_alloc()
167 viodev->cmo.allocated += size; in vio_cmo_alloc()
179 * @viodev: VIO device freeing IO memory
189 static inline void vio_cmo_dealloc(struct vio_dev *viodev, size_ argument
280 struct vio_dev *viodev; vio_cmo_entitlement_update() local
389 struct vio_dev *viodev; vio_cmo_balance() local
486 struct vio_dev *viodev = to_vio_dev(dev); vio_dma_iommu_alloc_coherent() local
509 struct vio_dev *viodev = to_vio_dev(dev); vio_dma_iommu_free_coherent() local
520 struct vio_dev *viodev = to_vio_dev(dev); vio_dma_iommu_map_page() local
544 struct vio_dev *viodev = to_vio_dev(dev); vio_dma_iommu_unmap_page() local
555 struct vio_dev *viodev = to_vio_dev(dev); vio_dma_iommu_map_sg() local
590 struct vio_dev *viodev = to_vio_dev(dev); vio_dma_iommu_unmap_sg() local
628 vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired) vio_cmo_set_dev_desired() argument
701 vio_cmo_bus_probe(struct vio_dev *viodev) vio_cmo_bus_probe() argument
810 vio_cmo_bus_remove(struct vio_dev *viodev) vio_cmo_bus_remove() argument
881 vio_cmo_set_dma_ops(struct vio_dev *viodev) vio_cmo_set_dma_ops() argument
949 struct vio_dev *viodev = to_vio_dev(dev); cmo_allocs_failed_show() local
956 struct vio_dev *viodev = to_vio_dev(dev); cmo_allocs_failed_store() local
964 struct vio_dev *viodev = to_vio_dev(dev); cmo_desired_store() local
1072 vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired) vio_cmo_set_dev_desired() argument
1073 vio_cmo_bus_probe(struct vio_dev *viodev) vio_cmo_bus_probe() argument
1074 vio_cmo_bus_remove(struct vio_dev *viodev) vio_cmo_bus_remove() argument
1075 vio_cmo_set_dma_ops(struct vio_dev *viodev) vio_cmo_set_dma_ops() argument
1237 struct vio_dev *viodev = to_vio_dev(dev); vio_bus_probe() local
1264 struct vio_dev *viodev = to_vio_dev(dev); vio_bus_remove() local
1285 struct vio_dev *viodev = to_vio_dev(dev); vio_bus_shutdown() local
1353 struct vio_dev *viodev; vio_register_device_node() local
1595 vio_unregister_device(struct vio_dev *viodev) vio_unregister_device() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dvio.c68 struct vio_dev *viodev; member
132 * @viodev: VIO device requesting IO memory
143 static inline int vio_cmo_alloc(struct vio_dev *viodev, size_t size) in vio_cmo_alloc() argument
153 if (viodev->cmo.entitled > viodev->cmo.allocated) in vio_cmo_alloc()
154 reserve_free = viodev->cmo.entitled - viodev->cmo.allocated; in vio_cmo_alloc()
165 viodev->cmo.allocated += size; in vio_cmo_alloc()
177 * @viodev: VIO device freeing IO memory
187 static inline void vio_cmo_dealloc(struct vio_dev *viodev, size_ argument
278 struct vio_dev *viodev; vio_cmo_entitlement_update() local
387 struct vio_dev *viodev; vio_cmo_balance() local
484 struct vio_dev *viodev = to_vio_dev(dev); vio_dma_iommu_alloc_coherent() local
507 struct vio_dev *viodev = to_vio_dev(dev); vio_dma_iommu_free_coherent() local
518 struct vio_dev *viodev = to_vio_dev(dev); vio_dma_iommu_map_page() local
542 struct vio_dev *viodev = to_vio_dev(dev); vio_dma_iommu_unmap_page() local
553 struct vio_dev *viodev = to_vio_dev(dev); vio_dma_iommu_map_sg() local
587 struct vio_dev *viodev = to_vio_dev(dev); vio_dma_iommu_unmap_sg() local
625 vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired) vio_cmo_set_dev_desired() argument
698 vio_cmo_bus_probe(struct vio_dev *viodev) vio_cmo_bus_probe() argument
807 vio_cmo_bus_remove(struct vio_dev *viodev) vio_cmo_bus_remove() argument
878 vio_cmo_set_dma_ops(struct vio_dev *viodev) vio_cmo_set_dma_ops() argument
946 struct vio_dev *viodev = to_vio_dev(dev); cmo_allocs_failed_show() local
953 struct vio_dev *viodev = to_vio_dev(dev); cmo_allocs_failed_store() local
961 struct vio_dev *viodev = to_vio_dev(dev); cmo_desired_store() local
1069 vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired) vio_cmo_set_dev_desired() argument
1070 vio_cmo_bus_probe(struct vio_dev *viodev) vio_cmo_bus_probe() argument
1071 vio_cmo_bus_remove(struct vio_dev *viodev) vio_cmo_bus_remove() argument
1072 vio_cmo_set_dma_ops(struct vio_dev *viodev) vio_cmo_set_dma_ops() argument
1234 struct vio_dev *viodev = to_vio_dev(dev); vio_bus_probe() local
1261 struct vio_dev *viodev = to_vio_dev(dev); vio_bus_remove() local
1338 struct vio_dev *viodev; vio_register_device_node() local
1580 vio_unregister_device(struct vio_dev *viodev) vio_unregister_device() argument
[all...]
/kernel/linux/linux-5.10/drivers/crypto/nx/
H A Dnx.c45 struct vio_dev *viodev = nx_driver.viodev; in nx_hcall_sync() local
50 rc = vio_h_cop_sync(viodev, op); in nx_hcall_sync()
54 dev_dbg(&viodev->dev, "vio_h_cop_sync failed: rc: %d " in nx_hcall_sync()
516 return nx_check_props(&nx_driver.viodev->dev, fc, mode) ? in nx_register_skcipher()
522 return nx_check_props(&nx_driver.viodev->dev, fc, mode) ? in nx_register_aead()
528 return (slot >= 0 ? nx_check_prop(&nx_driver.viodev->dev, in nx_register_shash()
530 nx_check_props(&nx_driver.viodev->dev, fc, mode)) ? in nx_register_shash()
768 static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id) in nx_probe() argument
770 dev_dbg(&viodev in nx_probe()
786 nx_remove(struct vio_dev *viodev) nx_remove() argument
[all...]
H A Dnx-842-pseries.c145 static unsigned long nx842_get_desired_dma(struct vio_dev *viodev) in nx842_get_desired_dma() argument
975 static int nx842_probe(struct vio_dev *viodev, in nx842_probe() argument
998 dev_err(&viodev->dev, "%s: Attempt to register more than one instance of the hardware\n", __func__); in nx842_probe()
1003 dev_set_drvdata(&viodev->dev, NULL); in nx842_probe()
1005 new_devdata->vdev = viodev; in nx842_probe()
1006 new_devdata->dev = &viodev->dev; in nx842_probe()
1022 dev_err(&viodev->dev, "could not register comp alg: %d\n", ret); in nx842_probe()
1027 dev_set_drvdata(&viodev->dev, rcu_dereference(devdata)); in nx842_probe()
1030 if (sysfs_create_group(&viodev->dev.kobj, &nx842_attribute_group)) { in nx842_probe()
1031 dev_err(&viodev in nx842_probe()
1047 nx842_remove(struct vio_dev *viodev) nx842_remove() argument
[all...]
H A Dnx.h79 struct vio_dev *viodev; member
/kernel/linux/linux-6.6/drivers/crypto/nx/
H A Dnx.c45 struct vio_dev *viodev = nx_driver.viodev; in nx_hcall_sync() local
50 rc = vio_h_cop_sync(viodev, op); in nx_hcall_sync()
54 dev_dbg(&viodev->dev, "vio_h_cop_sync failed: rc: %d " in nx_hcall_sync()
517 return nx_check_props(&nx_driver.viodev->dev, fc, mode) ? in nx_register_skcipher()
523 return nx_check_props(&nx_driver.viodev->dev, fc, mode) ? in nx_register_aead()
529 return (slot >= 0 ? nx_check_prop(&nx_driver.viodev->dev, in nx_register_shash()
531 nx_check_props(&nx_driver.viodev->dev, fc, mode)) ? in nx_register_shash()
769 static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id) in nx_probe() argument
771 dev_dbg(&viodev in nx_probe()
787 nx_remove(struct vio_dev *viodev) nx_remove() argument
[all...]
H A Dnx-common-pseries.c172 static unsigned long nx842_get_desired_dma(struct vio_dev *viodev) in nx842_get_desired_dma() argument
1030 static int nx842_probe(struct vio_dev *viodev, in nx842_probe() argument
1053 dev_err(&viodev->dev, "%s: Attempt to register more than one instance of the hardware\n", __func__); in nx842_probe()
1058 dev_set_drvdata(&viodev->dev, NULL); in nx842_probe()
1060 new_devdata->vdev = viodev; in nx842_probe()
1061 new_devdata->dev = &viodev->dev; in nx842_probe()
1077 dev_err(&viodev->dev, "could not register comp alg: %d\n", ret); in nx842_probe()
1082 dev_set_drvdata(&viodev->dev, rcu_dereference(devdata)); in nx842_probe()
1085 if (sysfs_create_group(&viodev->dev.kobj, &nx842_attribute_group)) { in nx842_probe()
1086 dev_err(&viodev in nx842_probe()
1112 nx842_remove(struct vio_dev *viodev) nx842_remove() argument
[all...]
H A Dnx.h79 struct vio_dev *viodev; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dvio.h135 extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired);
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dvio.h136 extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired);
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
H A Dibmveth.c1506 struct vio_dev *viodev = adapter->vdev; in ibmveth_change_mtu() local
1533 vio_cmo_set_dev_desired(viodev, in ibmveth_change_mtu()
1535 (viodev)); in ibmveth_change_mtu()
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/
H A Dibmveth.c1516 struct vio_dev *viodev = adapter->vdev; in ibmveth_change_mtu() local
1541 vio_cmo_set_dev_desired(viodev, in ibmveth_change_mtu()
1543 (viodev)); in ibmveth_change_mtu()

Completed in 14 milliseconds