Home
last modified time | relevance | path

Searched refs:pectl (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/mxge/
H A Dif_mxge_var.h260 uint16_t pectl; /* save PCIe CTL state */ member
H A Dif_mxge.c548 uint16_t pectl; in mxge_firmware_probe() local
556 pectl = pci_read_config(dev, reg + 0x8, 2); in mxge_firmware_probe()
557 if ((pectl & (5 << 12)) != (5 << 12)) { in mxge_firmware_probe()
559 pectl); in mxge_firmware_probe()
3643 uint16_t lnk, pectl; in mxge_setup_cfg_space() local
3650 if (sc->pectl == 0) { in mxge_setup_cfg_space()
3651 pectl = pci_read_config(dev, reg + 0x8, 2); in mxge_setup_cfg_space()
3652 pectl = (pectl & ~0x7000) | (5 << 12); in mxge_setup_cfg_space()
3653 pci_write_config(dev, reg + 0x8, pectl, 2); in mxge_setup_cfg_space()
3654 sc->pectl = pectl; in mxge_setup_cfg_space()
[all …]