Home
last modified time | relevance | path

Searched refs:tval (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/
H A Dmonitor.c228 u64 chunks, tval; in __mon_event_count() local
230 tval = __rmid_read(rmid, rr->evtid); in __mon_event_count()
231 if (tval & (RMID_VAL_ERROR | RMID_VAL_UNAVAIL)) { in __mon_event_count()
232 return tval; in __mon_event_count()
236 rr->val += tval; in __mon_event_count()
254 m->prev_bw_msr = m->prev_msr = tval; in __mon_event_count()
258 chunks = mbm_overflow_count(m->prev_msr, tval, rr->r->mbm_width); in __mon_event_count()
260 m->prev_msr = tval; in __mon_event_count()
274 u64 tval, cur_bw, chunks; in mbm_bw_count() local
276 tval in mbm_bw_count()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/include/aarch64/
H A Darch_timer.h82 static inline void timer_set_tval(enum arch_timer timer, uint32_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()
/kernel/linux/linux-6.6/drivers/pinctrl/
H A Dpinctrl-cy8c95x0.c414 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_write_regs_mask()
425 bitmap_andnot(tval, val, chip->shiftmask, MAX_LINE); in cy8c95x0_write_regs_mask()
426 bitmap_shift_left(tval, tval, 4, MAX_LINE); in cy8c95x0_write_regs_mask()
427 bitmap_replace(tval, tval, val, chip->shiftmask, BANK_SZ * 3); in cy8c95x0_write_regs_mask()
465 write_val = bitmap_get_value8(tval, i * BANK_SZ); in cy8c95x0_write_regs_mask()
484 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_read_regs_mask()
496 bitmap_andnot(tval, val, chip->shiftmask, MAX_LINE); in cy8c95x0_read_regs_mask()
497 bitmap_shift_left(tval, tva in cy8c95x0_read_regs_mask()
[all...]
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dmodule-plts.c118 u32 *tval = (u32 *)(base + rel->r_offset); in is_zero_addend_relocation() local
131 upper = __mem_to_opcode_thumb16(((u16 *)tval)[0]); in is_zero_addend_relocation()
132 lower = __mem_to_opcode_thumb16(((u16 *)tval)[1]); in is_zero_addend_relocation()
139 return (__mem_to_opcode_arm(*tval) & 0xffffff) == 0xfffffe; in is_zero_addend_relocation()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/thermal/
H A Damlogic_thermal.c183 unsigned int tval; in amlogic_thermal_get_temp() local
189 regmap_read(pdata->regmap, TSENSOR_STAT0, &tval); in amlogic_thermal_get_temp()
192 tval & TSENSOR_READ_TEMP_MASK); in amlogic_thermal_get_temp()
/kernel/linux/linux-6.6/drivers/thermal/
H A Damlogic_thermal.c181 unsigned int tval; in amlogic_thermal_get_temp() local
187 regmap_read(pdata->regmap, TSENSOR_STAT0, &tval); in amlogic_thermal_get_temp()
190 tval & TSENSOR_READ_TEMP_MASK); in amlogic_thermal_get_temp()
/kernel/linux/linux-5.10/drivers/char/mwave/
H A D3780i.c195 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()
/kernel/linux/linux-6.6/drivers/char/mwave/
H A D3780i.c195 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()
/kernel/liteos_a/arch/arm/arm/src/
H A Darm_generic_timer.c115 STATIC_INLINE VOID TimerTvalWrite(UINT32 tval) in TimerTvalWrite() argument
117 WRITE_TIMER_REG32(TIMER_REG_TVAL, tval); in TimerTvalWrite()
/kernel/linux/linux-5.10/drivers/acpi/apei/
H A Deinj.c617 u32 tval, vendor; in error_type_set() local
624 tval = val & 0x7fffffff; in error_type_set()
627 if (tval & (tval - 1)) in error_type_set()
/kernel/linux/linux-6.6/drivers/acpi/apei/
H A Deinj.c629 u32 tval, vendor; in error_type_set() local
640 tval = val & 0x7fffffff; in error_type_set()
643 if (tval & (tval - 1)) in error_type_set()
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Dtei.c472 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 Dlayer2.h33 int tval, nval; member
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A Dtei.c472 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 Dlayer2.h33 int tval, nval; member
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/resctrl/
H A Dmonitor.c402 u64 tval = 0; in __mon_event_count() local
412 rr->err = resctrl_arch_rmid_read(rr->r, rr->d, rmid, rr->evtid, &tval); in __mon_event_count()
416 rr->val += tval; in __mon_event_count()
/kernel/linux/linux-6.6/drivers/tty/serial/8250/
H A D8250_bcm7271.c564 u32 tval; in brcmuart_isr() local
578 tval = UDMA_IS_TX_INTERRUPT(interrupts); in brcmuart_isr()
579 if (tval) in brcmuart_isr()
580 brcmuart_tx_isr(up, tval); in brcmuart_isr()
581 if ((rval | tval) == 0) in brcmuart_isr()
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dbq27xxx_battery.c1609 int tval; local
1611 tval = bq27xxx_read(di, reg, false);
1612 if (tval < 0) {
1614 reg, tval);
1615 return tval;
1618 if (tval == 65535)
1621 return tval * 60;
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dbq27xxx_battery.c1683 int tval; local
1685 tval = bq27xxx_read(di, reg, false);
1686 if (tval < 0) {
1688 reg, tval);
1689 return tval;
1692 if (tval == 65535)
1695 return tval * 60;
/kernel/linux/linux-5.10/net/ipv4/
H A Ddevinet.c1676 long tval = (jiffies - ifa->ifa_tstamp) / HZ; in inet_fill_ifaddr() local
1678 if (preferred > tval) in inet_fill_ifaddr()
1679 preferred -= tval; in inet_fill_ifaddr()
1683 if (valid > tval) in inet_fill_ifaddr()
1684 valid -= tval; in inet_fill_ifaddr()
/kernel/linux/linux-6.6/net/ipv4/
H A Ddevinet.c1701 long tval = (jiffies - ifa->ifa_tstamp) / HZ; in inet_fill_ifaddr() local
1703 if (preferred > tval) in inet_fill_ifaddr()
1704 preferred -= tval; in inet_fill_ifaddr()
1708 if (valid > tval) in inet_fill_ifaddr()
1709 valid -= tval; in inet_fill_ifaddr()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_iba7220.c3904 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()

Completed in 39 milliseconds

12