/Zephyr-Core-3.7.0/soc/andestech/ae350/ |
D | start.S | 21 la t0, _ITB_BASE_ 22 csrw NDS_UITB, t0 27 li t0, (1 << 9) | (1 << 0) 28 csrs NDS_MCACHE_CTL, t0 36 li t0, (0x3 << 13) 37 csrc NDS_MCACHE_CTL, t0 38 li t0, (1 << 19) | (1 << 13) | (1 << 10) | (1 << 1) 39 csrs NDS_MCACHE_CTL, t0 42 csrr t0, NDS_MCACHE_CTL 44 and t0, t0, t1 [all …]
|
D | soc_irq.S | 21 csrr t0, NDS_MXSTATUS 28 sw t0, __soc_esf_t_mxstatus_OFFSET(a0) 38 lw t0, __soc_esf_t_mxstatus_OFFSET(a0) 45 csrw NDS_MXSTATUS, t0
|
/Zephyr-Core-3.7.0/arch/riscv/core/ |
D | reset.S | 42 li t0, CONFIG_RV_BOOT_HART 43 beq a0, t0, boot_first_core 52 li t0, MSTATUS_FS_INIT 53 csrs mstatus, t0 64 la t0, z_interrupt_stacks 66 add t1, t1, t0 71 sw t2, 0x00(t0) 72 addi t0, t0, 4 73 blt t0, t1, aa_loop 81 li t0, __z_interrupt_stack_SIZEOF [all …]
|
D | isr.S | 27 RV_E( op t0, __struct_arch_esf_t0_OFFSET(sp) );\ 144 sr t0, _curr_cpu_arch_user_exc_tmp0(s0) 148 csrr t0, mstatus 150 and t0, t0, t1 151 bnez t0, 1f 154 mv t0, sp 160 sr t0, (-__struct_arch_esf_SIZEOF + __struct_arch_esf_sp_OFFSET)(sp) 163 lr t0, ___cpu_t_current_OFFSET(s0) 164 lr tp, _thread_offset_to_tls(t0) 167 lui t0, %tprel_hi(is_user_mode) [all …]
|
D | pmp.S | 39 la t0, pmpaddr_store 41 add t0, t0, t1 42 jr t0 50 lr t0, (RV_REGSIZE * _index)(a3) 52 csrw (CSR_PMPADDR_BASE + _index), t0 65 la t0, pmpcfg_store 68 add t0, t0, t1 71 jr t0 79 lr t0, (RV_REGSIZE * _index)(a4) 81 csrw (CSR_PMPCFG_BASE + RV_REGSIZE/4 * _index), t0 [all …]
|
D | switch.S | 75 lb t0, _thread_offset_to_user_options(a0) 76 andi t0, t0, K_USER 77 beqz t0, not_user_task
|
D | fpu.S | 57 frcsr t0 59 sw t0, __z_riscv_fp_context_t_fcsr_OFFSET(a0) 66 lw t0, __z_riscv_fp_context_t_fcsr_OFFSET(a0) 67 fscsr t0
|
D | coredump.c | 21 uint64_t t0; member 42 uint32_t t0; 91 arch_blk.r.t0 = esf->t0; in arch_coredump_info_dump()
|
/Zephyr-Core-3.7.0/soc/common/riscv-privileged/ |
D | vector.S | 41 la t0, _isr_wrapper 43 add t0, zero, zero 45 addi t0, t0, 0x03 /* Enable CLIC vectored mode by setting LSB */ 46 csrw mtvec, t0 60 la t0, _irq_vector_table 61 csrw 0x307, t0 /* mtvt */ 77 la t0, _irq_vector_table /* Load address of interrupt vector table */ 78 addi t0, t0, 0x01 /* Enable vectored mode by setting LSB */ 79 csrw mtvec, t0 87 la t0, _isr_wrapper [all …]
|
D | soc_irq.S | 30 sll t0, t1, a0 31 csrrc t1, mip, t0
|
/Zephyr-Core-3.7.0/soc/ite/ec/common/ |
D | vector.S | 31 la t0, IT8XXX2_GCTRL_PMER3 32 lb t1, 0(t0) 34 sb t1, 0(t0) 36 la t0, IT8XXX2_JTAG_PINS_BASE 39 sb t1, 0(t0) 41 sb t1, 1(t0) 43 sb t1, 4(t0) 45 sb t1, 5(t0) 47 sb t1, 6(t0) 50 la t0, IT8XXX2_JTAG_VOLT_SET [all …]
|
/Zephyr-Core-3.7.0/soc/nordic/common/vpr/ |
D | soc_isr_stacking.h | 28 unsigned long t0; \ 52 unsigned long t0; \ 94 lr t0, __struct_arch_esf_mepc_OFFSET(sp); \ 95 andi t0, t0, MEPC_SP_ALIGN_BIT_MASK; \ 96 sr t0, __soc_esf_t_sp_align_OFFSET(t1) 100 lr t0, __soc_esf_t_sp_align_OFFSET(t1); \ 102 or t2, t1, t0; \ 106 csrw mscratch, t0; \ 108 csrr t0, mcause; \ 109 srli t0, t0, RISCV_MCAUSE_IRQ_POS; \ [all …]
|
D | soc_context.S | 13 csrr t0, 0x347 14 sw t0, __soc_esf_t_minttresh_OFFSET(a0) 19 lw t0, __soc_esf_t_minttresh_OFFSET(a0) 20 csrw 0x347, t0
|
/Zephyr-Core-3.7.0/soc/telink/tlsr/tlsr951x/ |
D | start.S | 35 csrr t0, NDS_MCACHE_CTL 36 ori t0, t0, 1 #/I-Cache 37 ori t0, t0, 2 #/D-Cache 38 csrw NDS_MCACHE_CTL, t0 42 li t0, (1 << 8) | (1 << 6) 43 csrs NDS_MMISC_CTL, t0 46 lui t0, 0 51 sw t0, 0(t2) 61 lw t0, 0(t1) 62 sw t0, 0(t2) [all …]
|
D | soc_irq.S | 25 csrr t0, NDS_MXSTATUS 32 sw t0, __soc_esf_t_mxstatus_OFFSET(a0) 42 lw t0, __soc_esf_t_mxstatus_OFFSET(a0) 49 csrw NDS_MXSTATUS, t0
|
/Zephyr-Core-3.7.0/soc/openisa/rv32m1/ |
D | soc_irq.S | 33 la t0, __EVENT_INTPTPENDCLEAR 36 sw t1, 0x00(t0) 52 csrr t0, RI5CY_LPSTART0 55 sw t0, __soc_esf_t_lpstart0_OFFSET(a0) 58 csrr t0, RI5CY_LPSTART1 61 sw t0, __soc_esf_t_lpstart1_OFFSET(a0) 70 lw t0, __soc_esf_t_lpstart0_OFFSET(a0) 73 csrw RI5CY_LPSTART0, t0 76 lw t0, __soc_esf_t_lpstart1_OFFSET(a0) 79 csrw RI5CY_LPSTART1, t0
|
D | wdog.S | 42 csrrc t0, mstatus, MSTATUS_IEN 62 csrrs x0, mstatus, t0
|
/Zephyr-Core-3.7.0/include/zephyr/arch/riscv/ |
D | syscall.h | 50 register unsigned long t0 __asm__ ("t0") = call_id; in arch_syscall_invoke6() 55 "r" (t0) in arch_syscall_invoke6() 70 register unsigned long t0 __asm__ ("t0") = call_id; in arch_syscall_invoke5() 74 : "r" (a1), "r" (a2), "r" (a3), "r" (a4), "r" (t0) in arch_syscall_invoke5() 87 register unsigned long t0 __asm__ ("t0") = call_id; in arch_syscall_invoke4() 91 : "r" (a1), "r" (a2), "r" (a3), "r" (t0) in arch_syscall_invoke4() 103 register unsigned long t0 __asm__ ("t0") = call_id; in arch_syscall_invoke3() 107 : "r" (a1), "r" (a2), "r" (t0) in arch_syscall_invoke3() 117 register unsigned long t0 __asm__ ("t0") = call_id; in arch_syscall_invoke2() 121 : "r" (a1), "r" (t0) in arch_syscall_invoke2() [all …]
|
/Zephyr-Core-3.7.0/arch/mips/core/ |
D | reset.S | 34 la t0, z_interrupt_stacks 36 add t1, t1, t0 41 sw t2, 0(t0) 42 addi t0, t0, 4 43 blt t0, t1, aa_loop
|
D | isr.S | 43 op t0, ESF_O(t0)(sp) ;\ 89 mfhi t0 91 OP_STOREREG t0, ESF_O(hi)(sp) 93 mfc0 t0, CP0_EPC 94 OP_STOREREG t0, ESF_O(epc)(sp) 97 mfc0 t0, CP0_STATUS 98 OP_STOREREG t0, ESF_O(status)(sp) 114 and t1, t1, t0 148 la t0, _offload_routine 149 OP_LOADREG t1, 0(t0) [all …]
|
/Zephyr-Core-3.7.0/drivers/interrupt_controller/ |
D | intc_nuclei_eclic.S | 55 la t0, _sw_isr_table 57 add t0, t0, a0 60 lw a0, 0(t0) 63 lw t1, RV_REGSIZE(t0)
|
/Zephyr-Core-3.7.0/tests/kernel/tickless/tickless_concept/src/ |
D | main.c | 71 volatile uint32_t t0, t1; in ZTEST() local 74 t0 = k_uptime_get_32(); in ZTEST() 77 TC_PRINT("time %d, %d\n", t0, t1); in ZTEST() 79 zassert_true((t1 - t0) >= SLEEP_TICKLESS); in ZTEST() 82 t0 = k_uptime_get_32(); in ZTEST() 85 TC_PRINT("time %d, %d\n", t0, t1); in ZTEST() 87 zassert_true((t1 - t0) >= SLEEP_TICKFUL); in ZTEST()
|
/Zephyr-Core-3.7.0/soc/neorv32/ |
D | soc_irq.S | 22 sll t0, t1, a0 23 csrrc t2, mie, t0 24 and t1, t2, t0
|
/Zephyr-Core-3.7.0/tests/subsys/fs/littlefs/src/ |
D | test_lfs_perf.c | 33 uint32_t t0; in write_read() local 87 t0 = k_uptime_get_32(); in write_read() 97 if (t1 == t0) { in write_read() 116 tag, nbuf, buf_size, total, (t1 - t0), in write_read() 117 (uint32_t)(total * 1000U / (t1 - t0)), in write_read() 118 (uint32_t)(total * 1000U / (t1 - t0) / 1024U)); in write_read() 126 t0 = k_uptime_get_32(); in write_read() 136 if (t1 == t0) { in write_read() 142 tag, nbuf, buf_size, total, (t1 - t0), in write_read() 143 (uint32_t)(total * 1000U / (t1 - t0)), in write_read() [all …]
|
/Zephyr-Core-3.7.0/soc/gd/gd32/gd32vf103/ |
D | entry.S | 29 li t0, 0x200 30 csrs CSR_MMISC_CTL, t0
|