Home
last modified time | relevance | path

Searched refs:tcr (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/arm64/arm64/
H A Defirt_machdep.c256 uint64_t tcr; in efi_arch_enter() local
270 tcr = READ_SPECIALREG(tcr_el1); in efi_arch_enter()
271 if ((tcr & MD_TCR_FIELDS) != TCR_TBI0) { in efi_arch_enter()
272 tcr &= ~MD_TCR_FIELDS; in efi_arch_enter()
273 tcr |= TCR_TBI0; in efi_arch_enter()
274 WRITE_SPECIALREG(tcr_el1, tcr); in efi_arch_enter()
286 uint64_t proc_tcr, tcr; in efi_arch_leave() local
299 tcr = READ_SPECIALREG(tcr_el1); in efi_arch_leave()
300 if ((tcr & MD_TCR_FIELDS) != proc_tcr) { in efi_arch_leave()
301 tcr &= ~MD_TCR_FIELDS; in efi_arch_leave()
[all …]
H A Dexec_machdep.c419 uint64_t new_tcr, tcr; in exec_setregs() local
451 tcr = READ_SPECIALREG(tcr_el1); in exec_setregs()
452 if ((tcr & MD_TCR_FIELDS) != new_tcr) { in exec_setregs()
455 tcr &= ~MD_TCR_FIELDS; in exec_setregs()
456 tcr |= new_tcr; in exec_setregs()
457 WRITE_SPECIALREG(tcr_el1, tcr); in exec_setregs()
H A Dlocore.S1088 ldr x2, tcr
1138 tcr: label
H A Dpmap.c1323 uint64_t tcr; in pmap_bootstrap_dmap()
1326 tcr = READ_SPECIALREG(tcr_el1); in pmap_bootstrap_dmap()
1329 KASSERT((tcr & TCR_A1) == 0, ("pmap_bootstrap: TCR_EL1.A1 != 0")); in pmap_bootstrap_dmap()
1331 if ((tcr & TCR_DS) != 0) in pmap_bootstrap_dmap()
1817 uint64_t tcr; in pmap_dbm_enable()
1823 tcr = READ_SPECIALREG(tcr_el1) | TCR_HD; in pmap_dbm_enable()
1824 WRITE_SPECIALREG(tcr_el1, tcr); in pmap_dbm_enable()
9733 uint64_t new_tcr, tcr; in pmap_stage2_fault()
9736 tcr = READ_SPECIALREG(tcr_el1); in pmap_stage2_fault()
9737 if ((tcr in pmap_stage2_fault()
1317 uint64_t tcr; pmap_bootstrap_dmap() local
1811 uint64_t tcr; pmap_dbm_enable() local
9593 uint64_t new_tcr, tcr; pmap_activate_int() local
[all...]
H A Didentcpu.c2924 uint64_t tcr; in tcr_set_e0pd1() local
2926 tcr = READ_SPECIALREG(tcr_el1); in tcr_set_e0pd1()
2927 tcr |= TCR_E0PD1; in tcr_set_e0pd1()
2928 WRITE_SPECIALREG(tcr_el1, tcr); in tcr_set_e0pd1()
/freebsd/sys/powerpc/powerpc/
H A Dclock.c262 uint32_t tcr; in decr_et_start() local
278 tcr = mfspr(SPR_TCR); in decr_et_start()
279 tcr |= TCR_DIE; in decr_et_start()
282 tcr |= TCR_ARE; in decr_et_start()
284 tcr &= ~TCR_ARE; in decr_et_start()
286 mtspr(SPR_TCR, tcr); in decr_et_start()
302 uint32_t tcr; in decr_et_stop() local
308 tcr = mfspr(SPR_TCR); in decr_et_stop()
309 tcr &= ~(TCR_DIE | TCR_ARE); in decr_et_stop()
310 mtspr(SPR_TCR, tcr); in decr_et_stop()
/freebsd/sys/powerpc/booke/
H A Dmachdep_e500.c159 uint32_t tcr; in booke_watchdog_cpu() local
165 tcr = mfspr(SPR_TCR); in booke_watchdog_cpu()
166 tcr &= ~(TCR_WP_MASK | TCR_WPEXT_MASK); in booke_watchdog_cpu()
167 tcr |= TCR_MAKE_WP(bitno); in booke_watchdog_cpu()
169 tcr |= ((watchdog_mode << TCR_WRC_SHIFT) & TCR_WRC_MASK); in booke_watchdog_cpu()
170 tcr |= TCR_WIE; in booke_watchdog_cpu()
172 mtspr(SPR_TCR, tcr); in booke_watchdog_cpu()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp1275 TryCastResult tcr = in CheckReinterpretCast() local
1278 if (tcr != TC_Success && msg != 0) { in CheckReinterpretCast()
1294 if (isValidCast(tcr)) { in CheckReinterpretCast()
1348 TryCastResult tcr = in CheckStaticCast() local
1351 if (tcr != TC_Success && msg != 0) { in CheckStaticCast()
1366 if (isValidCast(tcr)) { in CheckStaticCast()
1415 TryCastResult tcr; in TryStaticCast() local
1420 tcr = TryStaticReferenceDowncast(Self, SrcExpr.get(), DestType, CStyle, in TryStaticCast()
1422 if (tcr != TC_NotApplicable) in TryStaticCast()
1423 return tcr; in TryStaticCast()
[all …]
/freebsd/sys/dev/smc/
H A Dif_smc.c849 u_int status, packet, counter, tcr; in smc_task_intr() local
879 tcr = smc_read_2(sc, EPHSR); in smc_task_intr()
881 if ((tcr & EPHSR_TX_SUC) == 0) in smc_task_intr()
890 tcr = smc_read_2(sc, TCR); in smc_task_intr()
891 tcr |= TCR_TXENA | TCR_PAD_EN; in smc_task_intr()
892 smc_write_2(sc, TCR, tcr); in smc_task_intr()
1042 uint16_t tcr; in smc_miibus_statchg() local
1050 tcr = smc_read_2(sc, TCR); in smc_miibus_statchg()
1053 tcr |= TCR_SWFDUP; in smc_miibus_statchg()
1055 tcr &= ~TCR_SWFDUP; in smc_miibus_statchg()
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wait_release.h46 static inline flag_t tcr(flag_t f) { return TCR_4(f); }
61 static inline flag_t tcr(flag_t f) { return TCR_8(f); }
76 static inline flag_t tcr(flag_t f) { return TCR_8(f); }
91 static inline flag_t tcr(flag_t f) { return TCR_8(f); }
169 return (traits_type::tcr(*(this->get())) & ~KMP_BARRIER_SLEEP_STATE) ==
172 return traits_type::tcr(*(this->get())) == checker;
183 return traits_type::tcr(*(this->get())) != checker;
/freebsd/sys/dev/rtwn/pci/
H A Drtwn_pci_var.h119 uint32_t tcr; member
H A Drtwn_pci_attach.c530 rtwn_pci_write_4(sc, R92C_TCR, pc->tcr); in rtwn_pci_set_desc_addr()
/freebsd/sys/dev/rtwn/rtl8188e/pci/
H A Dr88ee_attach.c130 pc->tcr = 0x8200; in r88ee_attach()
/freebsd/sys/dev/ffec/
H A Dif_ffec.c370 uint32_t ecr, rcr, tcr; in ffec_miibus_statchg() local
391 tcr = RD4(sc, FEC_TCR_REG) & ~FEC_TCR_FDEN; in ffec_miibus_statchg()
430 tcr |= FEC_TCR_FDEN; in ffec_miibus_statchg()
438 WR4(sc, FEC_TCR_REG, tcr); in ffec_miibus_statchg()
/freebsd/sys/dev/rtwn/rtl8192c/pci/
H A Dr92ce_attach.c158 pc->tcr = in r92ce_attach()
/freebsd/contrib/atf/
H A DNEWS550 * Simplifications to the atf-c library: removed the io, tcr and ui
554 * Removed the application/X-atf-tcr format introduced in 0.8 release.