Home
last modified time | relevance | path

Searched refs:t2 (Results 1 – 25 of 39) 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) );\
212 csrr t2, mstatus
213 sr t2, __struct_arch_esf_mstatus_OFFSET(sp)
218 and t1, t1, t2
221 csrr t2, mcause
223 and t2, t2, t1
225 bne t1, t2, no_fp
227 csrr t2, mtval /* get faulting instruction */
233 bnez t2, 1f
234 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/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.h25 unsigned long t2; \
48 unsigned long t2; \
107 or t2, t1, t0; \
108 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.c81 uint32_t t1, uint32_t t2, in dhcvp6_update_deadlines() argument
92 if (t1 == 0 && t2 == 0) { in dhcvp6_update_deadlines()
95 t2 = DHCPV6_INFINITY; in dhcvp6_update_deadlines()
98 t2 = preferred_lifetime * 0.8; in dhcvp6_update_deadlines()
101 if (t2 == DHCPV6_INFINITY) { in dhcvp6_update_deadlines()
104 t1 = t2 * 0.625; /* 0.5 / 0.8 */ in dhcvp6_update_deadlines()
106 } else if (t2 == 0) { in dhcvp6_update_deadlines()
108 t2 = DHCPV6_INFINITY; in dhcvp6_update_deadlines()
110 t2 = t1 * 1.6; /* 0.8 / 0.5 */ in dhcvp6_update_deadlines()
112 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.c749 k_timeout_t t = K_TIMEOUT_ABS_TICKS(exp_ticks), t2; in ZTEST_USER() local
755 t2 = K_TIMEOUT_ABS_MS(exp_ms); in ZTEST_USER()
756 zassert_true(t2.ticks == t.ticks); in ZTEST_USER()
758 t2 = K_TIMEOUT_ABS_US(1000 * exp_ms); in ZTEST_USER()
759 zassert_true(t2.ticks == t.ticks); in ZTEST_USER()
761 t2 = K_TIMEOUT_ABS_NS(1000 * 1000 * exp_ms); in ZTEST_USER()
762 zassert_true(t2.ticks == t.ticks); in ZTEST_USER()
764 t2 = K_TIMEOUT_ABS_CYC(k_ms_to_cyc_ceil64(exp_ms)); in ZTEST_USER()
765 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()
666 thread_id = k_thread_create(&t2, t2_stack, T2_STACK_SIZE, in ZTEST()
801 k_thread_create(&t2, t2_stack, T2_STACK_SIZE, entry_oops, in ZTEST()
811 zassert_true(z_is_thread_state_set(&t2, _THREAD_DEAD)); in ZTEST()
1045 k_thread_create(&t2, t2_stack, T2_STACK_SIZE, in run_concurrency()
1163 k_thread_create(&t2, t2_stack, T2_STACK_SIZE, signal_raise, in ZTEST()
1168 k_thread_abort(&t2); in ZTEST()
1169 k_thread_join(&t2, K_FOREVER); in ZTEST()
/Zephyr-latest/samples/net/dsa/src/
Ddsa_lldp.h62 static void dsa_thread_##ID(void *t1, void *t2, void *t3); \
66 void dsa_thread_##ID(void *t1, void *t2, void *t3) \
Ddsa_lldp.c165 uint8_t *p, t1, t2; in dsa_lldp_print_info() local
172 t2 = *lldp_p++; in dsa_lldp_print_info()
173 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);
/Zephyr-latest/subsys/net/lib/ptp/
Dclock.c52 uint64_t t2; member
515 ptp_clk.timestamp.t2 = ingress; in ptp_clock_synchronize()
521 offset = (int64_t)(ptp_clk.timestamp.t2 - ptp_clk.timestamp.t1) - delay; in ptp_clock_synchronize()
562 delay = ((int64_t)(ptp_clk.timestamp.t2 - ptp_clk.timestamp.t3) + in ptp_clock_delay()

12