Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/sound/sof
File: tokens.h
/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
[0] Fix | Delete
/*
[1] Fix | Delete
* This file is provided under a dual BSD/GPLv2 license. When using or
[2] Fix | Delete
* redistributing this file, you may do so under either license.
[3] Fix | Delete
*
[4] Fix | Delete
* Copyright(c) 2018 Intel Corporation. All rights reserved.
[5] Fix | Delete
* Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
[6] Fix | Delete
* Keyon Jie <yang.jie@linux.intel.com>
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
/*
[10] Fix | Delete
* Topology IDs and tokens.
[11] Fix | Delete
*
[12] Fix | Delete
* ** MUST BE ALIGNED WITH TOPOLOGY CONFIGURATION TOKEN VALUES **
[13] Fix | Delete
*/
[14] Fix | Delete
[15] Fix | Delete
#ifndef __INCLUDE_UAPI_SOF_TOPOLOGY_H__
[16] Fix | Delete
#define __INCLUDE_UAPI_SOF_TOPOLOGY_H__
[17] Fix | Delete
[18] Fix | Delete
/*
[19] Fix | Delete
* Kcontrol IDs
[20] Fix | Delete
*/
[21] Fix | Delete
#define SOF_TPLG_KCTL_VOL_ID 256
[22] Fix | Delete
#define SOF_TPLG_KCTL_ENUM_ID 257
[23] Fix | Delete
#define SOF_TPLG_KCTL_BYTES_ID 258
[24] Fix | Delete
#define SOF_TPLG_KCTL_SWITCH_ID 259
[25] Fix | Delete
#define SOF_TPLG_KCTL_BYTES_VOLATILE_RO 260
[26] Fix | Delete
#define SOF_TPLG_KCTL_BYTES_VOLATILE_RW 261
[27] Fix | Delete
#define SOF_TPLG_KCTL_BYTES_WO_ID 262
[28] Fix | Delete
[29] Fix | Delete
/*
[30] Fix | Delete
* Tokens - must match values in topology configurations
[31] Fix | Delete
*/
[32] Fix | Delete
[33] Fix | Delete
/* buffers */
[34] Fix | Delete
#define SOF_TKN_BUF_SIZE 100
[35] Fix | Delete
#define SOF_TKN_BUF_CAPS 101
[36] Fix | Delete
[37] Fix | Delete
/* DAI */
[38] Fix | Delete
/* Token retired with ABI 3.2, do not use for new capabilities
[39] Fix | Delete
* #define SOF_TKN_DAI_DMAC_CONFIG 153
[40] Fix | Delete
*/
[41] Fix | Delete
#define SOF_TKN_DAI_TYPE 154
[42] Fix | Delete
#define SOF_TKN_DAI_INDEX 155
[43] Fix | Delete
#define SOF_TKN_DAI_DIRECTION 156
[44] Fix | Delete
[45] Fix | Delete
/* scheduling */
[46] Fix | Delete
#define SOF_TKN_SCHED_PERIOD 200
[47] Fix | Delete
#define SOF_TKN_SCHED_PRIORITY 201
[48] Fix | Delete
#define SOF_TKN_SCHED_MIPS 202
[49] Fix | Delete
#define SOF_TKN_SCHED_CORE 203
[50] Fix | Delete
#define SOF_TKN_SCHED_FRAMES 204
[51] Fix | Delete
#define SOF_TKN_SCHED_TIME_DOMAIN 205
[52] Fix | Delete
#define SOF_TKN_SCHED_DYNAMIC_PIPELINE 206
[53] Fix | Delete
#define SOF_TKN_SCHED_LP_MODE 207
[54] Fix | Delete
#define SOF_TKN_SCHED_MEM_USAGE 208
[55] Fix | Delete
#define SOF_TKN_SCHED_USE_CHAIN_DMA 209
[56] Fix | Delete
[57] Fix | Delete
/* volume */
[58] Fix | Delete
#define SOF_TKN_VOLUME_RAMP_STEP_TYPE 250
[59] Fix | Delete
#define SOF_TKN_VOLUME_RAMP_STEP_MS 251
[60] Fix | Delete
[61] Fix | Delete
#define SOF_TKN_GAIN_RAMP_TYPE 260
[62] Fix | Delete
#define SOF_TKN_GAIN_RAMP_DURATION 261
[63] Fix | Delete
#define SOF_TKN_GAIN_VAL 262
[64] Fix | Delete
[65] Fix | Delete
/* SRC */
[66] Fix | Delete
#define SOF_TKN_SRC_RATE_IN 300
[67] Fix | Delete
#define SOF_TKN_SRC_RATE_OUT 301
[68] Fix | Delete
[69] Fix | Delete
/* ASRC */
[70] Fix | Delete
#define SOF_TKN_ASRC_RATE_IN 320
[71] Fix | Delete
#define SOF_TKN_ASRC_RATE_OUT 321
[72] Fix | Delete
#define SOF_TKN_ASRC_ASYNCHRONOUS_MODE 322
[73] Fix | Delete
#define SOF_TKN_ASRC_OPERATION_MODE 323
[74] Fix | Delete
[75] Fix | Delete
/* PCM */
[76] Fix | Delete
#define SOF_TKN_PCM_DMAC_CONFIG 353
[77] Fix | Delete
[78] Fix | Delete
/* Generic components */
[79] Fix | Delete
#define SOF_TKN_COMP_PERIOD_SINK_COUNT 400
[80] Fix | Delete
#define SOF_TKN_COMP_PERIOD_SOURCE_COUNT 401
[81] Fix | Delete
#define SOF_TKN_COMP_FORMAT 402
[82] Fix | Delete
/* Token retired with ABI 3.2, do not use for new capabilities
[83] Fix | Delete
* #define SOF_TKN_COMP_PRELOAD_COUNT 403
[84] Fix | Delete
*/
[85] Fix | Delete
#define SOF_TKN_COMP_CORE_ID 404
[86] Fix | Delete
#define SOF_TKN_COMP_UUID 405
[87] Fix | Delete
#define SOF_TKN_COMP_CPC 406
[88] Fix | Delete
#define SOF_TKN_COMP_IS_PAGES 409
[89] Fix | Delete
#define SOF_TKN_COMP_NUM_AUDIO_FORMATS 410
[90] Fix | Delete
#define SOF_TKN_COMP_NUM_INPUT_PINS 411
[91] Fix | Delete
#define SOF_TKN_COMP_NUM_OUTPUT_PINS 412
[92] Fix | Delete
/*
[93] Fix | Delete
* The token for input/output pin binding, it specifies the widget
[94] Fix | Delete
* name that the input/output pin is connected from/to.
[95] Fix | Delete
*/
[96] Fix | Delete
#define SOF_TKN_COMP_INPUT_PIN_BINDING_WNAME 413
[97] Fix | Delete
#define SOF_TKN_COMP_OUTPUT_PIN_BINDING_WNAME 414
[98] Fix | Delete
#define SOF_TKN_COMP_NUM_INPUT_AUDIO_FORMATS 415
[99] Fix | Delete
#define SOF_TKN_COMP_NUM_OUTPUT_AUDIO_FORMATS 416
[100] Fix | Delete
/*
[101] Fix | Delete
* The token value is copied to the dapm_widget's
[102] Fix | Delete
* no_wname_in_kcontrol_name.
[103] Fix | Delete
*/
[104] Fix | Delete
#define SOF_TKN_COMP_NO_WNAME_IN_KCONTROL_NAME 417
[105] Fix | Delete
[106] Fix | Delete
/* SSP */
[107] Fix | Delete
#define SOF_TKN_INTEL_SSP_CLKS_CONTROL 500
[108] Fix | Delete
#define SOF_TKN_INTEL_SSP_MCLK_ID 501
[109] Fix | Delete
#define SOF_TKN_INTEL_SSP_SAMPLE_BITS 502
[110] Fix | Delete
#define SOF_TKN_INTEL_SSP_FRAME_PULSE_WIDTH 503
[111] Fix | Delete
#define SOF_TKN_INTEL_SSP_QUIRKS 504
[112] Fix | Delete
#define SOF_TKN_INTEL_SSP_TDM_PADDING_PER_SLOT 505
[113] Fix | Delete
#define SOF_TKN_INTEL_SSP_BCLK_DELAY 506
[114] Fix | Delete
[115] Fix | Delete
/* DMIC */
[116] Fix | Delete
#define SOF_TKN_INTEL_DMIC_DRIVER_VERSION 600
[117] Fix | Delete
#define SOF_TKN_INTEL_DMIC_CLK_MIN 601
[118] Fix | Delete
#define SOF_TKN_INTEL_DMIC_CLK_MAX 602
[119] Fix | Delete
#define SOF_TKN_INTEL_DMIC_DUTY_MIN 603
[120] Fix | Delete
#define SOF_TKN_INTEL_DMIC_DUTY_MAX 604
[121] Fix | Delete
#define SOF_TKN_INTEL_DMIC_NUM_PDM_ACTIVE 605
[122] Fix | Delete
#define SOF_TKN_INTEL_DMIC_SAMPLE_RATE 608
[123] Fix | Delete
#define SOF_TKN_INTEL_DMIC_FIFO_WORD_LENGTH 609
[124] Fix | Delete
#define SOF_TKN_INTEL_DMIC_UNMUTE_RAMP_TIME_MS 610
[125] Fix | Delete
[126] Fix | Delete
/* DMIC PDM */
[127] Fix | Delete
#define SOF_TKN_INTEL_DMIC_PDM_CTRL_ID 700
[128] Fix | Delete
#define SOF_TKN_INTEL_DMIC_PDM_MIC_A_Enable 701
[129] Fix | Delete
#define SOF_TKN_INTEL_DMIC_PDM_MIC_B_Enable 702
[130] Fix | Delete
#define SOF_TKN_INTEL_DMIC_PDM_POLARITY_A 703
[131] Fix | Delete
#define SOF_TKN_INTEL_DMIC_PDM_POLARITY_B 704
[132] Fix | Delete
#define SOF_TKN_INTEL_DMIC_PDM_CLK_EDGE 705
[133] Fix | Delete
#define SOF_TKN_INTEL_DMIC_PDM_SKEW 706
[134] Fix | Delete
[135] Fix | Delete
/* Tone */
[136] Fix | Delete
#define SOF_TKN_TONE_SAMPLE_RATE 800
[137] Fix | Delete
[138] Fix | Delete
/* Processing Components */
[139] Fix | Delete
#define SOF_TKN_PROCESS_TYPE 900
[140] Fix | Delete
[141] Fix | Delete
/* for backward compatibility */
[142] Fix | Delete
#define SOF_TKN_EFFECT_TYPE SOF_TKN_PROCESS_TYPE
[143] Fix | Delete
[144] Fix | Delete
/* SAI */
[145] Fix | Delete
#define SOF_TKN_IMX_SAI_MCLK_ID 1000
[146] Fix | Delete
[147] Fix | Delete
/* ESAI */
[148] Fix | Delete
#define SOF_TKN_IMX_ESAI_MCLK_ID 1100
[149] Fix | Delete
[150] Fix | Delete
/* Stream */
[151] Fix | Delete
#define SOF_TKN_STREAM_PLAYBACK_COMPATIBLE_D0I3 1200
[152] Fix | Delete
#define SOF_TKN_STREAM_CAPTURE_COMPATIBLE_D0I3 1201
[153] Fix | Delete
[154] Fix | Delete
/* Led control for mute switches */
[155] Fix | Delete
#define SOF_TKN_MUTE_LED_USE 1300
[156] Fix | Delete
#define SOF_TKN_MUTE_LED_DIRECTION 1301
[157] Fix | Delete
[158] Fix | Delete
/* ALH */
[159] Fix | Delete
#define SOF_TKN_INTEL_ALH_RATE 1400
[160] Fix | Delete
#define SOF_TKN_INTEL_ALH_CH 1401
[161] Fix | Delete
[162] Fix | Delete
/* HDA */
[163] Fix | Delete
#define SOF_TKN_INTEL_HDA_RATE 1500
[164] Fix | Delete
#define SOF_TKN_INTEL_HDA_CH 1501
[165] Fix | Delete
[166] Fix | Delete
/* AFE */
[167] Fix | Delete
#define SOF_TKN_MEDIATEK_AFE_RATE 1600
[168] Fix | Delete
#define SOF_TKN_MEDIATEK_AFE_CH 1601
[169] Fix | Delete
#define SOF_TKN_MEDIATEK_AFE_FORMAT 1602
[170] Fix | Delete
[171] Fix | Delete
/* MIXER */
[172] Fix | Delete
#define SOF_TKN_MIXER_TYPE 1700
[173] Fix | Delete
[174] Fix | Delete
/* ACPDMIC */
[175] Fix | Delete
#define SOF_TKN_AMD_ACPDMIC_RATE 1800
[176] Fix | Delete
#define SOF_TKN_AMD_ACPDMIC_CH 1801
[177] Fix | Delete
[178] Fix | Delete
/* CAVS AUDIO FORMAT */
[179] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_RATE 1900
[180] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_BIT_DEPTH 1901
[181] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_VALID_BIT_DEPTH 1902
[182] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CHANNELS 1903
[183] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CH_MAP 1904
[184] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_CH_CFG 1905
[185] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_INTERLEAVING_STYLE 1906
[186] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_FMT_CFG 1907
[187] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_IN_SAMPLE_TYPE 1908
[188] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_INPUT_PIN_INDEX 1909
[189] Fix | Delete
/* intentional token numbering discontinuity, reserved for future use */
[190] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_RATE 1930
[191] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_BIT_DEPTH 1931
[192] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_VALID_BIT_DEPTH 1932
[193] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CHANNELS 1933
[194] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CH_MAP 1934
[195] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_CH_CFG 1935
[196] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_INTERLEAVING_STYLE 1936
[197] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_FMT_CFG 1937
[198] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUT_SAMPLE_TYPE 1938
[199] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_OUTPUT_PIN_INDEX 1939
[200] Fix | Delete
/* intentional token numbering discontinuity, reserved for future use */
[201] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_IBS 1970
[202] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_OBS 1971
[203] Fix | Delete
#define SOF_TKN_CAVS_AUDIO_FORMAT_DMA_BUFFER_SIZE 1972
[204] Fix | Delete
[205] Fix | Delete
/* COPIER */
[206] Fix | Delete
#define SOF_TKN_INTEL_COPIER_NODE_TYPE 1980
[207] Fix | Delete
#define SOF_TKN_INTEL_COPIER_DEEP_BUFFER_DMA_MS 1981
[208] Fix | Delete
[209] Fix | Delete
/* ACP I2S */
[210] Fix | Delete
#define SOF_TKN_AMD_ACPI2S_RATE 1700
[211] Fix | Delete
#define SOF_TKN_AMD_ACPI2S_CH 1701
[212] Fix | Delete
#define SOF_TKN_AMD_ACPI2S_TDM_MODE 1702
[213] Fix | Delete
[214] Fix | Delete
#endif
[215] Fix | Delete
[216] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function