Home
last modified time | relevance | path

Searched refs:t0 (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-Core-2.7.6/soc/riscv/riscv-privilege/andes_v5/
Dstart.S20 la t0, _ITB_BASE_
21 csrw uitb, t0
30 li t0, (0x3 << 13)
31 csrc NDS_MCACHE_CTL, t0
32 li t0, (1 << 19) | (1 << 13) | (1 << 10) | (1 << 9) | (0x3)
33 csrs NDS_MCACHE_CTL, t0
36 csrr t0, NDS_MCACHE_CTL
38 and t0, t0, t1
39 beqz t0, cache_enable_finish
44 csrr t0, NDS_MCACHE_CTL
[all …]
Dsoc_irq.S21 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-2.7.6/arch/riscv/core/
Disr.S181 op t0, __z_arch_esf_t_t0_OFFSET(sp) ;\
305 la t0, _kernel
306 RV_OP_LOADREG t0, _kernel_offset_to_current(t0)
307 RV_OP_LOADREG t0, _thread_offset_to_user_options(t0)
308 andi t0, t0, K_FP_REGS
309 RV_OP_STOREREG t0, __z_arch_esf_t_fp_state_OFFSET(sp)
310 beqz t0, skip_store_fp_caller_saved
317 csrr t0, mepc
318 RV_OP_STOREREG t0, __z_arch_esf_t_mepc_OFFSET(sp)
321 csrr t0, mstatus
[all …]
Dreset.S53 li t0, MSTATUS_FS_INIT
54 csrrs x0, mstatus, t0
65 la t0, z_interrupt_stacks
67 add t1, t1, t0
72 sw t2, 0x00(t0)
73 addi t0, t0, 4
74 blt t0, t1, aa_loop
82 li t0, CONFIG_ISR_STACK_SIZE
83 add sp, sp, t0
Dswap.S38 la t0, _kernel
41 RV_OP_LOADREG t1, _kernel_offset_to_current(t0)
51 csrrs t0, mstatus, a0
Duserspace.S30 la t0, _k_syscall_table
33 add t0, t0, t1 # Table addr + offset = function addr
34 RV_OP_LOADREG t3, 0x00(t0) # Load function address
Dfatal.c34 LOG_ERR(" a0: " PR_REG " t0: " PR_REG, esf->a0, esf->t0); in z_riscv_fatal_error()
/Zephyr-Core-2.7.6/soc/riscv/riscv-privilege/telink_b91/
Dstart.S35 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
51 lw t0, 0(t1)
52 sw t0, 0(t2)
63 lw t0, 0(t1)
64 sw t0, 0(t2)
Dsoc_irq.S25 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-2.7.6/soc/riscv/openisa_rv32m1/
Dsoc_irq.S43 la t0, __EVENT_INTPTPENDCLEAR
46 sw t1, 0x00(t0)
62 csrr t0, RI5CY_LPSTART0
65 sw t0, __soc_esf_t_lpstart0_OFFSET(a0)
68 csrr t0, RI5CY_LPSTART1
71 sw t0, __soc_esf_t_lpstart1_OFFSET(a0)
80 lw t0, __soc_esf_t_lpstart0_OFFSET(a0)
83 csrw RI5CY_LPSTART0, t0
86 lw t0, __soc_esf_t_lpstart1_OFFSET(a0)
89 csrw RI5CY_LPSTART1, t0
Dwdog.S42 csrrc t0, mstatus, MSTATUS_IEN
62 csrrs x0, mstatus, t0
Dvector.S77 la t0, ivt
78 csrw 0x305, t0
/Zephyr-Core-2.7.6/soc/riscv/riscv-privilege/common/
Dsoc_irq.S30 sll t0, t1, a0
31 csrrc t1, mip, t0
50 csrr t0, mcause
52 and t0, t0, t1
56 beqz t0, not_interrupt
Dvector.S32 la t0, __irq_wrapper
33 csrw mtvec, t0
/Zephyr-Core-2.7.6/soc/riscv/riscv-ite/common/
Dvector.S25 la t0, __irq_wrapper
26 csrw mtvec, t0
33 la t0, IT8XXX2_GCTRL_EIDSR
34 lb t1, 0(t0)
37 sb t1, 0(t0)
Dsoc_irq.S49 csrr t0, mcause
51 and t0, t0, t1
55 beqz t0, not_interrupt
/Zephyr-Core-2.7.6/tests/kernel/tickless/tickless_concept/src/
Dmain.c79 volatile uint32_t t0, t1; in test_tickless_sysclock() local
82 t0 = k_uptime_get_32(); in test_tickless_sysclock()
85 TC_PRINT("time %d, %d\n", t0, t1); in test_tickless_sysclock()
87 zassert_true((t1 - t0) >= SLEEP_TICKLESS, NULL); in test_tickless_sysclock()
90 t0 = k_uptime_get_32(); in test_tickless_sysclock()
93 TC_PRINT("time %d, %d\n", t0, t1); in test_tickless_sysclock()
95 zassert_true((t1 - t0) >= SLEEP_TICKFUL, NULL); in test_tickless_sysclock()
/Zephyr-Core-2.7.6/modules/hal_nordic/nrf_802154/sl_opensource/platform/
Dnrf_802154_lp_timer_zephyr.c51 uint32_t t0, in timer_start_at() argument
54 uint32_t cc_value = NRF_802154_SL_US_TO_RTC_TICKS(t0 + dt); in timer_start_at()
140 void nrf_802154_lp_timer_start(uint32_t t0, uint32_t dt) in nrf_802154_lp_timer_start() argument
142 timer_start_at(m_rtc_channel, t0, dt); in nrf_802154_lp_timer_start()
167 void nrf_802154_lp_timer_sync_start_at(uint32_t t0, uint32_t dt) in nrf_802154_lp_timer_sync_start_at() argument
169 (void)t0; in nrf_802154_lp_timer_sync_start_at()
/Zephyr-Core-2.7.6/tests/subsys/fs/littlefs/src/
Dtest_lfs_perf.c33 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-2.7.6/tests/kernel/timer/timer_api/src/
Dmain.c740 uint64_t t0, t1; in test_timeout_abs() local
772 t0 = k_uptime_ticks(); in test_timeout_abs()
775 } while (t0 != t1); in test_timeout_abs()
777 zassert_true(t0 + rem_ticks == exp_ticks, in test_timeout_abs()
779 (uint64_t)t0, (uint64_t)rem_ticks, (uint64_t)exp_ticks, in test_timeout_abs()
780 t0+rem_ticks-exp_ticks); in test_timeout_abs()
/Zephyr-Core-2.7.6/samples/drivers/counter/maxim_ds3231/src/
Dmain.c208 uint32_t t0 = k_uptime_get_32(); in set_aligned_clock() local
222 printk("Synchronize final: %d %d in %u ms\n", rc, ss.result, t1 - t0); in set_aligned_clock()
276 uint32_t t0 = k_uptime_get_32(); in main() local
287 printk("Synchronize complete in %u ms: %d %d\n", t1 - t0, rc, ss.result); in main()
/Zephyr-Core-2.7.6/scripts/kconfig/
Dkconfiglib.py2914 t0 = self._tokens[0]
2916 if t0 is _T_CONFIG or t0 is _T_MENUCONFIG:
2931 node.is_menuconfig = (t0 is _T_MENUCONFIG)
2954 elif t0 is None:
2958 elif t0 in _SOURCE_TOKENS:
2961 if t0 in _REL_SOURCE_TOKENS:
2975 if not filenames and t0 in _OBL_SOURCE_TOKENS:
2991 elif t0 is end_token:
3001 elif t0 is _T_IF:
3012 elif t0 is _T_MENU:
[all …]
/Zephyr-Core-2.7.6/include/arch/riscv/
Dexp.h56 ulong_t t0; /* Caller-saved temporary register */ member
/Zephyr-Core-2.7.6/tests/drivers/timer/nrf_rtc_timer/src/
Dmain.c99 k_timeout_t t0 = in test_basic() local
102 test_timeout(chan, t0, false); in test_basic()
/Zephyr-Core-2.7.6/arch/riscv/core/offsets/
Doffsets.c69 GEN_OFFSET_SYM(z_arch_esf_t, t0);

12