Searched refs:STM32_ADC_CH_SZ (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/adc/ |
H A D | stm32-adc.c | 40 #define STM32_ADC_CH_SZ 16 /* max channel name size */ macro 281 char chan_name[STM32_ADC_CH_MAX][STM32_ADC_CH_SZ]; 1962 snprintf(name, STM32_ADC_CH_SZ, "in%d-in%d", vinp, vinn); in stm32_adc_chan_init_one() 1964 snprintf(name, STM32_ADC_CH_SZ, "in%d", vinp); in stm32_adc_chan_init_one() 2129 if (!strncmp(stm32_adc_ic[i].name, ch_name, STM32_ADC_CH_SZ)) { in stm32_adc_populate_int_ch() 2206 if (strlen(name) >= STM32_ADC_CH_SZ) { in stm32_adc_generic_chan_init() 2208 name, STM32_ADC_CH_SZ); in stm32_adc_generic_chan_init() 2212 strncpy(adc->chan_name[val], name, STM32_ADC_CH_SZ); in stm32_adc_generic_chan_init()
|