Home
last modified time | relevance | path

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

123456

/arch/mips/boot/tools/
Drelocs.c273 struct section *sec = &secs[i]; in read_shdrs() local
275 sec->shdr_offset = ftell(fp); in read_shdrs()
279 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs()
280 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs()
281 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs()
282 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr); in read_shdrs()
283 sec->shdr.sh_offset = elf_off_to_cpu(shdr.sh_offset); in read_shdrs()
284 sec->shdr.sh_size = elf_xword_to_cpu(shdr.sh_size); in read_shdrs()
285 sec->shdr.sh_link = elf_word_to_cpu(shdr.sh_link); in read_shdrs()
286 sec->shdr.sh_info = elf_word_to_cpu(shdr.sh_info); in read_shdrs()
[all …]
/arch/powerpc/boot/dts/fsl/
Dqoriq-sec5.2-0.dtsi36 compatible = "fsl,sec-v5.2", "fsl,sec-v5.0", "fsl,sec-v4.0";
37 fsl,sec-era = <5>;
45 compatible = "fsl,sec-v5.2-job-ring",
46 "fsl,sec-v5.0-job-ring",
47 "fsl,sec-v4.0-job-ring";
53 compatible = "fsl,sec-v5.2-job-ring",
54 "fsl,sec-v5.0-job-ring",
55 "fsl,sec-v4.0-job-ring";
61 compatible = "fsl,sec-v5.2-job-ring",
62 "fsl,sec-v5.0-job-ring",
[all …]
Dqoriq-sec5.3-0.dtsi36 compatible = "fsl,sec-v5.3", "fsl,sec-v5.0", "fsl,sec-v4.0";
37 fsl,sec-era = <4>;
45 compatible = "fsl,sec-v5.3-job-ring",
46 "fsl,sec-v5.0-job-ring",
47 "fsl,sec-v4.0-job-ring";
53 compatible = "fsl,sec-v5.3-job-ring",
54 "fsl,sec-v5.0-job-ring",
55 "fsl,sec-v4.0-job-ring";
61 compatible = "fsl,sec-v5.3-job-ring",
62 "fsl,sec-v5.0-job-ring",
[all …]
Dqoriq-sec5.0-0.dtsi36 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
37 fsl,sec-era = <5>;
45 compatible = "fsl,sec-v5.0-job-ring",
46 "fsl,sec-v4.0-job-ring";
52 compatible = "fsl,sec-v5.0-job-ring",
53 "fsl,sec-v4.0-job-ring";
59 compatible = "fsl,sec-v5.0-job-ring",
60 "fsl,sec-v4.0-job-ring";
66 compatible = "fsl,sec-v5.0-job-ring",
67 "fsl,sec-v4.0-job-ring";
[all …]
Dqoriq-sec4.2-0.dtsi36 compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
37 fsl,sec-era = <3>;
45 compatible = "fsl,sec-v4.2-job-ring",
46 "fsl,sec-v4.0-job-ring";
52 compatible = "fsl,sec-v4.2-job-ring",
53 "fsl,sec-v4.0-job-ring";
59 compatible = "fsl,sec-v4.2-job-ring",
60 "fsl,sec-v4.0-job-ring";
66 compatible = "fsl,sec-v4.2-job-ring",
67 "fsl,sec-v4.0-job-ring";
[all …]
Dqoriq-sec6.0-0.dtsi35 compatible = "fsl,sec-v6.0", "fsl,sec-v5.0",
36 "fsl,sec-v4.0";
37 fsl,sec-era = <6>;
42 compatible = "fsl,sec-v6.0-job-ring",
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";
51 compatible = "fsl,sec-v6.0-job-ring",
52 "fsl,sec-v5.2-job-ring",
[all …]
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 …]
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";
Dp1023si-post.dtsi213 compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
214 fsl,sec-era = <3>;
222 compatible = "fsl,sec-v4.2-job-ring",
223 "fsl,sec-v4.0-job-ring";
229 compatible = "fsl,sec-v4.2-job-ring",
230 "fsl,sec-v4.0-job-ring";
236 compatible = "fsl,sec-v4.2-job-ring",
237 "fsl,sec-v4.0-job-ring";
243 compatible = "fsl,sec-v4.2-job-ring",
244 "fsl,sec-v4.0-job-ring";
[all …]
/arch/x86/tools/
Drelocs.c278 struct section *sec = &secs[i]; in sym_lookup() local
284 if (sec->shdr.sh_type != SHT_SYMTAB) in sym_lookup()
287 nsyms = sec->shdr.sh_size/sizeof(Elf_Sym); in sym_lookup()
288 symtab = sec->symtab; in sym_lookup()
289 strtab = sec->link->strtab; in sym_lookup()
424 struct section *sec = &secs[i]; in read_shdrs() local
428 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs()
429 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs()
430 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs()
431 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr); in read_shdrs()
[all …]
/arch/mips/sibyte/swarm/
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()
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()
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/
Dfsl-ls1012a.dtsi24 sec-mon = &sec_mon;
172 compatible = "fsl,sec-v5.4", "fsl,sec-v5.0",
173 "fsl,sec-v4.0";
174 fsl,sec-era = <8>;
183 compatible = "fsl,sec-v5.4-job-ring",
184 "fsl,sec-v5.0-job-ring",
185 "fsl,sec-v4.0-job-ring";
191 compatible = "fsl,sec-v5.4-job-ring",
192 "fsl,sec-v5.0-job-ring",
193 "fsl,sec-v4.0-job-ring";
[all …]
/arch/riscv/include/asm/
Dmodule.h38 const struct mod_section *sec) in get_got_entry() argument
40 struct got_entry *got = (struct got_entry *)(sec->shdr->sh_addr); in get_got_entry()
42 for (i = 0; i < sec->num_entries; i++) { in get_got_entry()
91 static inline int get_got_plt_idx(unsigned long val, const struct mod_section *sec) in get_got_plt_idx() argument
93 struct got_entry *got_plt = (struct got_entry *)sec->shdr->sh_addr; in get_got_plt_idx()
95 for (i = 0; i < sec->num_entries; i++) { in get_got_plt_idx()
/arch/mips/include/asm/
Dmc146818-time.h91 unsigned int year, mon, day, hour, min, sec; in mc146818_get_cmos_time() local
97 sec = CMOS_READ(RTC_SECONDS); in mc146818_get_cmos_time()
103 } while (sec != CMOS_READ(RTC_SECONDS)); in mc146818_get_cmos_time()
106 sec = bcd2bin(sec); in mc146818_get_cmos_time()
116 return mktime64(year, mon, day, hour, min, sec); in mc146818_get_cmos_time()
/arch/mips/dec/
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/
Dtime.c134 unsigned int year, mon, day, hour, min, sec; in chrp_get_rtc_time() local
137 sec = chrp_cmos_clock_read(RTC_SECONDS); in chrp_get_rtc_time()
143 } while (sec != chrp_cmos_clock_read(RTC_SECONDS)); in chrp_get_rtc_time()
146 sec = bcd2bin(sec); in chrp_get_rtc_time()
155 tm->tm_sec = sec; in chrp_get_rtc_time()
/arch/sh/boards/mach-sh03/
Drtc.c44 unsigned int year, mon, day, hour, min, sec; in sh03_rtc_gettimeofday() local
49 sec = (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10; in sh03_rtc_gettimeofday()
57 } while (sec != (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10); in sh03_rtc_gettimeofday()
59 hour > 23 || min > 59 || sec > 59) { in sh03_rtc_gettimeofday()
63 year, mon, day, hour, min, sec); in sh03_rtc_gettimeofday()
80 tm->tm_sec = sec; in sh03_rtc_gettimeofday()
/arch/m68k/atari/
Dtime.c200 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local
211 sec = t->tm_sec; in atari_tt_hwclk()
230 sec = bin2bcd(sec); in atari_tt_hwclk()
263 sec = RTC_READ( RTC_SECONDS ); in atari_tt_hwclk()
272 RTC_WRITE( RTC_SECONDS, sec ); in atari_tt_hwclk()
292 sec = bcd2bin(sec); in atari_tt_hwclk()
308 t->tm_sec = sec; in atari_tt_hwclk()
/arch/powerpc/platforms/maple/
Dtime.c81 int sec, min, hour, mon, mday, year; in maple_set_rtc_time() local
93 sec = tm->tm_sec; in maple_set_rtc_time()
101 sec = bin2bcd(sec); in maple_set_rtc_time()
108 maple_clock_write(sec, RTC_SECONDS); in maple_set_rtc_time()
/arch/x86/kernel/
Drtc.c65 unsigned int status, year, mon, day, hour, min, sec, century = 0; in mach_get_cmos_time() local
88 sec = CMOS_READ(RTC_SECONDS); in mach_get_cmos_time()
107 sec = bcd2bin(sec); in mach_get_cmos_time()
121 now->tv_sec = mktime64(year, mon, day, hour, min, sec); in mach_get_cmos_time()
/arch/x86/platform/intel-mid/
Dintel_mid_vrtc.c58 u8 sec, min, hour, mday, mon; in vrtc_get_time() local
67 sec = vrtc_cmos_read(RTC_SECONDS); in vrtc_get_time()
80 "mon: %d year: %d\n", sec, min, hour, mday, mon, year); in vrtc_get_time()
82 now->tv_sec = mktime64(year, mon, mday, hour, min, sec); in vrtc_get_time()
/arch/m68k/mvme16x/
Drtc.c69 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
85 sec = rtc_tm.tm_sec; in rtc_ioctl()
95 if ((hrs >= 24) || (min >= 60) || (sec >= 60)) in rtc_ioctl()
104 rtc->bcd_sec = bin2bcd(sec); in rtc_ioctl()
/arch/m68k/bvme6000/
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()

123456