|
ReactOS 0.4.17-dev-1281-g065abb3
|
#include <slots.h>

Public Member Functions | |
| NTSTATUS | Create (_In_ XhciController *Controller) |
| NTSTATUS | Prepare () |
| VOID | Release () |
| VOID | Program () |
| VOID | D0Entry () |
| VOID | DisableAll () |
| _IRQL_requires_ (PASSIVE_LEVEL) VOID PreReset() | |
| _IRQL_requires_ (PASSIVE_LEVEL) VOID PostReset() | |
| VOID | OnHostLost () |
| _IRQL_requires_max_ (DISPATCH_LEVEL) NTSTATUS SetSlot(_In_ ULONG SlotId | |
| _IRQL_requires_max_ (DISPATCH_LEVEL) PVOID LookupSlot(_In_ ULONG SlotId) const | |
| VOID | OnTransferEvent (_In_ const XHCI_TRB *Event) |
| VOID | OnDeviceNotificationEvent (_In_ const XHCI_TRB *Event) |
| VOID | DiscardState () |
Public Attributes | |
| _In_ PVOID | Device |
| _In_ PVOID _In_ ULONG64 | OutputContextAddress |
Private Member Functions | |
| VOID | ZeroScratchpads () |
| VOID | FreeTables () |
| BOOLEAN | IsValidSlot (_In_ ULONG SlotId) const |
Private Attributes | |
| XhciController * | m_Controller |
| ULONG | m_SlotCount |
| ULONG | m_ScratchpadCount |
| XhciDmaBuffer * | m_Dcbaa |
| XhciDmaBuffer * | m_ScratchpadArray |
| LIST_ENTRY | m_ScratchpadPages |
| PVOID * | m_SlotMap |
| XhciSlotTable::_IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
| XhciSlotTable::_IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
| XhciSlotTable::_IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
Sets the DCBAA entry of a slot, or clears it for LogicalAddress 0; STATUS_ACCESS_DENIED if in use.
| XhciSlotTable::_IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) | const |
| NTSTATUS XhciSlotTable::Create | ( | _In_ XhciController * | Controller | ) |
Definition at line 17 of file slots.cpp.
Referenced by XhciController::Initialize().
| VOID XhciSlotTable::D0Entry | ( | ) |
Definition at line 161 of file slots.cpp.
Referenced by XhciController::RunD0Pass().
| VOID XhciSlotTable::DisableAll | ( | ) |
Definition at line 199 of file slots.cpp.
Referenced by XhciController::D0Entry(), and DiscardState().
| VOID XhciSlotTable::DiscardState | ( | ) |
State was lost: zero the scratchpad pages, then disable every slot (D0 entry cleanup).
Definition at line 183 of file slots.cpp.
Referenced by XhciController::D0Entry().
|
private |
Definition at line 104 of file slots.cpp.
Referenced by _IRQL_requires_().
Definition at line 63 of file slots.h.
Referenced by _IRQL_requires_max_(), DisableAll(), and OnHostLost().
Definition at line 334 of file slots.cpp.
| VOID XhciSlotTable::OnHostLost | ( | ) |
Definition at line 247 of file slots.cpp.
Referenced by XhciController::RunRecovery().
| NTSTATUS XhciSlotTable::Prepare | ( | ) |
Referenced by XhciController::PrepareHardware().
| VOID XhciSlotTable::Program | ( | ) |
Writes DCBAAP and CONFIG.MaxSlotsEn; the controller calls it before Run.
Definition at line 148 of file slots.cpp.
Referenced by D0Entry().
| VOID XhciSlotTable::Release | ( | ) |
Referenced by XhciController::ReleaseHardware().
|
private |
Definition at line 167 of file slots.cpp.
Referenced by DiscardState().
Definition at line 38 of file slots.h.
Referenced by _IRQL_requires_max_().
|
private |
Definition at line 69 of file slots.h.
Referenced by _IRQL_requires_(), _IRQL_requires_max_(), Create(), FreeTables(), and Program().
|
private |
Definition at line 72 of file slots.h.
Referenced by _IRQL_requires_(), _IRQL_requires_max_(), FreeTables(), and Program().
|
private |
Definition at line 73 of file slots.h.
Referenced by _IRQL_requires_(), and FreeTables().
|
private |
Definition at line 71 of file slots.h.
Referenced by _IRQL_requires_(), and FreeTables().
|
private |
Definition at line 74 of file slots.h.
Referenced by _IRQL_requires_(), Create(), FreeTables(), and ZeroScratchpads().
|
private |
Definition at line 70 of file slots.h.
Referenced by _IRQL_requires_(), FreeTables(), IsValidSlot(), OnHostLost(), and Program().
|
private |
Definition at line 75 of file slots.h.
Referenced by _IRQL_requires_(), _IRQL_requires_max_(), DisableAll(), FreeTables(), IsValidSlot(), and OnHostLost().
Definition at line 39 of file slots.h.
Referenced by _IRQL_requires_max_().