Home
last modified time | relevance | path

Searched refs:tval (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/include/aarch64/
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()
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-cy8c95x0.c408 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_write_regs_mask()
419 bitmap_andnot(tval, val, chip->shiftmask, MAX_LINE); in cy8c95x0_write_regs_mask()
420 bitmap_shift_left(tval, tval, 4, MAX_LINE); in cy8c95x0_write_regs_mask()
421 bitmap_replace(tval, tval, val, chip->shiftmask, BANK_SZ * 3); in cy8c95x0_write_regs_mask()
459 write_val = bitmap_get_value8(tval, i * BANK_SZ); in cy8c95x0_write_regs_mask()
478 DECLARE_BITMAP(tval, MAX_LINE); in cy8c95x0_read_regs_mask()
490 bitmap_andnot(tval, val, chip->shiftmask, MAX_LINE); in cy8c95x0_read_regs_mask()
491 bitmap_shift_left(tval, tval, 4, MAX_LINE); in cy8c95x0_read_regs_mask()
492 bitmap_replace(tval, tval, val, chip->shiftmask, BANK_SZ * 3); in cy8c95x0_read_regs_mask()
535 read_val |= bitmap_get_value8(tval, i * BANK_SZ) & ~bits; in cy8c95x0_read_regs_mask()
[all …]
/linux-6.1.9/arch/arm/kernel/
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()
/linux-6.1.9/drivers/thermal/
Damlogic_thermal.c184 unsigned int tval; in amlogic_thermal_get_temp() local
190 regmap_read(pdata->regmap, TSENSOR_STAT0, &tval); in amlogic_thermal_get_temp()
193 tval & TSENSOR_READ_TEMP_MASK); in amlogic_thermal_get_temp()
/linux-6.1.9/drivers/char/mwave/
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()
/linux-6.1.9/Documentation/devicetree/bindings/timer/
Darm,arch_timer.yaml75 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.1.9/arch/x86/kernel/cpu/resctrl/
Dmonitor.c372 u64 tval = 0; in __mon_event_count() local
377 rr->err = resctrl_arch_rmid_read(rr->r, rr->d, rmid, rr->evtid, &tval); in __mon_event_count()
383 rr->val += tval; in __mon_event_count()
404 rr->val += tval; in __mon_event_count()
/linux-6.1.9/drivers/acpi/apei/
Deinj.c622 u32 tval, vendor; in error_type_set() local
629 tval = val & 0x7fffffff; in error_type_set()
632 if (tval & (tval - 1)) in error_type_set()
/linux-6.1.9/drivers/isdn/mISDN/
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()
Dlayer2.h33 int tval, nval; member
/linux-6.1.9/drivers/tty/serial/8250/
D8250_bcm7271.c566 u32 tval; in brcmuart_isr() local
580 tval = UDMA_IS_TX_INTERRUPT(interrupts); in brcmuart_isr()
581 if (tval) in brcmuart_isr()
582 brcmuart_tx_isr(up, tval); in brcmuart_isr()
583 if ((rval | tval) == 0) in brcmuart_isr()
/linux-6.1.9/drivers/power/supply/
Dbq27xxx_battery.c1685 int tval; local
1687 tval = bq27xxx_read(di, reg, false);
1688 if (tval < 0) {
1690 reg, tval);
1691 return tval;
1694 if (tval == 65535)
1697 return tval * 60;
/linux-6.1.9/net/ipv4/
Ddevinet.c1680 long tval = (jiffies - ifa->ifa_tstamp) / HZ; in inet_fill_ifaddr() local
1682 if (preferred > tval) in inet_fill_ifaddr()
1683 preferred -= tval; in inet_fill_ifaddr()
1687 if (valid > tval) in inet_fill_ifaddr()
1688 valid -= tval; in inet_fill_ifaddr()
/linux-6.1.9/drivers/net/ethernet/synopsys/
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()
/linux-6.1.9/drivers/infiniband/hw/qib/
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()
Dqib_iba7322.c5874 u64 sval, tval; /* Shadowed, transient */ in sendctrl_hook() local
5886 tval = sval | (*data & ~SENDCTRL_SHADOWED & mask); in sendctrl_hook()
5887 qib_write_kreg(dd, idx, tval); in sendctrl_hook()
/linux-6.1.9/net/ipv6/
Daddrconf.c5030 long tval = (jiffies - ifa->tstamp)/HZ; in inet6_fill_ifaddr() local
5031 if (preferred > tval) in inet6_fill_ifaddr()
5032 preferred -= tval; in inet6_fill_ifaddr()
5036 if (valid > tval) in inet6_fill_ifaddr()
5037 valid -= tval; in inet6_fill_ifaddr()
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_hw.h2140 uint8_t tval; member
2148 uint8_t tval;
Dlpfc_mbox.c1307 mb->un.varCfgRing.rrRegs[i].tval = pring->prt[i].type; in lpfc_config_ring()