Lines Matching refs:pci_devinst
90 struct pci_devinst *fi_devi;
125 struct pci_devinst *pdi;
136 struct pci_devinst *pdi;
160 static void pci_lintr_route(struct pci_devinst *pi);
161 static void pci_lintr_update(struct pci_devinst *pi);
166 CFGWRITE(struct pci_devinst *pi, int coff, uint32_t val, int bytes) in CFGWRITE()
178 CFGREAD(struct pci_devinst *pi, int coff, int bytes) in CFGREAD()
398 pci_valid_pba_offset(struct pci_devinst *pi, uint64_t offset) in pci_valid_pba_offset()
412 pci_emul_msix_twrite(struct pci_devinst *pi, uint64_t offset, int size, in pci_emul_msix_twrite()
448 pci_emul_msix_tread(struct pci_devinst *pi, uint64_t offset, int size) in pci_emul_msix_tread()
492 pci_msix_table_bar(struct pci_devinst *pi) in pci_msix_table_bar()
502 pci_msix_pba_bar(struct pci_devinst *pi) in pci_msix_pba_bar()
515 struct pci_devinst *pdi = arg; in pci_emul_io_handler()
544 struct pci_devinst *pdi = arg1; in pci_emul_mem_handler()
606 modify_bar_registration(struct pci_devinst *pi, int idx, int registration) in modify_bar_registration()
657 unregister_bar(struct pci_devinst *pi, int idx) in unregister_bar()
664 register_bar(struct pci_devinst *pi, int idx) in register_bar()
672 romen(struct pci_devinst *pi) in romen()
680 porten(struct pci_devinst *pi) in porten()
691 memen(struct pci_devinst *pi) in memen()
707 update_bar_address(struct pci_devinst *pi, uint64_t addr, int idx, int type) in update_bar_address()
741 pci_emul_alloc_bar(struct pci_devinst *pdi, int idx, enum pcibar_type type, in pci_emul_alloc_bar()
846 pci_emul_assign_bar(struct pci_devinst *const pdi, const int idx, in pci_emul_assign_bar()
956 pci_emul_alloc_rom(struct pci_devinst *const pdi, const uint64_t size, in pci_emul_alloc_rom()
1004 pci_emul_add_boot_device(struct pci_devinst *pi, int bootindex) in pci_emul_add_boot_device()
1044 pci_emul_add_capability(struct pci_devinst *pi, u_char *capdata, int caplen) in pci_emul_add_capability()
1101 struct pci_devinst *pdi; in pci_emul_init()
1104 pdi = calloc(1, sizeof(struct pci_devinst)); in pci_emul_init()
1156 pci_emul_add_msicap(struct pci_devinst *pi, int msgnum) in pci_emul_add_msicap()
1192 pci_msix_table_init(struct pci_devinst *pi, int table_entries) in pci_msix_table_init()
1208 pci_emul_add_msixcap(struct pci_devinst *pi, int msgnum, int barnum) in pci_emul_add_msixcap()
1241 msixcap_cfgwrite(struct pci_devinst *pi, int capoff, int offset, in msixcap_cfgwrite()
1265 msicap_cfgwrite(struct pci_devinst *pi, int capoff, int offset, in msicap_cfgwrite()
1304 pciecap_cfgwrite(struct pci_devinst *pi, int capoff __unused, int offset, in pciecap_cfgwrite()
1314 pci_emul_add_pciecap(struct pci_devinst *pi, int type) in pci_emul_add_pciecap()
1347 pci_emul_capwrite(struct pci_devinst *pi, int offset, int bytes, uint32_t val, in pci_emul_capwrite()
1403 pci_emul_iscap(struct pci_devinst *pi, int offset) in pci_emul_iscap()
1699 struct pci_devinst *pi; in pci_bus_write_dsdt()
1870 pci_msi_enabled(struct pci_devinst *pi) in pci_msi_enabled()
1876 pci_msi_maxmsgnum(struct pci_devinst *pi) in pci_msi_maxmsgnum()
1885 pci_msix_enabled(struct pci_devinst *pi) in pci_msix_enabled()
1892 pci_generate_msix(struct pci_devinst *pi, int index) in pci_generate_msix()
1913 pci_generate_msi(struct pci_devinst *pi, int index) in pci_generate_msi()
1923 pci_lintr_permitted(struct pci_devinst *pi) in pci_lintr_permitted()
1933 pci_lintr_request(struct pci_devinst *pi) in pci_lintr_request()
1962 pci_lintr_route(struct pci_devinst *pi) in pci_lintr_route()
1996 pci_lintr_assert(struct pci_devinst *pi) in pci_lintr_assert()
2013 pci_lintr_deassert(struct pci_devinst *pi) in pci_lintr_deassert()
2028 pci_lintr_update(struct pci_devinst *pi) in pci_lintr_update()
2145 pci_emul_cmd_changed(struct pci_devinst *pi, uint16_t old) in pci_emul_cmd_changed()
2199 pci_emul_cmdsts_write(struct pci_devinst *pi, int coff, uint32_t new, int bytes) in pci_emul_cmdsts_write()
2230 struct pci_devinst *pi; in pci_cfgrw()
2458 pci_emul_dinit(struct pci_devinst *pi, nvlist_t *nvl __unused) in pci_emul_dinit()
2487 pci_emul_diow(struct pci_devinst *pi, int baridx, uint64_t offset, int size, in pci_emul_diow()
2554 pci_emul_dior(struct pci_devinst *pi, int baridx, uint64_t offset, int size) in pci_emul_dior()