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()
1130 mode = bq->reported_mode; in bq2415x_sysfs_set_mode()
1157 mode = bq->reported_mode; in bq2415x_sysfs_set_mode()
1216 switch (bq->reported_mode) { in bq2415x_sysfs_show_reported_mode()
1427 static DEVICE_ATTR(reported_mode, S_IRUGO,
1583 bq->reported_mode = BQ2415X_MODE_OFF; in bq2415x_probe()
1673 bq2415x_set_mode(bq, bq->reported_mode); in bq2415x_probe()