Searched refs:BQ2415X_REG_CURRENT (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/power/supply/ |
H A D | bq2415x_charger.c | 40 #define BQ2415X_REG_CURRENT 0x04 macro 512 bq2415x_i2c_write(bq, BQ2415X_REG_CURRENT, BQ2415X_RESET_CURRENT); in bq2415x_reset_chip() 634 return bq2415x_i2c_write_mask(bq, BQ2415X_REG_CURRENT, val, in bq2415x_set_charge_current() 647 ret = bq2415x_i2c_read_mask(bq, BQ2415X_REG_CURRENT, in bq2415x_get_charge_current() 668 return bq2415x_i2c_write_mask(bq, BQ2415X_REG_CURRENT, val, in bq2415x_set_termination_current() 681 ret = bq2415x_i2c_read_mask(bq, BQ2415X_REG_CURRENT, in bq2415x_get_termination_current() 1291 ret += bq2415x_sysfs_print_reg(bq, BQ2415X_REG_CURRENT, buf+ret); in bq2415x_sysfs_show_registers()
|