Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hwmon/
Dadm1177.c38 u32 alert_threshold_ua; member
53 u32 alert_threshold_ua) in adm1177_write_alert_thr() argument
58 val = 0xFFULL * alert_threshold_ua * st->r_sense_uohm; in adm1177_write_alert_thr()
69 st->alert_threshold_ua = alert_threshold_ua; in adm1177_write_alert_thr()
97 *val = st->alert_threshold_ua; in adm1177_read()
204 u32 alert_threshold_ua; in adm1177_probe() local
233 &alert_threshold_ua)) { in adm1177_probe()
239 alert_threshold_ua = div_u64(105840000000, in adm1177_probe()
242 alert_threshold_ua = 0; in adm1177_probe()
246 if (alert_threshold_ua && st->r_sense_uohm) in adm1177_probe()
[all …]