Lines Matching refs:bq2415x_i2c_read_mask
217 static int bq2415x_i2c_read_mask(struct bq2415x_device *bq, u8 reg, in bq2415x_i2c_read_mask() function
236 return bq2415x_i2c_read_mask(bq, reg, BIT(bit), bit); in bq2415x_i2c_read_bit()
323 return bq2415x_i2c_read_mask(bq, BQ2415X_REG_STATUS, in bq2415x_exec_command()
329 return bq2415x_i2c_read_mask(bq, BQ2415X_REG_STATUS, in bq2415x_exec_command()
392 return bq2415x_i2c_read_mask(bq, BQ2415X_REG_VENDER, in bq2415x_exec_command()
395 return bq2415x_i2c_read_mask(bq, BQ2415X_REG_VENDER, in bq2415x_exec_command()
398 return bq2415x_i2c_read_mask(bq, BQ2415X_REG_VENDER, in bq2415x_exec_command()
544 ret = bq2415x_i2c_read_mask(bq, BQ2415X_REG_CONTROL, in bq2415x_get_current_limit()
583 ret = bq2415x_i2c_read_mask(bq, BQ2415X_REG_CONTROL, in bq2415x_get_weak_battery_voltage()
612 int ret = bq2415x_i2c_read_mask(bq, BQ2415X_REG_VOLTAGE, in bq2415x_get_battery_regulation_voltage()
647 ret = bq2415x_i2c_read_mask(bq, BQ2415X_REG_CURRENT, in bq2415x_get_charge_current()
681 ret = bq2415x_i2c_read_mask(bq, BQ2415X_REG_CURRENT, in bq2415x_get_termination_current()