Lines Matching full:isl12022
43 struct isl12022 { struct
101 * In the routines that deal directly with the isl12022 hardware, we use
156 struct isl12022 *isl12022 = i2c_get_clientdata(client); in isl12022_rtc_set_time() local
167 if (!isl12022->write_enabled) { in isl12022_rtc_set_time()
201 isl12022->write_enabled = true; in isl12022_rtc_set_time()
238 struct isl12022 *isl12022; in isl12022_probe() local
243 isl12022 = devm_kzalloc(&client->dev, sizeof(struct isl12022), in isl12022_probe()
245 if (!isl12022) in isl12022_probe()
248 i2c_set_clientdata(client, isl12022); in isl12022_probe()
250 isl12022->rtc = devm_rtc_device_register(&client->dev, in isl12022_probe()
253 return PTR_ERR_OR_ZERO(isl12022->rtc); in isl12022_probe()
258 { .compatible = "isl,isl12022" }, /* for backward compat., don't use */
259 { .compatible = "isil,isl12022" },
266 { "isl12022", 0 },
273 .name = "rtc-isl12022",