Lines Matching refs:max_pos
54 int max_pos; member
94 [MCP413x_502] = { .wipers = 1, .max_pos = 128, .kohms = 5, },
95 [MCP413x_103] = { .wipers = 1, .max_pos = 128, .kohms = 10, },
96 [MCP413x_503] = { .wipers = 1, .max_pos = 128, .kohms = 50, },
97 [MCP413x_104] = { .wipers = 1, .max_pos = 128, .kohms = 100, },
98 [MCP414x_502] = { .wipers = 1, .max_pos = 128, .kohms = 5, },
99 [MCP414x_103] = { .wipers = 1, .max_pos = 128, .kohms = 10, },
100 [MCP414x_503] = { .wipers = 1, .max_pos = 128, .kohms = 50, },
101 [MCP414x_104] = { .wipers = 1, .max_pos = 128, .kohms = 100, },
102 [MCP415x_502] = { .wipers = 1, .max_pos = 256, .kohms = 5, },
103 [MCP415x_103] = { .wipers = 1, .max_pos = 256, .kohms = 10, },
104 [MCP415x_503] = { .wipers = 1, .max_pos = 256, .kohms = 50, },
105 [MCP415x_104] = { .wipers = 1, .max_pos = 256, .kohms = 100, },
106 [MCP416x_502] = { .wipers = 1, .max_pos = 256, .kohms = 5, },
107 [MCP416x_103] = { .wipers = 1, .max_pos = 256, .kohms = 10, },
108 [MCP416x_503] = { .wipers = 1, .max_pos = 256, .kohms = 50, },
109 [MCP416x_104] = { .wipers = 1, .max_pos = 256, .kohms = 100, },
110 [MCP423x_502] = { .wipers = 2, .max_pos = 128, .kohms = 5, },
111 [MCP423x_103] = { .wipers = 2, .max_pos = 128, .kohms = 10, },
112 [MCP423x_503] = { .wipers = 2, .max_pos = 128, .kohms = 50, },
113 [MCP423x_104] = { .wipers = 2, .max_pos = 128, .kohms = 100, },
114 [MCP424x_502] = { .wipers = 2, .max_pos = 128, .kohms = 5, },
115 [MCP424x_103] = { .wipers = 2, .max_pos = 128, .kohms = 10, },
116 [MCP424x_503] = { .wipers = 2, .max_pos = 128, .kohms = 50, },
117 [MCP424x_104] = { .wipers = 2, .max_pos = 128, .kohms = 100, },
118 [MCP425x_502] = { .wipers = 2, .max_pos = 256, .kohms = 5, },
119 [MCP425x_103] = { .wipers = 2, .max_pos = 256, .kohms = 10, },
120 [MCP425x_503] = { .wipers = 2, .max_pos = 256, .kohms = 50, },
121 [MCP425x_104] = { .wipers = 2, .max_pos = 256, .kohms = 100, },
122 [MCP426x_502] = { .wipers = 2, .max_pos = 256, .kohms = 5, },
123 [MCP426x_103] = { .wipers = 2, .max_pos = 256, .kohms = 10, },
124 [MCP426x_503] = { .wipers = 2, .max_pos = 256, .kohms = 50, },
125 [MCP426x_104] = { .wipers = 2, .max_pos = 256, .kohms = 100, },
198 *val2 = data->cfg->max_pos; in mcp4131_read_raw()
215 if (val > data->cfg->max_pos || val < 0) in mcp4131_write_raw()