Home
last modified time | relevance | path

Searched refs:count_skip (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/iio/adc/
Dti-tsc2046.c278 int ret, i, count_skip = 0, max_count; in tsc2046_adc_read_one() local
284 count_skip = tsc2046_adc_time_to_count(priv, ch->settling_time_us); in tsc2046_adc_read_one()
285 max_count = count_skip + ch->oversampling_ratio; in tsc2046_adc_read_one()
335 for (i = 0; i < max_count - count_skip; i++) { in tsc2046_adc_read_one()
336 val = tsc2046_adc_get_value(&rx_buf[count_skip + i]); in tsc2046_adc_read_one()
340 ret = DIV_ROUND_UP(val_normalized, max_count - count_skip); in tsc2046_adc_read_one()
356 unsigned int max_count, count_skip; in tsc2046_adc_group_set_layout() local
362 count_skip = tsc2046_adc_time_to_count(priv, ch->settling_time_us); in tsc2046_adc_group_set_layout()
363 max_count = count_skip + ch->oversampling_ratio; in tsc2046_adc_group_set_layout()
368 cur->skip = count_skip; in tsc2046_adc_group_set_layout()
/linux-6.1.9/drivers/input/touchscreen/
Dads7846.c83 unsigned int count_skip; member
1051 packet->count_skip = DIV_ROUND_UP(count, 24); in ads7846_setup_spi_msg()
1070 max_count = packet->count + packet->count_skip; in ads7846_setup_spi_msg()
1077 l->skip = packet->count_skip; in ads7846_setup_spi_msg()