Lines Matching refs:common_cfg
20 struct virtio_pci_common_cfg __iomem *cfg = hw->common_cfg; in ifcvf_set_vq_vector()
30 struct virtio_pci_common_cfg __iomem *cfg = hw->common_cfg; in ifcvf_set_config_vector()
110 hw->common_cfg = get_cap_addr(hw, &cap); in ifcvf_init_hw()
112 hw->common_cfg); in ifcvf_init_hw()
139 if (hw->common_cfg == NULL || hw->notify_base == NULL || in ifcvf_init_hw()
145 hw->nr_vring = vp_ioread16(&hw->common_cfg->num_queues); in ifcvf_init_hw()
148 vp_iowrite16(i, &hw->common_cfg->queue_select); in ifcvf_init_hw()
149 notify_off = vp_ioread16(&hw->common_cfg->queue_notify_off); in ifcvf_init_hw()
161 hw->common_cfg, hw->notify_base, hw->isr, in ifcvf_init_hw()
172 return vp_ioread8(&hw->common_cfg->device_status); in ifcvf_get_status()
177 vp_iowrite8(status, &hw->common_cfg->device_status); in ifcvf_set_status()
201 struct virtio_pci_common_cfg __iomem *cfg = hw->common_cfg; in ifcvf_get_hw_features()
270 old_gen = vp_ioread8(&hw->common_cfg->config_generation); in ifcvf_read_dev_config()
275 new_gen = vp_ioread8(&hw->common_cfg->config_generation); in ifcvf_read_dev_config()
293 struct virtio_pci_common_cfg __iomem *cfg = hw->common_cfg; in ifcvf_set_features()
353 cfg = hw->common_cfg; in ifcvf_hw_enable()