Home
last modified time | relevance | path

Searched refs:mrst (Results 1 – 4 of 4) sorted by relevance

/drivers/rtc/
Drtc-mrst.c141 struct mrst_rtc *mrst = dev_get_drvdata(dev); in mrst_read_alarm() local
144 if (mrst->irq <= 0) in mrst_read_alarm()
162 static void mrst_checkintr(struct mrst_rtc *mrst, unsigned char rtc_control) in mrst_checkintr() argument
173 rtc_update_irq(mrst->rtc, 1, rtc_intr); in mrst_checkintr()
176 static void mrst_irq_enable(struct mrst_rtc *mrst, unsigned char mask) in mrst_irq_enable() argument
185 mrst_checkintr(mrst, rtc_control); in mrst_irq_enable()
190 mrst_checkintr(mrst, rtc_control); in mrst_irq_enable()
193 static void mrst_irq_disable(struct mrst_rtc *mrst, unsigned char mask) in mrst_irq_disable() argument
200 mrst_checkintr(mrst, rtc_control); in mrst_irq_disable()
205 struct mrst_rtc *mrst = dev_get_drvdata(dev); in mrst_set_alarm() local
[all …]
DMakefile181 obj-$(CONFIG_RTC_DRV_VRTC) += rtc-mrst.o
/drivers/pci/controller/dwc/
Dpci-meson.c103 struct meson_pcie_rc_reset mrst; member
124 struct meson_pcie_rc_reset *mrst = &mp->mrst; in meson_pcie_get_resets() local
126 mrst->phy = meson_pcie_get_reset(mp, "phy", PCIE_SHARED_RESET); in meson_pcie_get_resets()
127 if (IS_ERR(mrst->phy)) in meson_pcie_get_resets()
128 return PTR_ERR(mrst->phy); in meson_pcie_get_resets()
129 reset_control_deassert(mrst->phy); in meson_pcie_get_resets()
131 mrst->port = meson_pcie_get_reset(mp, "port", PCIE_NORMAL_RESET); in meson_pcie_get_resets()
132 if (IS_ERR(mrst->port)) in meson_pcie_get_resets()
133 return PTR_ERR(mrst->port); in meson_pcie_get_resets()
134 reset_control_deassert(mrst->port); in meson_pcie_get_resets()
[all …]
/drivers/staging/media/imx/
Dimx7-mipi-csis.c245 struct reset_control *mrst; member
362 reset_control_assert(state->mrst); in mipi_csis_phy_reset()
366 reset_control_deassert(state->mrst); in mipi_csis_phy_reset()
835 state->mrst = devm_reset_control_get_exclusive(&pdev->dev, "mrst"); in mipi_csis_parse_dt()
836 if (IS_ERR(state->mrst)) in mipi_csis_parse_dt()
837 return PTR_ERR(state->mrst); in mipi_csis_parse_dt()