Lines Matching defs:gpdev
2673 device_t gpdev = device_get_parent(pdev);
2678 rc = pci_find_cap(gpdev, PCIY_EXPRESS, &v);
2681 device_get_nameunit(gpdev), rc);
2691 v = pci_read_config(gpdev, PCIR_BRIDGECTL_1, 2);
2692 pci_write_config(gpdev, PCIR_BRIDGECTL_1, v | PCIB_BCR_SECBUS_RESET, 2);
2694 pci_write_config(gpdev, PCIR_BRIDGECTL_1, v, 2);
2696 v = pci_read_config(gpdev, lsta, 2);
2697 if (pci_read_config(gpdev, lcap, 2) & PCIEM_LINK_CAP_DL_ACTIVE)
2719 device_t gpdev = device_get_parent(pdev);
2724 rc = pci_find_cap(gpdev, PCIY_EXPRESS, &v);
2727 device_get_nameunit(gpdev), rc);
2738 v = pci_read_config(gpdev, lctl, 2);
2739 pci_write_config(gpdev, lctl, v | PCIEM_LINK_CTL_LINK_DIS, 2);
2741 pci_write_config(gpdev, lctl, v | PCIEM_LINK_CTL_RETRAIN_LINK, 2);
2743 v = pci_read_config(gpdev, lsta, 2);
2744 if (pci_read_config(gpdev, lcap, 2) & PCIEM_LINK_CAP_DL_ACTIVE)