Home
last modified time | relevance | path

Searched refs:PCIER_LINK_CTL (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/dev/bhnd/cores/pci/
H A Dbhnd_pci_hostb.c521 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 Dosdep.h127 #define PCI_EXP_LNKCTL PCIER_LINK_CTL
/freebsd/sys/dev/cxgb/
H A Dcxgb_osdep.h182 #define PCI_EXP_LNKCTL PCIER_LINK_CTL
/freebsd/sys/dev/rtwn/pci/
H A Drtwn_pci_attach.c648 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 Dif_iwm_pcie_trans.c448 lctl = pci_read_config(sc->sc_dev, pcie_ptr + PCIER_LINK_CTL, in iwm_apm_config()
/freebsd/usr.sbin/pciconf/
H A Dcap.c654 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 Dpci.h117 #define PCI_EXP_LNKCTL PCIER_LINK_CTL /* Link Control */
600 #define PCI_EXP_LNKCTL PCIER_LINK_CTL
/freebsd/sys/dev/sume/
H A Dif_sume.c624 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 Dpcireg.h845 #define PCIER_LINK_CTL 0x10 macro
H A Dpci.c6041 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 Drtsx.c894 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 Dif_alc.c1160 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 Dif_re.c1376 PCIER_LINK_CTL, 2); in re_attach()
1382 PCIER_LINK_CTL, ctl, 2); in re_attach()
/freebsd/sys/dev/wpi/
H A Dif_wpi.c3817 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 Dif_iwn.c6490 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 Dif_em.c4239 reg = base + PCIER_LINK_CTL; in em_disable_aspm()