Lines Matching refs:codec
15 #include <intel-hda/codec-utils/codec-driver-base.h>
16 #include <intel-hda/codec-utils/stream-base.h>
75 // Allocate a dispatcher::Channel object which we will use to talk to the codec device
87 // could start to receive messages from the codec device immediately.
96 [codec = fbl::WrapRefPtr(this)](dispatcher::Channel* channel) -> zx_status_t {
97 OBTAIN_EXECUTION_DOMAIN_TOKEN(t, codec->default_domain_);
98 return codec->ProcessClientRequest(channel);
102 [codec = fbl::WrapRefPtr(this)](const dispatcher::Channel* channel) -> void {
103 OBTAIN_EXECUTION_DOMAIN_TOKEN(t, codec->default_domain_);
104 codec->ProcessClientDeactivate(channel);
117 auto codec = fbl::RefPtr<IntelHDACodecDriverBase>(this);
126 auto ddk_ref = codec;
135 LOG("Failed to add codec device for \"%s\" (res %d)\n", name, res);
139 codec->Shutdown();
140 codec.reset();
144 // Success! Now that we are started, stash a pointer to the codec device
158 DEBUG_LOG("Shutting down codec\n");
171 // Close the connection to our codec.
184 // Shut the codec down.
234 DEBUG_LOG("Received codec device response for inactive stream (id %u)\n",
251 // stream, otherwise give it to the codec.
274 DEBUG_LOG("Received unexpected response type (%u) for codec device!\n",
322 DEBUG_LOG("Received unexpected response type (%u) for codec stream device!\n",
398 // Grab a reference to the channel we use to talk to the codec device. If
409 // collision, then something is wrong with our codec driver implementation.