Lines Matching defs:parent
400 struct pci_dev *parent;
407 /* Find out supported and configured values for parent (root) */
408 parent = dd->pcidev->bus->self;
409 if (parent->bus->parent) {
413 if (!pci_is_pcie(parent))
415 if (parent->vendor != 0x8086)
427 devid = parent->device;
430 if (parent->revision <= 0xb2)
451 pci_read_config_dword(parent, 0x48, &val);
454 pci_write_config_dword(parent, 0x48, val);
467 struct pci_dev *parent;
471 /* Find out supported and configured values for parent (root) */
472 parent = dd->pcidev->bus->self;
473 if (!pci_is_root_bus(parent->bus)) {
478 if (!pci_is_pcie(parent) || !pci_is_pcie(dd->pcidev))
481 rc_mpss = parent->pcie_mpss;
482 rc_mps = ffs(pcie_get_mps(parent)) - 8;
497 pcie_set_mps(parent, 128 << rc_mps);
515 rc_mrrs = pcie_get_readrq(parent);
520 pcie_set_readrq(parent, rc_mrrs);