Home
last modified time | relevance | path

Searched refs:z_arc_v2_aux_reg_read (Results 1 – 21 of 21) sorted by relevance

/Zephyr-latest/include/zephyr/arch/arc/v2/
Darcv2_irq_unit.h101 ret = z_arc_v2_aux_reg_read(_ARC_V2_IRQ_ENABLE) & 0x1; in z_arc_v2_irq_unit_int_enabled()
124 (z_arc_v2_aux_reg_read(_ARC_V2_IRQ_PRIORITY) & (~_ARC_V2_INT_PRIO_MASK)) in z_arc_v2_irq_unit_prio_set()
147 z_arc_v2_aux_reg_read(_ARC_V2_IRQ_PRIORITY) | in z_arc_v2_irq_uinit_secure_set()
151 z_arc_v2_aux_reg_read(_ARC_V2_IRQ_PRIORITY) & in z_arc_v2_irq_uinit_secure_set()
189 uint32_t act = z_arc_v2_aux_reg_read(_ARC_V2_AUX_IRQ_ACT); in z_arc_v2_irq_unit_is_in_isr()
192 if (z_arc_v2_aux_reg_read(_ARC_V2_STATUS32) & _ARC_V2_STATUS32_AE) { in z_arc_v2_irq_unit_is_in_isr()
236 ret = z_arc_v2_aux_reg_read(_ARC_V2_IRQ_TRIGGER); in z_arc_v2_irq_unit_trigger_get()
Dsys_io.h34 return (uint8_t)(z_arc_v2_aux_reg_read(port) & 0x000000ff); in sys_in8()
46 return (uint16_t)(z_arc_v2_aux_reg_read(port) & 0x0000ffff); in sys_in16()
58 return z_arc_v2_aux_reg_read(port); in sys_in32()
Dirq.h101 if (z_arc_v2_aux_reg_read(_ARC_V2_ICAUSE) == in arch_isr_direct_footer()
102 z_arc_v2_aux_reg_read(_ARC_V2_AUX_IRQ_HINT)) { in arch_isr_direct_footer()
Daux_regs.h238 #define z_arc_v2_aux_reg_read(reg) _lr((volatile uint32_t)reg) macro
244 #define z_arc_v2_aux_reg_read(reg) __builtin_arc_lr((volatile uint32_t)reg) macro
Darc_connect.h186 return z_arc_v2_aux_reg_read(_ARC_V2_CONNECT_READBACK); in z_arc_connect_cmd_readback()
/Zephyr-latest/arch/arc/core/
Dprep_c.c42 val = z_arc_v2_aux_reg_read(_ARC_V2_I_CACHE_BUILD);
63 val = z_arc_v2_aux_reg_read(_ARC_V2_D_CACHE_BUILD);
79 cluster_version = z_arc_v2_aux_reg_read(_ARC_REG_CLN_BCR) & _ARC_CLN_BCR_VER_MAJOR_MASK; in arc_cluster_scm_enable()
85 if (!(z_arc_v2_aux_reg_read(_ARC_CLNR_BCR_0) & _ARC_CLNR_BCR_0_HAS_SCM)) { in arc_cluster_scm_enable()
Dcache.c45 unsigned long val = z_arc_v2_aux_reg_read(_ARC_V2_D_CACHE_BUILD); in dcache_available()
92 if ((z_arc_v2_aux_reg_read(_ARC_V2_DC_CTRL) & in arch_dcache_flush_range()
157 val = z_arc_v2_aux_reg_read(_ARC_V2_D_CACHE_BUILD); in init_dcache_line_size()
Dtimestamp.c34 count = z_arc_v2_aux_reg_read(_ARC_V2_TMR0_COUNT); in z_tsc_read()
Dsmp.c101 bcr.val = z_arc_v2_aux_reg_read(_ARC_V2_CONNECT_BCR); in arch_secondary_cpu_init()
168 bcr.val = z_arc_v2_aux_reg_read(_ARC_V2_CONNECT_BCR); in arch_smp_init()
Dfault.c67 if ((z_arc_v2_aux_reg_read(_ARC_V2_ERSTATUS) & in z_check_thread_stack_fail()
352 uint32_t exc_addr = z_arc_v2_aux_reg_read(_ARC_V2_EFA); in _Fault()
353 uint32_t ecr = z_arc_v2_aux_reg_read(_ARC_V2_ECR); in _Fault()
Dthread.c182 iframe->sec_stat = z_arc_v2_aux_reg_read(_ARC_V2_SEC_STAT); in arch_new_thread()
/Zephyr-latest/tests/arch/arc/arc_dsp_sharing/src/
Ddsp_regs_arc.h58 *temp++ = z_arc_v2_aux_reg_read(_ARC_V2_DSP_BFLY0); in _store_all_dsp_registers()
59 *temp++ = z_arc_v2_aux_reg_read(_ARC_V2_AGU_AP0); in _store_all_dsp_registers()
60 *temp++ = z_arc_v2_aux_reg_read(_ARC_V2_AGU_OS0); in _store_all_dsp_registers()
/Zephyr-latest/arch/arc/core/mpu/
Darc_mpu_v2_internal.h116 return ((z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDB0 + r_index * 2U) in _is_enabled_region()
129 r_addr_start = z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDB0 + r_index * 2U) in _is_in_region()
131 r_size_lshift = z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDP0 + r_index * 2U) in _is_in_region()
150 r_ap = z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDP0 + r_index * 2U); in _is_user_accessible_region()
Darc_mpu_v6_internal.h69 val = z_arc_v2_aux_reg_read(_ARC_V2_MPU_EN) & (~AUX_MPU_EN_BANK_MASK); in _bank_select()
154 return ((z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDB0 + index) in _is_enabled_region()
170 r_addr_start = z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDB0 + index) & (~AUX_MPU_RDB_VALID_MASK); in _is_in_region()
171 r_size_lshift = z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDP0 + index) & AUX_MPU_RDP_SIZE_MASK; in _is_in_region()
192 r_ap = z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDP0 + index); in _is_user_accessible_region()
Darc_mpu_common_internal.h53 z_arc_v2_aux_reg_read(_ARC_V2_MPU_EN) | AUX_MPU_EN_ENABLE); in arc_core_mpu_enable()
63 z_arc_v2_aux_reg_read(_ARC_V2_MPU_EN) & AUX_MPU_EN_DISABLE); in arc_core_mpu_disable()
98 uint32_t val = z_arc_v2_aux_reg_read(_ARC_V2_MPU_EN) & (~AUX_MPU_RDP_ATTR_MASK); in arc_core_mpu_default()
Darc_mpu.c25 uint32_t num = z_arc_v2_aux_reg_read(_ARC_V2_MPU_BUILD); in get_num_regions()
Darc_mpu_v4_internal.h166 return z_arc_v2_aux_reg_read(_ARC_V2_MPU_RPER); in _region_get_attr()
173 return z_arc_v2_aux_reg_read(_ARC_V2_MPU_RSTART); in _region_get_start()
186 return z_arc_v2_aux_reg_read(_ARC_V2_MPU_REND) + in _region_get_end()
206 val = z_arc_v2_aux_reg_read(_ARC_V2_MPU_INDEX); in _mpu_probe()
222 return ((z_arc_v2_aux_reg_read(_ARC_V2_MPU_RPER) & in _is_enabled_region()
234 r_ap = z_arc_v2_aux_reg_read(_ARC_V2_MPU_RPER); in _is_user_accessible_region()
/Zephyr-latest/drivers/timer/
Darcv2_timer0.c110 return z_arc_v2_aux_reg_read(_ARC_V2_TMR0_COUNT); in timer0_count_register_get()
128 return z_arc_v2_aux_reg_read(_ARC_V2_TMR0_CONTROL); in timer0_control_register_get()
146 return z_arc_v2_aux_reg_read(_ARC_V2_TMR0_LIMIT); in timer0_limit_register_get()
194 z_arc_v2_aux_reg_read(_ARC_V2_ICAUSE) != IRQ_TIMER0) { in elapsed()
/Zephyr-latest/arch/arc/core/secureshield/
Dsecure_sys_services.c47 (z_arc_v2_aux_reg_read(_ARC_V2_AUX_IRQ_ACT) & in arc_s_aux_write()
/Zephyr-latest/arch/arc/include/
Dkernel_arch_func.h54 uint32_t irq_num = z_arc_v2_aux_reg_read(_ARC_V2_ICAUSE); in Z_INTERRUPT_CAUSE()
/Zephyr-latest/include/zephyr/arch/arc/
Dcluster.h97 return z_arc_v2_aux_reg_read(_ARC_CLNR_DATA); in arc_cln_read_reg_nolock()