Home
last modified time | relevance | path

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

12

/netbsd-src/sys/arch/powerpc/booke/
H A Dbooke_machdep.c124 struct cpu_softc cpu_softc[] = { variable
138 .ci_softc = &cpu_softc[0],
147 .ci_softc = &cpu_softc[CPU_MAXNUM-1],
154 __CTASSERT(__arraycount(cpu_info) == __arraycount(cpu_softc));
225 struct cpu_softc * const cpu = &cpu_softc[i]; in booke_cpu_startup()
227 cpu->cpu_bst = cpu_softc[0].cpu_bst; in booke_cpu_startup()
228 cpu->cpu_le_bst = cpu_softc[0].cpu_le_bst; in booke_cpu_startup()
229 cpu->cpu_bsh = cpu_softc[0].cpu_bsh; in booke_cpu_startup()
230 cpu->cpu_highmem = cpu_softc[0].cpu_highmem; in booke_cpu_startup()
418 struct cpu_softc * const cpu = ci->ci_softc; in cpu_evcnt_attach()
[all …]
H A De500_timer.c70 openpic_write(struct cpu_softc *cpu, bus_size_t offset, uint32_t val) in openpic_write()
82 struct cpu_softc * const cpu = ci->ci_softc; in e500_clock_intr()
151 struct cpu_softc * const cpu = ci->ci_softc; in cpu_initclocks()
H A De500_intr.c461 openpic_read(struct cpu_softc *cpu, bus_size_t offset) in openpic_read()
469 openpic_write(struct cpu_softc *cpu, bus_size_t offset, uint32_t val) in openpic_write()
513 struct cpu_softc * const cpu = ci->ci_softc; in e500_splset()
715 struct cpu_softc * const cpu = ci->ci_softc; in e500_intr_string()
740 struct cpu_softc * const cpu = ci->ci_softc; in e500_intr_cpu_establish()
859 struct cpu_softc * const cpu = curcpu()->ci_softc; in e500_intr_disestablish()
939 struct cpu_softc * const cpu = ci->ci_softc; in e500_extintr()
1096 struct cpu_softc * const cpu = ci->ci_softc; in e500_intr_init()
1195 struct cpu_softc * const cpu = ci->ci_softc; in e500_intr_init_precpu()
1225 struct cpu_softc * cons in e500_intr_cpu_attach()
[all...]
/netbsd-src/sys/arch/ia64/ia64/
H A Dcpu.c53 struct cpu_softc { struct
61 static void identifycpu(struct cpu_softc *); argument
63 CFATTACH_DECL_NEW(cpu, sizeof(struct cpu_softc),
77 struct cpu_softc *sc = device_private(self); in cpu_attach()
112 identifycpu(struct cpu_softc *sc) in identifycpu()
/netbsd-src/sys/arch/ibmnws/ibmnws/
H A Dcpu.c43 struct cpu_softc { struct
48 CFATTACH_DECL_NEW(cpu, sizeof(struct cpu_softc), argument
68 struct cpu_softc *sc = device_private(self); in cpuattach()
/netbsd-src/sys/arch/sbmips/sbmips/
H A Dsb1250_icu.c171 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_lsw_cpu_init()
179 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_lsw_send_ipi()
192 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_ipi_intr()
205 sb1250_cpu_init(struct cpu_softc *cpu) in sb1250_cpu_init()
293 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_cpu_intr()
338 struct cpu_softc * const cpu = curcpu()->ci_softc; in sb1250_intr_establish()
H A Dcpu.c62 CFATTACH_DECL_NEW(cpu, sizeof(struct cpu_softc),
88 struct cpu_softc * const cpu = device_private(self); in cpu_attach()
/netbsd-src/sys/arch/evbmips/sbmips/
H A Dsb1250_icu.c171 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_lsw_cpu_init()
179 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_lsw_send_ipi()
192 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_ipi_intr()
205 sb1250_cpu_init(struct cpu_softc *cpu) in sb1250_cpu_init()
293 struct cpu_softc * const cpu = ci->ci_softc; in sb1250_cpu_intr()
338 struct cpu_softc * const cpu = curcpu()->ci_softc; in sb1250_intr_establish()
H A Dsystemsw.h59 struct cpu_softc;
60 void sb1250_cpu_init(struct cpu_softc *);
H A Dcpu.c63 CFATTACH_DECL_NEW(cpu, sizeof(struct cpu_softc),
89 struct cpu_softc * const cpu = device_private(self); in cpu_attach()
H A Dcpuvar.h9 struct cpu_softc { struct
/netbsd-src/sys/arch/mips/cavium/
H A Docteon_intr.c215 struct cpu_softc octeon_cpu_softc[OCTEON_NCPU];
220 struct cpu_softc *cpu; in octeon_intr_setup()
259 struct cpu_softc *cpu = &octeon_cpu_softc[cpunum]; in octeon_intr_init()
338 struct cpu_softc *cpu; in octeon_intr_establish()
423 struct cpu_softc *cpu; in octeon_intr_disestablish()
481 struct cpu_softc * const cpu = ci->ci_softc; in octeon_iointr()
541 struct cpu_softc * const cpu = ci->ci_softc; in octeon_ipi_intr()
601 struct cpu_softc * const cpu = ci->ci_softc; in octeon_send_ipi()
H A Docteon_cpunode.c62 extern struct cpu_softc octeon_cpu_softc[];
252 struct cpu_softc * const cpu __diagused = ci->ci_softc; in cpu_cpunode_attach_common()
372 struct cpu_softc * const cpu = ci->ci_softc; in wdog_cpunode_setmode()
403 struct cpu_softc * const cpu = ci->ci_softc; in wdog_cpunode_setmode()
422 struct cpu_softc *cpu = arg; in wdog_cpunode_poke()
/netbsd-src/sys/arch/sbmips/include/
H A Dsystemsw.h61 struct cpu_softc;
62 void sb1250_cpu_init(struct cpu_softc *);
H A Dcpuvar.h9 struct cpu_softc { struct
/netbsd-src/sys/arch/arm/broadcom/
H A Dbcm53xx_board.c70 static struct cpu_softc cpu_softc; variable
425 struct cpu_softc * const cpu = ci->ci_softc; in bcm53xx_cpu_softc_init()
443 const struct bcm53xx_clock_info * const clk = &cpu_softc.cpu_clk; in bcm53xx_print_clocks()
484 curcpu()->ci_softc = &cpu_softc; in bcm53xx_bootstrap()
489 struct bcm53xx_clock_info * const clk = &cpu_softc.cpu_clk; in bcm53xx_bootstrap()
570 cpu_softc.cpu_clk.clk_cpu / 2); in bcm53xx_device_register()
/netbsd-src/sys/arch/x86/x86/
H A Dcpu.c151 struct cpu_softc { struct
165 CFATTACH_DECL2_NEW(cpu, sizeof(struct cpu_softc), argument
343 struct cpu_softc *sc = device_private(self); in cpu_attach()
570 struct cpu_softc *sc = device_private(self); in cpu_rescan()
623 struct cpu_softc *sc = device_private(self); in cpu_childdetached()
1328 struct cpu_softc *sc = device_private(dv); in cpu_stop()
1357 struct cpu_softc *sc = device_private(dv); in cpu_suspend()
1372 struct cpu_softc *sc = device_private(dv); in cpu_resume()
1403 struct cpu_softc *sc = device_private(dv); in cpu_shutdown()
/netbsd-src/sys/arch/alpha/alpha/
H A Dcpu.c141 CFATTACH_DECL_NEW(cpu, sizeof(struct cpu_softc),
181 cpu_description(const struct cpu_softc * const sc, in cpu_description()
231 const struct cpu_softc * const sc = node.sysctl_data; in cpu_sysctl_model()
243 const struct cpu_softc * const sc = node.sysctl_data; in cpu_sysctl_amask_bit()
290 const struct cpu_softc * const sc = node.sysctl_data; in cpu_sysctl_primary()
341 struct cpu_softc * const sc = device_private(self); in cpuattach()
H A Dipifuncs.c98 struct cpu_softc * const sc = ci->ci_softc; in alpha_ipi_init()
117 struct cpu_softc * const sc = ci->ci_softc; in alpha_ipi_process()
/netbsd-src/sys/arch/hppa/hppa/
H A Dipifuncs.c63 struct cpu_softc *sc = ci->ci_softc; in hppa_ipi_init()
80 struct cpu_softc *sc = ci->ci_softc; in hppa_ipi_intr()
H A Dcpuvar.h32 struct cpu_softc { struct
/netbsd-src/sys/arch/sparc/sparc/
H A Dcpu.c110 struct cpu_softc { struct
127 CFATTACH_DECL_NEW(cpu_mainbus, sizeof(struct cpu_softc), argument
134 CFATTACH_DECL_NEW(cpu_cpuunit, sizeof(struct cpu_softc),
138 static void cpu_setup_sysctl(struct cpu_softc *);
140 static void cpu_attach(struct cpu_softc *, int, int);
143 static void cache_print(struct cpu_softc *);
183 static void cpu_attach_non_boot(struct cpu_softc *, struct cpu_info *, int);
224 struct cpu_softc *sc; in cpu_mainbus_attach()
311 struct cpu_softc *sc = device_private(self); in cpu_cpuunit_attach()
393 cpu_setup_sysctl(struct cpu_softc *sc) in cpu_setup_sysctl()
[all …]
/netbsd-src/sys/arch/xen/x86/
H A Dcpu.c131 struct cpu_softc { struct
142 CFATTACH_DECL2_NEW(cpu, sizeof(struct cpu_softc), argument
145 CFATTACH_DECL_NEW(vcpu, sizeof(struct cpu_softc),
197 struct cpu_softc *sc = device_private(self); in cpu_attach()
253 struct cpu_softc *sc = device_private(self); in cpu_rescan()
276 struct cpu_softc *sc = device_private(self); in cpu_childdetached()
366 struct cpu_softc *sc = device_private(self); in cpu_attach_common()
/netbsd-src/sys/arch/hppa/dev/
H A Dcpu.c64 CFATTACH_DECL_NEW(cpu, sizeof(struct cpu_softc),
89 struct cpu_softc *sc = device_private(self); in cpuattach()
/netbsd-src/sys/arch/alpha/include/
H A Dcpuvar.h34 struct cpu_softc { struct

12