Searched refs:rsgain (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/power/supply/ |
D | ds2781_battery.c | 139 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()
|
D | ds2780_battery.c | 135 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()
|