cros_ec_rtc 88 drivers/rtc/rtc-cros-ec.c struct cros_ec_rtc *cros_ec_rtc = dev_get_drvdata(dev); cros_ec_rtc 89 drivers/rtc/rtc-cros-ec.c struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; cros_ec_rtc 107 drivers/rtc/rtc-cros-ec.c struct cros_ec_rtc *cros_ec_rtc = dev_get_drvdata(dev); cros_ec_rtc 108 drivers/rtc/rtc-cros-ec.c struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; cros_ec_rtc 128 drivers/rtc/rtc-cros-ec.c struct cros_ec_rtc *cros_ec_rtc = dev_get_drvdata(dev); cros_ec_rtc 129 drivers/rtc/rtc-cros-ec.c struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; cros_ec_rtc 158 drivers/rtc/rtc-cros-ec.c struct cros_ec_rtc *cros_ec_rtc = dev_get_drvdata(dev); cros_ec_rtc 159 drivers/rtc/rtc-cros-ec.c struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; cros_ec_rtc 187 drivers/rtc/rtc-cros-ec.c cros_ec_rtc->saved_alarm = (u32)alarm_time; cros_ec_rtc 208 drivers/rtc/rtc-cros-ec.c struct cros_ec_rtc *cros_ec_rtc = dev_get_drvdata(dev); cros_ec_rtc 209 drivers/rtc/rtc-cros-ec.c struct cros_ec_device *cros_ec = cros_ec_rtc->cros_ec; cros_ec_rtc 221 drivers/rtc/rtc-cros-ec.c if (cros_ec_rtc->saved_alarm < current_time) cros_ec_rtc 224 drivers/rtc/rtc-cros-ec.c alarm_offset = cros_ec_rtc->saved_alarm - current_time; cros_ec_rtc 249 drivers/rtc/rtc-cros-ec.c cros_ec_rtc->saved_alarm = EC_RTC_ALARM_CLEAR; cros_ec_rtc 251 drivers/rtc/rtc-cros-ec.c cros_ec_rtc->saved_alarm = alarm_value; cros_ec_rtc 269 drivers/rtc/rtc-cros-ec.c struct cros_ec_rtc *cros_ec_rtc; cros_ec_rtc 274 drivers/rtc/rtc-cros-ec.c cros_ec_rtc = container_of(nb, struct cros_ec_rtc, notifier); cros_ec_rtc 275 drivers/rtc/rtc-cros-ec.c rtc = cros_ec_rtc->rtc; cros_ec_rtc 276 drivers/rtc/rtc-cros-ec.c cros_ec = cros_ec_rtc->cros_ec; cros_ec_rtc 299 drivers/rtc/rtc-cros-ec.c struct cros_ec_rtc *cros_ec_rtc = dev_get_drvdata(&pdev->dev); cros_ec_rtc 302 drivers/rtc/rtc-cros-ec.c return enable_irq_wake(cros_ec_rtc->cros_ec->irq); cros_ec_rtc 310 drivers/rtc/rtc-cros-ec.c struct cros_ec_rtc *cros_ec_rtc = dev_get_drvdata(&pdev->dev); cros_ec_rtc 313 drivers/rtc/rtc-cros-ec.c return disable_irq_wake(cros_ec_rtc->cros_ec->irq); cros_ec_rtc 326 drivers/rtc/rtc-cros-ec.c struct cros_ec_rtc *cros_ec_rtc; cros_ec_rtc 330 drivers/rtc/rtc-cros-ec.c cros_ec_rtc = devm_kzalloc(&pdev->dev, sizeof(*cros_ec_rtc), cros_ec_rtc 332 drivers/rtc/rtc-cros-ec.c if (!cros_ec_rtc) cros_ec_rtc 335 drivers/rtc/rtc-cros-ec.c platform_set_drvdata(pdev, cros_ec_rtc); cros_ec_rtc 336 drivers/rtc/rtc-cros-ec.c cros_ec_rtc->cros_ec = cros_ec; cros_ec_rtc 351 drivers/rtc/rtc-cros-ec.c cros_ec_rtc->rtc = devm_rtc_device_register(&pdev->dev, DRV_NAME, cros_ec_rtc 354 drivers/rtc/rtc-cros-ec.c if (IS_ERR(cros_ec_rtc->rtc)) { cros_ec_rtc 355 drivers/rtc/rtc-cros-ec.c ret = PTR_ERR(cros_ec_rtc->rtc); cros_ec_rtc 361 drivers/rtc/rtc-cros-ec.c cros_ec_rtc->notifier.notifier_call = cros_ec_rtc_event; cros_ec_rtc 363 drivers/rtc/rtc-cros-ec.c &cros_ec_rtc->notifier); cros_ec_rtc 374 drivers/rtc/rtc-cros-ec.c struct cros_ec_rtc *cros_ec_rtc = platform_get_drvdata(pdev); cros_ec_rtc 379 drivers/rtc/rtc-cros-ec.c &cros_ec_rtc->cros_ec->event_notifier, cros_ec_rtc 380 drivers/rtc/rtc-cros-ec.c &cros_ec_rtc->notifier);