Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dmax17040_battery.c228 int rcomp_len; in max17040_get_of_data() local
245 rcomp_len = device_property_count_u8(dev, "maxim,rcomp"); in max17040_get_of_data()
247 if (rcomp_len == data->rcomp_bytes) { in max17040_get_of_data()
249 rcomp, rcomp_len)) in max17040_get_of_data()
250 chip->rcomp = rcomp_len == 2 ? rcomp[0] << 8 | rcomp[1] : in max17040_get_of_data()
252 } else if (rcomp_len > 0) { in max17040_get_of_data()