/Zephyr-latest/drivers/pwm/ |
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_tpm.c | 37 uint8_t channel_count; member 61 if (channel >= config->channel_count) { in mcux_tpm_set_cycles() 87 config->channel_count, dev->name); in mcux_tpm_set_cycles() 106 config->channel_count, config->mode, in mcux_tpm_set_cycles() 144 if (config->channel_count > ARRAY_SIZE(data->channel)) { in mcux_tpm_init() 165 for (i = 0; i < config->channel_count; i++) { in mcux_tpm_init() 210 .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-latest/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() 190 .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() 114 if (channel >= config->channel_count) { in ad56xx_write_value() 178 .channel_count = channels_count, \
|
/Zephyr-latest/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_max32.c | 28 uint8_t channel_count; member 176 if (cfg->channel_id >= conf->channel_count) { in adc_max32_channel_setup() 317 .channel_count = DT_INST_PROP(_num, channel_count), \
|
D | adc_tla202x.c | 86 uint8_t channel_count; member 144 if (cfg->channel_id >= config->channel_count) { in tla202x_channel_setup() 186 if (config->channel_count > 1) { in tla202x_channel_setup() 240 if (find_msb_set(seq->channels) > config->channel_count) { in tla202x_start_read() 438 .channel_count = channels, \
|
D | adc_stm32.c | 168 uint8_t channel_count; member 211 void *buffer, size_t channel_count) in adc_stm32_dma_start() argument 224 blk_cfg->block_size = channel_count * sizeof(int16_t); in adc_stm32_dma_start() 742 data->samples_count = data->channel_count; in dma_callback() 743 data->buffer += data->channel_count; in dma_callback() 921 data->channel_count = POPCOUNT(data->channels); in start_read() 924 if (data->channel_count == 0) { in start_read() 930 if (data->channel_count > ARRAY_SIZE(table_seq_len)) { in start_read() 938 if (data->channel_count > 1) { in start_read() 956 err = check_buffer(sequence, data->channel_count); in start_read() [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 258 for (uint8_t channel_id = 0; channel_id < conf->channel_count; channel_id++) { in adc_esp32_fill_digi_pattern() 572 if (cfg->channel_id >= conf->channel_count) { in adc_esp32_channel_setup() 739 .channel_count = DT_PROP(DT_DRV_INST(inst), channel_count), \
|
D | adc_renesas_ra.c | 357 .num_channels = DT_INST_PROP(idx, channel_count), \
|
D | adc_ambiq.c | 429 .num_channels = DT_PROP(DT_DRV_INST(n), channel_count), \
|