Searched refs:fu (Results 1 – 4 of 4) sorted by relevance
188 static uint8_t get_num_of_channels(const struct feature_unit_descriptor *fu) in get_num_of_channels() argument190 return (fu->bLength - FU_FIXED_ELEMS_SIZE)/sizeof(uint16_t); in get_num_of_channels()197 static uint16_t get_controls(const struct feature_unit_descriptor *fu) in get_controls() argument199 return sys_get_le16((uint8_t *)&fu->bmaControls[0]); in get_controls()206 const struct feature_unit_descriptor *fu) in get_fu_dir() argument210 ((uint8_t *)fu + fu->bLength); in get_fu_dir()228 struct feature_unit_descriptor *fu; in fix_fu_descriptors() local233 fu = (struct feature_unit_descriptor *)((uint8_t *)header + in fix_fu_descriptors()238 for (int i = 1; i < get_num_of_channels(fu); i++) { in fix_fu_descriptors()239 (void)memcpy(&fu->bmaControls[i], in fix_fu_descriptors()[all …]
1019 #define BUILD_ASSERT_FEATURE_UNIT_CONTROL(fu, control) \ argument1020 BUILD_ASSERT(UTIL_OR(UTIL_NOT(DT_NODE_HAS_PROP(fu, control)), \1021 DT_PROP_LEN(fu, control) <= 1 + FEATURE_UNIT_NUM_CHANNELS(fu)), \1022 "Feature Unit " DT_NODE_PATH(fu) " has " \1023 STRINGIFY(FEATURE_UNIT_NUM_CHANNELS(fu)) " logical channel(s) " \1025 STRINGIFY(DT_PROP_LEN(fu, control)) " values" \
957 .noinit."/home/joe/zephyr/fu/bar.c" section names and in any
524 # .noinit."/home/joe/zephyr/fu/bar.c" section names and in any