Home
last modified time | relevance | path

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

/arch/mips/cavium-octeon/
Dsetup.c331 struct cvmx_sysinfo *sysinfo = cvmx_sysinfo_get(); in octeon_get_clock_rate() local
333 return sysinfo->cpu_clock_hz; in octeon_get_clock_rate()
658 struct cvmx_sysinfo *sysinfo; in prom_init() local
674 sysinfo = cvmx_sysinfo_get(); in prom_init()
675 memset(sysinfo, 0, sizeof(*sysinfo)); in prom_init()
676 sysinfo->system_dram_size = octeon_bootinfo->dram_size << 20; in prom_init()
677 sysinfo->phy_mem_desc_addr = (u64)phys_to_virt(octeon_bootinfo->phy_mem_desc_addr); in prom_init()
682 cvmx_coremask_copy(&sysinfo->core_mask, in prom_init()
685 cvmx_coremask_set64(&sysinfo->core_mask, in prom_init()
691 cvmx_coremask_clear_core(&sysinfo->core_mask, i); in prom_init()
[all …]
Dsmp.c144 struct cvmx_sysinfo *sysinfo = cvmx_sysinfo_get(); in octeon_smp_setup() local
163 if ((id != coreid) && cvmx_coremask_is_core_set(&sysinfo->core_mask, id)) { in octeon_smp_setup()
/arch/s390/kernel/
Dsthyi.c184 struct sysinfo_1_1_1 *sysinfo) in fill_stsi_mac() argument
190 if (stsi(sysinfo, 1, 1, 1)) in fill_stsi_mac()
193 memcpy(sctns->mac.infmtype, sysinfo->type, sizeof(sctns->mac.infmtype)); in fill_stsi_mac()
194 memcpy(sctns->mac.infmmanu, sysinfo->manufacturer, sizeof(sctns->mac.infmmanu)); in fill_stsi_mac()
195 memcpy(sctns->mac.infmpman, sysinfo->plant, sizeof(sctns->mac.infmpman)); in fill_stsi_mac()
196 memcpy(sctns->mac.infmseq, sysinfo->sequence, sizeof(sctns->mac.infmseq)); in fill_stsi_mac()
202 struct sysinfo_2_2_2 *sysinfo) in fill_stsi_par() argument
204 if (stsi(sysinfo, 2, 2, 2)) in fill_stsi_par()
207 sctns->par.infppnum = sysinfo->lpar_number; in fill_stsi_par()
208 memcpy(sctns->par.infppnam, sysinfo->name, sizeof(sctns->par.infppnam)); in fill_stsi_par()
[all …]
Dsysinfo.c26 static inline int __stsi(void *sysinfo, int fc, int sel1, int sel2, int *lvl) in __stsi() argument
41 [sysinfo] "a" (sysinfo), in __stsi()
54 int stsi(void *sysinfo, int fc, int sel1, int sel2) in stsi() argument
58 rc = __stsi(sysinfo, fc, sel1, sel2, &lvl); in stsi()
DMakefile39 obj-y += sysinfo.o lgr.o os_info.o machine_kexec.o
/arch/mips/cavium-octeon/executive/
Dcvmx-sysinfo.c40 static struct cvmx_sysinfo sysinfo; /* system information */ variable
50 return &sysinfo; in cvmx_sysinfo_get()
DMakefile12 obj-y += cvmx-bootmem.o cvmx-l2c.o cvmx-sysinfo.o octeon-model.o
/arch/s390/include/asm/
Dsysinfo.h187 int stsi(void *sysinfo, int fc, int sel1, int sel2);
/arch/s390/appldata/
Dappldata_mem.c78 static struct sysinfo val; in appldata_get_mem_data()
/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl107 97 n64 sysinfo sys_sysinfo
Dsyscall_n32.tbl107 97 n32 sysinfo compat_sys_sysinfo
Dsyscall_o32.tbl130 116 o32 sysinfo sys_sysinfo compat_sys_sysinfo
/arch/ia64/kernel/syscalls/
Dsyscall.tbl115 103 common sysinfo sys_sysinfo
/arch/xtensa/kernel/syscalls/
Dsyscall.tbl228 209 common sysinfo sys_sysinfo
/arch/x86/entry/syscalls/
Dsyscall_64.tbl110 99 common sysinfo sys_sysinfo
Dsyscall_32.tbl130 116 i386 sysinfo sys_sysinfo compat_sys_sysinfo
/arch/microblaze/kernel/syscalls/
Dsyscall.tbl126 116 common sysinfo sys_sysinfo
/arch/parisc/kernel/syscalls/
Dsyscall.tbl131 116 common sysinfo sys_sysinfo compat_sys_sysinfo
/arch/arm/tools/
Dsyscall.tbl132 116 common sysinfo sys_sysinfo
/arch/m68k/kernel/syscalls/
Dsyscall.tbl126 116 common sysinfo sys_sysinfo
/arch/sh/kernel/syscalls/
Dsyscall.tbl126 116 common sysinfo sys_sysinfo
/arch/alpha/kernel/syscalls/
Dsyscall.tbl251 318 common sysinfo sys_sysinfo
/arch/sparc/kernel/syscalls/
Dsyscall.tbl258 214 common sysinfo sys_sysinfo compat_sys_sysinfo
/arch/s390/kernel/syscalls/
Dsyscall.tbl108 116 common sysinfo sys_sysinfo compat_sys_sysinfo
/arch/powerpc/kernel/syscalls/
Dsyscall.tbl155 116 common sysinfo sys_sysinfo compat_sys_sysinfo