Home
last modified time | relevance | path

Searched full:rtc (Results 1 – 25 of 50) sorted by relevance

12

/optee_os/core/include/drivers/
H A Drtc.h13 /* The RTC allows to set/get offset for correction */
15 /* The RTC allows to set/read an alarm */
17 /* The RTC can wake-up the platform through alarm */
60 struct rtc { struct
68 * struct optee_rtc_alarm - The RTC alarm
81 * @RTC_WAIT_ALARM_RESET: Reset the wait for the RTC alarm
82 * @RTC_WAIT_ALARM_ALARM_OCCURRED: The RTC alarm occurred
83 * @RTC_WAIT_ALARM_CANCELED: The wait for the RTC alarm was canceled
92 * struct rtc_ops - The RTC device operations
94 * @get_time: Get the RTC time.
[all …]
H A Dstm32_rtc.h9 #include <drivers/rtc.h>
16 * in RTC
21 * stm32_rtc_is_timestamp_enabled() - Indicates if RTC timestamping is enabled
23 * @ret: [Out] True if and only if RTC timestamp is enabled
28 * stm32_rtc_get_timestamp() - Get RTC timestamp for current time. This function
31 * @tm: [Out] RTC timestamp value
36 * stm32_rtc_driver_is_initialized() - Indicates if RTC driver is initialized
H A Datmel_rtc.h9 #include <drivers/rtc.h>
/optee_os/lib/libutee/include/
H A Dpta_rtc.h16 * RTC provides set/get offset and thus command PTA_CMD_RTC_GET_OFFSET and
22 * RTC provides set/read/enable/wait alarm and thus
47 * struct pta_rtc_alarm - State of an RTC alarm
59 * struct pta_rtc_info - RTC service information
62 * @range_min - Minima time reference the RTC can be programmed to
63 * @range_max - Maxima time reference the RTC can reach
73 * PTA_CMD_RTC_GET_INFO - Get RTC information
75 * [out] memref[0] RTC buffer memory reference containing a struct
85 * PTA_CMD_RTC_GET_TIME - Get time from RTC
87 * [out] memref[0] RTC buffer memory reference containing a struct
[all …]
/optee_os/core/drivers/
H A Dstm32_rtc.c8 #include <drivers/rtc.h>
190 * struct rtc_device - RTC device data
191 * @base: RTC IOMEM base address
192 * @compat: RTC compatible data
193 * @pclk: RTC bus clock
194 * @rtc_ck: RTC kernel clock
195 * @conf_data: RTC RIF configuration data, when supported
196 * @nb_res: Number of protectible RTC resources
198 * @flags: RTC driver flags
199 * @is_secured: True if the RTC is fully secured
[all …]
H A Datmel_rtc.c5 * Driver for AT91 RTC
10 #include <drivers/rtc.h>
132 static TEE_Result atmel_rtc_get_time(struct rtc *rtc __unused, in atmel_rtc_get_time()
150 static TEE_Result atmel_rtc_set_time(struct rtc *rtc __unused, in atmel_rtc_set_time()
200 static TEE_Result atmel_rtc_get_offset(struct rtc *rtc __unused, long *offset) in atmel_rtc_get_offset()
225 static TEE_Result atmel_rtc_set_offset(struct rtc *rtc __unused, long offset) in atmel_rtc_set_offset()
278 static struct rtc atmel_rtc = {
315 { .compatible = "atmel,sama5d2-rtc" },
317 .compatible = "microchip,sama7g5-rtc",
/optee_os/core/drivers/rtc/
H A Drtc.c7 #include <drivers/rtc.h>
17 struct rtc *rtc_device;
119 void rtc_register(struct rtc *rtc) in rtc_register() argument
121 /* One RTC is supported only */ in rtc_register()
124 /* RTC should *at least* allow to get the time */ in rtc_register()
125 assert(rtc && rtc->ops && rtc->ops->get_time); in rtc_register()
127 rtc_device = rtc; in rtc_register()
H A Dsub.mk1 srcs-$(CFG_DRIVERS_RTC) += rtc.c
/optee_os/core/drivers/counter/
H A Dstm32_stgen.c9 #include <drivers/rtc.h>
42 * @calendar: RTC calendar data at suspend time
106 /* Save current time from the RTC */ in stm32_stgen_pm_suspend()
109 panic("Could not get RTC calendar at suspend"); in stm32_stgen_pm_suspend()
130 /* Read the current time from the RTC to update system counter */ in stm32_stgen_pm_resume()
133 panic("Could not get RTC calendar at resume"); in stm32_stgen_pm_resume()
/optee_os/core/pta/
H A Drtc.c9 #include <drivers/rtc.h>
16 #define PTA_NAME "rtc.pta"
313 /* Only REE kernel is allowed to access RTC */ in open_session()
H A Dsub.mk15 srcs-$(CFG_RTC_PTA) += rtc.c
/optee_os/core/arch/arm/dts/
H A Dstm32mp157c-dhcom-pdk2.dts7 * DHCM-STM32MP157C-C065-R102-F0819-SPI-E2-CAN2-SDR104-RTC-WBT-T-DSI-I-01D2
H A Dfsl-lx2160a-rdb.dts123 rtc@51 {
H A Dstm32mp15xx-dhcom-som.dtsi17 rtc1 = &rtc;
270 hwrtc: rtc@32 {
488 &rtc {
H A Dstm32mp131.dtsi351 rtc: rtc@5c004000 { label
352 compatible = "st,stm32mp13-rtc";
354 clocks = <&rcc RTCAPB>, <&rcc RTC>;
H A Dsama7g5.dtsi356 atmel,wakeup-rtc-timer;
362 rtt: rtc@e001d020 {
383 rtc: rtc@e001d0a8 { label
384 compatible = "microchip,sama7g5-rtc", "microchip,sam9x60-rtc";
H A Dat91-sama5d27_wlsom1_ek.dts193 atmel,wakeup-rtc-timer;
H A Dstm32mp231.dtsi580 rtc: rtc@46000000 { label
581 compatible = "st,stm32mp25-rtc";
/optee_os/core/arch/arm/plat-stm32mp2/
H A Dconf.mk121 # Default RTC accuracy, higher accuracy means higher power consumption
179 # Enable RTC
/optee_os/core/arch/arm/plat-rzn1/
H A Drzn1_tz.h27 #define TZ_TARG_W_SEC BIT(14) /* RTC */
/optee_os/core/arch/riscv/plat-virt/
H A Dplatform_config.h57 /* RTC */
/optee_os/core/include/dt-bindings/clock/
H A Dstm32mp13-clks.h57 #define RTC 35 macro
H A Dstm32mp1-clks.h203 #define RTC 192 macro
/optee_os/core/arch/arm/plat-stm32mp1/
H A Dconf.mk257 # Default RTC accuracy, higher accuracy means higher power consumption
448 # Enable RTC
/optee_os/core/drivers/pm/sam/
H A Dat91_pm.c154 { .compatible = "atmel,at91rm9200-rtc", .info = &ws_info[1] },
163 { .compatible = "microchip,sama7g5-rtc", .info = &ws_info[1] },

12