Searched refs:z_arc_v2_aux_reg_read (Results 1 – 21 of 21) sorted by relevance
101 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()
34 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()
101 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()
238 #define z_arc_v2_aux_reg_read(reg) _lr((volatile uint32_t)reg) macro244 #define z_arc_v2_aux_reg_read(reg) __builtin_arc_lr((volatile uint32_t)reg) macro
186 return z_arc_v2_aux_reg_read(_ARC_V2_CONNECT_READBACK); in z_arc_connect_cmd_readback()
42 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()
45 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()
34 count = z_arc_v2_aux_reg_read(_ARC_V2_TMR0_COUNT); in z_tsc_read()
101 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()
67 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()
182 iframe->sec_stat = z_arc_v2_aux_reg_read(_ARC_V2_SEC_STAT); in arch_new_thread()
58 *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()
116 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()
69 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()
53 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()
25 uint32_t num = z_arc_v2_aux_reg_read(_ARC_V2_MPU_BUILD); in get_num_regions()
166 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()
110 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()
47 (z_arc_v2_aux_reg_read(_ARC_V2_AUX_IRQ_ACT) & in arc_s_aux_write()
54 uint32_t irq_num = z_arc_v2_aux_reg_read(_ARC_V2_ICAUSE); in Z_INTERRUPT_CAUSE()
97 return z_arc_v2_aux_reg_read(_ARC_CLNR_DATA); in arc_cln_read_reg_nolock()