Home
last modified time | relevance | path

Searched refs:t2 (Results 1 – 25 of 40) sorted by relevance

12

/Zephyr-latest/soc/openisa/rv32m1/
Dwdog.S48 li t2, WDOG_CNT_UNLOCK
49 sw t2, WDOG_CNT_OFFSET(t1)
52 lw t2, WDOG_CS_OFFSET(t1)
53 andi t2, t2, WDOG_CS_EN_DISABLED
54 ori t2, t2, WDOG_CS_UPDATE_ENABLED
55 sw t2, WDOG_CS_OFFSET(t1)
58 li t2, WDOG_TOVAL_SET
59 sw t2, WDOG_TOVAL_OFFSET(t1)
Dsoc_irq.S54 csrr t2, RI5CY_LPCOUNT0
57 sw t2, __soc_esf_t_lpcount0_OFFSET(a0)
60 csrr t2, RI5CY_LPCOUNT1
63 sw t2, __soc_esf_t_lpcount1_OFFSET(a0)
72 lw t2, __soc_esf_t_lpcount0_OFFSET(a0)
75 csrw RI5CY_LPCOUNT0, t2
78 lw t2, __soc_esf_t_lpcount1_OFFSET(a0)
81 csrw RI5CY_LPCOUNT1, t2
/Zephyr-latest/soc/telink/tlsr/tlsr951x/
Dstart.S47 la t2, _AES_DATA_VMA_START
50 bleu t3, t2, _RETENTION_DATA_INIT
51 sw t0, 0(t2)
52 addi t2, t2, 4
57 la t2, _RETENTION_DATA_VMA_START
60 bleu t3, t2, _RAMCODE_INIT
62 sw t0, 0(t2)
64 addi t2, t2, 4
69 la t2, _RAMCODE_VMA_START
72 bleu t3, t2, _START
[all …]
/Zephyr-latest/tests/net/trickle/src/
Dmain.c63 static struct net_trickle t2; variable
92 ret = net_trickle_create(&t2, T2_IMIN, T2_IMAX, T2_K); in test_trickle_create()
106 ret = net_trickle_start(&t2, cb_2, &t2); in test_trickle_start()
115 zassert_false(net_trickle_stop(&t2), in test_trickle_stop()
132 zassert_true(net_trickle_is_running(&t2), "Trickle 2 not running"); in test_trickle_2_status()
135 net_trickle_consistency(&t2); in test_trickle_2_status()
137 net_trickle_inconsistency(&t2); in test_trickle_2_status()
174 zassert_true(net_trickle_is_running(&t2), "Trickle 2 not running"); in test_trickle_2_wait()
184 zassert_true(net_trickle_is_running(&t2), "Trickle 2 is not running"); in test_trickle_2_inc()
/Zephyr-latest/arch/riscv/core/
Disr.S29 RV_E( op t2, __struct_arch_esf_t2_OFFSET(sp) );\
206 csrr t2, mstatus
207 sr t2, __struct_arch_esf_mstatus_OFFSET(sp)
212 and t1, t1, t2
215 csrr t2, mcause
217 and t2, t2, t1
219 bne t1, t2, no_fp
221 csrr t2, mtval /* get faulting instruction */
227 bnez t2, 1f
228 lw t2, 0(t0) /* t0 = mepc */
[all …]
Dcoredump.c24 uint64_t t2; member
45 uint32_t t2;
94 arch_blk.r.t2 = esf->t2; in arch_coredump_info_dump()
Dreset.S70 li t2, 0xaaaaaaaa
72 sw t2, 0x00(t0)
/Zephyr-latest/soc/neorv32/
Dsoc_irq.S23 csrrc t2, mie, t0
24 and t1, t2, t0
25 csrrs t2, mie, t1
/Zephyr-latest/arch/mips/core/
Disr.S45 op t2, ESF_O(t2)(sp) ;\
200 OP_LOADREG t2, _kernel_offset_to_current(k1)
207 beq t3, t2, no_reschedule
225 OP_LOADREG t2, _kernel_offset_to_current(t0)
227 beq t2, t3, no_reschedule
248 la t2, _k_neg_eagain
249 lw t3, 0(t2)
275 OP_LOADREG t2, ESF_O(lo)(sp)
277 mtlo t2
Dreset.S39 li t2, 0xaaaaaaaa
41 sw t2, 0(t0)
Dfatal.c21 esf->t0, esf->t1, esf->t2, esf->t3); in z_mips_fatal_error()
/Zephyr-latest/soc/nordic/common/vpr/
Dsoc_isr_stacking.h26 unsigned long t2; \
50 unsigned long t2; \
102 or t2, t1, t0; \
103 sr t2, __struct_arch_esf_mepc_OFFSET(sp)
/Zephyr-latest/samples/boards/nordic/coresight_stm/src/
Dmain.c61 uint32_t t0, t1, t2, t3, t_s; in main() local
75 t2 = TEST_LOG(rpt, (LOG_INF("test with two arguments %d %d", 100, 10))); in main()
76 t2 -= delta; in main()
97 timing_report(t2, rpt, "log message with 2 arguments"); in main()
/Zephyr-latest/subsys/net/lib/dhcpv6/
Ddhcpv6.c74 uint32_t t1, uint32_t t2, in dhcvp6_update_deadlines() argument
85 if (t1 == 0 && t2 == 0) { in dhcvp6_update_deadlines()
88 t2 = DHCPV6_INFINITY; in dhcvp6_update_deadlines()
91 t2 = preferred_lifetime * 0.8; in dhcvp6_update_deadlines()
94 if (t2 == DHCPV6_INFINITY) { in dhcvp6_update_deadlines()
97 t1 = t2 * 0.625; /* 0.5 / 0.8 */ in dhcvp6_update_deadlines()
99 } else if (t2 == 0) { in dhcvp6_update_deadlines()
101 t2 = DHCPV6_INFINITY; in dhcvp6_update_deadlines()
103 t2 = t1 * 1.6; /* 0.8 / 0.5 */ in dhcvp6_update_deadlines()
105 if (t2 < t1) { in dhcvp6_update_deadlines()
[all …]
Ddhcpv6_internal.h102 uint32_t t2; member
118 uint32_t t2; member
/Zephyr-latest/samples/kernel/condition_variables/condvar/src/
Dmain.c79 long t1 = 1, t2 = 2, t3 = 3; in main() local
89 INT_TO_POINTER(t2), NULL, NULL, K_PRIO_PREEMPT(10), 0, in main()
/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c739 k_timeout_t t = K_TIMEOUT_ABS_TICKS(exp_ticks), t2; in ZTEST_USER() local
745 t2 = K_TIMEOUT_ABS_MS(exp_ms); in ZTEST_USER()
746 zassert_true(t2.ticks == t.ticks); in ZTEST_USER()
748 t2 = K_TIMEOUT_ABS_US(1000 * exp_ms); in ZTEST_USER()
749 zassert_true(t2.ticks == t.ticks); in ZTEST_USER()
751 t2 = K_TIMEOUT_ABS_NS(1000 * 1000 * exp_ms); in ZTEST_USER()
752 zassert_true(t2.ticks == t.ticks); in ZTEST_USER()
754 t2 = K_TIMEOUT_ABS_CYC(k_ms_to_cyc_ceil64(exp_ms)); in ZTEST_USER()
755 zassert_true(t2.ticks == t.ticks); in ZTEST_USER()
/Zephyr-latest/tests/kernel/smp/src/
Dmain.c28 struct k_thread t2; variable
132 k_tid_t tid = k_thread_create(&t2, t2_stack, T2_STACK_SIZE, t2_fn, in ZTEST()
189 k_tid_t tid = k_thread_create(&t2, t2_stack, T2_STACK_SIZE, child_fn, in ZTEST()
667 thread_id = k_thread_create(&t2, t2_stack, T2_STACK_SIZE, in ZTEST()
802 k_thread_create(&t2, t2_stack, T2_STACK_SIZE, entry_oops, in ZTEST()
812 zassert_true(z_is_thread_state_set(&t2, _THREAD_DEAD)); in ZTEST()
1046 k_thread_create(&t2, t2_stack, T2_STACK_SIZE, in run_concurrency()
1164 k_thread_create(&t2, t2_stack, T2_STACK_SIZE, signal_raise, in ZTEST()
1169 k_thread_abort(&t2); in ZTEST()
1170 k_thread_join(&t2, K_FOREVER); in ZTEST()
/Zephyr-latest/samples/net/dsa/src/
Dmain.h76 static void dsa_thread_##ID(void *t1, void *t2, void *t3); \
81 void dsa_thread_##ID(void *t1, void *t2, void *t3) \
Ddsa_lldp.c99 uint8_t *p, t1, t2; in dsa_lldp_print_info() local
106 t2 = *lldp_p++; in dsa_lldp_print_info()
107 tl = (uint16_t) t1 << 8 | t2; in dsa_lldp_print_info()
/Zephyr-latest/include/zephyr/arch/mips/
Dexception.h26 unsigned long t2; /* Caller-saved temporary register */ member
/Zephyr-latest/arch/mips/include/mips/
Dregdef.h34 #define t2 $10 macro
/Zephyr-latest/include/zephyr/arch/riscv/
Dexception.h62 unsigned long t2; /* Caller-saved temporary register */ member
/Zephyr-latest/tests/drivers/can/shell/src/
Dmain.c32 static void assert_can_timing_equal(const struct can_timing *t1, const struct can_timing *t2) in assert_can_timing_equal() argument
34 zassert_equal(t1->sjw, t2->sjw, "sjw mismatch"); in assert_can_timing_equal()
35 zassert_equal(t1->prop_seg, t2->prop_seg, "prop_seg mismatch"); in assert_can_timing_equal()
36 zassert_equal(t1->phase_seg1, t2->phase_seg1, "hase_seg1 mismatch"); in assert_can_timing_equal()
37 zassert_equal(t1->phase_seg2, t2->phase_seg2, "phase_seg2 mismatch"); in assert_can_timing_equal()
38 zassert_equal(t1->prescaler, t2->prescaler, "prescaler mismatch"); in assert_can_timing_equal()
/Zephyr-latest/arch/mips/core/offsets/
Doffsets.c30 GEN_OFFSET_STRUCT(arch_esf, t2);

12