class Controller

Defined at line 27 of file ../../src/devices/block/drivers/ahci/controller.h

Public Members

static const char[] kDriverName

Public Methods

void Controller ()

Defined at line 31 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 (fdf::DriverContext context)

Defined at line 351 of file ../../src/devices/block/drivers/ahci/controller.cc

void Stop (fdf::StopCompleter completer)

Defined at line 108 of file ../../src/devices/block/drivers/ahci/controller.cc

zx::result<std::unique_ptr<Bus>> CreateBus ()

Defined at line 334 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 34 of file ../../src/devices/block/drivers/ahci/controller.cc

zx_status_t RegWrite (size_t offset, uint32_t val)

Defined at line 40 of file ../../src/devices/block/drivers/ahci/controller.cc

zx_status_t LaunchIrqAndWorkerDispatchers ()

Create irq and worker dispatchers.

Defined at line 274 of file ../../src/devices/block/drivers/ahci/controller.cc

void Shutdown ()

Release all resources.

Defined at line 309 of file ../../src/devices/block/drivers/ahci/controller.cc

zx_status_t HbaReset ()

Defined at line 58 of file ../../src/devices/block/drivers/ahci/controller.cc

void AhciEnable ()

Defined at line 44 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

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

zx_status_t SetDevInfo (uint32_t portnr, SataDeviceInfo * devinfo)

Defined at line 73 of file ../../src/devices/block/drivers/ahci/controller.cc

const std::optional<std::string> & driver_node_name ()

Defined at line 74 of file ../../src/devices/block/drivers/ahci/controller.h

zx::event node_token ()

Defined at line 76 of file ../../src/devices/block/drivers/ahci/controller.h

void Queue (uint32_t portnr, SataTransaction * txn)

Defined at line 81 of file ../../src/devices/block/drivers/ahci/controller.cc