Searched refs:mrst (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/rtc/
H A Drtc-mrst.c2 * rtc-mrst.c: Driver for Moorestown virtual RTC
146 struct mrst_rtc *mrst = dev_get_drvdata(dev); mrst_read_alarm() local
149 if (mrst->irq <= 0) mrst_read_alarm()
175 static void mrst_checkintr(struct mrst_rtc *mrst, unsigned char rtc_control) mrst_checkintr() argument
186 rtc_update_irq(mrst->rtc, 1, rtc_intr); mrst_checkintr()
189 static void mrst_irq_enable(struct mrst_rtc *mrst, unsigned char mask) mrst_irq_enable() argument
198 mrst_checkintr(mrst, rtc_control); mrst_irq_enable()
203 mrst_checkintr(mrst, rtc_control); mrst_irq_enable()
206 static void mrst_irq_disable(struct mrst_rtc *mrst, unsigned char mask) mrst_irq_disable() argument
213 mrst_checkintr(mrst, rtc_control); mrst_irq_disable()
218 struct mrst_rtc *mrst = dev_get_drvdata(dev); mrst_set_alarm() local
222 if (!mrst->irq) mrst_set_alarm()
231 mrst_irq_disable(mrst, RTC_AIE); mrst_set_alarm()
246 mrst_irq_enable(mrst, RTC_AIE); mrst_set_alarm()
256 struct mrst_rtc *mrst = dev_get_drvdata(dev); mrst_rtc_alarm_irq_enable() local
261 mrst_irq_enable(mrst, RTC_AIE); mrst_rtc_alarm_irq_enable()
263 mrst_irq_disable(mrst, RTC_AIE); mrst_rtc_alarm_irq_enable()
387 dev_err(dev, "rtc-mrst: unable to initialise\n"); vrtc_mrst_do_probe()
400 struct mrst_rtc *mrst = dev_get_drvdata(dev); rtc_mrst_do_remove() local
405 if (mrst->irq) rtc_mrst_do_remove()
406 free_irq(mrst->irq, mrst->rtc); rtc_mrst_do_remove()
408 rtc_device_unregister(mrst->rtc); rtc_mrst_do_remove()
409 mrst->rtc = NULL; rtc_mrst_do_remove()
411 iomem = mrst->iomem; rtc_mrst_do_remove()
413 mrst->iomem = NULL; rtc_mrst_do_remove()
415 mrst->dev = NULL; rtc_mrst_do_remove()
421 struct mrst_rtc *mrst = dev_get_drvdata(dev); mrst_suspend() local
426 mrst->suspend_ctrl = tmp = vrtc_cmos_read(RTC_CONTROL); mrst_suspend()
437 mrst_checkintr(mrst, tmp); mrst_suspend()
442 mrst->enabled_wake = 1; mrst_suspend()
443 enable_irq_wake(mrst->irq); mrst_suspend()
463 struct mrst_rtc *mrst = dev_get_drvdata(dev); mrst_resume() local
464 unsigned char tmp = mrst->suspend_ctrl; mrst_resume()
470 if (mrst->enabled_wake) { mrst_resume()
471 disable_irq_wake(mrst->irq); mrst_resume()
472 mrst->enabled_wake = 0; mrst_resume()
484 rtc_update_irq(mrst->rtc, 1, mask); mrst_resume()
H A DMakefile46 obj-$(CONFIG_RTC_DRV_VRTC) += rtc-mrst.o
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dpsb_drv.h444 struct pci_dev *aux_pdev; /* Currently only used by mrst */
445 struct pci_dev *lpc_pdev; /* Currently only used by mrst */
H A Dmdfld_dsi_dpi.c237 DRM_INFO("Enter mrst init TPO MIPI display.\n"); mdfld_dsi_tpo_ic_init()
H A Dpsb_intel_reg.h807 #define DPLLA_MODE_LVDS (2 << 26) /* mrst */

Completed in 241 milliseconds