| /kernel/linux/linux-6.6/drivers/rtc/ |
| D | rtc-meson-vrtc.c | 32 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 …]
|
| D | rtc-88pm860x.c | 30 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/ |
| D | rtc-meson-vrtc.c | 32 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 …]
|
| D | rtc-mrst.c | 10 * 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
|
| D | rtc-88pm860x.c | 30 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/ |
| D | rtc-meson-vrtc.txt | 1 * 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/ |
| D | intel_mid_vrtc.c | 8 * 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/ |
| D | amlogic,meson-vrtc.yaml | 4 $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/ |
| D | tps65910.txt | 23 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/ |
| D | tps65910.txt | 23 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/ |
| D | max8907.txt | 7 - mbatt-supply: The input supply for MBATT, BBAT, SDBY, VRTC. 28 out33v, bbat, sdby, vrtc.
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | max8907.txt | 7 - mbatt-supply: The input supply for MBATT, BBAT, SDBY, VRTC. 28 out33v, bbat, sdby, vrtc.
|
| D | mediatek,mt6331-regulator.yaml | 260 mt6331_vrtc_reg: ldo-vrtc { 261 regulator-name = "vrtc";
|
| /kernel/linux/linux-6.6/include/linux/mfd/wm8350/ |
| D | comparator.h | 149 * USB/2, LINE & BATT = ((VRTC * 2) / 4095)) * 10e6 uV 150 * Where VRTC = 2.7 V
|
| /kernel/linux/linux-5.10/include/linux/mfd/wm8350/ |
| D | comparator.h | 149 * USB/2, LINE & BATT = ((VRTC * 2) / 4095)) * 10e6 uV 150 * Where VRTC = 2.7 V
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | wm8350.rst | 30 is referenced to the system VRTC.
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | wm8350.rst | 30 is referenced to the system VRTC.
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | max8907-regulator.c | 178 REG_FIXED(VRTC, "MBATT", 3300000), 218 MATCH(vrtc, VRTC),
|
| D | tps65910-regulator.c | 36 /* 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/ |
| D | max8907-regulator.c | 178 REG_FIXED(VRTC, "MBATT", 3300000), 218 MATCH(vrtc, VRTC),
|
| D | tps65910-regulator.c | 37 /* 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/ |
| D | tps65910.dtsi | 20 regulator-compatible = "vrtc";
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/ |
| D | tps65910.dtsi | 20 regulator-compatible = "vrtc";
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/ |
| D | mt6331.dtsi | 252 mt6331_vrtc_reg: ldo-vrtc { 253 regulator-name = "vrtc";
|
| /kernel/linux/linux-5.10/arch/x86/include/asm/ |
| D | intel_scu_ipc_legacy.h | 17 #define IPCMSG_VRTC 0xFA /* Set vRTC device */
|