Lines Matching defs:pectl
548 uint16_t pectl;
556 pectl = pci_read_config(dev, reg + 0x8, 2);
557 if ((pectl & (5 << 12)) != (5 << 12)) {
559 pectl);
3643 uint16_t lnk, pectl;
3650 if (sc->pectl == 0) {
3651 pectl = pci_read_config(dev, reg + 0x8, 2);
3652 pectl = (pectl & ~0x7000) | (5 << 12);
3653 pci_write_config(dev, reg + 0x8, pectl, 2);
3654 sc->pectl = pectl;
3656 /* restore saved pectl after watchdog reset */
3657 pci_write_config(dev, reg + 0x8, sc->pectl, 2);