Searched refs:ioread16 (Results 1 – 4 of 4) sorted by relevance
121 w = cpu_to_le16(ioread16(priv->device + offset)); in virtio_pci_get_config()266 if (index >= ioread16(&cfg->num_queues)) in virtio_pci_setup_vq()273 num = ioread16(&cfg->queue_size); in virtio_pci_setup_vq()274 if (!num || ioread16(&cfg->queue_enable)) in virtio_pci_setup_vq()361 off = ioread16(&priv->common->queue_notify_off); in virtio_pci_notify()
202 num = ioread16(priv->ioaddr + VIRTIO_PCI_QUEUE_NUM); in virtio_pci_setup_vq()
16 static inline u16 ioread16(const volatile void __iomem *addr) in ioread16() function
283 static inline u16 ioread16(const volatile void __iomem *addr) in ioread16() function