Lines Matching refs:codec

11 #include <intel-hda/utils/codec-commands.h>
14 #include "intel-hda-codec.h"
99 GLOBAL_LOG(ERROR, "Out of memory attempting to allocate codec\n");
119 LOG(ERROR, "Failed to allocate job during initial codec probe!\n");
125 LOG(ERROR, "Failed to queue job (res = %d) during initial codec probe!\n", res);
156 // waiting for responses from the codec to complete the initial probe.
166 "Error parsing solicited response during codec probe! (data %08x)\n",
183 // If we still have a channel to our codec driver, grab a reference to it
199 // 1) The codec had brought the controller out of a low power state for some
201 // 2) The codec has been hot-unplugged.
230 snprintf(name, sizeof(name), "intel-hda-codec-%03u", codec_id_);
246 LOG(ERROR, "Failed to add codec device for \"%s\" (res %d)\n", name, res);
283 [codec = fbl::WrapRefPtr(this)](dispatcher::Channel* channel) -> zx_status_t {
284 OBTAIN_EXECUTION_DOMAIN_TOKEN(t, codec->default_domain_);
285 return codec->ProcessClientRequest(channel, false);
383 // Return any DMA streams the codec driver had owned back to the controller.
460 // Success, send its ID and its tag back to the codec and add it to the
461 // set of active streams owned by this codec.
469 // Failure; tell the codec that we are out of streams.
489 // If the stream was not active, our codec driver is crazy. Hang up the
495 // our codec driver that things went well.
526 // If the stream was not active, our codec driver is crazy. Hang up the
544 // Send the channel back to the codec driver.
551 LOG(TRACE, "Failed to send stream channel back to codec driver (res %d)\n", res);
561 [codec = fbl::WrapRefPtr(this)](dispatcher::Channel* channel) -> zx_status_t {
562 OBTAIN_EXECUTION_DOMAIN_TOKEN(t, codec->default_domain_);
563 return codec->ProcessClientRequest(channel, true);
567 [codec = fbl::WrapRefPtr(this)](const dispatcher::Channel* channel) -> void {
568 OBTAIN_EXECUTION_DOMAIN_TOKEN(t, codec->default_domain_);
569 codec->ProcessClientDeactivate(channel);
572 // Enter the driver channel lock. If we have already connected to a codec