Searched refs:viodev (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/arch/powerpc/platforms/pseries/ |
| D | vio.c | 67 struct vio_dev *viodev; member 142 static inline int vio_cmo_alloc(struct vio_dev *viodev, size_t size) in vio_cmo_alloc() argument 152 if (viodev->cmo.entitled > viodev->cmo.allocated) in vio_cmo_alloc() 153 reserve_free = viodev->cmo.entitled - viodev->cmo.allocated; in vio_cmo_alloc() 164 viodev->cmo.allocated += size; in vio_cmo_alloc() 186 static inline void vio_cmo_dealloc(struct vio_dev *viodev, size_t size) in vio_cmo_dealloc() argument 199 if (viodev->cmo.allocated > viodev->cmo.entitled) { in vio_cmo_dealloc() 200 excess_freed = min(reserve_freed, (viodev->cmo.allocated - in vio_cmo_dealloc() 201 viodev->cmo.entitled)); in vio_cmo_dealloc() 206 viodev->cmo.allocated -= (reserve_freed + excess_freed); in vio_cmo_dealloc() [all …]
|
| /Linux-v5.4/drivers/crypto/nx/ |
| D | nx.c | 45 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_alg() 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() 762 static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id) in nx_probe() argument 764 dev_dbg(&viodev->dev, "driver probed: %s resource id: 0x%x\n", in nx_probe() 765 viodev->name, viodev->resource_id); in nx_probe() [all …]
|
| D | nx-842-pseries.c | 145 static unsigned long nx842_get_desired_dma(struct vio_dev *viodev) in nx842_get_desired_dma() argument 973 static int nx842_probe(struct vio_dev *viodev, in nx842_probe() argument 996 …dev_err(&viodev->dev, "%s: Attempt to register more than one instance of the hardware\n", __func__… in nx842_probe() 1001 dev_set_drvdata(&viodev->dev, NULL); in nx842_probe() 1003 new_devdata->vdev = viodev; in nx842_probe() 1004 new_devdata->dev = &viodev->dev; in nx842_probe() 1020 dev_err(&viodev->dev, "could not register comp alg: %d\n", ret); in nx842_probe() 1025 dev_set_drvdata(&viodev->dev, rcu_dereference(devdata)); in nx842_probe() 1028 if (sysfs_create_group(&viodev->dev.kobj, &nx842_attribute_group)) { in nx842_probe() 1029 dev_err(&viodev->dev, "could not create sysfs device attributes\n"); in nx842_probe() [all …]
|
| D | nx.h | 79 struct vio_dev *viodev; member
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | vio.h | 135 extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired);
|
| /Linux-v5.4/drivers/net/ethernet/ibm/ |
| D | ibmveth.c | 1469 struct vio_dev *viodev = adapter->vdev; in ibmveth_change_mtu() local 1496 vio_cmo_set_dev_desired(viodev, in ibmveth_change_mtu() 1498 (viodev)); in ibmveth_change_mtu()
|