Searched refs:viodev (Results 1 – 5 of 5) 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.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 …]
|
H A D | nx.h | 79 struct vio_dev *viodev; member
|
/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 | 1494 struct vio_dev *viodev = adapter->vdev; in ibmveth_change_mtu() local 1519 vio_cmo_set_dev_desired(viodev, in ibmveth_change_mtu() 1521 (viodev)); in ibmveth_change_mtu()
|