H A D | pci_cfgacc.c | 29 {(r).rcdip = (d); (r).bdf = (b); (r).offset = (o); \ 47 pci_cfgacc_get8(dev_info_t *rcdip, uint16_t bdf, uint16_t off) in pci_cfgacc_get8() argument 51 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 1, B_FALSE, 0); in pci_cfgacc_get8() 57 pci_cfgacc_put8(dev_info_t *rcdip, uint16_t bdf, uint16_t off, uint8_t data) in pci_cfgacc_put8() argument 61 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 1, B_TRUE, data); in pci_cfgacc_put8() 66 pci_cfgacc_get16(dev_info_t *rcdip, uint16_t bdf, uint16_t off) in pci_cfgacc_get16() argument 70 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 2, B_FALSE, 0); in pci_cfgacc_get16() 76 pci_cfgacc_put16(dev_info_t *rcdip, uint16_t bdf, uint16_t off, uint16_t data) in pci_cfgacc_put16() argument 80 PCI_CFGACC_FILLREQ(req, rcdip, bdf, off, 2, B_TRUE, data); in pci_cfgacc_put16() 85 pci_cfgacc_get32(dev_info_t *rcdip, uint16_t bdf, uint16_t off) in pci_cfgacc_get32() argument [all …]
|