Searched refs:codec (Results 1 - 25 of 39) sorted by relevance

12

/fuchsia/zircon/system/dev/audio/intel-hda/codecs/qemu/
H A Dqemu-codec.h10 #include <intel-hda/codec-utils/codec-driver-base.h>
H A Dqemu-codec.cpp10 #include "qemu-codec.h"
40 zx_status_t res = Bind(codec_dev, "qemu-codec");
75 auto codec = QemuCodec::Create(); local
76 ZX_DEBUG_ASSERT(codec != nullptr);
78 // Init our codec.
79 return codec->Init(codec_dev);
H A Drules.mk15 $(LOCAL_DIR)/qemu-codec.cpp \
H A Dqemu-stream.h9 #include <intel-hda/codec-utils/stream-base.h>
/fuchsia/zircon/system/uapp/ihda/
H A Dihda.cpp62 printf("Failed to enumerate codec devices (%d)\n", res);
89 for (auto& codec : IntelHDACodec::codecs()) {
90 res = codec.Probe();
93 printf("Failed to probe codec at \"%s\" (res %d)\n",
94 codec.dev_name(), res);
99 codec.id(),
100 codec.vid(),
101 codec.did(),
102 codec.dev_name());
104 codec
[all...]
H A Dprint_codec_state.cpp540 static void ihda_dump_codec_fn_group(const CodecState& codec, uint32_t id) { argument
541 ZX_DEBUG_ASSERT(codec.fn_groups_ && (id < codec.fn_group_count_) && codec.fn_groups_[id]);
543 const auto& fn_group = *codec.fn_groups_[id];
545 printf("%sFunction Group %u/%u\n", pad, id + 1, codec.fn_group_count_);
558 const auto& afg = *reinterpret_cast<AudioFunctionGroupState*>(codec.fn_groups_[id].get());
618 void print_codec_state(const CodecState& codec) { argument
621 printf(FMT("0x%04hx:0x%04hx\n"), "VID/DID", codec.vendor_id_, codec
[all...]
H A Dintel_hda_codec.cpp14 extern void print_codec_state(const CodecState& codec);
387 // Parsers and command list for fetching info about core codec capabilities.
390 static zx_status_t ParseVendorID(CodecState& codec, const CodecResponse& resp) { argument
393 codec.vendor_id_ = static_cast<uint16_t>((resp.data >> 16) & 0xFFFF);
394 codec.device_id_ = static_cast<uint16_t>(resp.data & 0xFFFF);;
396 return (codec.vendor_id_ != 0) ? ZX_OK : ZX_ERR_INTERNAL;
399 static zx_status_t ParseRevisionID(CodecState& codec, const CodecResponse& resp) { argument
402 codec.major_rev_ = (resp.data >> 20) & 0xF;
403 codec.minor_rev_ = (resp.data >> 16) & 0xF;
404 codec
410 ParseFnGroupCount(CodecState& codec, const CodecResponse& resp) argument
[all...]
H A Dcodec_state_fetcher.h18 InitialCodecStateFetcher(IntelHDACodec& codec);
H A Dintel_hda_codec.h10 #include <intel-hda/utils/codec-commands.h>
/fuchsia/zircon/system/ulib/intel-hda/
H A Drules.mk14 $(LOCAL_DIR)/codec-utils/codec-driver-base.cpp \
15 $(LOCAL_DIR)/codec-utils/stream-base.cpp \
16 $(LOCAL_DIR)/utils/codec-caps.cpp \
/fuchsia/zircon/system/dev/audio/intel-hda/codecs/realtek/
H A Drealtek-codec.h10 #include <intel-hda/codec-utils/codec-driver-base.h>
H A Dutils.h7 #include <intel-hda/utils/codec-commands.h>
H A Drules.mk13 $(LOCAL_DIR)/realtek-codec.cpp \
/fuchsia/zircon/system/uapp/audio-codec/
H A Drules.mk12 MODULE_SRCS += $(LOCAL_DIR)/audio-codec.c
H A Daudio-codec.c9 #include <zircon/device/audio-codec.h>
/fuchsia/zircon/system/ulib/intel-hda/codec-utils/
H A Dcodec-driver-base.cpp15 #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
117 auto codec = fbl::RefPtr<IntelHDACodecDriverBase>(this); local
[all...]
/fuchsia/zircon/system/dev/audio/intel-hda/controller/
H A Drules.mk13 $(LOCAL_DIR)/codec-cmd-job.cpp \
15 $(LOCAL_DIR)/intel-hda-codec.cpp \
H A Dintel-hda-irq.cpp14 #include "intel-hda-codec.h"
73 // TODO(johngro) : Implement retry behavior for codec command and
83 // wedge a codec's command and control state machine.
93 // be a reasonable retry system at the codec driver level.
110 /* Figure out the codec this came from */
115 LOG(ERROR, "Received %ssolicited response with illegal codec address (%u) "
121 auto codec = GetCodec(caddr);
122 if (!codec) {
123 LOG(ERROR, "Received %ssolicited response for non-existent codec address (%u) "
143 "Received solicited response for codec addres
[all...]
H A Dintel-hda-codec.cpp11 #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 ha
[all...]
H A Dintel-hda-codec.h9 #include <ddk/protocol/intel-hda-codec.h>
21 #include <intel-hda/utils/codec-commands.h>
25 #include "codec-cmd-job.h"
54 // execute synchronously, which does not allow codec drivers any opportunity
106 // Thunks for interacting with clients and codec drivers.
H A Dcodec-cmd-job.h13 #include <intel-hda/utils/codec-commands.h>
/fuchsia/zircon/system/ulib/intel-hda/utils/
H A Dcodec-caps.cpp5 #include <intel-hda/utils/codec-caps.h>
36 // TODO(johngro) : Should we be doing specific bitstream/codec matching for
/fuchsia/zircon/system/dev/codec/alc5514/
H A Dalc5514.h9 #include <ddktl/protocol/audio-codec.h>
/fuchsia/zircon/system/dev/codec/max98927/
H A Dmax98927.h9 #include <ddktl/protocol/audio-codec.h>
/fuchsia/zircon/system/ulib/intel-hda/include/intel-hda/codec-utils/
H A Dcodec-driver-base.h9 #include <ddk/protocol/intel-hda-codec.h>
16 #include <intel-hda/utils/codec-commands.h>
56 // Send a codec command to our codec device.
100 // this call returns, the codec driver is guaranteed that no calls to any of

Completed in 104 milliseconds

12