Home
last modified time | relevance | path

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

1234567

/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.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.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-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-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-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.c288 struct section *sec = &secs[i]; in sym_lookup() local
294 if (sec->shdr.sh_type != SHT_SYMTAB) in sym_lookup()
297 nsyms = sec->shdr.sh_size/sizeof(Elf_Sym); in sym_lookup()
298 symtab = sec->symtab; in sym_lookup()
299 strtab = sec->link->strtab; in sym_lookup()
451 struct section *sec = &secs[i]; in read_shdrs() local
455 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs()
456 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs()
457 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs()
458 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr); in read_shdrs()
[all …]
/arch/mips/sibyte/swarm/
Dsetup.c78 time64_t sec; in read_persistent_clock64() local
82 sec = xicor_get_time(); in read_persistent_clock64()
86 sec = m41t81_get_time(); in read_persistent_clock64()
91 sec = mktime64(2000, 1, 1, 0, 0, 0); in read_persistent_clock64()
94 ts->tv_sec = sec; in read_persistent_clock64()
100 time64_t sec = now.tv_sec; in update_persistent_clock64() local
104 return xicor_set_time(sec); in update_persistent_clock64()
107 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.dtsi27 sec-mon = &sec_mon;
193 compatible = "fsl,sec-v5.4", "fsl,sec-v5.0",
194 "fsl,sec-v4.0";
195 fsl,sec-era = <8>;
204 compatible = "fsl,sec-v5.4-job-ring",
205 "fsl,sec-v5.0-job-ring",
206 "fsl,sec-v4.0-job-ring";
212 compatible = "fsl,sec-v5.4-job-ring",
213 "fsl,sec-v5.0-job-ring",
214 "fsl,sec-v4.0-job-ring";
[all …]
/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/riscv/include/asm/
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/
Dmodule.h68 static inline int get_plt_idx(unsigned long val, Elf_Shdr *sechdrs, const struct mod_section *sec) in get_plt_idx() argument
71 struct plt_idx_entry *plt_idx = (struct plt_idx_entry *)sechdrs[sec->shndx].sh_addr; in get_plt_idx()
73 for (i = 0; i < sec->num_entries; i++) { in get_plt_idx()
97 const struct mod_section *sec) in get_got_entry() argument
100 struct got_entry *got = (struct got_entry *)sechdrs[sec->shndx].sh_addr; in get_got_entry()
102 for (i = 0; i < sec->num_entries; i++) in get_got_entry()
/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.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/
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/
Dtime.c201 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local
212 sec = t->tm_sec; in atari_tt_hwclk()
231 sec = bin2bcd(sec); in atari_tt_hwclk()
264 sec = RTC_READ( RTC_SECONDS ); in atari_tt_hwclk()
273 RTC_WRITE( RTC_SECONDS, sec ); in atari_tt_hwclk()
293 sec = bcd2bin(sec); in atari_tt_hwclk()
309 t->tm_sec = sec; in atari_tt_hwclk()
/arch/powerpc/platforms/maple/
Dtime.c80 int sec, min, hour, mon, mday, year; in maple_set_rtc_time() local
92 sec = tm->tm_sec; in maple_set_rtc_time()
100 sec = bin2bcd(sec); in maple_set_rtc_time()
107 maple_clock_write(sec, RTC_SECONDS); in maple_set_rtc_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()
/arch/arm64/kvm/
Dpkvm.c836 struct pkvm_module_section *sec; member
859 start = secs_map[i].sec->start; in pkvm_unmap_module_sections()
860 size = secs_map[i].sec->end - start; in pkvm_unmap_module_sections()
861 offset = start - secs_map[0].sec->start; in pkvm_unmap_module_sections()
868 size_t offset, size = sec_map->sec->end - sec_map->sec->start; in pkvm_map_module_section()
873 pfn = vmalloc_to_pfn(sec_map->sec->start + offset); in pkvm_map_module_section()
877 pkvm_unmap_module_pages(sec_map->sec->start, hyp_va, offset); in pkvm_map_module_section()
891 offset = secs_map[i].sec->start - secs_map[0].sec->start; in pkvm_map_module_sections()
906 return s1->sec->start < s2->sec->start ? -1 : s1->sec->start > s2->sec->start; in __pkvm_cmp_mod_sec()
930 if (!PAGE_ALIGNED(secs_map[i].sec->start)) { in __pkvm_load_el2_module()
[all …]

1234567