Searched refs:capoff (Results 1 – 4 of 4) sorted by relevance
| /devicemodel/include/ |
| A D | passthru.h | 22 int capoff; member 25 int capoff; member 28 int capoff; member
|
| A D | pci_core.h | 312 void msicap_cfgwrite(struct pci_vdev *pi, int capoff, int offset, 314 void msixcap_cfgwrite(struct pci_vdev *pi, int capoff, int offset,
|
| /devicemodel/hw/pci/ |
| A D | core.c | 943 int i, capoff, reallen; in pci_emul_add_capability() local 950 capoff = CAP_START_OFFSET; in pci_emul_add_capability() 952 capoff = dev->capend + 1; in pci_emul_add_capability() 970 pci_set_cfgdata8(dev, capoff + 1, 0); in pci_emul_add_capability() 972 dev->prevcap = capoff; in pci_emul_add_capability() 973 dev->capend = capoff + reallen - 1; in pci_emul_add_capability() 1288 off = offset - capoff; in msixcap_cfgwrite() 1391 uint8_t capoff, nextoff; in pci_emul_capwrite() local 1398 capoff = CAP_START_OFFSET; in pci_emul_capwrite() 1406 capoff = nextoff; in pci_emul_capwrite() [all …]
|
| A D | passthrough.c | 135 ptdev->msi.capoff = ptr; in cfginit_cap() 137 ptdev->msix.capoff = ptr; in cfginit_cap() 141 ptdev->pmcap.capoff = ptr; in cfginit_cap() 156 if (ptdev->pmcap.capoff != 0) { in passthru_set_power_state() 158 ptdev->pmcap.capoff + PCIR_POWER_STATUS, 2); in passthru_set_power_state() 162 ptdev->pmcap.capoff + PCIR_POWER_STATUS, 2, val); in passthru_set_power_state() 424 if (ptdev->msi.capoff == 0 && ptdev->msix.capoff == 0) { in cfginit()
|
Completed in 12 milliseconds