Searched refs:vcalib_value (Results 1 – 2 of 2) sorted by relevance
321 int vcalib_value = 0; in rk817_bat_get_vaclib0() local323 vcalib_value |= rk817_bat_read(battery, VCALIB0_H) << 8; in rk817_bat_get_vaclib0()324 vcalib_value |= rk817_bat_read(battery, VCALIB0_L); in rk817_bat_get_vaclib0()326 return vcalib_value; in rk817_bat_get_vaclib0()331 int vcalib_value = 0; in rk817_bat_get_vaclib1() local333 vcalib_value |= rk817_bat_read(battery, VCALIB1_H) << 8; in rk817_bat_get_vaclib1()334 vcalib_value |= rk817_bat_read(battery, VCALIB1_L); in rk817_bat_get_vaclib1()336 return vcalib_value; in rk817_bat_get_vaclib1()
770 int vcalib_value = 0; in rk817_bat_get_vaclib0() local772 vcalib_value |= rk817_bat_field_read(battery, VCALIB0_H) << 8; in rk817_bat_get_vaclib0()773 vcalib_value |= rk817_bat_field_read(battery, VCALIB0_L); in rk817_bat_get_vaclib0()775 return vcalib_value; in rk817_bat_get_vaclib0()780 int vcalib_value = 0; in rk817_bat_get_vaclib1() local782 vcalib_value |= rk817_bat_field_read(battery, VCALIB1_H) << 8; in rk817_bat_get_vaclib1()783 vcalib_value |= rk817_bat_field_read(battery, VCALIB1_L); in rk817_bat_get_vaclib1()785 return vcalib_value; in rk817_bat_get_vaclib1()