Lines Matching defs:pectl
559 uint16_t pectl;
567 pectl = pci_read_config(dev, reg + 0x8, 2);
568 if ((pectl & (5 << 12)) != (5 << 12)) {
570 pectl);
3830 uint16_t lnk, pectl;
3837 if (sc->pectl == 0) {
3838 pectl = pci_read_config(dev, reg + 0x8, 2);
3839 pectl = (pectl & ~0x7000) | (5 << 12);
3840 pci_write_config(dev, reg + 0x8, pectl, 2);
3841 sc->pectl = pectl;
3843 /* restore saved pectl after watchdog reset */
3844 pci_write_config(dev, reg + 0x8, sc->pectl, 2);