Home
last modified time | relevance | path

Searched refs:sreg (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/iicbus/rtc/
H A Disl12xx.c167 uint8_t sreg; in isl12xx_init() local
175 isl12xx_read1(sc, ISL12XX_SR_REG, &sreg); in isl12xx_init()
176 if (sreg & ISL12XX_SR_RTCF) { in isl12xx_init()
239 uint8_t hourmask, sreg; in isl12xx_gettime() local
245 if ((err = isl12xx_read1(sc, ISL12XX_SR_REG, &sreg)) == 0) { in isl12xx_gettime()
255 if (sreg & ISL12XX_SR_RTCF) in isl12xx_gettime()
286 uint8_t ampmflags, sreg; in isl12xx_settime() local
322 if ((err = isl12xx_read1(sc, ISL12XX_SR_REG, &sreg)) == 0) { in isl12xx_settime()
323 sreg |= ISL12XX_SR_WRTC | ISL12XX_SR_W0C_BITS; in isl12xx_settime()
324 if ((err = isl12xx_write1(sc, ISL12XX_SR_REG, sreg)) == 0) { in isl12xx_settime()
[all …]
H A Drtc8583.c195 uint8_t y, ytmp, sreg; in rtc8583_gettime() local
207 rtc8583_read1(sc, RTC8583_USERSRAM_REG, &sreg); in rtc8583_gettime()
215 ytmp = sreg & 0x03; in rtc8583_gettime()
218 sreg += y - ytmp; in rtc8583_gettime()
222 sreg += 4; in rtc8583_gettime()
226 rtc8583_write1(sc, RTC8583_USERSRAM_REG, sreg); in rtc8583_gettime()
240 bct.year = bin2bcd(sreg % 100); in rtc8583_gettime()
252 uint8_t sreg; in rtc8583_settime() local
272 sreg = bcd2bin(bct.year & 0xff); in rtc8583_settime()
274 rtc8583_write1(sc, RTC8583_USERSRAM_REG, sreg); in rtc8583_settime()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h570 CodeTextRegion(const MemSpaceRegion *sreg, Kind k) : TypedRegion(sreg, k) { in CodeTextRegion() argument
589 FunctionCodeRegion(const NamedDecl *fd, const CodeSpaceRegion* sreg) in FunctionCodeRegion() argument
590 : CodeTextRegion(sreg, FunctionCodeRegionKind), FD(fd) { in FunctionCodeRegion()
639 AnalysisDeclContext *ac, const CodeSpaceRegion* sreg) in BlockCodeRegion() argument
640 : CodeTextRegion(sreg, BlockCodeRegionKind), BD(bd), AC(ac), locTy(lTy) { in BlockCodeRegion()
688 unsigned count, const MemSpaceRegion *sreg) in BlockDataRegion() argument
689 : TypedRegion(sreg, BlockDataRegionKind), BC(bc), LC(lc), in BlockDataRegion()
694 assert(isa<GlobalImmutableSpaceRegion>(sreg) || in BlockDataRegion()
695 isa<StackLocalsSpaceRegion>(sreg) || in BlockDataRegion()
696 isa<UnknownSpaceRegion>(sreg)); in BlockDataRegion()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsNVVM.td1668 "llvm.nvvm.read.ptx.sreg.envreg0">,
1672 "llvm.nvvm.read.ptx.sreg.envreg1">,
1676 "llvm.nvvm.read.ptx.sreg.envreg2">,
1680 "llvm.nvvm.read.ptx.sreg.envreg3">,
1684 "llvm.nvvm.read.ptx.sreg.envreg4">,
1688 "llvm.nvvm.read.ptx.sreg.envreg5">,
1692 "llvm.nvvm.read.ptx.sreg.envreg6">,
1696 "llvm.nvvm.read.ptx.sreg.envreg7">,
1700 "llvm.nvvm.read.ptx.sreg.envreg8">,
1704 "llvm.nvvm.read.ptx.sreg.envreg9">,
[all …]
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_cg.c197 int sreg; in dt_cg_ptrsize() local
215 sreg = dt_regset_alloc(drp); in dt_cg_ptrsize()
216 dt_cg_setx(dlp, sreg, size); in dt_cg_ptrsize()
217 instr = DIF_INSTR_FMT(op, dreg, sreg, dreg); in dt_cg_ptrsize()
219 dt_regset_free(drp, sreg); in dt_cg_ptrsize()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp332 const MemRegion *sreg) { in ProfileRegion() argument
335 ID.AddPointer(sreg); in ProfileRegion()