isl1208           596 drivers/rtc/rtc-isl1208.c 	struct isl1208_state *isl1208 = i2c_get_clientdata(client);
isl1208           619 drivers/rtc/rtc-isl1208.c 		rtc_update_irq(isl1208->rtc, 1, RTC_IRQF | RTC_AF);
isl1208           636 drivers/rtc/rtc-isl1208.c 	if (isl1208->config->has_tamper && (sr & ISL1208_REG_SR_EVT)) {
isl1208           639 drivers/rtc/rtc-isl1208.c 		if (isl1208->config->has_timestamp)
isl1208           640 drivers/rtc/rtc-isl1208.c 			sysfs_notify(&isl1208->rtc->dev.kobj, NULL,
isl1208           744 drivers/rtc/rtc-isl1208.c 	struct isl1208_state *isl1208 = priv;
isl1208           745 drivers/rtc/rtc-isl1208.c 	struct i2c_client *client = to_i2c_client(isl1208->rtc->dev.parent);
isl1208           759 drivers/rtc/rtc-isl1208.c 	struct isl1208_state *isl1208 = priv;
isl1208           760 drivers/rtc/rtc-isl1208.c 	struct i2c_client *client = to_i2c_client(isl1208->rtc->dev.parent);
isl1208           803 drivers/rtc/rtc-isl1208.c 	struct isl1208_state *isl1208;
isl1208           813 drivers/rtc/rtc-isl1208.c 	isl1208 = devm_kzalloc(&client->dev, sizeof(*isl1208), GFP_KERNEL);
isl1208           814 drivers/rtc/rtc-isl1208.c 	if (!isl1208)
isl1208           816 drivers/rtc/rtc-isl1208.c 	i2c_set_clientdata(client, isl1208);
isl1208           820 drivers/rtc/rtc-isl1208.c 		isl1208->config = of_device_get_match_data(&client->dev);
isl1208           821 drivers/rtc/rtc-isl1208.c 		if (!isl1208->config)
isl1208           826 drivers/rtc/rtc-isl1208.c 		isl1208->config = &isl1208_configs[id->driver_data];
isl1208           829 drivers/rtc/rtc-isl1208.c 	isl1208->rtc = devm_rtc_allocate_device(&client->dev);
isl1208           830 drivers/rtc/rtc-isl1208.c 	if (IS_ERR(isl1208->rtc))
isl1208           831 drivers/rtc/rtc-isl1208.c 		return PTR_ERR(isl1208->rtc);
isl1208           833 drivers/rtc/rtc-isl1208.c 	isl1208->rtc->ops = &isl1208_rtc_ops;
isl1208           836 drivers/rtc/rtc-isl1208.c 	isl1208->nvmem_config = isl1208_nvmem_config;
isl1208           837 drivers/rtc/rtc-isl1208.c 	isl1208->nvmem_config.size = isl1208->config->nvmem_length;
isl1208           838 drivers/rtc/rtc-isl1208.c 	isl1208->nvmem_config.priv = isl1208;
isl1208           850 drivers/rtc/rtc-isl1208.c 	if (isl1208->config->has_tamper) {
isl1208           873 drivers/rtc/rtc-isl1208.c 	if (isl1208->config->has_timestamp) {
isl1208           874 drivers/rtc/rtc-isl1208.c 		rc = rtc_add_group(isl1208->rtc, &isl1219_rtc_sysfs_files);
isl1208           879 drivers/rtc/rtc-isl1208.c 	rc = rtc_add_group(isl1208->rtc, &isl1208_rtc_sysfs_files);
isl1208           893 drivers/rtc/rtc-isl1208.c 	rc = rtc_nvmem_register(isl1208->rtc, &isl1208->nvmem_config);
isl1208           897 drivers/rtc/rtc-isl1208.c 	return rtc_register_device(isl1208->rtc);