Conditional paths need information about their source and sink paths to be created which is then stored to keep track of who their parents are. That information allows to change their state accordingly to what is currently happening to their parent paths.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -133,6 +133,21 @@ enum avs_tplg_token { · 132 unmodified lines | ||
| 133 | 133 | AVS_TKN_PATH_FE_FMT_ID_U32 = 1902, |
| 134 | 134 | AVS_TKN_PATH_BE_FMT_ID_U32 = 1903, |
| 135 | 135 | |
| 136 | + /* struct avs_tplg_path_template (conditional) */ | |
| 137 | + AVS_TKN_CONDPATH_TMPL_ID_U32 = 1801, | |
| 138 | + AVS_TKN_CONDPATH_TMPL_SOURCE_TPLG_NAME_STRING = 2002, | |
| 139 | + AVS_TKN_CONDPATH_TMPL_SOURCE_PATH_TMPL_ID_U32 = 2003, | |
| 140 | + AVS_TKN_CONDPATH_TMPL_SINK_TPLG_NAME_STRING = 2004, | |
| 141 | + AVS_TKN_CONDPATH_TMPL_SINK_PATH_TMPL_ID_U32 = 2005, | |
| 142 | + AVS_TKN_CONDPATH_TMPL_COND_TYPE_U32 = 2006, | |
| 143 | + AVS_TKN_CONDPATH_TMPL_OVERRIDABLE_BOOL = 2007, | |
| 144 | + AVS_TKN_CONDPATH_TMPL_PRIORITY_U8 = 2008, | |
| 145 | + | |
| 146 | + /* struct avs_tplg_path (conditional) */ | |
| 147 | + AVS_TKN_CONDPATH_ID_U32 = 1901, | |
| 148 | + AVS_TKN_CONDPATH_SOURCE_PATH_ID_U32 = 2102, | |
| 149 | + AVS_TKN_CONDPATH_SINK_PATH_ID_U32 = 2103, | |
| 150 | + | |
| 136 | 151 | /* struct avs_tplg_pin_format */ |
| 137 | 152 | AVS_TKN_PIN_FMT_INDEX_U32 = 2201, |
| 138 | 153 | AVS_TKN_PIN_FMT_IOBS_U32 = 2202, |