Home
last modified time | relevance | path

Searched refs:vp_ioread16 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/virtio/
H A Dvirtio_pci_modern_dev.c499 return vp_ioread16(&cfg->queue_reset); in vp_modern_get_queue_reset()
517 while (vp_ioread16(&cfg->queue_reset)) in vp_modern_set_queue_reset()
520 while (vp_ioread16(&cfg->cfg.queue_enable)) in vp_modern_set_queue_reset()
541 return vp_ioread16(&cfg->queue_msix_vector); in vp_modern_queue_vector()
561 return vp_ioread16(&cfg->msix_config); in vp_modern_config_vector()
616 return vp_ioread16(&mdev->common->queue_enable); in vp_modern_get_queue_enable()
647 return vp_ioread16(&mdev->common->queue_size); in vp_modern_get_queue_size()
660 return vp_ioread16(&mdev->common->num_queues); in vp_modern_get_num_queues()
676 return vp_ioread16(&mdev->common->queue_notify_off); in vp_modern_get_queue_notify_off()
/openbmc/linux/drivers/vdpa/ifcvf/
H A Difcvf_base.c20 return vp_ioread16(&cfg->queue_msix_vector); in ifcvf_set_vq_vector()
29 return vp_ioread16(&cfg->msix_config); in ifcvf_set_config_vector()
77 queue_size = vp_ioread16(&hw->common_cfg->queue_size); in ifcvf_get_vq_size()
167 hw->nr_vring = vp_ioread16(&hw->common_cfg->num_queues); in ifcvf_init_hw()
174 notify_off = vp_ioread16(&hw->common_cfg->queue_notify_off); in ifcvf_init_hw()
334 last_avail_idx = vp_ioread16(&lm_cfg->vq_state_region + qid * 2); in ifcvf_get_vq_state()
378 queue_enable = vp_ioread16(&cfg->queue_enable); in ifcvf_get_vq_ready()
/openbmc/linux/include/linux/
H A Dvirtio_pci_modern.h61 static inline u16 vp_ioread16 (const __le16 __iomem *addr) in vp_ioread16() function