| 1 |
|
| 2 |
|
| 3 |
#ifndef AMD_BLOCK_XHCI_H |
| 4 |
#define AMD_BLOCK_XHCI_H |
| 5 |
|
| 6 |
#include <cpu/x86/smm.h> |
| 7 |
#include <device/pci_type.h> |
| 8 |
#include <device/pci_def.h> |
| 9 |
#include <device/xhci.h> |
| 10 |
|
| 11 |
#include <types.h> |
| 12 |
|
| 13 |
#define XHCI_GEVENT GEVENT_31 |
| 14 |
|
| 15 |
#define SOC_XHCI_DEVICES {\ |
| 16 |
SOC_XHCI_0,\ |
| 17 |
SOC_XHCI_1,\ |
| 18 |
SOC_XHCI_2,\ |
| 19 |
SOC_XHCI_3,\ |
| 20 |
SOC_XHCI_4,\ |
| 21 |
SOC_XHCI_5,\ |
| 22 |
SOC_XHCI_6,\ |
| 23 |
SOC_XHCI_7,\ |
| 24 |
} |
| 25 |
|
| 26 |
void soc_xhci_store_resources(struct smm_pci_resource_info *slots, size_t count); |
| 27 |
void soc_xhci_log_wake_events(void); |
| 28 |
|
| 29 |
#endif |