Searched refs:WREG (Results 1 – 1 of 1) sorted by relevance
| /NextBSD/sys/dev/pci/ |
| HD | pci.c | 700 #define WREG(n, v, w) PCIB_WRITE_CONFIG(pcib, cfg->bus, cfg->slot, cfg->func, n, v, w) in pci_read_cap() macro 850 WREG(cfg->ht.ht_msimap + PCIR_HT_COMMAND, cfg->ht.ht_msictrl, in pci_read_cap() 870 WREG(cfg->vpd.vpd_reg + PCIR_VPD_ADDR, reg, 2); in pci_read_vpd_reg() 890 WREG(cfg->vpd.vpd_reg + PCIR_VPD_DATA, data, 4); 891 WREG(cfg->vpd.vpd_reg + PCIR_VPD_ADDR, reg | 0x8000, 2); 1206 #undef WREG in pci_read_vpd() 5177 #define WREG(n, v) pci_write_config(dev, pos + (n), (v), 2) in pci_cfg_restore_pcie() macro 5186 WREG(PCIER_DEVICE_CTL, cfg->pcie_device_ctl); in pci_cfg_restore_pcie() 5191 WREG(PCIER_LINK_CTL, cfg->pcie_link_ctl); in pci_cfg_restore_pcie() 5196 WREG(PCIER_SLOT_CTL, cfg->pcie_slot_ctl); in pci_cfg_restore_pcie() [all …]
|