Lines Matching defs:dev
36 static inline void kvm_iodevice_init(struct kvm_io_device *dev,
39 dev->ops = ops;
43 struct kvm_io_device *dev, gpa_t addr,
46 return dev->ops->read ? dev->ops->read(vcpu, dev, addr, l, v)
51 struct kvm_io_device *dev, gpa_t addr,
54 return dev->ops->write ? dev->ops->write(vcpu, dev, addr, l, v)
58 static inline void kvm_iodevice_destructor(struct kvm_io_device *dev)
60 if (dev->ops->destructor)
61 dev->ops->destructor(dev);