class Alc5663Device
Defined at line 27 of file ../../src/media/audio/drivers/codecs/alc5663/alc5663.h
Public Methods
void ~Alc5663Device ()
Defined at line 31 of file ../../src/media/audio/drivers/codecs/alc5663/alc5663.h
void Alc5663Device (zx_device_t * parent, ddk::I2cChannel channel)
Create a new device. Caller retains ownership of raw pointer arguments.
Defined at line 285 of file ../../src/media/audio/drivers/codecs/alc5663/alc5663.cc
zx_status_t Bind (zx_device_t * parent, Alc5663Device ** created_device)
Create a new Alc5663Device object, and bind it to the given parent.
The parent should expose an I2C protocol communicating with ALC5663 codec
hardware.
On success, an unowned pointer to the created device will be returned in
|created_device|. Ownership of the pointer remains with the DDK.
Defined at line 398 of file ../../src/media/audio/drivers/codecs/alc5663/alc5663.cc
zx_status_t AddChildToParent (std::unique_ptr<Alc5663Device> device)
Add a created ALC5663 to its parent.
The DDK gains ownership of the device until DdkRelease() is called.
Defined at line 386 of file ../../src/media/audio/drivers/codecs/alc5663/alc5663.cc
zx_status_t InitializeDevice ()
Initialise the hardware.
Defined at line 288 of file ../../src/media/audio/drivers/codecs/alc5663/alc5663.cc
void Shutdown ()
Shutdown the hardware.
Defined at line 374 of file ../../src/media/audio/drivers/codecs/alc5663/alc5663.cc
void DdkRelease ()
Defined at line 384 of file ../../src/media/audio/drivers/codecs/alc5663/alc5663.cc