Lines Matching refs:i2c_smbus_write_byte_data
122 if (i2c_smbus_write_byte_data(client, ABX8XX_REG_CFG_KEY, key) < 0) { in abx80x_write_config_key()
156 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_TRICKLE, in abx80x_enable_trickle_charger()
237 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_OSS, in abx80x_rtc_set_time()
268 i2c_smbus_write_byte_data(client, ABX8XX_REG_STATUS, 0); in abx80x_handle_irq()
329 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_IRQ, in abx80x_set_alarm()
370 retval = i2c_smbus_write_byte_data(client, ABX8XX_REG_OSC, flags); in abx80x_rtc_set_autocalibration()
458 retval = i2c_smbus_write_byte_data(client, ABX8XX_REG_OSC, flags); in oscillator_store()
505 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_IRQ, in abx80x_alarm_irq_enable()
509 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_IRQ, in abx80x_alarm_irq_enable()
536 tmp = i2c_smbus_write_byte_data(client, ABX8XX_REG_STATUS, 0); in abx80x_ioctl()
611 return i2c_smbus_write_byte_data(priv->client, ABX8XX_REG_WDT, val); in __abx80x_wdog_set_timeout()
715 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_CTRL1, in abx80x_probe()
739 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_CTRL2, in abx80x_probe()
766 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_OUT_CTRL, in abx80x_probe()
803 err = i2c_smbus_write_byte_data(client, ABX8XX_REG_CD_TIMER_CTL, in abx80x_probe()