Searched refs:viodev (Results 1 – 4 of 4) sorted by relevance
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | vio.c | 70 struct vio_dev *viodev; member 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() 189 static inline void vio_cmo_dealloc(struct vio_dev *viodev, size_t size) in vio_cmo_dealloc() argument 202 if (viodev->cmo.allocated > viodev->cmo.entitled) { in vio_cmo_dealloc() 203 excess_freed = min(reserve_freed, (viodev->cmo.allocated - in vio_cmo_dealloc() 204 viodev->cmo.entitled)); in vio_cmo_dealloc() 209 viodev->cmo.allocated -= (reserve_freed + excess_freed); in vio_cmo_dealloc() [all …]
|
| /linux/drivers/crypto/nx/ |
| H A D | nx-common-pseries.c | 173 static unsigned long nx842_get_desired_dma(struct vio_dev *viodev) in nx842_get_desired_dma() argument 1031 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->dev, "could not create sysfs device attributes\n"); in nx842_probe() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | vio.h | 136 extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired);
|
| /linux/drivers/net/ethernet/ibm/ |
| H A D | ibmveth.c | 1642 struct vio_dev *viodev = adapter->vdev; in ibmveth_change_mtu() local 1667 vio_cmo_set_dev_desired(viodev, in ibmveth_change_mtu() 1669 (viodev)); in ibmveth_change_mtu()
|