class HdaCodecConnection
Defined at line 38 of file ../../src/media/audio/drivers/intel-hda/controller/hda-codec-connection.h
HdaCodecConnection manages a connection to a child codec driver.
Public Methods
uint8_t id ()
Defined at line 66 of file ../../src/media/audio/drivers/intel-hda/controller/hda-codec-connection.h
State state ()
Defined at line 67 of file ../../src/media/audio/drivers/intel-hda/controller/hda-codec-connection.h
const char * log_prefix ()
Defined at line 68 of file ../../src/media/audio/drivers/intel-hda/controller/hda-codec-connection.h
fbl::RefPtr<HdaCodecConnection> Create (IntelHDAController & controller, uint8_t codec_id)
Defined at line 69 of file ../../src/media/audio/drivers/intel-hda/controller/hda-codec-connection.cc
zx_status_t Startup ()
Defined at line 87 of file ../../src/media/audio/drivers/intel-hda/controller/hda-codec-connection.cc
void ProcessSolicitedResponse (const CodecResponse & resp, std::unique_ptr<CodecCmdJob> && job)
Defined at line 126 of file ../../src/media/audio/drivers/intel-hda/controller/hda-codec-connection.cc
void ProcessUnsolicitedResponse (const CodecResponse & resp)
Defined at line 155 of file ../../src/media/audio/drivers/intel-hda/controller/hda-codec-connection.cc
void ProcessWakeupEvt ()
Defined at line 168 of file ../../src/media/audio/drivers/intel-hda/controller/hda-codec-connection.cc
void Shutdown ()
TODO(johngro) : figure out shutdown... Currently, this expected to
execute synchronously, which does not allow codec drivers any opportunity
to perform a graceful shutdown.
OTOH - If our driver is being unloaded by the device manager, in theory,
it should have already unloaded all of the codecs, giving them a chances
to quiesce their hardware in the process.
Defined at line 181 of file ../../src/media/audio/drivers/intel-hda/controller/hda-codec-connection.cc
Enumerations
enum State
| Name | Value |
|---|---|
| PROBING | 0 |
| FINDING_DRIVER | 1 |
| OPERATING | 2 |
| SHUTTING_DOWN | 3 |
| SHUT_DOWN | 4 |
| FATAL_ERROR | 5 |
Defined at line 41 of file ../../src/media/audio/drivers/intel-hda/controller/hda-codec-connection.h
Friends
class RefPtr