Home
last modified time | relevance | path

Searched refs:CKSEG0 (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/arch/mips/sgi-ip27/
Dip27-init.c85 memcpy((void *)(CKSEG0 + 0x100), &except_vec2_generic, 0x80); in per_hub_init()
86 memcpy((void *)(CKSEG0 + 0x180), &except_vec3_generic, 0x80); in per_hub_init()
88 memcpy((void *)(CKSEG0 + 0x100), (void *) CKSEG0, 0x80); in per_hub_init()
89 memcpy((void *)(CKSEG0 + 0x180), &except_vec3_generic, 0x100); in per_hub_init()
/Linux-v4.19/arch/mips/dec/prom/
Dmemory.c38 memcpy(&old_handler, (void *)(CKSEG0 + 0x80), 0x80); in pmax_setup_memory_region()
39 memcpy((void *)(CKSEG0 + 0x80), &genexcept_early, 0x80); in pmax_setup_memory_region()
51 memcpy((void *)(CKSEG0 + 0x80), &old_handler, 0x80); in pmax_setup_memory_region()
/Linux-v4.19/arch/mips/fw/lib/
Dcmdline.c24 if ((fw_arg0 >= CKSEG0) || (fw_arg1 < CKSEG0)) { in fw_init_cmdline()
33 if (fw_arg2 < CKSEG0) in fw_init_cmdline()
/Linux-v4.19/arch/mips/kernel/
Dspram.c58 cache_op(Index_Store_Tag_I, CKSEG0|offset); in ispram_store_tag()
74 cache_op(Index_Load_Tag_I, CKSEG0 | offset); in ispram_load_tag()
93 cache_op(Index_Store_Tag_D, CKSEG0 | offset); in dspram_store_tag()
107 cache_op(Index_Load_Tag_D, CKSEG0 | offset); in dspram_load_tag()
Dpm-cps.c210 UASM_i_LA(pp, t0, (long)CKSEG0); in cps_gen_cache_routine()
216 UASM_i_LA(pp, t1, (long)(CKSEG0 + cache_size)); in cps_gen_cache_routine()
293 UASM_i_LA(pp, t0, (long)CKSEG0); in cps_gen_flush_fsb()
Dsmp-bmips.c522 BUG_ON(ebase != CKSEG0); in bmips_ebase_setup()
536 set_uncached_handler(BMIPS_WARM_RESTART_VEC - CKSEG0, in bmips_ebase_setup()
Dcps-vec.S563 li a0, CKSEG0
590 li a0, CKSEG0
/Linux-v4.19/arch/mips/mm/
Dtlb-r8k.c44 write_c0_entryhi(CKSEG0 + (entry << (PAGE_SHIFT + 1))); in local_flush_tlb_all()
101 write_c0_entryhi(CKSEG0 + (idx << (PAGE_SHIFT + 1))); in local_flush_tlb_range()
141 write_c0_entryhi(CKSEG0 + (idx << (PAGE_SHIFT + 1))); in local_flush_tlb_kernel_range()
170 write_c0_entryhi(CKSEG0 + (idx << (PAGE_SHIFT + 1))); in local_flush_tlb_page()
Dpage.c632 if ((long)KSEGX((unsigned long)page) != (long)CKSEG0) in clear_page()
658 if ((long)KSEGX((unsigned long)to) != (long)CKSEG0 in copy_page()
659 || (long)KSEGX((unsigned long)from) != (long)CKSEG0) in copy_page()
Dinit.c472 if ((unsigned long) &_text > (unsigned long) CKSEG0) in mem_init()
475 kclist_add(&kcore_kseg0, (void *) CKSEG0, in mem_init()
/Linux-v4.19/arch/mips/include/asm/
Daddrspace.h68 #define CKSEG0 _CONST64_(0xffffffff80000000) macro
73 #define CKSEG0ADDR(a) (CPHYSADDR(a) | CKSEG0)
104 #define CKSEG0 0x80000000 macro
Dtlb.h28 #define UNIQUE_ENTRYHI(idx) _UNIQUE_ENTRYHI(CKSEG0, idx)
Dpage.h178 return x < CKSEG0 ? XPHYSADDR(x) : CPHYSADDR(x); in ___pa()
Dr4kcache.h39 #define INDEX_BASE CKSEG0
/Linux-v4.19/arch/mips/lib/
Duncached.c45 if (sp >= (long)CKSEG0 && sp < (long)CKSEG2) in run_uncached()
57 if (lfunc >= (long)CKSEG0 && lfunc < (long)CKSEG2) in run_uncached()
Ddump_tlb.c118 if ((entryhi & ~0x1ffffUL) == CKSEG0) in dump_tlb()
/Linux-v4.19/arch/mips/dec/
Dkn01-berr.c109 if (KSEGX(vaddr) == CKSEG0 || KSEGX(vaddr) == CKSEG1) in dec_kn01_be_backend()
/Linux-v4.19/arch/mips/txx9/generic/
Dsetup.c119 if (fw_arg0 >= CKSEG0 || fw_arg1 < CKSEG0) { in prom_init_cmdline()
361 if (fw_arg2 < CKSEG0) in prom_getenv()
/Linux-v4.19/arch/mips/kvm/
Dtrap_emul.c29 if ((kseg == CKSEG0) || (kseg == CKSEG1)) in kvm_trap_emul_gva_to_gpa_cb()
294 && (KSEGX(badvaddr) == CKSEG0 || KSEGX(badvaddr) == CKSEG1)) { in kvm_trap_emul_handle_tlb_miss()
330 && (KSEGX(badvaddr) == CKSEG0 || KSEGX(badvaddr) == CKSEG1)) { in kvm_trap_emul_handle_addr_err_st()
349 if (KSEGX(badvaddr) == CKSEG0 || KSEGX(badvaddr) == CKSEG1) { in kvm_trap_emul_handle_addr_err_ld()
/Linux-v4.19/arch/mips/
DKconfig2849 This gives the CKSEG0 or KSEG0 address where the kernel is loaded.