Searched defs:rsgain (Results 1 - 2 of 2) sorted by relevance

/drivers/power/
H A Dds2780_battery.c143 u16 *rsgain)
145 return ds2780_read16(dev_info, rsgain, DS2780_RSGAIN_MSB_REG);
150 u16 rsgain)
153 u8 raw[] = {rsgain >> 8, rsgain & 0xFF};
548 u16 rsgain; local
552 ret = ds2780_get_rsgain_register(dev_info, &rsgain);
556 return sprintf(buf, "%d\n", rsgain);
575 dev_err(dev_info->dev, "Invalid rsgain setting (0 - 1999)\n");
142 ds2780_get_rsgain_register(struct ds2780_device_info *dev_info, u16 *rsgain) argument
149 ds2780_set_rsgain_register(struct ds2780_device_info *dev_info, u16 rsgain) argument
H A Dds2781_battery.c147 u16 *rsgain)
149 return ds2781_read16(dev_info, rsgain, DS2781_RSGAIN_MSB);
154 u16 rsgain)
157 u8 raw[] = {rsgain >> 8, rsgain & 0xFF};
550 u16 rsgain; local
554 ret = ds2781_get_rsgain_register(dev_info, &rsgain);
558 return sprintf(buf, "%d\n", rsgain);
577 dev_err(dev_info->dev, "Invalid rsgain setting (0 - 1999)\n");
146 ds2781_get_rsgain_register(struct ds2781_device_info *dev_info, u16 *rsgain) argument
153 ds2781_set_rsgain_register(struct ds2781_device_info *dev_info, u16 rsgain) argument

Completed in 48 milliseconds