/freebsd/sys/dev/bhnd/cores/pci/ |
H A D | bhnd_pci_hostb.c | 521 cfg = pcie_read_config(sc->pci_dev, PCIER_LINK_CTL, 2); in bhnd_pci_wars_hwup() 530 pcie_write_config(sc->pci_dev, PCIER_LINK_CTL, cfg, 2); in bhnd_pci_wars_hwup() 632 lcreg = pcie_read_config(sc->pci_dev, PCIER_LINK_CTL, 2); in bhnd_pci_wars_hwdown() 638 pcie_write_config(sc->pci_dev, PCIER_LINK_CTL, lcreg, 2); in bhnd_pci_wars_hwdown()
|
/freebsd/sys/dev/cxgbe/ |
H A D | osdep.h | 127 #define PCI_EXP_LNKCTL PCIER_LINK_CTL
|
/freebsd/sys/dev/cxgb/ |
H A D | cxgb_osdep.h | 182 #define PCI_EXP_LNKCTL PCIER_LINK_CTL
|
/freebsd/sys/dev/rtwn/pci/ |
H A D | rtwn_pci_attach.c | 648 lcsr = pci_read_config(dev, cap_off + PCIER_LINK_CTL, 4); in rtwn_pci_attach() 650 pci_write_config(dev, cap_off + PCIER_LINK_CTL, lcsr, 4); in rtwn_pci_attach()
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwm_pcie_trans.c | 448 lctl = pci_read_config(sc->sc_dev, pcie_ptr + PCIER_LINK_CTL, in iwm_apm_config()
|
/freebsd/usr.sbin/pciconf/ |
H A D | cap.c | 654 ctl = read_config(fd, &p->pc_sel, ptr + PCIER_LINK_CTL, 2); in cap_express() 659 ctl = read_config(fd, &p->pc_sel, ptr + PCIER_LINK_CTL, 2); in cap_express()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | pci.h | 117 #define PCI_EXP_LNKCTL PCIER_LINK_CTL /* Link Control */ 600 #define PCI_EXP_LNKCTL PCIER_LINK_CTL
|
/freebsd/sys/dev/sume/ |
H A D | if_sume.c | 624 linkctl = pci_read_config(dev, capmem + PCIER_LINK_CTL, 2); in sume_probe_riffa_pci() 625 pci_write_config(dev, capmem + PCIER_LINK_CTL, (linkctl | in sume_probe_riffa_pci()
|
/freebsd/sys/dev/pci/ |
H A D | pcireg.h | 845 #define PCIER_LINK_CTL 0x10 macro
|
H A D | pci.c | 6041 WREG(PCIER_LINK_CTL, cfg->pcie_link_ctl); in pci_cfg_restore_pcie() 6161 cfg->pcie_link_ctl = RREG(PCIER_LINK_CTL); in pci_cfg_save_pcie() 6616 v = pci_read_config(port, pcie_location + PCIER_LINK_CTL, 2); in pcie_link_reset() 6618 pci_write_config(port, pcie_location + PCIER_LINK_CTL, v, 2); in pcie_link_reset() 6622 pci_write_config(port, pcie_location + PCIER_LINK_CTL, v, 2); in pcie_link_reset()
|
/freebsd/sys/dev/rtsx/ |
H A D | rtsx.c | 894 val = pci_read_config(sc->rtsx_dev, sc->rtsx_pcie_cap + PCIER_LINK_CTL, 1); 895 pci_write_config(sc->rtsx_dev, sc->rtsx_pcie_cap + PCIER_LINK_CTL, val & 0xfc, 1); 1045 pci_write_config(sc->rtsx_dev, sc->rtsx_pcie_cap + PCIER_LINK_CTL + 1, 1, 1);
|
/freebsd/sys/dev/alc/ |
H A D | if_alc.c | 1160 PCIER_LINK_CTL); in alc_aspm_813x() 1175 CSR_WRITE_2(sc, sc->alc_expcap + PCIER_LINK_CTL, in alc_aspm_813x() 1300 ctl = CSR_READ_2(sc, sc->alc_expcap + PCIER_LINK_CTL); in alc_init_pcie()
|
/freebsd/sys/dev/re/ |
H A D | if_re.c | 1376 PCIER_LINK_CTL, 2); in re_attach() 1382 PCIER_LINK_CTL, ctl, 2); in re_attach()
|
/freebsd/sys/dev/wpi/ |
H A D | if_wpi.c | 3817 reg = pci_read_config(sc->sc_dev, sc->sc_cap_off + PCIER_LINK_CTL, 1); in wpi_set_pslevel() 5153 reg = pci_read_config(sc->sc_dev, sc->sc_cap_off + PCIER_LINK_CTL, 1); in wpi_apm_init()
|
/freebsd/sys/dev/iwn/ |
H A D | if_iwn.c | 6490 reg = pci_read_config(sc->sc_dev, sc->sc_cap_off + PCIER_LINK_CTL, 4); in iwn_set_pslevel() 8569 reg = pci_read_config(sc->sc_dev, sc->sc_cap_off + PCIER_LINK_CTL, 4); in iwn_apm_init()
|
/freebsd/sys/dev/e1000/ |
H A D | if_em.c | 4239 reg = base + PCIER_LINK_CTL; in em_disable_aspm()
|