| /kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/ |
| D | monitor.c | 228 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 = __rmid_read(rmid, rr->evtid); in mbm_bw_count() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/kvm/include/aarch64/ |
| D | arch_timer.h | 82 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/ |
| D | pinctrl-cy8c95x0.c | 414 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, tval, 4, MAX_LINE); in cy8c95x0_read_regs_mask() 498 bitmap_replace(tval, tval, val, chip->shiftmask, BANK_SZ * 3); in cy8c95x0_read_regs_mask() 541 read_val |= bitmap_get_value8(tval, i * BANK_SZ) & ~bits; in cy8c95x0_read_regs_mask() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/ |
| D | arm,arch_timer.yaml | 58 affects writes to the tval register, due to the implicit counter read. 64 by back-to-back reads. This also affects writes to the tval register, due 72 the tval registers, due to the implicit counter read.
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/timer/ |
| 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.
|
| /kernel/linux/linux-6.6/arch/arm/kernel/ |
| 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()
|
| /kernel/linux/linux-5.10/arch/arm/kernel/ |
| D | module-plts.c | 118 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-5.10/drivers/thermal/ |
| D | amlogic_thermal.c | 183 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/ |
| D | amlogic_thermal.c | 181 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/liteos_a/arch/arm/arm/src/ |
| D | arm_generic_timer.c | 115 STATIC_INLINE VOID TimerTvalWrite(UINT32 tval) in TimerTvalWrite() argument 117 WRITE_TIMER_REG32(TIMER_REG_TVAL, tval); in TimerTvalWrite()
|
| /kernel/linux/linux-6.6/drivers/char/mwave/ |
| 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()
|
| /kernel/linux/linux-5.10/drivers/char/mwave/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
| 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()
|
| D | layer2.h | 33 int tval, nval; member
|
| /kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
| 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()
|
| D | layer2.h | 33 int tval, nval; member
|
| /kernel/linux/linux-5.10/drivers/acpi/apei/ |
| D | einj.c | 617 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/ |
| D | einj.c | 629 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-6.6/drivers/tty/serial/8250/ |
| D | 8250_bcm7271.c | 564 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/ |
| D | bq27xxx_battery.c | 1609 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/arch/x86/kernel/cpu/resctrl/ |
| D | monitor.c | 402 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-5.10/drivers/rapidio/switches/ |
| D | idtcps.c | 143 /* set TVAL = ~50us */ in idtcps_probe()
|
| D | tsi57x.c | 201 /* set TVAL = ~50us */ in tsi57x_em_init()
|
| /kernel/linux/linux-6.6/drivers/rapidio/switches/ |
| D | idtcps.c | 143 /* set TVAL = ~50us */ in idtcps_probe()
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | bq27xxx_battery.c | 1716 int tval; local 1718 tval = bq27xxx_read(di, reg, false); 1719 if (tval < 0) { 1721 reg, tval); 1722 return tval; 1725 if (tval == 65535) 1728 return tval * 60;
|