Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/power/supply/
Dbq2415x_charger.c166 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()
[all …]