Searched refs:max_pos (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/misc/
H A Dad525x_dpot.c88 unsigned max_pos; member in struct:dpot_data
223 if ((reg & DPOT_REG_TOL) || (dpot->max_pos > 256)) dpot_read_i2c()
394 if (dpot->max_pos > 256)
702 data->max_pos = 1 << DPOT_MAX_POS(devid); ad_dpot_probe()
703 data->rdac_mask = data->max_pos - 1; ad_dpot_probe()
715 data->rdac_cache[i] = data->max_pos / 2; ad_dpot_probe()
727 name, data->max_pos); ad_dpot_probe()
H A Dad525x_dpot.h14 #define DPOT_CONF(features, wipers, max_pos, uid) \
16 ((max_pos & 0xF) << 6) | (uid & 0x3F))

Completed in 135 milliseconds