Lines Matching defs:ctrl
247 iov->ctrl |= PCI_SRIOV_CTRL_VFE | PCI_SRIOV_CTRL_MSE;
249 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl);
272 iov->ctrl &= ~(PCI_SRIOV_CTRL_VFE | PCI_SRIOV_CTRL_MSE);
274 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl);
296 iov->ctrl &= ~(PCI_SRIOV_CTRL_VFE | PCI_SRIOV_CTRL_MSE);
298 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl);
315 u16 ctrl, total, offset, stride;
324 pci_read_config_word(dev, pos + PCI_SRIOV_CTRL, &ctrl);
325 if (ctrl & PCI_SRIOV_CTRL_VFE) {
334 ctrl = 0;
341 ctrl |= PCI_SRIOV_CTRL_ARI;
344 pci_write_config_word(dev, pos + PCI_SRIOV_CTRL, ctrl);
383 iov->ctrl = ctrl;
431 u16 ctrl;
434 pci_read_config_word(dev, iov->pos + PCI_SRIOV_CTRL, &ctrl);
435 if (ctrl & PCI_SRIOV_CTRL_VFE)
443 pci_write_config_word(dev, iov->pos + PCI_SRIOV_CTRL, iov->ctrl);
444 if (iov->ctrl & PCI_SRIOV_CTRL_VFE)
667 if (dev->sriov->ctrl & PCI_SRIOV_CTRL_VFE)