Searched refs:ch_cnt (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.5.0/subsys/usb/device/class/audio/ |
D | audio.c | 39 uint8_t ch_cnt[2]; member 162 .ch_cnt = {(CH_CNT(dev, i) + 1), 0}, \ 175 .ch_cnt = {(CH_CNT(dev##_MIC, i) + 1), \ 532 uint8_t ch_cnt = audio_dev_data->ch_cnt[device]; in handle_fu_mute_req() local 534 uint8_t *control_val = &controls[POS(MUTE, ch, ch_cnt)]; in handle_fu_mute_req() 565 uint8_t ch_cnt = audio_dev_data->ch_cnt[device]; in handle_fu_volume_req() local 567 uint8_t *control_val = &controls[POS(VOLUME, ch, ch_cnt)]; in handle_fu_volume_req() 595 *len = LEN(ch_cnt, VOLUME); in handle_fu_volume_req() 643 uint8_t ch_cnt; in handle_feature_unit_req() local 651 ch_cnt = audio_dev_data->ch_cnt[device]; in handle_feature_unit_req() [all …]
|
D | usb_audio_internal.h | 67 #define POS(prop, ch_idx, ch_cnt) (ch_cnt * POS_##prop + \ argument 69 #define LEN(ch_cnt, prop) (ch_cnt * FEATURE_##prop##_SIZE) argument 484 #define INIT_AS_FORMAT_I(ch_cnt, res) \ argument 490 .bNrChannels = MAX(1, ch_cnt), \
|
/Zephyr-Core-3.5.0/drivers/watchdog/ |
D | wdt_counter.c | 168 uint8_t ch_cnt = counter_get_num_of_channels(config->counter); in wdt_counter_init() local 170 data->alloc_cnt = MIN(ch_cnt, CONFIG_WDT_COUNTER_CH_COUNT); in wdt_counter_init()
|