Lines Matching refs:rx8025

64 	{ "rx8025", 0 },
144 struct rx8025_data *rx8025 = i2c_get_clientdata(client);
145 struct mutex *lock = &rx8025->rtc->ops_lock;
160 rtc_update_irq(rx8025->rtc, 1, RTC_PF | RTC_IRQF);
167 rx8025->ctrl1 & ~RX8025_BIT_CTRL1_DALE))
169 rtc_update_irq(rx8025->rtc, 1, RTC_AF | RTC_IRQF);
181 struct rx8025_data *rx8025 = dev_get_drvdata(dev);
197 if (rx8025->ctrl1 & RX8025_BIT_CTRL1_1224)
215 struct rx8025_data *rx8025 = dev_get_drvdata(dev);
228 if (rx8025->ctrl1 & RX8025_BIT_CTRL1_1224)
250 struct rx8025_data *rx8025 = i2c_get_clientdata(client);
260 rx8025->ctrl1 = ctrl[0] & ~RX8025_BIT_CTRL1_TEST;
285 struct rx8025_data *rx8025 = dev_get_drvdata(dev);
306 if (rx8025->ctrl1 & RX8025_BIT_CTRL1_1224)
313 t->enabled = !!(rx8025->ctrl1 & RX8025_BIT_CTRL1_DALE);
322 struct rx8025_data *rx8025 = dev_get_drvdata(dev);
341 if (rx8025->ctrl1 & RX8025_BIT_CTRL1_1224)
349 if (rx8025->ctrl1 & RX8025_BIT_CTRL1_DALE) {
350 rx8025->ctrl1 &= ~RX8025_BIT_CTRL1_DALE;
352 rx8025->ctrl1);
361 rx8025->ctrl1 |= RX8025_BIT_CTRL1_DALE;
363 rx8025->ctrl1);
374 struct rx8025_data *rx8025 = dev_get_drvdata(dev);
378 ctrl1 = rx8025->ctrl1;
384 if (ctrl1 != rx8025->ctrl1) {
385 rx8025->ctrl1 = ctrl1;
387 rx8025->ctrl1);
507 struct rx8025_data *rx8025;
517 rx8025 = devm_kzalloc(&client->dev, sizeof(*rx8025), GFP_KERNEL);
518 if (!rx8025)
521 i2c_set_clientdata(client, rx8025);
527 rx8025->rtc = devm_rtc_device_register(&client->dev, client->name,
529 if (IS_ERR(rx8025->rtc)) {
531 return PTR_ERR(rx8025->rtc);
539 "rx8025", client);
546 rx8025->rtc->max_user_freq = 1;
548 /* the rx8025 alarm only supports a minute accuracy */
549 rx8025->rtc->uie_unsupported = 1;
563 .name = "rtc-rx8025",