Home
last modified time | relevance | path

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

/drivers/iio/adc/
Dmcp3422.c62 static const int mcp3422_scales[4][4] = { variable
179 *val2 = mcp3422_scales[sample_rate][pga]; in mcp3422_read_raw()
209 for (i = 0; i < ARRAY_SIZE(mcp3422_scales[0]); i++) { in mcp3422_write_raw()
210 if (val2 == mcp3422_scales[sample_rate][i]) { in mcp3422_write_raw()
288 mcp3422_scales[sample_rate][0], in mcp3422_show_scales()
289 mcp3422_scales[sample_rate][1], in mcp3422_show_scales()
290 mcp3422_scales[sample_rate][2], in mcp3422_show_scales()
291 mcp3422_scales[sample_rate][3]); in mcp3422_show_scales()