Searched refs:max_pos (Results 1 – 5 of 5) sorted by relevance
/drivers/iio/potentiometer/ |
D | mcp4531.c | 41 int max_pos; member 81 [MCP453x_502] = { .wipers = 1, .max_pos = 128, .kohms = 5, }, 82 [MCP453x_103] = { .wipers = 1, .max_pos = 128, .kohms = 10, }, 83 [MCP453x_503] = { .wipers = 1, .max_pos = 128, .kohms = 50, }, 84 [MCP453x_104] = { .wipers = 1, .max_pos = 128, .kohms = 100, }, 85 [MCP454x_502] = { .wipers = 1, .max_pos = 128, .kohms = 5, }, 86 [MCP454x_103] = { .wipers = 1, .max_pos = 128, .kohms = 10, }, 87 [MCP454x_503] = { .wipers = 1, .max_pos = 128, .kohms = 50, }, 88 [MCP454x_104] = { .wipers = 1, .max_pos = 128, .kohms = 100, }, 89 [MCP455x_502] = { .wipers = 1, .max_pos = 256, .kohms = 5, }, [all …]
|
D | mcp4131.c | 56 int max_pos; member 96 [MCP413x_502] = { .wipers = 1, .max_pos = 128, .kohms = 5, }, 97 [MCP413x_103] = { .wipers = 1, .max_pos = 128, .kohms = 10, }, 98 [MCP413x_503] = { .wipers = 1, .max_pos = 128, .kohms = 50, }, 99 [MCP413x_104] = { .wipers = 1, .max_pos = 128, .kohms = 100, }, 100 [MCP414x_502] = { .wipers = 1, .max_pos = 128, .kohms = 5, }, 101 [MCP414x_103] = { .wipers = 1, .max_pos = 128, .kohms = 10, }, 102 [MCP414x_503] = { .wipers = 1, .max_pos = 128, .kohms = 50, }, 103 [MCP414x_104] = { .wipers = 1, .max_pos = 128, .kohms = 100, }, 104 [MCP415x_502] = { .wipers = 1, .max_pos = 256, .kohms = 5, }, [all …]
|
D | tpl0102.c | 26 int max_pos; member 39 [CAT5140_503] = { .wipers = 1, .max_pos = 256, .kohms = 50, }, 40 [CAT5140_104] = { .wipers = 1, .max_pos = 256, .kohms = 100, }, 42 [TPL0102_104] = { .wipers = 2, .max_pos = 256, .kohms = 100 }, 43 [TPL0401_103] = { .wipers = 1, .max_pos = 128, .kohms = 10, }, 84 *val2 = tpl0102_cfg[data->devid].max_pos; in tpl0102_read_raw() 100 if (val >= tpl0102_cfg[data->devid].max_pos || val < 0) in tpl0102_write_raw()
|
/drivers/misc/ |
D | ad525x_dpot.c | 88 unsigned max_pos; member 223 if ((reg & DPOT_REG_TOL) || (dpot->max_pos > 256)) in dpot_read_i2c() 394 if (dpot->max_pos > 256) in dpot_write_i2c() 702 data->max_pos = 1 << DPOT_MAX_POS(devid); in ad_dpot_probe() 703 data->rdac_mask = data->max_pos - 1; in ad_dpot_probe() 715 data->rdac_cache[i] = data->max_pos / 2; in ad_dpot_probe() 727 name, data->max_pos); in ad_dpot_probe()
|
D | ad525x_dpot.h | 14 #define DPOT_CONF(features, wipers, max_pos, uid) \ argument 16 ((max_pos & 0xF) << 6) | (uid & 0x3F))
|