Lines Matching refs:i2c_smbus_write_byte_data
71 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_CTRL, flags); in nct3018y_set_alarm_mode()
85 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_ST, flags); in nct3018y_set_alarm_mode()
198 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_CTRL, flags); in nct3018y_rtc_set_time()
206 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_SC, buf[0]); in nct3018y_rtc_set_time()
213 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_MN, buf[0]); in nct3018y_rtc_set_time()
220 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_HR, buf[0]); in nct3018y_rtc_set_time()
242 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_CTRL, flags); in nct3018y_rtc_set_time()
292 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_SCA, bin2bcd(tm->time.tm_sec)); in nct3018y_rtc_set_alarm()
298 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_MNA, bin2bcd(tm->time.tm_min)); in nct3018y_rtc_set_alarm()
304 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_HRA, bin2bcd(tm->time.tm_hour)); in nct3018y_rtc_set_alarm()
397 return i2c_smbus_write_byte_data(client, NCT3018Y_REG_CLKO, flags); in nct3018y_clkout_set_rate()
418 return i2c_smbus_write_byte_data(client, NCT3018Y_REG_CLKO, flags); in nct3018y_clkout_control()
524 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_CTRL, flags); in nct3018y_probe()
533 err = i2c_smbus_write_byte_data(client, NCT3018Y_REG_ST, flags); in nct3018y_probe()