| /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-4.19/arch/x86/kernel/cpu/ |
| D | intel_rdt_monitor.c | 239 u64 chunks, tval; in __mon_event_count() local 241 tval = __rmid_read(rmid, rr->evtid); in __mon_event_count() 242 if (tval & (RMID_VAL_ERROR | RMID_VAL_UNAVAIL)) { in __mon_event_count() 243 rr->val = tval; in __mon_event_count() 248 rr->val += tval; in __mon_event_count() 266 m->prev_bw_msr = m->prev_msr = tval; in __mon_event_count() 270 chunks = mbm_overflow_count(m->prev_msr, tval); in __mon_event_count() 272 m->prev_msr = tval; in __mon_event_count() 286 u64 tval, cur_bw, chunks; in mbm_bw_count() local 288 tval = __rmid_read(rmid, rr->evtid); in mbm_bw_count() [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-4.19/arch/arm/kernel/ |
| D | module-plts.c | 95 u32 *tval = (u32 *)(base + rel->r_offset); in is_zero_addend_relocation() local 108 upper = __mem_to_opcode_thumb16(((u16 *)tval)[0]); in is_zero_addend_relocation() 109 lower = __mem_to_opcode_thumb16(((u16 *)tval)[1]); in is_zero_addend_relocation() 116 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-4.19/drivers/power/supply/ |
| D | bq27xxx_battery.c | 1478 int tval; local 1480 tval = bq27xxx_read(di, reg, false); 1481 if (tval < 0) { 1483 reg, tval); 1484 return tval; 1487 if (tval == 65535) 1490 return tval * 60; 1499 int tval; local 1501 tval = bq27xxx_read(di, BQ27XXX_REG_AP, false); 1502 if (tval < 0) { [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/timer/ |
| D | arm,arch_timer.txt | 31 This also affects writes to the tval register, due to the implicit 37 beyond the correct value. This also affects writes to the tval
|
| /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/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-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-4.19/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-4.19/drivers/isdn/mISDN/ |
| D | tei.c | 481 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 1); in tei_id_request() 601 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 2); in tei_id_verify() 616 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 3); in tei_id_req_tout() 635 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 4); in tei_id_ver_tout() 699 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 2); in tei_id_chk_req_net() 751 mISDN_FsmAddTimer(&tm->timer, tm->tval, EV_TIMER, NULL, 4); in tei_id_ver_tout_net() 828 l2->tm->tval = 2000; /* T202 2 sec */ in create_new_tei() 1072 l2->tm->tval = 1000; /* T201 1 sec */ in create_teimgr() 1080 l2->tm->tval = 2000; /* T202 2 sec */ in create_teimgr()
|
| D | layer2.h | 42 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 | 615 u32 tval, vendor; in error_type_set() local 622 tval = val & 0x7fffffff; in error_type_set() 625 if (tval & (tval - 1)) in error_type_set()
|
| /kernel/linux/linux-4.19/drivers/acpi/apei/ |
| D | einj.c | 633 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-4.19/drivers/watchdog/ |
| D | ks8695_wdt.c | 83 unsigned long tval = wdt_time * KS8695_CLOCK_RATE; in ks8695_wdt_start() local 91 __raw_writel(tval | T0TC_WATCHDOG, KS8695_TMR_VA + KS8695_T0TC); in ks8695_wdt_start()
|
| /kernel/linux/linux-4.19/drivers/regulator/ |
| D | da9063-regulator.c | 168 int n, tval; in da9063_set_current_limit() local 171 tval = rinfo->current_limits[n]; in da9063_set_current_limit() 172 if (tval >= min_uA && tval <= max_uA) in da9063_set_current_limit()
|
| D | da9062-regulator.c | 127 int n, tval; in da9062_set_current_limit() local 130 tval = rinfo->current_limits[n]; in da9062_set_current_limit() 131 if (tval >= min_ua && tval <= max_ua) in da9062_set_current_limit()
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | bq27xxx_battery.c | 1619 int tval; local 1621 tval = bq27xxx_read(di, reg, false); 1622 if (tval < 0) { 1624 reg, tval); 1625 return tval; 1628 if (tval == 65535) 1631 return tval * 60;
|
| /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()
|
| D | idt_gen3.c | 207 /* set TVAL = ~50us */ in idtg3_em_init()
|
| /kernel/linux/linux-4.19/drivers/rapidio/switches/ |
| D | idtcps.c | 147 /* set TVAL = ~50us */ in idtcps_probe()
|