提交 d48919ab 编写于 作者: A Annie_wang

update docs

Signed-off-by: NAnnie_wang <annie.wangli@huawei.com>
上级 d81fe00c
......@@ -34,7 +34,6 @@
- [Kernel for the Standard System](kernel/kernel-standard-overview.md)
- [Driver](driver/Readme-EN.md)
- [Compilation and Building](subsystems/subsys-build-all.md)
- [Distributed Remote Startup](subsystems/subsys-remote-start.md)
- [Graphics](subsystems/subsys-graphics-overview.md)
- [Multimedia](subsystems/subsys-multimedia-camera-overview.md)
- [Utils](subsystems/subsys-utils-guide.md)
......
......@@ -192,8 +192,8 @@ struct AudioDaiOps g_codecDaiDeviceOps = {
};
struct DaiData g_codecDaiData = {
.DaiInit = CodecDaiDeviceInit, // Initialize the codec DAI device (need to be implemented for a new platform).
.ops = &g_codecDaiDeviceOps, // Codec DAI device operation function set.
.DaiInit = CodecDaiDeviceInit,// Initialize the codec DAI device (need to be implemented for a new platform).
.ops = &g_codecDaiDeviceOps, // Codec DAI device operation function set.
};
```
......@@ -378,13 +378,13 @@ The code snippet is as follows:
audio :: host {
device_codec :: device {
device0 :: deviceNode {
policy = 1; // The codec module provides services only for the kernel.
priority = 50; // The codec module must be loaded before the load of the HDF_AUDIO module.
policy = 1; // The codec module provides services only for the kernel.
priority = 50; // The codec module must be loaded before the load of the HDF_AUDIO module.
preload = 0;
permission = 0666;
moduleName = "CODEC_HI3516"; // The value must be the same as moduleName in HdfDriverEntry.
serviceName = "codec_service_0"; // Name of the service provided externally.
deviceMatchAttr = "hdf_codec_driver"; // Name of the private attribute, which is used to match the corresponding private data (including the register configuration).
moduleName = "CODEC_HI3516"; // The value must be the same as moduleName in HdfDriverEntry.
serviceName = "codec_service_0"; // Name of the service provided externally.
deviceMatchAttr = "hdf_codec_driver"; // Name of the private attribute, which is used to match the corresponding private data (including the register configuration).
}
}
```
......@@ -403,12 +403,12 @@ root {
// Set the private data attribute name, which must be the same as the deviceMatchAttr in device_info.hcs.
match_attr = "hdf_audio_driver_1";
serviceName = "hdf_audio_codec_primary_dev11"; // Name of the service provided externally.
codecName = "codec_service_1"; // Codec service name.
platformName = "dma_service_0"; // DMA service.
cpuDaiName = "dai_service"; // CPU DAI service.
codecDaiName = "tfa9879_codec_dai"; // Codec DAI service.
dspName = "dsp_service_0"; // DSP service name.
dspDaiName = "dsp_dai"; // DSP DAI.
codecName = "codec_service_1"; // Codec service name.
platformName = "dma_service_0"; // DMA service.
cpuDaiName = "dai_service"; // CPU DAI service.
codecDaiName = "tfa9879_codec_dai"; // Codec DAI service.
dspName = "dsp_service_0"; // DSP service name.
dspDaiName = "dsp_dai"; // DSP DAI.
}
}
}
......
# Kernel
- Kernel
- [Kernel Overview](kernel-overview.md)
- Mini-System Kernel (LiteOS-M)
- [LiteOS-M Overview](kernel-mini-overview.md)
......
......@@ -24,7 +24,6 @@
- [Using Cargo2gn](subsys-build-cargo2gn-guide.md)
- [FAQs](subsys-build-FAQ.md)
- [ArkCompiler Development](subsys-arkcompiler-guide.md)
- [Distributed Remote Startup](subsys-remote-start.md)
- Graphics
- [Graphics Overview](subsys-graphics-overview.md)
- [Common Component Development](subsys-graphics-common-guide.md)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册