| /linux-6.15/tools/testing/selftests/kvm/arm64/ |
| H A D | arch_timer_edge_cases.c | 506 int32_t tval = (int32_t) msec_to_cycles(test_args.wait_ms); in test_basic_functionality() local 514 test_timer_tval(timer, tval, wm, true, DEF_CNT); in test_basic_functionality() 687 int32_t tval, uint64_t cnt_2, in test_set_cnt_after_tval() argument 701 uint64_t cnt_1, int32_t tval, in test_set_cnt_after_tval_no_irq() argument 704 test_set_cnt_after_xval_no_irq(timer, cnt_1, tval, cnt_2, wm, in test_set_cnt_after_tval_no_irq() 720 int32_t tval; in test_move_counters_ahead_of_timers() local 731 tval = TVAL_MAX; in test_move_counters_ahead_of_timers() 732 test_set_cnt_after_tval(timer, 0, tval, (uint64_t) tval + 1, in test_move_counters_ahead_of_timers() 772 test_timer_tval(timer, tval, wm, true, DEF_CNT); in test_timers_in_the_past() 792 test_tval_no_irq(timer, tval, TIMEOUT_NO_IRQ_US, sm); in test_timers_in_the_past() [all …]
|
| /linux-6.15/tools/testing/selftests/kvm/include/arm64/ |
| H A D | arch_timer.h | 82 static inline void timer_set_tval(enum arch_timer timer, int32_t 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-6.15/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-6.15/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-6.15/drivers/char/mwave/ |
| H A D | 3780i.c | 195 unsigned short tval; in dsp3780I_EnableDSP() local 296 MKWORD(tval) = InWordDsp(DSP_IsaSlaveControl); in dsp3780I_EnableDSP() 299 "3780i::dsp3780i_EnableDSP rSlaveControl 2 %x\n", tval); in dsp3780I_EnableDSP() 308 MKWORD(tval) = InWordDsp(DSP_IsaSlaveControl); in dsp3780I_EnableDSP() 311 "3780i::dsp3780i_EnableDSP rSlaveControl 3 %x\n", tval); in dsp3780I_EnableDSP()
|
| /linux-6.15/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-6.15/drivers/pinctrl/ |
| H A D | pinctrl-cy8c95x0.c | 621 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_write_regs_mask() 628 bitmap_scatter(tval, val, chip->map, MAX_LINE); in cy8c95x0_write_regs_mask() 633 write_val = bitmap_get_value8(tval, offset); in cy8c95x0_write_regs_mask() 649 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_read_regs_mask() 656 bitmap_scatter(tval, val, chip->map, MAX_LINE); in cy8c95x0_read_regs_mask() 667 read_val |= bitmap_get_value8(tval, offset) & ~bits; in cy8c95x0_read_regs_mask() 668 bitmap_set_value8(tval, read_val, offset); in cy8c95x0_read_regs_mask() 672 bitmap_gather(val, tval, chip->map, MAX_LINE); in cy8c95x0_read_regs_mask()
|
| /linux-6.15/arch/x86/kernel/cpu/resctrl/ |
| H A D | monitor.c | 599 u64 tval = 0; in __mon_event_count() local 614 rr->evtid, &tval, rr->arch_mon_ctx); in __mon_event_count() 618 rr->val += tval; in __mon_event_count() 639 rr->evtid, &tval, rr->arch_mon_ctx); in __mon_event_count() 641 rr->val += tval; in __mon_event_count()
|
| /linux-6.15/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-6.15/drivers/acpi/apei/ |
| H A D | einj-core.c | 681 u32 tval, vendor, available_error_type = 0; in einj_validate_error_type() local 693 tval = type & GENMASK(30, 0); in einj_validate_error_type() 696 if (tval & (tval - 1)) in einj_validate_error_type()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | ip.h | 152 __be32 tval; member
|
| /linux-6.15/drivers/tty/serial/8250/ |
| H A D | 8250_bcm7271.c | 561 u32 tval; in brcmuart_isr() local 575 tval = UDMA_IS_TX_INTERRUPT(interrupts); in brcmuart_isr() 576 if (tval) in brcmuart_isr() 577 brcmuart_tx_isr(up, tval); in brcmuart_isr() 578 if ((rval | tval) == 0) in brcmuart_isr()
|
| /linux-6.15/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-6.15/net/ipv4/ |
| H A D | devinet.c | 1743 long tval = (jiffies - tstamp) / HZ; in inet_fill_ifaddr() local 1745 if (preferred > tval) in inet_fill_ifaddr() 1746 preferred -= tval; in inet_fill_ifaddr() 1750 if (valid > tval) in inet_fill_ifaddr() 1751 valid -= tval; in inet_fill_ifaddr()
|
| /linux-6.15/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-6.15/drivers/infiniband/hw/qib/ |
| H A D | qib_iba7220.c | 3904 u64 sval, tval; /* Shadowed, transient */ in sendctrl_hook() local 3913 tval = sval | (*data & ~SENDCTRL_SHADOWED & mask); in sendctrl_hook() 3915 (u32)tval, (u32)sval); in sendctrl_hook() 3916 qib_write_kreg(dd, kr_sendctrl, tval); in sendctrl_hook()
|
| H A D | qib_iba7322.c | 5873 u64 sval, tval; /* Shadowed, transient */ in sendctrl_hook() local 5885 tval = sval | (*data & ~SENDCTRL_SHADOWED & mask); in sendctrl_hook() 5886 qib_write_kreg(dd, idx, tval); in sendctrl_hook()
|
| /linux-6.15/net/ipv6/ |
| H A D | addrconf.c | 5161 long tval = (jiffies - READ_ONCE(ifa->tstamp)) / HZ; in inet6_fill_ifaddr() local 5163 if (preferred > tval) in inet6_fill_ifaddr() 5164 preferred -= tval; in inet6_fill_ifaddr() 5168 if (valid > tval) in inet6_fill_ifaddr() 5169 valid -= tval; in inet6_fill_ifaddr()
|
| /linux-6.15/drivers/scsi/lpfc/ |
| H A D | lpfc_hw.h | 2164 uint8_t tval; member 2172 uint8_t tval;
|
| H A D | lpfc_mbox.c | 1300 mb->un.varCfgRing.rrRegs[i].tval = pring->prt[i].type; in lpfc_config_ring()
|