Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 236) sorted by relevance

12345678910

/arch/mips/boot/tools/
A Drelocs.c290 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 Dqoriq-sec5.2-0.dtsi36 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 Dqoriq-sec5.3-0.dtsi36 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 Dqoriq-sec4.2-0.dtsi36 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 Dqoriq-sec5.0-0.dtsi36 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 Dqoriq-sec6.0-0.dtsi35 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 Dqoriq-sec4.0-0.dtsi36 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 Dpq3-sec4.4-0.dtsi36 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 Dp1023si-post.dtsi213 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 Drelocs.c440 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 Drelocs.c195 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 Dsetup.c79 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 Drtc_m41t81.c188 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 Drtc_xicor1241.c169 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 Dfsl-ls1012a.dtsi27 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 Dimx8-ss-security.dtsi15 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 Dimx8qxp-ss-security.dtsi7 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 Dmodule.h37 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 Dmodule.h75 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 Dtime.c24 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 Dtime.c132 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 Drtc.c43 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 Dtime.c203 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 Dpci_report.c57 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 Drtc.c74 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()

Completed in 34 milliseconds

12345678910