Lines Matching refs:reported_mode
166 enum bq2415x_mode reported_mode;/* mode reported by hook function */ member
799 if (bq->reported_mode == mode) in bq2415x_update_reported_mode()
802 bq->reported_mode = mode; in bq2415x_update_reported_mode()
893 if (bq->automode > 0 && (bq->reported_mode != bq->mode)) { in bq2415x_timer_work()
895 bq2415x_set_mode(bq, bq->reported_mode); in bq2415x_timer_work()
1140 mode = bq->reported_mode; in bq2415x_sysfs_set_mode()
1167 mode = bq->reported_mode; in bq2415x_sysfs_set_mode()
1226 switch (bq->reported_mode) { in bq2415x_sysfs_show_reported_mode()
1437 static DEVICE_ATTR(reported_mode, S_IRUGO,
1593 bq->reported_mode = BQ2415X_MODE_OFF; in bq2415x_probe()
1683 bq2415x_set_mode(bq, bq->reported_mode); in bq2415x_probe()