Searched refs:channel_count (Results 1 – 12 of 12) sorted by relevance
/Zephyr-Core-3.7.0/drivers/pwm/ |
D | pwm_mcux_tpm.c | 33 uint8_t channel_count; member 57 if (channel >= config->channel_count) { in mcux_tpm_set_cycles() 83 config->channel_count, dev->name); in mcux_tpm_set_cycles() 102 config->channel_count, config->mode, in mcux_tpm_set_cycles() 140 if (config->channel_count > ARRAY_SIZE(data->channel)) { in mcux_tpm_init() 161 for (i = 0; i < config->channel_count; i++) { in mcux_tpm_init() 197 .channel_count = FSL_FEATURE_TPM_CHANNEL_COUNTn((TPM_Type *) \
|
D | pwm_rv32m1_tpm.c | 32 uint8_t channel_count; member 56 if (channel >= config->channel_count) { in rv32m1_tpm_set_cycles() 82 config->channel_count, dev->name); in rv32m1_tpm_set_cycles() 101 config->channel_count, config->mode, in rv32m1_tpm_set_cycles() 139 if (config->channel_count > ARRAY_SIZE(data->channel)) { in rv32m1_tpm_init() 160 for (i = 0; i < config->channel_count; i++) { in rv32m1_tpm_init() 196 .channel_count = FSL_FEATURE_TPM_CHANNEL_COUNTn((TPM_Type *) \
|
D | pwm_mcux_ftm.c | 36 uint8_t channel_count; member 86 if (channel >= config->channel_count) { in mcux_ftm_set_cycles() 123 config->channel_count, dev->name); in mcux_ftm_set_cycles() 136 config->channel_count, config->mode); in mcux_ftm_set_cycles() 452 if (config->channel_count > ARRAY_SIZE(data->channel)) { in mcux_ftm_init() 468 for (i = 0; i < config->channel_count; i++) { in mcux_ftm_init() 513 mcux_ftm_irq_handler(dev, 0, cfg->channel_count); in mcux_ftm_isr() 583 .channel_count = FSL_FEATURE_FTM_CHANNEL_COUNTn((FTM_Type *) \
|
/Zephyr-Core-3.7.0/drivers/dac/ |
D | dac_stm32.c | 55 uint8_t channel_count; member 65 if (channel - STM32_FIRST_CHANNEL >= data->channel_count || in dac_stm32_write_value() 95 data->channel_count) || in dac_stm32_channel_setup() 175 .channel_count = STM32_CHANNEL_COUNT \
|
D | dac_ad56xx.c | 38 size_t channel_count; member 87 if (channel_cfg->channel_id >= config->channel_count) { in ad56xx_channel_setup() 109 if (channel >= config->channel_count) { in ad56xx_write_value() 173 .channel_count = channels_count, \
|
/Zephyr-Core-3.7.0/drivers/adc/ |
D | adc_npcx.c | 51 const uint8_t channel_count; member 159 if (config->channel_count > NPCX_ADCCS_MAX_CHANNEL_COUNT) { in adc_npcx_config_channels() 278 for (mask = BIT(config->channel_count - 1); mask != 0; mask >>= 1) { in adc_npcx_validate_buffer_size() 327 if (config->channel_count > NPCX_ADCCS_MAX_CHANNEL_COUNT) { in adc_npcx_start_scan() 344 (sequence->channels & ~BIT_MASK(config->channel_count))) { in adc_npcx_start_read() 402 if (channel_id >= config->channel_count) { in adc_npcx_channel_setup() 532 if (param->val >= config->channel_count) { in adc_npcx_threshold_ctrl_set_param() 588 if (t_ctrl->chnsel >= config->channel_count || in adc_npcx_threshold_ctrl_setup() 630 if (t_ctrl->chnsel >= config->channel_count || in adc_npcx_threshold_enable_irq() 857 .channel_count = DT_INST_PROP(n, channel_count), \
|
D | adc_max11102_17.c | 25 uint8_t channel_count; member 105 if (channel_cfg->channel_id > config->channel_count) { in max11102_17_channel_setup() 146 if (i > config->channel_count) { in max11102_17_validate_sequence() 346 switch (config->channel_count) { in max11102_17_init() 366 LOG_ERR("invalid number of channels (%i)", config->channel_count); in max11102_17_init() 411 .channel_count = channels, \
|
D | adc_gecko.c | 97 uint8_t channel_count; in start_read() local 114 channel_count = 0; in start_read() 127 channel_count++; in start_read() 131 res = adc_gecko_check_buffer_size(sequence, channel_count); in start_read()
|
D | adc_stm32.c | 192 uint8_t channel_count; member 256 void *buffer, size_t channel_count) in adc_stm32_dma_start() argument 269 blk_cfg->block_size = channel_count * sizeof(int16_t); in adc_stm32_dma_start() 793 data->samples_count = data->channel_count; 794 data->buffer += data->channel_count; 975 data->channel_count = POPCOUNT(data->channels); 978 if (data->channel_count == 0) { 984 if (data->channel_count > ARRAY_SIZE(table_seq_len)) { 992 if (data->channel_count > 1) { 1010 err = check_buffer(sequence, data->channel_count); [all …]
|
D | iadc_gecko.c | 112 uint8_t channel_count; in start_read() local 135 channel_count = 0; in start_read() 148 channel_count++; in start_read() 153 res = adc_gecko_check_buffer_size(sequence, channel_count); in start_read()
|
D | adc_ite_it8xxx2.c | 315 uint8_t channel_count = 0; in adc_context_start_sampling() local 329 channel_count++; in adc_context_start_sampling() 332 if (check_buffer_size(&ctx->sequence, channel_count)) { in adc_context_start_sampling()
|
D | adc_esp32.c | 62 uint8_t channel_count; member 260 for (uint8_t channel_id = 0; channel_id < conf->channel_count; channel_id++) { in adc_esp32_fill_digi_pattern() 575 if (cfg->channel_id >= conf->channel_count) { in adc_esp32_channel_setup() 735 .channel_count = DT_PROP(DT_DRV_INST(inst), channel_count), \
|