/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 | 195 unsigned long ebase; /* Enhanced Func. Baseaddr */ member 265 if (inb(data->ebase + WBCIR_REG_ECEIR_CTS) & WBCIR_LED_ENABLE) in wbcir_led_brightness_get() 279 wbcir_set_bits(data->ebase + WBCIR_REG_ECEIR_CTS, in wbcir_led_brightness_set() 312 unsigned counter = inb(data->ebase + WBCIR_REG_ECEIR_CNT_LO) | in wbcir_carrier_report() 313 inb(data->ebase + WBCIR_REG_ECEIR_CNT_HI) << 8; in wbcir_carrier_report() 327 wbcir_set_bits(data->ebase + WBCIR_REG_ECEIR_CCTL, WBCIR_CNTR_R, in wbcir_carrier_report() 329 wbcir_set_bits(data->ebase + WBCIR_REG_ECEIR_CCTL, WBCIR_CNTR_EN, in wbcir_carrier_report() 511 wbcir_set_bits(data->ebase + WBCIR_REG_ECEIR_CCTL, WBCIR_CNTR_R, in wbcir_set_carrier_report() 515 wbcir_set_bits(data->ebase + WBCIR_REG_ECEIR_CCTL, in wbcir_set_carrier_report() 616 wbcir_set_bits(data->ebase + WBCIR_REG_ECEIR_CTS, val, 0x0c); in wbcir_txmask() [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() 2045 if ((handler & jump_mask) == ((ebase + 0x200) & jump_mask)) { in set_except_vector() 2053 local_flush_icache_range(ebase + 0x200, (unsigned long)buf); in set_except_vector() 2081 b = (unsigned char *)(ebase + 0x200 + n*VECTORSPACING); in set_vi_srs_handler() 2122 set_handler(((unsigned long)b - ebase), vec_start, in set_vi_srs_handler() 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() [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 | 2929 __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/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/arch/mips/bmips/ |
H A D | setup.c | 50 ebase = kbase; in kbase_setup()
|
/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()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-a64.c | 6848 int ebase, int ecount, TCGv_ptr fpst, in TRANS() 6853 read_vec_element_i32(s, tcg_elem, rn, ebase, esz); in TRANS() 6859 tcg_hi = do_reduction_op(s, rn, esz, ebase + half, half, fpst, fn); in TRANS() 6860 tcg_lo = do_reduction_op(s, rn, esz, ebase, half, fpst, fn); in TRANS()
|