Searched refs:HYM8563_CTL2 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/rtc/ |
H A D | rtc-hym8563.c | 23 #define HYM8563_CTL2 0x01 macro 167 data = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_rtc_alarm_irq_enable() 176 return i2c_smbus_write_byte_data(client, HYM8563_CTL2, data); in hym8563_rtc_alarm_irq_enable() 206 ret = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_rtc_read_alarm() 223 ret = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_rtc_set_alarm() 229 ret = i2c_smbus_write_byte_data(client, HYM8563_CTL2, ret); in hym8563_rtc_set_alarm() 419 data = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_irq() 428 ret = i2c_smbus_write_byte_data(client, HYM8563_CTL2, data); in hym8563_irq() 448 ret = i2c_smbus_read_byte_data(client, HYM8563_CTL2); in hym8563_init_device() 465 return i2c_smbus_write_byte_data(client, HYM8563_CTL2, ret); in hym8563_init_device()
|