Searched refs:viodev (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/arch/powerpc/platforms/pseries/ |
| D | vio.c | 69 struct vio_dev *viodev; member 144 static inline int vio_cmo_alloc(struct vio_dev *viodev, size_t size) in vio_cmo_alloc() argument 154 if (viodev->cmo.entitled > viodev->cmo.allocated) in vio_cmo_alloc() 155 reserve_free = viodev->cmo.entitled - viodev->cmo.allocated; in vio_cmo_alloc() 166 viodev->cmo.allocated += size; in vio_cmo_alloc() 188 static inline void vio_cmo_dealloc(struct vio_dev *viodev, size_t size) in vio_cmo_dealloc() argument 201 if (viodev->cmo.allocated > viodev->cmo.entitled) { in vio_cmo_dealloc() 202 excess_freed = min(reserve_freed, (viodev->cmo.allocated - in vio_cmo_dealloc() 203 viodev->cmo.entitled)); in vio_cmo_dealloc() 208 viodev->cmo.allocated -= (reserve_freed + excess_freed); in vio_cmo_dealloc() [all …]
|
| /Linux-v5.15/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() 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->dev, "driver probed: %s resource id: 0x%x\n", in nx_probe() 772 viodev->name, viodev->resource_id); in nx_probe() [all …]
|
| D | nx-common-pseries.c | 170 static unsigned long nx842_get_desired_dma(struct vio_dev *viodev) in nx842_get_desired_dma() argument 1028 static int nx842_probe(struct vio_dev *viodev, in nx842_probe() argument 1051 …dev_err(&viodev->dev, "%s: Attempt to register more than one instance of the hardware\n", __func__… in nx842_probe() 1056 dev_set_drvdata(&viodev->dev, NULL); in nx842_probe() 1058 new_devdata->vdev = viodev; in nx842_probe() 1059 new_devdata->dev = &viodev->dev; in nx842_probe() 1075 dev_err(&viodev->dev, "could not register comp alg: %d\n", ret); in nx842_probe() 1080 dev_set_drvdata(&viodev->dev, rcu_dereference(devdata)); in nx842_probe() 1083 if (sysfs_create_group(&viodev->dev.kobj, &nx842_attribute_group)) { in nx842_probe() 1084 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.15/arch/powerpc/include/asm/ |
| D | vio.h | 136 extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired);
|
| /Linux-v5.15/drivers/net/ethernet/ibm/ |
| D | ibmveth.c | 1511 struct vio_dev *viodev = adapter->vdev; in ibmveth_change_mtu() local 1538 vio_cmo_set_dev_desired(viodev, in ibmveth_change_mtu() 1540 (viodev)); in ibmveth_change_mtu()
|