/openbmc/u-boot/arch/mips/lib/ |
H A D | traps.c | 89 unsigned long ebase = gd->irq_sp; in set_handler() local 91 memcpy((void *)(ebase + offset), addr, size); in set_handler() 92 flush_cache(ebase + offset, size); in set_handler() 97 unsigned long ebase = gd->irq_sp; in trap_init() local 102 write_c0_ebase(ebase); in trap_init()
|
/openbmc/linux/drivers/media/rc/ |
H A D | winbond-cir.c | 279 wbcir_set_bits(data->ebase + WBCIR_REG_ECEIR_CTS, in wbcir_led_brightness_set() 313 inb(data->ebase + WBCIR_REG_ECEIR_CNT_HI) << 8; in wbcir_carrier_report() 515 wbcir_set_bits(data->ebase + WBCIR_REG_ECEIR_CCTL, in wbcir_set_carrier_report() 905 outb(0x00, data->ebase + WBCIR_REG_ECEIR_CCTL); in wbcir_init_hw() 911 outb(0x10, data->ebase + WBCIR_REG_ECEIR_CTS); in wbcir_init_hw() 1029 data->ebase = pnp_port_start(device, 0); in wbcir_probe() 1034 if (data->wbase == 0 || data->ebase == 0 || in wbcir_probe() 1042 data->wbase, data->ebase, data->sbase, data->irq); in wbcir_probe() 1101 data->ebase, data->ebase + EHFUNC_IOMEM_LEN - 1); in wbcir_probe() 1130 release_region(data->ebase, EHFUNC_IOMEM_LEN); in wbcir_probe() [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | traps.c | 2003 unsigned long ebase; variable 2004 EXPORT_SYMBOL_GPL(ebase); 2043 u32 *buf = (u32 *)(ebase + 0x200); in set_except_vector() 2249 write_c0_ebase_64(ebase | MIPS_EBASE_WG); in configure_exception_vector() 2251 write_c0_ebase(ebase | MIPS_EBASE_WG); in configure_exception_vector() 2254 write_c0_ebase(ebase); in configure_exception_vector() 2325 memcpy((void *)(ebase + offset), addr, size); in set_handler() 2327 local_flush_icache_range(ebase + offset, ebase + offset + size); in set_handler() 2369 ebase = CAC_BASE; in trap_init() 2394 ebase = CKSEG0ADDR(ebase_pa); in trap_init() [all …]
|
H A D | smp-bmips.c | 537 unsigned long new_ebase = ebase; in bmips_ebase_setup() 539 BUG_ON(ebase != CKSEG0); in bmips_ebase_setup() 580 ebase = new_ebase; in bmips_ebase_setup()
|
H A D | cpu-probe.c | 748 u64 ebase; in decode_configs() local 752 ebase = cpu_has_mips64r6 ? read_c0_ebase_64() in decode_configs() 754 if (ebase & MIPS_EBASE_WG) { in decode_configs() 768 write_c0_ebase_64(ebase | MIPS_EBASE_WG); in decode_configs() 770 write_c0_ebase(ebase | MIPS_EBASE_WG); in decode_configs() 776 write_c0_ebase(ebase); in decode_configs()
|
H A D | bmips_vec.S | 211 la k0, ebase
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | setup.h | 26 extern unsigned long ebase;
|
H A D | kvm_host.h | 657 __BUILD_KVM_RW_HW(ebase, l, MIPS_CP0_PRID, 1) 680 __BUILD_KVM_SET_HW(ebase, l, MIPS_CP0_PRID, 1)
|
H A D | mipsregs.h | 2926 __BUILD_SET_GC0(ebase) in __BUILD_SET_C0()
|
/openbmc/linux/arch/mips/mm/ |
H A D | tlbex.c | 440 memcpy((void *)ebase, tlb_handler, 0x80); in build_r3000_tlb_refill_handler() 441 local_flush_icache_range(ebase, ebase + 0x80); in build_r3000_tlb_refill_handler() 442 dump_handler("r3000_tlb_refill", (u32 *)ebase, (u32 *)(ebase + 0x80)); in build_r3000_tlb_refill_handler() 1440 memcpy((void *)ebase, final_handler, 0x100); in build_r4000_tlb_refill_handler() 1441 local_flush_icache_range(ebase, ebase + 0x100); in build_r4000_tlb_refill_handler() 1442 dump_handler("r4000_tlb_refill", (u32 *)ebase, (u32 *)(ebase + 0x100)); in build_r4000_tlb_refill_handler() 1545 memcpy((void *)(ebase + 0x80), tlb_handler, 0x80); in build_loongson3_tlb_refill_handler() 1546 local_flush_icache_range(ebase + 0x80, ebase + 0x100); in build_loongson3_tlb_refill_handler() 1548 (u32 *)(ebase + 0x80), (u32 *)(ebase + 0x100)); in build_loongson3_tlb_refill_handler()
|
/openbmc/linux/arch/mips/bmips/ |
H A D | setup.c | 50 ebase = kbase; in kbase_setup()
|
/openbmc/linux/arch/mips/cavium-octeon/ |
H A D | setup.c | 807 uint32_t __maybe_unused ebase = read_c0_ebase() & 0x3ffff000; in prom_init() local 810 cvmx_l2c_lock_mem_region(ebase, 0x100); in prom_init() 814 cvmx_l2c_lock_mem_region(ebase + 0x180, 0x80); in prom_init() 818 cvmx_l2c_lock_mem_region(ebase + 0x200, 0x80); in prom_init()
|
H A D | smp.c | 244 write_c0_ebase((u32)ebase); in octeon_init_secondary()
|
/openbmc/linux/fs/erofs/ |
H A D | zmap.c | 230 const erofs_off_t ebase = sizeof(struct z_erofs_map_header) + in z_erofs_load_compact_lcluster() local 242 compacted_4b_initial = (32 - ebase % 32) / 4; in z_erofs_load_compact_lcluster() 252 pos = ebase; in z_erofs_load_compact_lcluster()
|
/openbmc/linux/arch/mips/kvm/ |
H A D | entry.c | 650 UASM_i_LA_mostly(&p, K0, (long)&ebase); in kvm_mips_build_exit() 651 UASM_i_LW(&p, K0, uasm_rel_lo((long)&ebase), K0); in kvm_mips_build_exit()
|