diff --git a/en/device-dev/driver/driver-peripherals-audio-des.md b/en/device-dev/driver/driver-peripherals-audio-des.md index 150f968593e7e5bc2a3c713e66c5e71a967077a0..c9aea7010c127594d9151a48c1ed69b9b312da08 100644 --- a/en/device-dev/driver/driver-peripherals-audio-des.md +++ b/en/device-dev/driver/driver-peripherals-audio-des.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. } } } diff --git a/en/device-dev/kernel/Readme-EN.md b/en/device-dev/kernel/Readme-EN.md index 3e041a3f024fee6bdd88fe84f012d39e07ec8d27..d78692102287b1458f57c68fb78c380f21ae0fb3 100644 --- a/en/device-dev/kernel/Readme-EN.md +++ b/en/device-dev/kernel/Readme-EN.md @@ -1,6 +1,5 @@ # Kernel -- Kernel - [Kernel Overview](kernel-overview.md) - Mini-System Kernel (LiteOS-M) - [LiteOS-M Overview](kernel-mini-overview.md) diff --git a/en/device-dev/subsystems/Readme-EN.md b/en/device-dev/subsystems/Readme-EN.md index b523ddf6c05fe9da6f17719966cdf5b4e3c01675..996d167977dbd065df2c730b565bcfa7790cb3ba 100644 --- a/en/device-dev/subsystems/Readme-EN.md +++ b/en/device-dev/subsystems/Readme-EN.md @@ -24,6 +24,8 @@ - [Using Cargo2gn](subsys-build-cargo2gn-guide.md) - [FAQs](subsys-build-FAQ.md) - [ArkCompiler Development](subsys-arkcompiler-guide.md) +- Graphics + - [Graphics Overview](subsys-graphics-overview.md) - ArkUI - [Custom Window Title Bar Development](subsys-arkui-customize_titlebar.md) - Small-System Graphics