/u-boot/drivers/rtc/ |
A D | mx27rtc.c | 21 uint32_t day, hour, min, sec; in rtc_get() local 25 sec = readl(&rtc_regs->seconds); in rtc_get() 32 rtc_to_tm(sec, time); in rtc_get() 40 uint32_t day, hour, min, sec; in rtc_set() local 42 sec = rtc_mktime(time); in rtc_set() 44 day = sec / (24 * 3600); in rtc_set() 45 sec = sec % (24 * 3600); in rtc_set() 46 hour = sec / 3600; in rtc_set() 47 sec = sec % 3600; in rtc_set() 48 min = sec / 60; in rtc_set() [all …]
|
A D | max6900.c | 40 uchar sec, min, hour, mday, wday, mon, cent, year; in rtc_get() local 44 sec = rtc_read (0x80); in rtc_get() 55 if ((sec != 59) || (rtc_read(0x80) == sec)){ in rtc_get() 63 hour, min, sec ); in rtc_get() 65 tmp->tm_sec = bcd2bin (sec & 0x7F); in rtc_get()
|
A D | s3c24x0_rtc.c | 46 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local 55 sec = readb(&rtc->bcdsec); in rtc_get() 62 } while (sec != readb(&rtc->bcdsec)); in rtc_get() 79 year, mon, mday, wday, hour, min, sec); in rtc_get() 85 tmp->tm_sec = bcd2bin(sec & 0x7F); in rtc_get() 110 uchar sec, min, hour, mday, wday, mon, year; in rtc_set() local 123 sec = bin2bcd(tmp->tm_sec); in rtc_set() 129 writeb(sec, &rtc->bcdsec); in rtc_set()
|
A D | pcf8563.c | 29 uchar sec, min, hour, mday, wday, mon_cent, year; in rtc_get() local 31 sec = rtc_read (0x02); in rtc_get() 42 hour, min, sec ); in rtc_get() 49 if (sec & 0x80) { in rtc_get() 54 tmp->tm_sec = bcd2bin (sec & 0x7F); in rtc_get() 125 uchar sec, min, hour, mday, wday, mon_cent, year; in pcf8563_rtc_get() local 127 sec = dm_i2c_reg_read(dev, 0x02); in pcf8563_rtc_get() 138 hour, min, sec); in pcf8563_rtc_get() 145 if (sec & 0x80) { in pcf8563_rtc_get() 150 tmp->tm_sec = bcd2bin(sec & 0x7F); in pcf8563_rtc_get()
|
A D | pt7c4338.c | 69 u8 sec, min, hour, mday, wday, mon, year, ctl_stat; in rtc_get() local 72 sec = rtc_read(RTC_SEC_REG_ADDR); in rtc_get() 81 year, mon, mday, wday, hour, min, sec, ctl_stat); in rtc_get() 92 tmp->tm_sec = bcd2bin(sec & 0x7F); in rtc_get() 146 u8 sec, min, hour, mday, wday, mon, year, ctl_stat; in pt7c4338_rtc_get() local 149 sec = rtc_read(dev, RTC_SEC_REG_ADDR); in pt7c4338_rtc_get() 159 hour, min, sec, ctl_stat); in pt7c4338_rtc_get() 171 tmp->tm_sec = bcd2bin(sec & 0x7F); in pt7c4338_rtc_get()
|
A D | davinci.c | 17 unsigned long sec, min, hour, mday, wday, mon_cent, year; in rtc_get() local 28 sec = readl(&rtc->second); in rtc_get() 39 hour, min, sec); in rtc_get() 41 tmp->tm_sec = bcd2bin(sec & 0x7F); in rtc_get()
|
A D | ftrtc010.c | 16 unsigned int sec; /* 0x00 */ member 62 second = readl(&rtc->sec); in ftrtc010_time() 66 second2 = readl(&rtc->sec); in ftrtc010_time()
|
A D | m48t35ax.c | 26 uchar sec, min, hour, cent_day, date, month, year; in rtc_get() local 34 sec = rtc_read (0x1); in rtc_get() 50 hour, min, sec ); in rtc_get() 52 tmp->tm_sec = bcd2bin (sec & 0x7F); in rtc_get()
|
A D | ds1337.c | 76 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get() local 80 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get() 95 year, mon_cent, mday, wday, hour, min, sec, control, status); in rtc_get() 105 tmp->tm_sec = bcd2bin (sec & 0x7F); in rtc_get() 209 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in ds1337_rtc_get() local 213 sec = rtc_read(dev, RTC_SEC_REG_ADDR); in ds1337_rtc_get() 229 hour, min, sec, control, status); in ds1337_rtc_get() 239 tmp->tm_sec = bcd2bin(sec & 0x7F); in ds1337_rtc_get()
|
A D | ds3231.c | 69 uchar sec, min, hour, mday, wday, mon_cent, year, control, status; in rtc_get() local 73 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get() 83 year, mon_cent, mday, wday, hour, min, sec, control, status); in rtc_get() 93 tmp->tm_sec = bcd2bin (sec & 0x7F); in rtc_get() 178 uchar sec, min, hour, mday, wday, mon_cent, year, status; in ds3231_rtc_get() local 181 sec = dm_i2c_reg_read(dev, RTC_SEC_REG_ADDR); in ds3231_rtc_get() 198 tmp->tm_sec = bcd2bin(sec & 0x7F); in ds3231_rtc_get()
|
A D | ds164x.c | 54 uchar sec, min, hour; in rtc_get() local 63 sec = rtc_read( RTC_SECONDS ); in rtc_get() 78 hour, min, sec ); in rtc_get() 80 tmp->tm_sec = bcd2bin( sec & 0x7F ); in rtc_get()
|
A D | ds1556.c | 54 uchar sec, min, hour; in rtc_get() local 65 sec = rtc_read( RTC_SECONDS ); in rtc_get() 81 hour, min, sec ); in rtc_get() 83 tmp->tm_sec = bcd2bin( sec & 0x7F ); in rtc_get()
|
A D | ds174x.c | 49 uchar sec, min, hour; in rtc_get() local 60 sec = rtc_read( RTC_SECONDS ); in rtc_get() 76 hour, min, sec ); in rtc_get() 78 tmp->tm_sec = bcd2bin( sec & 0x7F ); in rtc_get()
|
A D | mk48t59.c | 78 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local 87 sec = rtc_read (RTC_SECONDS); in rtc_get() 103 hour, min, sec ); in rtc_get() 105 tmp->tm_sec = bcd2bin (sec & 0x7F); in rtc_get()
|
A D | ds1307.c | 84 uchar sec, min, hour, mday, wday, mon, year; in rtc_get() local 89 sec = rtc_read (RTC_SEC_REG_ADDR); in rtc_get() 99 year, mon, mday, wday, hour, min, sec); in rtc_get() 102 if (sec & RTC_SEC_BIT_CH) { in rtc_get() 119 if (!(sec & MCP7941X_BIT_ST)) { in rtc_get() 127 tmp->tm_sec = bcd2bin (sec & 0x7F); in rtc_get()
|
/u-boot/arch/powerpc/dts/ |
A D | qoriq-sec5.0-0.dtsi | 9 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; 10 fsl,sec-era = <5>; 18 compatible = "fsl,sec-v5.0-job-ring", 19 "fsl,sec-v4.0-job-ring"; 26 "fsl,sec-v4.0-job-ring"; 33 "fsl,sec-v4.0-job-ring"; 40 "fsl,sec-v4.0-job-ring"; 46 compatible = "fsl,sec-v5.0-rtic", 47 "fsl,sec-v4.0-rtic"; 55 "fsl,sec-v4.0-rtic-memory"; [all …]
|
/u-boot/drivers/crypto/fsl/ |
A D | jr.c | 48 u32 ctpr_ms = sec_in32(&sec->ctpr_ms); in start_jr0() 49 u32 scfgr = sec_in32(&sec->scfgr); in start_jr0() 68 sec_out32(&sec->jrliodnr[0].ls, 0); in jr_reset_liodn() 425 sec_out32(&sec->mcfgr, mcfgr); in sec_reset_idx() 428 sec_out32(&sec->mcfgr, mcfgr); in sec_reset_idx() 430 mcfgr = sec_in32(&sec->mcfgr); in sec_reset_idx() 438 mcfgr = sec_in32(&sec->mcfgr); in sec_reset_idx() 503 (struct rng4tst __iomem *)&sec->rng; in instantiate_rng() 578 (struct rng4tst __iomem *)&sec->rng; in kick_trng() 650 uint32_t mcr = sec_in32(&sec->mcfgr); in sec_init_idx() [all …]
|
A D | sec.c | 131 ccsr_sec_t __iomem *sec = (void __iomem *)CONFIG_SYS_FSL_SEC_ADDR; in caam_get_era() local 132 u32 secvid_ms = sec_in32(&sec->secvid_ms); in caam_get_era() 133 u32 ccbvid = sec_in32(&sec->ccbvid); in caam_get_era()
|
A D | jobdesc.c | 29 ccsr_sec_t *sec = (void *)CONFIG_SYS_FSL_SEC_ADDR; in secmem_set_cmd() local 30 uint32_t sm_vid = SM_VERSION(sec_in32(&sec->smvid)); in secmem_set_cmd() 59 ccsr_sec_t *sec = (void *)CONFIG_SYS_FSL_SEC_ADDR; in caam_page_alloc() local 60 uint32_t sm_vid = SM_VERSION(sec_in32(&sec->smvid)); in caam_page_alloc() 117 ccsr_sec_t *sec = (void *)CONFIG_SYS_FSL_SEC_ADDR; in inline_cnstr_jobdesc_blob_dek() local 118 uint32_t sm_vid = SM_VERSION(sec_in32(&sec->smvid)); in inline_cnstr_jobdesc_blob_dek()
|
/u-boot/arch/powerpc/cpu/mpc8xxx/ |
A D | fsl_pamu.c | 16 struct paace *sec; variable 200 paace = sec + fspi_idx + index - 1; in pamu_config_spaace() 254 sec = (void *)CONFIG_SPL_SPAACT_ADDR; in pamu_init() 256 sec = memalign(PAMU_TABLE_ALIGNMENT, spaact_size); in pamu_init() 257 if (!sec) in pamu_init() 260 memset(sec, 0, spaact_size); in pamu_init() 265 spaact_phys = (uint64_t)virt_to_phys((void *)sec); in pamu_init() 278 if (sec != NULL) { in pamu_init()
|
/u-boot/doc/ |
A D | README.440-DDR-performance | 45 ttcp-t: 16777216 bytes in 0.28 real seconds = 454.29 Mbit/sec +++ 46 ttcp-t: 2048 I/O calls, msec/call = 0.14, calls/sec = 7268.57 53 *Improves the Mbit/sec for TTCP benchmark by almost 76%. 85 ttcp-t: 16777216 bytes in 0.16 real seconds = 804.06 Mbit/sec +++ 86 ttcp-t: 2048 I/O calls, msec/call = 0.08, calls/sec = 12864.89
|
/u-boot/arch/arm/cpu/armv7/ls102xa/ |
A D | fdt.c | 106 ccsr_sec_t __iomem *sec; in ft_cpu_setup() local 108 sec = (void __iomem *)CONFIG_SYS_FSL_SEC_ADDR; in ft_cpu_setup() 109 fdt_fixup_crypto_node(blob, sec_in32(&sec->secvid_ms)); in ft_cpu_setup()
|
/u-boot/lib/ |
A D | date.c | 106 const unsigned int min, const unsigned int sec) in mktime64() argument 115 time.tm_sec = sec; in mktime64()
|
/u-boot/cmd/ |
A D | date.c | 169 int sec; in mk_date() local 177 if (cnvrt2 (ptr, &sec)) in mk_date() 180 tmp->tm_sec = sec; in mk_date()
|
/u-boot/board/freescale/ls1021atwr/ |
A D | psci.S | 15 .arch_extension sec
|