Lines Matching defs:mode
32 ICP10100_MODE_LP, /* Low power mode: 1x sampling */
33 ICP10100_MODE_N, /* Normal mode: 2x sampling */
34 ICP10100_MODE_LN, /* Low noise mode: 4x sampling */
35 ICP10100_MODE_ULN, /* Ultra low noise mode: 8x sampling */
43 enum icp10100_mode mode;
200 /* switch into OTP read mode */
256 cmd = &icp10100_cmd_measure[st->mode];
408 *val = 1 << st->mode;
439 unsigned int mode;
447 mode = ilog2(val);
448 if (mode >= ICP10100_MODE_NB)
454 st->mode = mode;
558 st->mode = ICP10100_MODE_N;