Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/power/supply/
Dds2780_battery.c135 u16 *rsgain) in ds2780_get_rsgain_register() argument
137 return ds2780_read16(dev_info, rsgain, DS2780_RSGAIN_MSB_REG); in ds2780_get_rsgain_register()
142 u16 rsgain) in ds2780_set_rsgain_register() argument
145 u8 raw[] = {rsgain >> 8, rsgain & 0xFF}; in ds2780_set_rsgain_register()
540 u16 rsgain; in ds2780_get_rsgain_setting() local
544 ret = ds2780_get_rsgain_register(dev_info, &rsgain); in ds2780_get_rsgain_setting()
548 return sprintf(buf, "%d\n", rsgain); in ds2780_get_rsgain_setting()
Dds2781_battery.c139 u16 *rsgain) in ds2781_get_rsgain_register() argument
141 return ds2781_read16(dev_info, rsgain, DS2781_RSGAIN_MSB); in ds2781_get_rsgain_register()
146 u16 rsgain) in ds2781_set_rsgain_register() argument
149 u8 raw[] = {rsgain >> 8, rsgain & 0xFF}; in ds2781_set_rsgain_register()
542 u16 rsgain; in ds2781_get_rsgain_setting() local
546 ret = ds2781_get_rsgain_register(dev_info, &rsgain); in ds2781_get_rsgain_setting()
550 return sprintf(buf, "%d\n", rsgain); in ds2781_get_rsgain_setting()