Home
last modified time | relevance | path

Searched refs:treg (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/kernel/
Dsignal_o32.c89 s32 treg; in restore_sigcontext32() local
99 err |= __get_user(treg, &sc->sc_hi1); mthi1(treg); in restore_sigcontext32()
100 err |= __get_user(treg, &sc->sc_lo1); mtlo1(treg); in restore_sigcontext32()
101 err |= __get_user(treg, &sc->sc_hi2); mthi2(treg); in restore_sigcontext32()
102 err |= __get_user(treg, &sc->sc_lo2); mtlo2(treg); in restore_sigcontext32()
103 err |= __get_user(treg, &sc->sc_hi3); mthi3(treg); in restore_sigcontext32()
104 err |= __get_user(treg, &sc->sc_lo3); mtlo3(treg); in restore_sigcontext32()
105 err |= __get_user(treg, &sc->sc_dsp); wrdsp(treg, DSP_MASK); in restore_sigcontext32()
Dsignal.c518 unsigned long treg; in restore_sigcontext() local
533 err |= __get_user(treg, &sc->sc_hi1); mthi1(treg); in restore_sigcontext()
534 err |= __get_user(treg, &sc->sc_lo1); mtlo1(treg); in restore_sigcontext()
535 err |= __get_user(treg, &sc->sc_hi2); mthi2(treg); in restore_sigcontext()
536 err |= __get_user(treg, &sc->sc_lo2); mtlo2(treg); in restore_sigcontext()
537 err |= __get_user(treg, &sc->sc_hi3); mthi3(treg); in restore_sigcontext()
538 err |= __get_user(treg, &sc->sc_lo3); mtlo3(treg); in restore_sigcontext()
539 err |= __get_user(treg, &sc->sc_dsp); wrdsp(treg, DSP_MASK); in restore_sigcontext()
/kernel/linux/linux-5.10/drivers/video/console/
Dnewport_con.c158 unsigned short treg; in newport_reset() local
162 treg = newport_vc2_get(npregs, VC2_IREG_CONTROL); in newport_reset()
164 (treg | VC2_CTRL_EVIDEO)); in newport_reset()
166 treg = newport_vc2_get(npregs, VC2_IREG_CENTRY); in newport_reset()
167 newport_vc2_set(npregs, VC2_IREG_RADDR, treg); in newport_reset()
203 unsigned short ventry, treg; in newport_get_screensize() local
223 treg = npregs->set.dcbdata0.byshort.s1; in newport_get_screensize()
224 if ((treg & 1) == 0) in newport_get_screensize()
225 cols += (treg >> 7) & 0xfe; in newport_get_screensize()
226 if ((treg & 0x80) == 0) { in newport_get_screensize()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_asm.h15 #define PPC_LD(treg, offset, areg) ld treg, (offset)(areg)
18 #define PPC_LD(treg, offset, areg) lwz treg, (offset+4)(areg)
/kernel/linux/linux-5.10/drivers/ata/
Dpata_macio.c236 u32 treg[2][2]; member
377 writel(priv->treg[device][0], rbase + IDE_KAUAI_PIO_CONFIG); in pata_macio_apply_timings()
378 writel(priv->treg[device][1], rbase + IDE_KAUAI_ULTRA_CONFIG); in pata_macio_apply_timings()
380 writel(priv->treg[device][0], rbase + IDE_TIMING_CONFIG); in pata_macio_apply_timings()
405 priv->treg[adev->devno][0] = priv->treg[adev->devno][1] = 0; in pata_macio_set_timings()
417 priv->treg[adev->devno][0] |= t->reg1; in pata_macio_set_timings()
428 priv->treg[adev->devno][0] |= t->reg1; in pata_macio_set_timings()
429 priv->treg[adev->devno][1] |= t->reg2; in pata_macio_set_timings()
432 priv->treg[adev->devno][0], in pata_macio_set_timings()
433 priv->treg[adev->devno][1]); in pata_macio_set_timings()
[all …]
/kernel/linux/linux-5.10/include/kvm/
Darm_arch_timer.h99 enum kvm_arch_timer_regs treg);
102 enum kvm_arch_timer_regs treg,
/kernel/linux/linux-5.10/arch/parisc/mm/
Dfault.c159 int treg = regs->iir & 0x1f; in fixup_exception() local
160 BUG_ON(treg == 0); in fixup_exception()
161 regs->gr[treg] = 0; in fixup_exception()
/kernel/linux/linux-5.10/arch/arm64/kvm/
Darch_timer.c48 enum kvm_arch_timer_regs treg,
52 enum kvm_arch_timer_regs treg);
881 enum kvm_arch_timer_regs treg) in kvm_arm_timer_read() argument
885 switch (treg) { in kvm_arm_timer_read()
912 enum kvm_arch_timer_regs treg) in kvm_arm_timer_read_sysreg() argument
919 val = kvm_arm_timer_read(vcpu, vcpu_get_timer(vcpu, tmr), treg); in kvm_arm_timer_read_sysreg()
929 enum kvm_arch_timer_regs treg, in kvm_arm_timer_write() argument
932 switch (treg) { in kvm_arm_timer_write()
952 enum kvm_arch_timer_regs treg, in kvm_arm_timer_write_sysreg() argument
958 kvm_arm_timer_write(vcpu, vcpu_get_timer(vcpu, tmr), treg, val); in kvm_arm_timer_write_sysreg()
Dsys_regs.c1084 enum kvm_arch_timer_regs treg; in access_arch_timer() local
1091 treg = TIMER_REG_TVAL; in access_arch_timer()
1096 treg = TIMER_REG_CTL; in access_arch_timer()
1101 treg = TIMER_REG_CVAL; in access_arch_timer()
1108 kvm_arm_timer_write_sysreg(vcpu, tmr, treg, p->regval); in access_arch_timer()
1110 p->regval = kvm_arm_timer_read_sysreg(vcpu, tmr, treg); in access_arch_timer()
/kernel/linux/linux-5.10/kernel/bpf/
Dcgroup.c1716 int treg = BPF_REG_9; in sysctl_convert_ctx_access() local
1718 if (si->src_reg == treg || si->dst_reg == treg) in sysctl_convert_ctx_access()
1719 --treg; in sysctl_convert_ctx_access()
1720 if (si->src_reg == treg || si->dst_reg == treg) in sysctl_convert_ctx_access()
1721 --treg; in sysctl_convert_ctx_access()
1723 BPF_DW, si->dst_reg, treg, in sysctl_convert_ctx_access()
1727 treg, si->dst_reg, in sysctl_convert_ctx_access()
1730 BPF_SIZEOF(u32), treg, si->src_reg, in sysctl_convert_ctx_access()
1734 BPF_DW, treg, si->dst_reg, in sysctl_convert_ctx_access()
/kernel/linux/linux-5.10/drivers/power/supply/
Dbq25890_charger.c85 u8 treg; /* thermal regulation threshold */ member
657 {F_TREG, bq->init_data.treg}, in bq25890_hw_init()
870 {"ti,thermal-regulation-threshold", true, TBL_TREG, &init->treg}, in bq25890_fw_read_u32_props()
876 init->treg = 3; /* 120 degrees Celsius */ in bq25890_fw_read_u32_props()
Dbq24190_charger.c384 BQ24190_SYSFS_FIELD_RW(treg, ICTRC, TREG),
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-aspeed.c716 void __iomem *treg; in aspeed_gpio_reset_tolerance() local
720 treg = bank_reg(gpio, to_bank(offset), reg_tolerance); in aspeed_gpio_reset_tolerance()
725 val = readl(treg); in aspeed_gpio_reset_tolerance()
732 writel(val, treg); in aspeed_gpio_reset_tolerance()
/kernel/linux/linux-5.10/net/wireless/
Dcore.c1070 struct cfg80211_beacon_registration *reg, *treg; in cfg80211_dev_free() local
1072 list_for_each_entry_safe(reg, treg, &rdev->beacon_registrations, list) { in cfg80211_dev_free()
/kernel/linux/linux-5.10/sound/pci/trident/
Dtrident_main.c108 unsigned int data = 0, treg; in snd_trident_codec_read() local
124 treg = ac97->num == 0 ? NX_ACR2_AC97_R_PRIMARY : NX_ACR3_AC97_R_SECONDARY; in snd_trident_codec_read()
125 outl(data, TRID_REG(trident, treg)); in snd_trident_codec_read()
127 data = inl(TRID_REG(trident, treg)); in snd_trident_codec_read()