Home
last modified time | relevance | path

Searched refs:fu (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/usb/device/class/audio/
Daudio.c188 static uint8_t get_num_of_channels(const struct feature_unit_descriptor *fu) in get_num_of_channels() argument
190 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() argument
199 return sys_get_le16((uint8_t *)&fu->bmaControls[0]); in get_controls()
206 const struct feature_unit_descriptor *fu) in get_fu_dir() argument
210 ((uint8_t *)fu + fu->bLength); in get_fu_dir()
228 struct feature_unit_descriptor *fu; in fix_fu_descriptors() local
233 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 …]
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_uac2_macros.h1019 #define BUILD_ASSERT_FEATURE_UNIT_CONTROL(fu, control) \ argument
1020 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" \
/Zephyr-latest/
DKconfig.zephyr957 .noinit."/home/joe/zephyr/fu/bar.c" section names and in any
DCMakeLists.txt524 # .noinit."/home/joe/zephyr/fu/bar.c" section names and in any