Searched refs:viodev (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/arch/powerpc/platforms/pseries/ |
D | vio.c | 68 struct vio_dev *viodev; member 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() 187 static inline void vio_cmo_dealloc(struct vio_dev *viodev, size_t size) in vio_cmo_dealloc() argument 200 if (viodev->cmo.allocated > viodev->cmo.entitled) { in vio_cmo_dealloc() 201 excess_freed = min(reserve_freed, (viodev->cmo.allocated - in vio_cmo_dealloc() 202 viodev->cmo.entitled)); in vio_cmo_dealloc() 207 viodev->cmo.allocated -= (reserve_freed + excess_freed); in vio_cmo_dealloc() [all …]
|
/Linux-v5.10/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_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->dev, "driver probed: %s resource id: 0x%x\n", in nx_probe() 771 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.10/arch/powerpc/include/asm/ |
D | vio.h | 135 extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired);
|
/Linux-v5.10/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 1506 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()
|