Lines Matching refs:BQ2415X_REG_CONTROL
37 #define BQ2415X_REG_CONTROL 0x01 macro
333 return bq2415x_i2c_read_bit(bq, BQ2415X_REG_CONTROL, in bq2415x_exec_command()
336 return bq2415x_i2c_write_bit(bq, BQ2415X_REG_CONTROL, in bq2415x_exec_command()
339 return bq2415x_i2c_write_bit(bq, BQ2415X_REG_CONTROL, in bq2415x_exec_command()
342 ret = bq2415x_i2c_read_bit(bq, BQ2415X_REG_CONTROL, in bq2415x_exec_command()
348 return bq2415x_i2c_write_bit(bq, BQ2415X_REG_CONTROL, in bq2415x_exec_command()
351 return bq2415x_i2c_write_bit(bq, BQ2415X_REG_CONTROL, in bq2415x_exec_command()
354 return bq2415x_i2c_read_bit(bq, BQ2415X_REG_CONTROL, in bq2415x_exec_command()
357 return bq2415x_i2c_write_bit(bq, BQ2415X_REG_CONTROL, in bq2415x_exec_command()
360 return bq2415x_i2c_write_bit(bq, BQ2415X_REG_CONTROL, in bq2415x_exec_command()
363 return bq2415x_i2c_read_bit(bq, BQ2415X_REG_CONTROL, in bq2415x_exec_command()
366 return bq2415x_i2c_write_bit(bq, BQ2415X_REG_CONTROL, in bq2415x_exec_command()
369 return bq2415x_i2c_write_bit(bq, BQ2415X_REG_CONTROL, in bq2415x_exec_command()
514 bq2415x_i2c_write(bq, BQ2415X_REG_CONTROL, BQ2415X_RESET_CONTROL); in bq2415x_reset_chip()
535 return bq2415x_i2c_write_mask(bq, BQ2415X_REG_CONTROL, val, in bq2415x_set_current_limit()
544 ret = bq2415x_i2c_read_mask(bq, BQ2415X_REG_CONTROL, in bq2415x_get_current_limit()
574 return bq2415x_i2c_write_mask(bq, BQ2415X_REG_CONTROL, val, in bq2415x_set_weak_battery_voltage()
583 ret = bq2415x_i2c_read_mask(bq, BQ2415X_REG_CONTROL, in bq2415x_get_weak_battery_voltage()
1288 ret += bq2415x_sysfs_print_reg(bq, BQ2415X_REG_CONTROL, buf+ret); in bq2415x_sysfs_show_registers()