Searched refs:viodev (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | vio.c | 71 struct vio_dev *viodev; member 146 static inline int vio_cmo_alloc(struct vio_dev *viodev, size_t size) in vio_cmo_alloc() argument 156 if (viodev->cmo.entitled > viodev->cmo.allocated) in vio_cmo_alloc() 157 reserve_free = viodev->cmo.entitled - viodev->cmo.allocated; in vio_cmo_alloc() 168 viodev->cmo.allocated += size; in vio_cmo_alloc() 190 static inline void vio_cmo_dealloc(struct vio_dev *viodev, size_t size) in vio_cmo_dealloc() argument 203 if (viodev->cmo.allocated > viodev->cmo.entitled) { in vio_cmo_dealloc() 204 excess_freed = min(reserve_freed, (viodev->cmo.allocated - in vio_cmo_dealloc() 205 viodev->cmo.entitled)); in vio_cmo_dealloc() 210 viodev->cmo.allocated -= (reserve_freed + excess_freed); in vio_cmo_dealloc() [all …]
|
/Linux-v4.19/drivers/crypto/nx/ |
D | nx.c | 57 struct vio_dev *viodev = nx_driver.viodev; in nx_hcall_sync() local 62 rc = vio_h_cop_sync(viodev, op); in nx_hcall_sync() 66 dev_dbg(&viodev->dev, "vio_h_cop_sync failed: rc: %d " in nx_hcall_sync() 528 return nx_check_props(&nx_driver.viodev->dev, fc, mode) ? in nx_register_alg() 534 return nx_check_props(&nx_driver.viodev->dev, fc, mode) ? in nx_register_aead() 540 return (slot >= 0 ? nx_check_prop(&nx_driver.viodev->dev, in nx_register_shash() 542 nx_check_props(&nx_driver.viodev->dev, fc, mode)) ? in nx_register_shash() 776 static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id) in nx_probe() argument 778 dev_dbg(&viodev->dev, "driver probed: %s resource id: 0x%x\n", in nx_probe() 779 viodev->name, viodev->resource_id); in nx_probe() [all …]
|
D | nx-842-pseries.c | 158 static unsigned long nx842_get_desired_dma(struct vio_dev *viodev) in nx842_get_desired_dma() argument 988 static int nx842_probe(struct vio_dev *viodev, in nx842_probe() argument 1011 …dev_err(&viodev->dev, "%s: Attempt to register more than one instance of the hardware\n", __func__… in nx842_probe() 1016 dev_set_drvdata(&viodev->dev, NULL); in nx842_probe() 1018 new_devdata->vdev = viodev; in nx842_probe() 1019 new_devdata->dev = &viodev->dev; in nx842_probe() 1035 dev_err(&viodev->dev, "could not register comp alg: %d\n", ret); in nx842_probe() 1040 dev_set_drvdata(&viodev->dev, rcu_dereference(devdata)); in nx842_probe() 1043 if (sysfs_create_group(&viodev->dev.kobj, &nx842_attribute_group)) { in nx842_probe() 1044 dev_err(&viodev->dev, "could not create sysfs device attributes\n"); in nx842_probe() [all …]
|
D | nx.h | 90 struct vio_dev *viodev; member
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | vio.h | 139 extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired);
|
/Linux-v4.19/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 1480 struct vio_dev *viodev = adapter->vdev; in ibmveth_change_mtu() local 1507 vio_cmo_set_dev_desired(viodev, in ibmveth_change_mtu() 1509 (viodev)); in ibmveth_change_mtu()
|