Home
last modified time | relevance | path

Searched full:vrtc (Results 1 – 25 of 82) sorted by relevance

1234

/kernel/linux/linux-6.6/drivers/rtc/
Drtc-meson-vrtc.c32 static void meson_vrtc_set_wakeup_time(struct meson_vrtc_data *vrtc, in meson_vrtc_set_wakeup_time() argument
35 writel_relaxed(time, vrtc->io_alarm); in meson_vrtc_set_wakeup_time()
40 struct meson_vrtc_data *vrtc = dev_get_drvdata(dev); in meson_vrtc_set_alarm() local
44 vrtc->alarm_time = rtc_tm_to_time64(&alarm->time); in meson_vrtc_set_alarm()
46 vrtc->alarm_time = 0; in meson_vrtc_set_alarm()
53 struct meson_vrtc_data *vrtc = dev_get_drvdata(dev); in meson_vrtc_alarm_irq_enable() local
55 vrtc->enabled = enabled; in meson_vrtc_alarm_irq_enable()
67 struct meson_vrtc_data *vrtc; in meson_vrtc_probe() local
69 vrtc = devm_kzalloc(&pdev->dev, sizeof(*vrtc), GFP_KERNEL); in meson_vrtc_probe()
70 if (!vrtc) in meson_vrtc_probe()
[all …]
Drtc-88pm860x.c30 int vrtc; member
213 vrtc_set = 2700 + (info->vrtc & 0x3) * 200; in calibrate_vrtc_work()
233 /* trigger next calibration since VRTC is updated */ in calibrate_vrtc_work()
239 dev_dbg(info->dev, "finish VRTC calibration\n"); in calibrate_vrtc_work()
257 ret = of_property_read_u32(np, "marvell,88pm860x-vrtc", &info->vrtc); in pm860x_rtc_dt_init()
259 info->vrtc = 0; in pm860x_rtc_dt_init()
324 /* calibrate VRTC */ in pm860x_rtc_probe()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-meson-vrtc.c32 static void meson_vrtc_set_wakeup_time(struct meson_vrtc_data *vrtc, in meson_vrtc_set_wakeup_time() argument
35 writel_relaxed(time, vrtc->io_alarm); in meson_vrtc_set_wakeup_time()
40 struct meson_vrtc_data *vrtc = dev_get_drvdata(dev); in meson_vrtc_set_alarm() local
44 vrtc->alarm_time = rtc_tm_to_time64(&alarm->time); in meson_vrtc_set_alarm()
46 vrtc->alarm_time = 0; in meson_vrtc_set_alarm()
53 struct meson_vrtc_data *vrtc = dev_get_drvdata(dev); in meson_vrtc_alarm_irq_enable() local
55 vrtc->enabled = enabled; in meson_vrtc_alarm_irq_enable()
67 struct meson_vrtc_data *vrtc; in meson_vrtc_probe() local
69 vrtc = devm_kzalloc(&pdev->dev, sizeof(*vrtc), GFP_KERNEL); in meson_vrtc_probe()
70 if (!vrtc) in meson_vrtc_probe()
[all …]
Drtc-mrst.c10 * VRTC is emulated by system controller firmware, the real HW
20 * * vRTC only supports binary mode and 24H mode
21 * * vRTC only support PIE and AIE, no UIE, and its PIE only happens
72 * rtc_time's year contains the increment over 1900, but vRTC's YEAR
73 * register can't be programmed to value larger than 0x64, so vRTC
78 * make it consistent in leap year setting for both vrtc and low-level
147 /* vRTC only supports binary mode */ in mrst_read_alarm()
240 /* Currently, the vRTC doesn't support UIE ON/OFF */
293 * When vRTC IRQ is captured by SCU FW, FW will clear the AIE bit in
Drtc-88pm860x.c30 int vrtc; member
213 vrtc_set = 2700 + (info->vrtc & 0x3) * 200; in calibrate_vrtc_work()
233 /* trigger next calibration since VRTC is updated */ in calibrate_vrtc_work()
239 dev_dbg(info->dev, "finish VRTC calibration\n"); in calibrate_vrtc_work()
257 ret = of_property_read_u32(np, "marvell,88pm860x-vrtc", &info->vrtc); in pm860x_rtc_dt_init()
259 info->vrtc = 0; in pm860x_rtc_dt_init()
324 /* calibrate VRTC */ in pm860x_rtc_probe()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/rtc/
Drtc-meson-vrtc.txt1 * Amlogic Virtual RTC (VRTC)
8 - compatible: should be "amlogic,meson-vrtc"
19 vrtc: rtc@0a8 {
20 compatible = "amlogic,meson-vrtc";
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/
Dintel_mid_vrtc.c8 * VRTC is emulated by system controller firmware, the real HW
34 /* vRTC's registers range from 0x0 to 0xD */ in vrtc_cmos_read()
76 /* vRTC YEAR reg contains the offset to 1972 */ in vrtc_get_time()
79 pr_info("vRTC: sec: %d min: %d hour: %d day: %d " in vrtc_get_time()
97 * vrtc need the years since 1972. in vrtc_set_mmss()
109 pr_err("%s: Invalid vRTC value: write of %llx to vRTC failed\n", in vrtc_set_mmss()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/rtc/
Damlogic,meson-vrtc.yaml4 $id: http://devicetree.org/schemas/rtc/amlogic,meson-vrtc.yaml#
7 title: Amlogic Virtual RTC (VRTC)
28 - amlogic,meson-vrtc
42 compatible = "amlogic,meson-vrtc";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dtps65910.txt23 tps65910: vrtc, vio, vdd1, vdd2, vdd3, vdig1, vdig2, vpll, vdac, vaux1,
25 tps65911: vrtc, vio, vdd1, vdd2, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5,
41 vcc7-supply: VRTC and VBB input.
50 vcc7-supply: VRTC input.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dtps65910.txt23 tps65910: vrtc, vio, vdd1, vdd2, vdd3, vdig1, vdig2, vpll, vdac, vaux1,
25 tps65911: vrtc, vio, vdd1, vdd2, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5,
41 vcc7-supply: VRTC and VBB input.
50 vcc7-supply: VRTC input.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dmax8907.txt7 - mbatt-supply: The input supply for MBATT, BBAT, SDBY, VRTC.
28 out33v, bbat, sdby, vrtc.
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dmax8907.txt7 - mbatt-supply: The input supply for MBATT, BBAT, SDBY, VRTC.
28 out33v, bbat, sdby, vrtc.
Dmediatek,mt6331-regulator.yaml260 mt6331_vrtc_reg: ldo-vrtc {
261 regulator-name = "vrtc";
/kernel/linux/linux-6.6/include/linux/mfd/wm8350/
Dcomparator.h149 * USB/2, LINE & BATT = ((VRTC * 2) / 4095)) * 10e6 uV
150 * Where VRTC = 2.7 V
/kernel/linux/linux-5.10/include/linux/mfd/wm8350/
Dcomparator.h149 * USB/2, LINE & BATT = ((VRTC * 2) / 4095)) * 10e6 uV
150 * Where VRTC = 2.7 V
/kernel/linux/linux-5.10/Documentation/hwmon/
Dwm8350.rst30 is referenced to the system VRTC.
/kernel/linux/linux-6.6/Documentation/hwmon/
Dwm8350.rst30 is referenced to the system VRTC.
/kernel/linux/linux-6.6/drivers/regulator/
Dmax8907-regulator.c178 REG_FIXED(VRTC, "MBATT", 3300000),
218 MATCH(vrtc, VRTC),
Dtps65910-regulator.c36 /* supported VRTC voltages in microvolts */
101 .name = "vrtc",
196 .name = "vrtc",
760 /* Regulator ops (except VRTC) */
965 { .name = "vrtc", .driver_data = (void *) &tps65910_regs[0] },
982 { .name = "vrtc", .driver_data = (void *) &tps65911_regs[0] },
/kernel/linux/linux-5.10/drivers/regulator/
Dmax8907-regulator.c178 REG_FIXED(VRTC, "MBATT", 3300000),
218 MATCH(vrtc, VRTC),
Dtps65910-regulator.c37 /* supported VRTC voltages in microvolts */
102 .name = "vrtc",
197 .name = "vrtc",
761 /* Regulator ops (except VRTC) */
966 { .name = "vrtc", .driver_data = (void *) &tps65910_regs[0] },
983 { .name = "vrtc", .driver_data = (void *) &tps65911_regs[0] },
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dtps65910.dtsi20 regulator-compatible = "vrtc";
/kernel/linux/linux-6.6/arch/arm/boot/dts/
Dtps65910.dtsi20 regulator-compatible = "vrtc";
/kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/
Dmt6331.dtsi252 mt6331_vrtc_reg: ldo-vrtc {
253 regulator-name = "vrtc";
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dintel_scu_ipc_legacy.h17 #define IPCMSG_VRTC 0xFA /* Set vRTC device */

1234