| /arch/mips/boot/tools/ |
| A D | relocs.c | 290 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs() 304 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs() 305 if (!sec->strtab) in read_strtabs() 313 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) != in read_strtabs() 328 sec->symtab = malloc(sec->shdr.sh_size); in read_symtabs() 329 if (!sec->symtab) in read_symtabs() 337 if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) != in read_symtabs() 360 if (!sec) in read_relocs() 372 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs() 373 if (!sec->reltab) in read_relocs() [all …]
|
| /arch/powerpc/boot/dts/fsl/ |
| A D | qoriq-sec5.2-0.dtsi | 36 compatible = "fsl,sec-v5.2", "fsl,sec-v5.0", "fsl,sec-v4.0"; 37 fsl,sec-era = <5>; 46 "fsl,sec-v5.0-job-ring", 47 "fsl,sec-v4.0-job-ring"; 54 "fsl,sec-v5.0-job-ring", 55 "fsl,sec-v4.0-job-ring"; 62 "fsl,sec-v5.0-job-ring", 63 "fsl,sec-v4.0-job-ring"; 78 "fsl,sec-v5.0-rtic", 79 "fsl,sec-v4.0-rtic"; [all …]
|
| A D | qoriq-sec5.3-0.dtsi | 36 compatible = "fsl,sec-v5.3", "fsl,sec-v5.0", "fsl,sec-v4.0"; 37 fsl,sec-era = <4>; 46 "fsl,sec-v5.0-job-ring", 47 "fsl,sec-v4.0-job-ring"; 54 "fsl,sec-v5.0-job-ring", 55 "fsl,sec-v4.0-job-ring"; 62 "fsl,sec-v5.0-job-ring", 63 "fsl,sec-v4.0-job-ring"; 78 "fsl,sec-v5.0-rtic", 79 "fsl,sec-v4.0-rtic"; [all …]
|
| A D | qoriq-sec4.2-0.dtsi | 36 compatible = "fsl,sec-v4.2", "fsl,sec-v4.0"; 37 fsl,sec-era = <3>; 46 "fsl,sec-v4.0-job-ring"; 53 "fsl,sec-v4.0-job-ring"; 60 "fsl,sec-v4.0-job-ring"; 67 "fsl,sec-v4.0-job-ring"; 73 compatible = "fsl,sec-v4.2-rtic", 74 "fsl,sec-v4.0-rtic"; 82 "fsl,sec-v4.0-rtic-memory"; 88 "fsl,sec-v4.0-rtic-memory"; [all …]
|
| A D | qoriq-sec5.0-0.dtsi | 36 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; 37 fsl,sec-era = <5>; 46 "fsl,sec-v4.0-job-ring"; 53 "fsl,sec-v4.0-job-ring"; 60 "fsl,sec-v4.0-job-ring"; 67 "fsl,sec-v4.0-job-ring"; 73 compatible = "fsl,sec-v5.0-rtic", 74 "fsl,sec-v4.0-rtic"; 82 "fsl,sec-v4.0-rtic-memory"; 88 "fsl,sec-v4.0-rtic-memory"; [all …]
|
| A D | qoriq-sec6.0-0.dtsi | 35 compatible = "fsl,sec-v6.0", "fsl,sec-v5.0", 36 "fsl,sec-v4.0"; 37 fsl,sec-era = <6>; 43 "fsl,sec-v5.2-job-ring", 44 "fsl,sec-v5.0-job-ring", 45 "fsl,sec-v4.4-job-ring", 46 "fsl,sec-v4.0-job-ring"; 52 "fsl,sec-v5.2-job-ring", 53 "fsl,sec-v5.0-job-ring", 54 "fsl,sec-v4.4-job-ring", [all …]
|
| A D | qoriq-sec4.0-0.dtsi | 36 compatible = "fsl,sec-v4.0"; 37 fsl,sec-era = <1>; 45 compatible = "fsl,sec-v4.0-job-ring"; 51 compatible = "fsl,sec-v4.0-job-ring"; 57 compatible = "fsl,sec-v4.0-job-ring"; 63 compatible = "fsl,sec-v4.0-job-ring"; 69 compatible = "fsl,sec-v4.0-rtic"; 76 compatible = "fsl,sec-v4.0-rtic-memory"; 81 compatible = "fsl,sec-v4.0-rtic-memory"; 86 compatible = "fsl,sec-v4.0-rtic-memory"; [all …]
|
| A D | pq3-sec4.4-0.dtsi | 36 compatible = "fsl,sec-v4.4", "fsl,sec-v4.0"; 37 fsl,sec-era = <3>; 45 compatible = "fsl,sec-v4.4-job-ring", "fsl,sec-v4.0-job-ring"; 51 compatible = "fsl,sec-v4.4-job-ring", "fsl,sec-v4.0-job-ring"; 57 compatible = "fsl,sec-v4.4-job-ring", "fsl,sec-v4.0-job-ring"; 63 compatible = "fsl,sec-v4.4-job-ring", "fsl,sec-v4.0-job-ring";
|
| A D | p1023si-post.dtsi | 213 compatible = "fsl,sec-v4.2", "fsl,sec-v4.0"; 214 fsl,sec-era = <3>; 223 "fsl,sec-v4.0-job-ring"; 230 "fsl,sec-v4.0-job-ring"; 237 "fsl,sec-v4.0-job-ring"; 244 "fsl,sec-v4.0-job-ring"; 250 compatible = "fsl,sec-v4.2-rtic", 251 "fsl,sec-v4.0-rtic"; 259 "fsl,sec-v4.0-rtic-memory"; 265 "fsl,sec-v4.0-rtic-memory"; [all …]
|
| /arch/x86/tools/ |
| A D | relocs.c | 440 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs() 455 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs() 456 if (!sec->strtab) in read_strtabs() 462 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_strtabs() 477 sec->xsymtab = malloc(sec->shdr.sh_size); in read_symtabs() 484 if (fread(sec->xsymtab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_symtabs() 493 sec->symtab = malloc(sec->shdr.sh_size); in read_symtabs() 500 if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_symtabs() 531 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs() 532 if (!sec->reltab) in read_relocs() [all …]
|
| /arch/s390/tools/ |
| A D | relocs.c | 195 struct section *sec = &secs[i]; in read_shdrs() local 213 if (sec->shdr.sh_link < shnum) in read_shdrs() 214 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs() 224 struct section *sec = &secs[i]; in read_relocs() local 229 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs() 230 if (!sec->reltab) in read_relocs() 236 if (fread(sec->reltab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_relocs() 240 Elf_Rel *rel = &sec->reltab[j]; in read_relocs() 301 struct section *sec = &secs[i]; in walk_relocs() local 311 Elf_Rel *rel = &sec->reltab[j]; in walk_relocs() [all …]
|
| /arch/mips/sibyte/swarm/ |
| A D | setup.c | 79 time64_t sec; in read_persistent_clock64() local 83 sec = xicor_get_time(); in read_persistent_clock64() 87 sec = m41t81_get_time(); in read_persistent_clock64() 92 sec = mktime64(2000, 1, 1, 0, 0, 0); in read_persistent_clock64() 95 ts->tv_sec = sec; in read_persistent_clock64() 101 time64_t sec = now.tv_sec; in update_persistent_clock64() local 105 return xicor_set_time(sec); in update_persistent_clock64() 108 return m41t81_set_time(sec); in update_persistent_clock64()
|
| A D | rtc_m41t81.c | 188 unsigned int year, mon, day, hour, min, sec; in m41t81_get_time() local 196 sec = m41t81_read(M41T81REG_SC); in m41t81_get_time() 198 if (sec == m41t81_read(M41T81REG_SC)) break; in m41t81_get_time() 207 sec = bcd2bin(sec); in m41t81_get_time() 216 return mktime64(year, mon, day, hour, min, sec); in m41t81_get_time()
|
| A D | rtc_xicor1241.c | 169 unsigned int year, mon, day, hour, min, sec, y2k; in xicor_get_time() local 173 sec = xicor_read(X1241REG_SC); in xicor_get_time() 190 sec = bcd2bin(sec); in xicor_get_time() 200 return mktime64(year, mon, day, hour, min, sec); in xicor_get_time()
|
| /arch/arm64/boot/dts/freescale/ |
| A D | fsl-ls1012a.dtsi | 27 sec-mon = &sec_mon; 191 compatible = "fsl,sec-v5.4", "fsl,sec-v5.0", 192 "fsl,sec-v4.0"; 193 fsl,sec-era = <8>; 203 "fsl,sec-v5.0-job-ring", 204 "fsl,sec-v4.0-job-ring"; 211 "fsl,sec-v5.0-job-ring", 235 "fsl,sec-v5.0-rtic", 236 "fsl,sec-v4.0-rtic"; 281 compatible = "fsl,sec-v5.4-mon", "fsl,sec-v5.0-mon", [all …]
|
| A D | imx8-ss-security.dtsi | 15 compatible = "fsl,imx8qm-caam", "fsl,sec-v4.0"; 22 fsl,sec-era = <9>; 25 compatible = "fsl,imx8qm-job-ring", "fsl,sec-v4.0-job-ring"; 32 compatible = "fsl,imx8qm-job-ring", "fsl,sec-v4.0-job-ring";
|
| A D | imx8qxp-ss-security.dtsi | 7 compatible = "fsl,imx8qxp-caam", "fsl,sec-v4.0"; 11 compatible = "fsl,imx8qxp-job-ring", "fsl,sec-v4.0-job-ring"; 15 compatible = "fsl,imx8qxp-job-ring", "fsl,sec-v4.0-job-ring";
|
| /arch/riscv/include/asm/ |
| A D | module.h | 37 const struct mod_section *sec) in get_got_entry() argument 39 struct got_entry *got = (struct got_entry *)(sec->shdr->sh_addr); in get_got_entry() 41 for (i = 0; i < sec->num_entries; i++) { in get_got_entry() 90 static inline int get_got_plt_idx(unsigned long val, const struct mod_section *sec) in get_got_plt_idx() argument 92 struct got_entry *got_plt = (struct got_entry *)sec->shdr->sh_addr; in get_got_plt_idx() 94 for (i = 0; i < sec->num_entries; i++) { in get_got_plt_idx()
|
| /arch/loongarch/include/asm/ |
| A D | module.h | 75 static inline int get_plt_idx(unsigned long val, Elf_Shdr *sechdrs, const struct mod_section *sec) in get_plt_idx() argument 78 struct plt_idx_entry *plt_idx = (struct plt_idx_entry *)sechdrs[sec->shndx].sh_addr; in get_plt_idx() 80 for (i = 0; i < sec->num_entries; i++) { in get_plt_idx() 104 const struct mod_section *sec) in get_got_entry() argument 107 struct got_entry *got = (struct got_entry *)sechdrs[sec->shndx].sh_addr; in get_got_entry() 109 for (i = 0; i < sec->num_entries; i++) in get_got_entry()
|
| /arch/mips/dec/ |
| A D | time.c | 24 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock64() local 30 sec = CMOS_READ(RTC_SECONDS); in read_persistent_clock64() 42 } while (sec != CMOS_READ(RTC_SECONDS)); in read_persistent_clock64() 47 sec = bcd2bin(sec); in read_persistent_clock64() 57 ts->tv_sec = mktime64(year, mon, day, hour, min, sec); in read_persistent_clock64()
|
| /arch/powerpc/platforms/chrp/ |
| A D | time.c | 132 unsigned int year, mon, day, hour, min, sec; in chrp_get_rtc_time() local 135 sec = chrp_cmos_clock_read(RTC_SECONDS); in chrp_get_rtc_time() 141 } while (sec != chrp_cmos_clock_read(RTC_SECONDS)); in chrp_get_rtc_time() 144 sec = bcd2bin(sec); in chrp_get_rtc_time() 153 tm->tm_sec = sec; in chrp_get_rtc_time()
|
| /arch/sh/boards/mach-sh03/ |
| A D | rtc.c | 43 unsigned int year, mon, day, hour, min, sec; in sh03_rtc_gettimeofday() local 48 sec = (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10; in sh03_rtc_gettimeofday() 56 } while (sec != (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10); in sh03_rtc_gettimeofday() 58 hour > 23 || min > 59 || sec > 59) { in sh03_rtc_gettimeofday() 62 year, mon, day, hour, min, sec); in sh03_rtc_gettimeofday() 79 tm->tm_sec = sec; in sh03_rtc_gettimeofday()
|
| /arch/m68k/atari/ |
| A D | time.c | 203 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local 214 sec = t->tm_sec; in atari_tt_hwclk() 233 sec = bin2bcd(sec); in atari_tt_hwclk() 266 sec = RTC_READ( RTC_SECONDS ); in atari_tt_hwclk() 275 RTC_WRITE( RTC_SECONDS, sec ); in atari_tt_hwclk() 295 sec = bcd2bin(sec); in atari_tt_hwclk() 311 t->tm_sec = sec; in atari_tt_hwclk()
|
| /arch/s390/pci/ |
| A D | pci_report.c | 57 unsigned long sec, usec; in debug_log_header_fn() local 63 sec = entry->clock; in debug_log_header_fn() 64 usec = do_div(sec, USEC_PER_SEC); in debug_log_header_fn() 71 sec, usec, level, except_str, in debug_log_header_fn()
|
| /arch/m68k/bvme6000/ |
| A D | rtc.c | 74 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local 90 sec = rtc_tm.tm_sec; in rtc_ioctl() 100 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in rtc_ioctl() 113 rtc->bcd_sec = bin2bcd(sec); in rtc_ioctl()
|