Home
last modified time | relevance | path

Searched refs:read_aux_reg (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/arch/arc/mm/
Dcache.c409 write_aux_reg(ctl, read_aux_reg(ctl) | DC_CTRL_INV_MODE_FLUSH); in __before_dc_op()
418 unsigned int val = read_aux_reg(ctl); in __before_dc_op()
446 while ((reg = read_aux_reg(ctl)) & DC_CTRL_FLUSH_STATUS) in __after_dc_op()
482 write_aux_reg(r, read_aux_reg(r) | DC_CTRL_DIS); in __dc_disable()
489 write_aux_reg(r, read_aux_reg(r) & ~DC_CTRL_DIS); in __dc_enable()
530 read_aux_reg(ARC_REG_IC_CTRL); /* blocks */ in __ic_entire_inv()
607 ctrl = read_aux_reg(ARC_REG_SLC_CTRL); in slc_op_rgn()
639 read_aux_reg(ARC_REG_SLC_CTRL); in slc_op_rgn()
641 while (read_aux_reg(ARC_REG_SLC_CTRL) & SLC_CTRL_BUSY); in slc_op_rgn()
666 ctrl = read_aux_reg(ARC_REG_SLC_CTRL); in slc_op_line()
[all …]
Dtlb.c52 idx = read_aux_reg(ARC_REG_TLBINDEX); in tlb_entry_lkup()
436 asid_or_sasid = read_aux_reg(ARC_REG_PID) & 0xff; in create_tlb()
588 tmp = read_aux_reg(ARC_REG_MMU_BCR); in read_decode_mmu_bcr()
742 pd0[way] = read_aux_reg(ARC_REG_TLBPD0); in do_tlb_overlap_fault()
/linux-5.19.10/include/soc/arc/
Daux.h11 #define read_aux_reg(r) __builtin_arc_lr(r) macro
18 static inline int read_aux_reg(u32 r) in read_aux_reg() function
37 tmp = read_aux_reg(reg); \
Dmcip.h130 return read_aux_reg(ARC_REG_MCIP_READBACK); in __mcip_cmd_read()
/linux-5.19.10/drivers/clocksource/
Darc_timer.c80 l = read_aux_reg(ARC_REG_MCIP_READBACK); in arc_read_gfrc()
83 h = read_aux_reg(ARC_REG_MCIP_READBACK); in arc_read_gfrc()
140 l = read_aux_reg(AUX_RTC_LOW); in arc_read_rtc()
141 h = read_aux_reg(AUX_RTC_HIGH); in arc_read_rtc()
142 status = read_aux_reg(AUX_RTC_CTRL); in arc_read_rtc()
198 return (u64) read_aux_reg(ARC_REG_TIMER1_CNT); in arc_read_timer1()
/linux-5.19.10/arch/arc/kernel/
Dintc-compact.c47 ienb = read_aux_reg(AUX_IENABLE); in arc_init_IRQ()
68 ienb = read_aux_reg(AUX_IENABLE); in arc_irq_mask()
77 ienb = read_aux_reg(AUX_IENABLE); in arc_irq_unmask()
Dperf_event.c272 tmp = read_aux_reg(ARC_REG_PCT_CONTROL); in arc_pmu_read_counter()
274 result = (u64) (read_aux_reg(ARC_REG_PCT_SNAPH)) << 32; in arc_pmu_read_counter()
275 result |= read_aux_reg(ARC_REG_PCT_SNAPL); in arc_pmu_read_counter()
393 tmp = read_aux_reg(ARC_REG_PCT_CONTROL); in arc_pmu_enable()
401 tmp = read_aux_reg(ARC_REG_PCT_CONTROL); in arc_pmu_disable()
469 read_aux_reg(ARC_REG_PCT_INT_CTRL) | BIT(idx)); in arc_pmu_start()
489 read_aux_reg(ARC_REG_PCT_INT_CTRL) & ~BIT(idx)); in arc_pmu_stop()
572 active_ints = read_aux_reg(ARC_REG_PCT_INT_ACT); in arc_pmu_intr()
593 read_aux_reg(ARC_REG_PCT_INT_CTRL) | BIT(idx)); in arc_pmu_intr()
779 cc_name.indiv.word0 = le32_to_cpu(read_aux_reg(ARC_REG_CC_NAME0)); in arc_pmu_device_probe()
[all …]
Dfpu.c75 save->ctrl = read_aux_reg(ARC_REG_FPU_CTRL); in fpu_save_restore()
76 save->status = read_aux_reg(ARC_REG_FPU_STATUS); in fpu_save_restore()
Dmcip.c44 gfrc_halt_mask = read_aux_reg(ARC_REG_MCIP_READBACK); in mcip_update_gfrc_halt_mask()
64 mcip_mask = read_aux_reg(ARC_REG_MCIP_READBACK); in mcip_update_debug_halt_mask()
117 ipi_was_pending = read_aux_reg(ARC_REG_MCIP_READBACK); in mcip_ipi_send()
139 cpu = read_aux_reg(ARC_REG_MCIP_READBACK); /* 1,2,4,8... */ in mcip_ipi_clear()
Dsetup.c87 base = read_aux_reg(ARC_REG_DCCM_BASE_BUILD); in read_decode_ccm_bcr()
101 region = read_aux_reg(ARC_REG_AUX_ICCM); in read_decode_ccm_bcr()
111 region = read_aux_reg(ARC_REG_AUX_DCCM); in read_decode_ccm_bcr()
182 cpu->vec_base = read_aux_reg(AUX_INTR_VEC_BASE); in read_arc_build_cfg_regs()
325 ctl = read_aux_reg(ARC_REG_LPB_CTRL); in arc_cpu_mumbojumbo()
Dintc-arcv2.c93 tmp = read_aux_reg(ARC_REG_STATUS32); in arc_init_IRQ()
/linux-5.19.10/arch/arc/include/asm/
Dirqflags-arcv2.h80 unsigned int irqact = read_aux_reg(AUX_IRQ_ACT); in arch_local_irq_enable()
/linux-5.19.10/arch/arc/plat-axs10x/
Daxs10x.c313 unsigned int num_cores = (read_aux_reg(ARC_REG_MCIP_BCR) >> 16) & 0x3F; in axs103_early_init()