Home
last modified time | relevance | path

Searched refs:tval (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/kvm/arm64/
H A Darch_timer_edge_cases.c358 static void test_timer_tval(enum arch_timer timer, s32 tval, in test_timer_tval() argument
362 test_timer_xval(timer, (u64)tval, TIMER_TVAL, wm, reset_state, in test_timer_tval()
388 static void test_tval_no_irq(enum arch_timer timer, s32 tval, u64 usec, in test_tval_no_irq() argument
392 test_xval_check_no_irq(timer, (u64)tval, usec, TIMER_TVAL, wm); in test_tval_no_irq()
507 s32 tval = (s32)msec_to_cycles(test_args.wait_ms); in test_basic_functionality() local
515 test_timer_tval(timer, tval, wm, true, DEF_CNT); in test_basic_functionality()
688 s32 tval, u64 cnt_2, in test_set_cnt_after_tval() argument
691 test_set_cnt_after_xval(timer, cnt_1, tval, cnt_2, wm, TIMER_TVAL); in test_set_cnt_after_tval()
702 u64 cnt_1, s32 tval, in test_set_cnt_after_tval_no_irq() argument
705 test_set_cnt_after_xval_no_irq(timer, cnt_1, tval, cnt_2, wm, in test_set_cnt_after_tval_no_irq()
[all …]
/linux/tools/testing/selftests/kvm/include/arm64/
H A Darch_timer.h82 static inline void timer_set_tval(enum arch_timer timer, s32 tval) in timer_set_tval() argument
86 write_sysreg(tval, cntv_tval_el0); in timer_set_tval()
89 write_sysreg(tval, cntp_tval_el0); in timer_set_tval()
/linux/arch/arm/kernel/
H A Dmodule-plts.c113 u32 *tval = (u32 *)(base + rel->r_offset); in is_zero_addend_relocation() local
126 upper = __mem_to_opcode_thumb16(((u16 *)tval)[0]); in is_zero_addend_relocation()
127 lower = __mem_to_opcode_thumb16(((u16 *)tval)[1]); in is_zero_addend_relocation()
134 return (__mem_to_opcode_arm(*tval) & 0xffffff) == 0xfffffe; in is_zero_addend_relocation()
/linux/drivers/thermal/
H A Damlogic_thermal.c164 unsigned int tval; in amlogic_thermal_enable()
170 regmap_read(pdata->regmap, TSENSOR_STAT0, &tval); in amlogic_thermal_disable()
173 tval & TSENSOR_READ_TEMP_MASK); in amlogic_thermal_disable()
179 unsigned int tval; amlogic_thermal_get_temp() local
/linux/drivers/pinctrl/
H A Dpinctrl-cy8c95x0.c599 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_write_regs_mask()
606 bitmap_scatter(tval, val, chip->map, MAX_LINE); in cy8c95x0_write_regs_mask()
611 write_val = bitmap_get_value8(tval, offset); in cy8c95x0_write_regs_mask()
627 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_read_regs_mask()
634 bitmap_scatter(tval, val, chip->map, MAX_LINE); in cy8c95x0_read_regs_mask()
645 read_val |= bitmap_get_value8(tval, offset) & ~bits; in cy8c95x0_read_regs_mask()
646 bitmap_set_value8(tval, read_val, offset); in cy8c95x0_read_regs_mask()
650 bitmap_gather(val, tval, chip->map, MAX_LINE); in cy8c95x0_read_regs_mask()
/linux/arch/riscv/kernel/
H A Dtraps.c362 unsigned long tval = csr_read(CSR_TVAL); in handle_user_cfi_violation() local
363 bool is_fcfi = (tval == CFI_TVAL_FCFI_CODE && cpu_supports_indirect_br_lp_instr()); in handle_user_cfi_violation()
364 bool is_bcfi = (tval == CFI_TVAL_BCFI_CODE && cpu_supports_shadow_stack()); in handle_user_cfi_violation()
/linux/drivers/acpi/apei/
H A Deinj-core.c860 u32 tval, vendor; in einj_validate_error_type() local
871 tval = type & GENMASK(30, 0); in einj_validate_error_type()
874 if (tval & (tval - 1)) in einj_validate_error_type()
/linux/Documentation/arch/riscv/
H A Dzicfilp.rst52 ``*tval = 2``.
133 In all 3 cases, ``*tval = 2`` is captured and software check exception is
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-hw.c2370 u32 tval; in xlgmac_set_rss_lookup_table() local
2373 tval = table[i]; in xlgmac_set_rss_lookup_table()
2378 tval); in xlgmac_set_rss_lookup_table()
/linux/net/ipv6/
H A Daddrconf.c5186 long tval = (jiffies - READ_ONCE(ifa->tstamp)) / HZ; in inet6_fill_ifaddr()
5188 if (preferred > tval) in inet6_fill_ifaddr()
5189 preferred -= tval; in inet6_fill_ifaddr()
5193 if (valid > tval) in inet6_fill_ifaddr()
5194 valid -= tval; in inet6_fill_ifaddr()
5169 long tval = (jiffies - READ_ONCE(ifa->tstamp)) / HZ; inet6_fill_ifaddr() local