class Controller
Defined at line 26 of file ../../src/devices/block/drivers/ahci/controller.h
Public Members
static const char[] kDriverName
Public Methods
void Controller (fdf::DriverStartArgs start_args, fdf::UnownedSynchronizedDispatcher dispatcher)
Defined at line 30 of file ../../src/devices/block/drivers/ahci/controller.h
void ~Controller ()
Defined at line 33 of file ../../src/devices/block/drivers/ahci/controller.h
void Controller (const Controller & )
Defined at line 35 of file ../../src/devices/block/drivers/ahci/controller.h
void Controller (Controller && )
Defined at line 35 of file ../../src/devices/block/drivers/ahci/controller.h
Controller & operator= (const Controller & )
Defined at line 35 of file ../../src/devices/block/drivers/ahci/controller.h
Controller & operator= (Controller && )
Defined at line 35 of file ../../src/devices/block/drivers/ahci/controller.h
zx::result<> Start ()
Defined at line 321 of file ../../src/devices/block/drivers/ahci/controller.cc
void PrepareStop (fdf::PrepareStopCompleter completer)
Defined at line 95 of file ../../src/devices/block/drivers/ahci/controller.cc
zx::result<std::unique_ptr<Bus>> CreateBus ()
Defined at line 304 of file ../../src/devices/block/drivers/ahci/controller.cc
uint32_t RegRead (size_t offset)
Read or write a 32-bit AHCI controller reg. Endinaness is corrected.
Defined at line 32 of file ../../src/devices/block/drivers/ahci/controller.cc
zx_status_t RegWrite (size_t offset, uint32_t val)
Defined at line 38 of file ../../src/devices/block/drivers/ahci/controller.cc
zx_status_t LaunchIrqAndWorkerDispatchers ()
Create irq and worker dispatchers.
Defined at line 243 of file ../../src/devices/block/drivers/ahci/controller.cc
void Shutdown ()
Release all resources.
Defined at line 279 of file ../../src/devices/block/drivers/ahci/controller.cc
zx_status_t HbaReset ()
Defined at line 56 of file ../../src/devices/block/drivers/ahci/controller.cc
void AhciEnable ()
Defined at line 42 of file ../../src/devices/block/drivers/ahci/controller.cc
void SignalWorker ()
Defined at line 59 of file ../../src/devices/block/drivers/ahci/controller.h
inspect::Inspector & inspect ()
Defined at line 61 of file ../../src/devices/block/drivers/ahci/controller.h
inspect::Node & inspect_node ()
Defined at line 62 of file ../../src/devices/block/drivers/ahci/controller.h
Bus * bus ()
Defined at line 64 of file ../../src/devices/block/drivers/ahci/controller.h
Port * port (uint32_t portnr)
Defined at line 65 of file ../../src/devices/block/drivers/ahci/controller.h
std::vector<std::unique_ptr<SataDevice>> & sata_devices ()
Defined at line 66 of file ../../src/devices/block/drivers/ahci/controller.h
fidl::WireSyncClient<fuchsia_driver_framework::Node> & root_node ()
Called by children device of this controller for invoking AddChild() or instantiating
compat::DeviceServer.
Defined at line 70 of file ../../src/devices/block/drivers/ahci/controller.h
std::string_view driver_name ()
Defined at line 71 of file ../../src/devices/block/drivers/ahci/controller.h
zx_status_t SetDevInfo (uint32_t portnr, SataDeviceInfo * devinfo)
Defined at line 71 of file ../../src/devices/block/drivers/ahci/controller.cc
const std::shared_ptr<fdf::Namespace> & driver_incoming ()
Defined at line 72 of file ../../src/devices/block/drivers/ahci/controller.h
std::shared_ptr<fdf::OutgoingDirectory> & driver_outgoing ()
Defined at line 73 of file ../../src/devices/block/drivers/ahci/controller.h
const std::optional<std::string> & driver_node_name ()
Defined at line 74 of file ../../src/devices/block/drivers/ahci/controller.h
void Queue (uint32_t portnr, SataTransaction * txn)
Defined at line 79 of file ../../src/devices/block/drivers/ahci/controller.cc