pcie.h (0c7a8b9baa744ae4323bb46cb4fe942355beaa85) | pcie.h (727b48661f757678f7f42f557ddac072c5a49721) |
---|---|
1/* 2 * pcie.h 3 * 4 * Copyright (c) 2010 Isaku Yamahata <yamahata at valinux co jp> 5 * VA Linux Systems Japan K.K. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 112 unchanged lines hidden (view full) --- 121void pcie_cap_arifwd_reset(PCIDevice *dev); 122bool pcie_cap_is_arifwd_enabled(const PCIDevice *dev); 123 124/* PCI express extended capability helper functions */ 125uint16_t pcie_find_capability(PCIDevice *dev, uint16_t cap_id); 126void pcie_add_capability(PCIDevice *dev, 127 uint16_t cap_id, uint8_t cap_ver, 128 uint16_t offset, uint16_t size); | 1/* 2 * pcie.h 3 * 4 * Copyright (c) 2010 Isaku Yamahata <yamahata at valinux co jp> 5 * VA Linux Systems Japan K.K. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 112 unchanged lines hidden (view full) --- 121void pcie_cap_arifwd_reset(PCIDevice *dev); 122bool pcie_cap_is_arifwd_enabled(const PCIDevice *dev); 123 124/* PCI express extended capability helper functions */ 125uint16_t pcie_find_capability(PCIDevice *dev, uint16_t cap_id); 126void pcie_add_capability(PCIDevice *dev, 127 uint16_t cap_id, uint8_t cap_ver, 128 uint16_t offset, uint16_t size); |
129void pcie_sync_bridge_lnk(PCIDevice *dev); |
|
129 130void pcie_ari_init(PCIDevice *dev, uint16_t offset, uint16_t nextfn); 131void pcie_dev_ser_num_init(PCIDevice *dev, uint16_t offset, uint64_t ser_num); 132void pcie_ats_init(PCIDevice *dev, uint16_t offset); 133 134void pcie_cap_slot_hotplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, 135 Error **errp); 136void pcie_cap_slot_hot_unplug_request_cb(HotplugHandler *hotplug_dev, 137 DeviceState *dev, Error **errp); 138#endif /* QEMU_PCIE_H */ | 130 131void pcie_ari_init(PCIDevice *dev, uint16_t offset, uint16_t nextfn); 132void pcie_dev_ser_num_init(PCIDevice *dev, uint16_t offset, uint64_t ser_num); 133void pcie_ats_init(PCIDevice *dev, uint16_t offset); 134 135void pcie_cap_slot_hotplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, 136 Error **errp); 137void pcie_cap_slot_hot_unplug_request_cb(HotplugHandler *hotplug_dev, 138 DeviceState *dev, Error **errp); 139#endif /* QEMU_PCIE_H */ |