| /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, int32_t tval, in test_timer_tval() argument 362 test_timer_xval(timer, (uint64_t) tval, TIMER_TVAL, wm, reset_state, in test_timer_tval() 388 static void test_tval_no_irq(enum arch_timer timer, int32_t tval, uint64_t usec, in test_tval_no_irq() argument 391 /* tval will be cast to an int32_t in test_xval_check_no_irq */ in test_tval_no_irq() 392 test_xval_check_no_irq(timer, (uint64_t) 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 int32_t tval = (int32_t) msec_to_cycles(test_args.wait_ms); in test_basic_functionality() local [all …]
|
| 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/arch/loongarch/kvm/ |
| H A D | timer.c | 84 * If oneshot timer is fired, CSR TVAL will be -1, there are two in kvm_restore_timer() 96 * and set CSR TVAL with -1 in kvm_restore_timer() 103 * timer interrupt, and CSR TVAL keeps unchanged with -1, it in kvm_restore_timer() 151 * If period timer is fired, CSR TVAL will be reloaded from CSR TCFG in _kvm_save_timer() 152 * If oneshot timer is fired, CSR TVAL will be -1 in _kvm_save_timer() 153 * Here judge one-shot timer fired by checking whether TVAL is larger in _kvm_save_timer()
|
| /linux/Documentation/devicetree/bindings/timer/ |
| H A D | arm,arch_timer.yaml | 75 affects writes to the tval register, due to the implicit counter read. 81 by back-to-back reads. This also affects writes to the tval register, due 89 the tval registers, due to the implicit counter read.
|
| /linux/drivers/thermal/ |
| H A D | amlogic_thermal.c | 179 unsigned int tval; in amlogic_thermal_get_temp() local 185 regmap_read(pdata->regmap, TSENSOR_STAT0, &tval); in amlogic_thermal_get_temp() 188 tval & TSENSOR_READ_TEMP_MASK); in amlogic_thermal_get_temp()
|
| /linux/drivers/isdn/mISDN/ |
| H A D | tei.c | 472 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 1); in tei_id_request() 592 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 2); in tei_id_verify() 607 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 3); in tei_id_req_tout() 626 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 4); in tei_id_ver_tout() 690 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 2); in tei_id_chk_req_net() 742 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 4); in tei_id_ver_tout_net() 819 l2->tm->tval = 2000; /* T202 2 sec */ in create_new_tei() 1063 l2->tm->tval = 1000; /* T201 1 sec */ in create_teimgr() 1071 l2->tm->tval = 2000; /* T202 2 sec */ in create_teimgr()
|
| H A D | layer2.h | 33 int tval, nval; member
|
| /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/drivers/char/mwave/ |
| H A D | 3780i.c | 140 unsigned short tval; in dsp3780I_EnableDSP() local 221 MKWORD(tval) = InWordDsp(DSP_IsaSlaveControl); in dsp3780I_EnableDSP() 229 MKWORD(tval) = InWordDsp(DSP_IsaSlaveControl); in dsp3780I_EnableDSP()
|
| /linux/fs/resctrl/ |
| H A D | monitor.c | 425 u64 tval = 0; in __mon_event_count() local 452 rr->evtid, &tval); in __mon_event_count() 455 rr->evtid, &tval, rr->arch_mon_ctx); in __mon_event_count() 459 rr->val += tval; in __mon_event_count() 481 rr->evtid, &tval); in __mon_event_count() 484 rr->evtid, &tval, rr->arch_mon_ctx); in __mon_event_count() 486 rr->val += tval; in __mon_event_count()
|
| /linux/drivers/acpi/apei/ |
| H A D | einj-core.c | 855 u32 tval, vendor; in einj_validate_error_type() local 866 tval = type & GENMASK(30, 0); in einj_validate_error_type() 869 if (tval & (tval - 1)) in einj_validate_error_type()
|
| /linux/drivers/power/supply/ |
| H A D | bq27xxx_battery.c | 1757 int tval; local 1759 tval = bq27xxx_read(di, reg, false); 1760 if (tval < 0) { 1762 reg, tval); 1763 return tval; 1766 if (tval == 65535) 1769 val->intval = tval * 60;
|
| /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/clocksource/ |
| H A D | arm_arch_timer.c | 654 * XGene-1 implements CVAL in terms of TVAL, meaning in __arch_timer_check_delta() 657 * Note that TVAL is signed, thus has only 31 of its in __arch_timer_check_delta() 667 pr_warn_once("Broken CNTx_CVAL_EL1, using 31 bit TVAL instead.\n"); in __arch_timer_check_delta()
|
| /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/arch/arm64/kvm/ |
| H A D | arch_timer.c | 777 * available: we trap all CNT{P,V}_{CTL,CVAL,TVAL}_EL0 accesses. in timer_set_traps()
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_hw.h | 2188 uint8_t tval; member 2196 uint8_t tval;
|