Lines Matching refs:automode
173 int automode; /* 1 - enabled, 0 - disabled; -1 - not supported */
838 /* if automode is not enabled do not tell about reported_mode */
839 if (bq->automode < 1)
878 if (bq->automode > 0)
879 bq->automode = 0;
893 if (bq->automode > 0 && (bq->reported_mode != bq->mode)) {
1029 if (bq->automode > 0)
1030 bq->automode = 0;
1110 * auto - if automode is supported, enable it and set mode to reported
1127 if (bq->automode < 0)
1129 bq->automode = 1;
1132 if (bq->automode > 0)
1133 bq->automode = 0;
1136 if (bq->automode > 0)
1137 bq->automode = 0;
1140 if (bq->automode > 0)
1141 bq->automode = 0;
1144 if (bq->automode > 0)
1145 bq->automode = 0;
1148 if (bq->automode > 0)
1149 bq->automode = 0;
1154 if (bq->automode <= 0)
1156 bq->automode = 1;
1177 if (bq->automode > 0)
1198 if (bq->automode > 0)
1213 if (bq->automode < 0)
1585 bq->automode = 0;
1647 bq->automode = 1;
1648 dev_info(bq->dev, "automode supported, waiting for events\n");
1650 bq->automode = -1;
1651 dev_info(bq->dev, "automode not supported\n");