Home
last modified time | relevance | path

Searched refs:pci_cfgregread (Results 1 – 11 of 11) sorted by relevance

/dragonfly/sys/dev/agp/
H A Dagp_amd64.c50 extern uint32_t pci_cfgregread(int, int, int, int, int);
121 if (pci_cfgregread(0, 11, 0, PCIR_CLASS, 1) != PCIC_BRIDGE || in agp_amd64_nvidia_match()
123 pci_cfgregread(0, 11, 0, PCIR_VENDOR, 2) != 0x10de || in agp_amd64_nvidia_match()
124 pci_cfgregread(0, 11, 0, PCIR_DEVICE, 2) != devid) in agp_amd64_nvidia_match()
134 if (pci_cfgregread(0, 1, 0, PCIR_CLASS, 1) != PCIC_BRIDGE || in agp_amd64_via_match()
136 pci_cfgregread(0, 1, 0, PCIR_VENDOR, 2) != 0x1106 || in agp_amd64_via_match()
137 pci_cfgregread(0, 1, 0, PCIR_DEVICE, 2) != 0xb188 || in agp_amd64_via_match()
138 (pci_cfgregread(0, 1, 0, AGP_VIA_AGPSEL, 1) & 2)) in agp_amd64_via_match()
168 devid = pci_cfgregread(0, i, 3, 0, 4); in agp_amd64_attach()
255 pci_cfgregread(0, sc->mctrl[i], 3, AGP_AMD64_APCTRL, 4) & in agp_amd64_detach()
[all …]
/dragonfly/sys/bus/pci/x86_64/
H A Dpci_cfgreg.c105 vid = pci_cfgregread(0, 0, 0, PCIR_VENDOR, 2); in pci_cfgregopen()
106 did = pci_cfgregread(0, 0, 0, PCIR_DEVICE, 2); in pci_cfgregopen()
113 pciebar = pci_cfgregread(0, 0, 0, 0xce, 2) << 16; in pci_cfgregopen()
120 pciebar = pci_cfgregread(0, 0, 0, 0x48, 4); in pci_cfgregopen()
143 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) in pci_cfgregread() function
H A Dpci_cfgreg.h51 u_int32_t pci_cfgregread(int bus, int slot, int func, int reg, int bytes);
H A Dpci_bus.c65 return(pci_cfgregread(bus, slot, func, reg, bytes)); in legacy_pcib_read_config()
/dragonfly/sys/dev/misc/ecc/
H A Decc_x3400.c54 pci_cfgregread(PCIBUS_X3400UC, PCISLOT_X3400UC_MC, \
57 pci_cfgregread(PCIBUS_X3400UC, PCISLOT_X3400UC_MC, \
61 pci_cfgregread(PCIBUS_X3400UC, PCISLOT_X3400UC_MCT2, \
64 pci_cfgregread(PCIBUS_X3400UC, PCISLOT_X3400UC_MCT2, \
/dragonfly/sys/dev/acpica/Osd/
H A DOsdHardware.c104 *Value = pci_cfgregread(PciId->Bus, PciId->Device, in AcpiOsReadPciConfiguration()
/dragonfly/sys/dev/acpica/
H A Dacpi_pcib_acpi.c230 if (host_pcib_get_busno(pci_cfgregread, 0, slot, func, &busno) == 0) in acpi_pcib_acpi_attach()
314 return (pci_cfgregread(bus, slot, func, reg, bytes)); in acpi_pcib_read_config()
H A Dacpi_pci_link.c581 value = pci_cfgregread(bus, device, 0, PCIR_HDRTYPE, 1); in acpi_pci_link_search_irq()
591 value = pci_cfgregread(bus, device, func, PCIR_DEVVENDOR, 4); in acpi_pci_link_search_irq()
594 value = pci_cfgregread(bus, device, func, PCIR_INTPIN, 1); in acpi_pci_link_search_irq()
603 value = pci_cfgregread(bus, device, func, PCIR_INTLINE, 1); in acpi_pci_link_search_irq()
/dragonfly/sys/dev/raid/hpt27xx/
H A Dhpt27xx_os_bsd.c83 return (HPT_U8)pci_cfgregread(bus, dev, func, reg, 1); in pcicfg_read_byte()
87 return (HPT_U32)pci_cfgregread(bus, dev, func, reg, 4); in pcicfg_read_dword()
/dragonfly/sys/dev/misc/ipmi/
H A Dipmi_isa.c68 devid = pci_cfgregread(0, 4, 2, PCIR_DEVVENDOR, 4); in ipmi_isa_identify()
/dragonfly/sys/dev/powermng/amdtemp/
H A Damdtemp.c480 if ((pci_cfgregread(pci_get_bus(dev), in amdtemp_attach()