pcie.h (2841ab435bca9f102311e01bf157d5fa878935dc) pcie.h (d85d65cc297fa85b7b2db3b9025c6341d6986d7e)
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

--- 94 unchanged lines hidden (view full) ---

103void pcie_cap_deverr_reset(PCIDevice *dev);
104
105void pcie_cap_lnkctl_init(PCIDevice *dev);
106void pcie_cap_lnkctl_reset(PCIDevice *dev);
107
108void pcie_cap_slot_init(PCIDevice *dev, uint16_t slot);
109void pcie_cap_slot_reset(PCIDevice *dev);
110void pcie_cap_slot_get(PCIDevice *dev, uint16_t *slot_ctl, uint16_t *slt_sta);
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

--- 94 unchanged lines hidden (view full) ---

103void pcie_cap_deverr_reset(PCIDevice *dev);
104
105void pcie_cap_lnkctl_init(PCIDevice *dev);
106void pcie_cap_lnkctl_reset(PCIDevice *dev);
107
108void pcie_cap_slot_init(PCIDevice *dev, uint16_t slot);
109void pcie_cap_slot_reset(PCIDevice *dev);
110void pcie_cap_slot_get(PCIDevice *dev, uint16_t *slot_ctl, uint16_t *slt_sta);
111void pcie_cap_slot_write_config(PCIDevice *dev, uint16_t slot_ctl, uint16_t slt_sta,
111void pcie_cap_slot_write_config(PCIDevice *dev,
112 uint16_t old_slot_ctl, uint16_t old_slt_sta,
112 uint32_t addr, uint32_t val, int len);
113int pcie_cap_slot_post_load(void *opaque, int version_id);
114void pcie_cap_slot_push_attention_button(PCIDevice *dev);
115
116void pcie_cap_root_init(PCIDevice *dev);
117void pcie_cap_root_reset(PCIDevice *dev);
118
119void pcie_cap_flr_init(PCIDevice *dev);

--- 31 unchanged lines hidden ---
113 uint32_t addr, uint32_t val, int len);
114int pcie_cap_slot_post_load(void *opaque, int version_id);
115void pcie_cap_slot_push_attention_button(PCIDevice *dev);
116
117void pcie_cap_root_init(PCIDevice *dev);
118void pcie_cap_root_reset(PCIDevice *dev);
119
120void pcie_cap_flr_init(PCIDevice *dev);

--- 31 unchanged lines hidden ---