| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | arch_timer_edge_cases.c | 6 * - timers above the max TVAL value. 27 /* tval is a signed 32-bit int. */ 358 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 391 /* tval will be cast to an s32 in test_xval_check_no_irq */ in test_tval_no_irq() 392 test_xval_check_no_irq(timer, (u64)tval, usec, TIMER_TVAL, wm); in test_tval_no_irq() 461 * Set a timer for tval=delta_1_ms then reprogram it to 462 * tval=delta_2_ms. Check that we get the timer fired. There is no 507 s32 tval in test_basic_functionality() local 688 test_set_cnt_after_tval(enum arch_timer timer,u64 cnt_1,s32 tval,u64 cnt_2,irq_wait_method_t wm) test_set_cnt_after_tval() argument 702 test_set_cnt_after_tval_no_irq(enum arch_timer timer,u64 cnt_1,s32 tval,u64 cnt_2,sleep_method_t wm) test_set_cnt_after_tval_no_irq() argument 721 s32 tval; test_move_counters_ahead_of_timers() local 756 s32 tval = -1 * (s32)msec_to_cycles(test_args.wait_ms); test_timers_in_the_past() local 792 s32 tval = (s32)msec_to_cycles(test_args.long_wait_ms); test_long_timer_delays() local [all...] |
| H A D | arch_timer.c | 4 * CVAL and TVAL registers.
|
| H A D | vpmu_counter_access.c | 176 "tval: 0x%lx; mask: 0x%lx; set_expected: %u", \ 180 "tval: 0x%lx; mask: 0x%lx; set_expected: %u", \
|
| /linux/tools/testing/selftests/kvm/include/arm64/ |
| H A D | arch_timer.h | 82 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 D | module-plts.c | 113 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/tools/testing/selftests/futex/functional/ |
| H A D | futex_numa.c | 245 // printf("tval: %d\n", args->val); in main() 256 // printf("tval: %d\n", args->val); in main()
|
| /linux/Documentation/arch/riscv/ |
| H A D | zicfilp.rst | 52 ``*tval = 2``. 133 In all 3 cases, ``*tval = 2`` is captured and software check exception is
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-cy8c95x0.c | 598 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_write_regs_mask() 605 bitmap_scatter(tval, val, chip->map, MAX_LINE); in cy8c95x0_write_regs_mask() 610 write_val = bitmap_get_value8(tval, offset); in cy8c95x0_write_regs_mask() 626 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_read_regs_mask() 633 bitmap_scatter(tval, val, chip->map, MAX_LINE); in cy8c95x0_read_regs_mask() 644 read_val |= bitmap_get_value8(tval, offset) & ~bits; in cy8c95x0_read_regs_mask() 645 bitmap_set_value8(tval, read_val, offset); in cy8c95x0_read_regs_mask() 649 bitmap_gather(val, tval, chip->map, MAX_LINE); in cy8c95x0_read_regs_mask()
|
| /linux/arch/riscv/kernel/ |
| H A D | traps.c | 361 unsigned long tval = csr_read(CSR_TVAL); in handle_user_cfi_violation() local 362 bool is_fcfi = (tval == CFI_TVAL_FCFI_CODE && cpu_supports_indirect_br_lp_instr()); in handle_user_cfi_violation() 363 bool is_bcfi = (tval == CFI_TVAL_BCFI_CODE && cpu_supports_shadow_stack()); in handle_user_cfi_violation()
|
| /linux/fs/resctrl/ |
| H A D | monitor.c | 433 u64 tval = 0; in __l3_mon_event_count() local 467 rr->evt->evtid, &tval); in __l3_mon_event_count() 471 &tval, rr->arch_mon_ctx); in __l3_mon_event_count() 475 rr->val += tval; in __l3_mon_event_count() 486 u64 tval = 0; in __l3_mon_event_count_sum() local 524 &tval, rr->arch_mon_ctx); in __l3_mon_event_count_sum() 526 rr->val += tval; in __l3_mon_event_count_sum() 547 u64 tval = 0; in __mon_event_count() local 552 &tval, rr->arch_mon_ctx); in __mon_event_count() 556 rr->val += tval; in __mon_event_count()
|
| /linux/drivers/acpi/apei/ |
| H A D | einj-core.c | 860 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/drivers/rapidio/switches/ |
| H A D | idtcps.c | 143 /* set TVAL = ~50us */ in idtcps_probe()
|
| H A D | idt_gen3.c | 207 /* set TVAL = ~50us */ in idtg3_em_init()
|
| H A D | idt_gen2.c | 314 /* set TVAL = ~50us */ in idtg2_em_init()
|
| /linux/tools/testing/selftests/kvm/loongarch/ |
| H A D | arch_timer.c | 4 * CSR.TCFG and CSR.TVAL registers.
|
| /linux/drivers/power/supply/ |
| H A D | macsmc-power.c | 283 u8 tval = 0; in macsmc_battery_read_bcf0() local 287 ret = apple_smc_read_u8(power->smc, SMC_KEY(BCF0), &tval); in macsmc_battery_read_bcf0() 288 *val = tval; in macsmc_battery_read_bcf0()
|
| /linux/net/ipv4/ |
| H A D | devinet.c | 1742 long tval = (jiffies - tstamp) / HZ; in inet_fill_ifaddr() local 1744 if (preferred > tval) in inet_fill_ifaddr() 1745 preferred -= tval; in inet_fill_ifaddr() 1749 if (valid > tval) in inet_fill_ifaddr() 1750 valid -= tval; in inet_fill_ifaddr()
|
| /linux/Documentation/translations/zh_TW/arch/loongarch/ |
| H A D | introduction.rst | 127 0x42 定時器值 TVAL
|
| /linux/Documentation/translations/zh_CN/arch/loongarch/ |
| H A D | introduction.rst | 127 0x42 定时器值 TVAL
|
| /linux/Documentation/arch/loongarch/ |
| H A D | introduction.rst | 134 0x42 Timer Value TVAL
|
| /linux/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-hw.c | 2370 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/tools/power/pm-graph/ |
| H A D | sleepgraph.py | 4367 tVal = [float(data['suspend']), float(data['resume'])] 4369 data['time'], tVal[0], tVal[1], data['url'], res, 4382 tMed[i][tVal[i]] = idx 4383 tAvg[i] += tVal[i] 4384 if tMin[i] == 0 or tVal[i] < tMin[i]: 4386 tMin[i] = tVal[i] 4387 if tMax[i] == 0 or tVal[i] > tMax[i]: 4389 tMax[i] = tVal[i]
|
| /linux/net/ipv6/ |
| H A D | addrconf.c | 5193 long tval = (jiffies - READ_ONCE(ifa->tstamp)) / HZ; in inet6_fill_ifaddr() local 5195 if (preferred > tval) in inet6_fill_ifaddr() 5196 preferred -= tval; in inet6_fill_ifaddr() 5200 if (valid > tval) in inet6_fill_ifaddr() 5201 valid -= tval; in inet6_fill_ifaddr()
|
| /linux/drivers/net/fddi/skfp/ |
| H A D | pcmplc.c | 892 * set tval[7] in pcm_fsm()
|