Lines Matching refs:max_pos
34 int max_pos; member
50 [AD5110_10] = { .max_pos = 128, .kohms = 10 },
51 [AD5110_80] = { .max_pos = 128, .kohms = 80 },
52 [AD5112_05] = { .max_pos = 64, .kohms = 5, .shift = 1 },
53 [AD5112_10] = { .max_pos = 64, .kohms = 10, .shift = 1 },
54 [AD5112_80] = { .max_pos = 64, .kohms = 80, .shift = 1 },
55 [AD5114_10] = { .max_pos = 32, .kohms = 10, .shift = 2 },
56 [AD5114_80] = { .max_pos = 32, .kohms = 80, .shift = 2 },
215 *val = AD5110_WIPER_RESISTANCE * data->cfg->max_pos; in ad5110_read_raw()
220 *val2 = data->cfg->max_pos; in ad5110_read_raw()
239 if (val > data->cfg->max_pos || val < 0) in ad5110_write_raw()