| H A D | pci_emul.c | 163 static void pci_cfgrw(int in, int bus, int slot, int func, int coff, 167 CFGWRITE(struct pci_devinst *pi, int coff, uint32_t val, int bytes) in CFGWRITE() argument 171 pci_set_cfgdata8(pi, coff, val); in CFGWRITE() 173 pci_set_cfgdata16(pi, coff, val); in CFGWRITE() 175 pci_set_cfgdata32(pi, coff, val); in CFGWRITE() 179 CFGREAD(struct pci_devinst *pi, int coff, int bytes) in CFGREAD() argument 183 return (pci_get_cfgdata8(pi, coff)); in CFGREAD() 185 return (pci_get_cfgdata16(pi, coff)); in CFGREAD() 187 return (pci_get_cfgdata32(pi, coff)); in CFGREAD() 191 is_pcir_bar(int coff) in is_pcir_bar() argument 197 is_pcir_bios(int coff) is_pcir_bios() argument 1481 int bus, slot, func, coff, in; pci_emul_ecfg_handler() local 2247 pci_emul_cmdsts_write(struct pci_devinst * pi,int coff,uint32_t new,int bytes) pci_emul_cmdsts_write() argument 2273 pci_cfgrw(int in,int bus,int slot,int func,int coff,int bytes,uint32_t * valp) pci_cfgrw() argument 2475 int coff; pci_emul_cfgdata() local [all...] |