Home
last modified time | relevance | path

Searched refs:fcr (Results 1 – 25 of 31) sorted by relevance

12

/netbsd-src/sys/opencrypto/
H A Dcryptodev.c226 struct fcrypt *fcr = fp->f_fcrypt; in cryptof_ioctl() local
250 getnanotime(&fcr->atime); in cryptof_ioctl()
279 error = cryptodev_session(fcr, sop); in cryptof_ioctl()
297 fcr->mtime = fcr->atime; in cryptof_ioctl()
299 error = cryptodev_msession(fcr, snop, sgop->count); in cryptof_ioctl()
311 fcr->mtime = fcr->atime; in cryptof_ioctl()
313 cse = csefind(fcr, ses); in cryptof_ioctl()
318 csedelete(fcr, cse); in cryptof_ioctl()
324 fcr->mtime = fcr->atime; in cryptof_ioctl()
337 cryptodev_msessionfin(fcr, sfop->count, sesid); in cryptof_ioctl()
[all …]
H A Docryptodev.c115 struct fcrypt *fcr = fp->f_fcrypt; in ocryptof_ioctl() local
129 error = ocryptodev_session(fcr, osop); in ocryptof_ioctl()
146 error = ocryptodev_msession(fcr, osnop, osgop->count); in ocryptof_ioctl()
159 cse = cryptodev_csefind(fcr, ocop->ses); in ocryptof_ioctl()
179 error = ocryptodev_mop(fcr, ocnop, omop->count, in ocryptof_ioctl()
215 ocryptodev_mop(struct fcrypt *fcr, struct ocrypt_n_op *ocnop, int count, in ocryptodev_mop() argument
238 res = cryptodev_mop(fcr, &cnop, count, l); in ocryptodev_mop()
247 ocryptodev_session(struct fcrypt *fcr, struct osession_op *osop) in ocryptodev_session() argument
259 res = cryptodev_session(fcr, &sop); in ocryptodev_session()
268 ocryptodev_msession(struct fcrypt *fcr, struct osession_n_op *osn_ops, in ocryptodev_msession() argument
[all …]
H A Dcryptodev_internal.h12 struct csession *cryptodev_csefind(struct fcrypt *fcr, u_int ses);
/netbsd-src/sys/arch/macppc/dev/
H A Dmediabay.c164 u_int fcr = 0; in mediabay_attach_content() local
171 fcr = in32rb(sc->sc_fcr); in mediabay_attach_content()
177 if ((fcr & (FCR_MEDIABAY_ENABLE | FCR_MEDIABAY_IDE_ENABLE in mediabay_attach_content()
180 fcr |= FCR_MEDIABAY_ENABLE | FCR_MEDIABAY_RESET; in mediabay_attach_content()
181 out32rb(sc->sc_fcr, fcr); in mediabay_attach_content()
184 fcr &= ~FCR_MEDIABAY_RESET; in mediabay_attach_content()
185 out32rb(sc->sc_fcr, fcr); in mediabay_attach_content()
188 fcr |= FCR_MEDIABAY_IDE_ENABLE | FCR_MEDIABAY_CD_POWER; in mediabay_attach_content()
189 out32rb(sc->sc_fcr, fcr); in mediabay_attach_content()
257 fcr &= ~(FCR_MEDIABAY_ENABLE | FCR_MEDIABAY_IDE_ENABLE | in mediabay_attach_content()
[all …]
H A Dsnapper.c2139 char fcr[32]; in snapper_init() local
2141 snprintb(fcr, sizeof(fcr), FCR3C_BITMASK, obio_read_4(KEYLARGO_FCR1)); in snapper_init()
2142 printf("FCR(0x3c) %s\n", fcr); in snapper_init()
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/loongarch/
H A Dcrtfastmath.c44 unsigned int fcr; in set_fast_math() local
47 fcr = _FPU_RC_NEAREST; in set_fast_math()
49 _FPU_SETCW (fcr); in set_fast_math()
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/mips/
H A Dcrtfastmath.c45 unsigned int fcr; in set_fast_math() local
48 fcr = _FPU_FLUSH_TZ | _FPU_RC_NEAREST; in set_fast_math()
50 _FPU_SETCW(fcr); in set_fast_math()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/mips/
H A Dcrtfastmath.c45 unsigned int fcr; in set_fast_math() local
48 fcr = _FPU_FLUSH_TZ | _FPU_RC_NEAREST; in set_fast_math()
50 _FPU_SETCW(fcr); in set_fast_math()
/netbsd-src/sys/arch/epoc32/windermere/
H A Dwmcom.c746 uint8_t fcr; in wmcom_break() local
749 fcr = bus_space_read_1(sc->sc_iot, sc->sc_ioh, UARTFCR); in wmcom_break()
751 SET(fcr, FCR_BREAK); in wmcom_break()
753 CLR(fcr, FCR_BREAK); in wmcom_break()
754 bus_space_write_1(sc->sc_iot, sc->sc_ioh, UARTFCR, fcr); in wmcom_break()
829 int8_t fcr = FCR_UFIFOEN; in wmcom_cflag2fcr() local
832 case CS5: SET(fcr, FCR_WLEN_5); break; in wmcom_cflag2fcr()
833 case CS6: SET(fcr, FCR_WLEN_6); break; in wmcom_cflag2fcr()
834 case CS7: SET(fcr, FCR_WLEN_7); break; in wmcom_cflag2fcr()
835 case CS8: SET(fcr, FCR_WLEN_8); break; in wmcom_cflag2fcr()
[all …]
/netbsd-src/sys/arch/rs6000/stand/boot/
H A Dns16550.h40 volatile unsigned char fcr; /* 2 */ member
49 #define iir fcr
H A Dns16550.c56 com_port->fcr = 0x07; /* Clear & enable FIFOs */ in NS16550_init()
/netbsd-src/sys/arch/prep/stand/boot/
H A Dns16550.h40 volatile unsigned char fcr; /* 2 */ member
49 #define iir fcr
H A Dns16550.c56 com_port->fcr = 0x07; /* Clear & enable FIFOs */ in NS16550_init()
/netbsd-src/sys/arch/bebox/stand/boot/
H A Dns16550.h41 unsigned char fcr; /* 2 */ member
50 #define iir fcr
H A Dns16550.c56 com_port->fcr = 0x07; /* Clear & enable FIFOs */ in NS16550_init()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/csky/
H A Dcsky_insn_fpuv3.md493 "CSKY_ISA_FEATURE(fcr)"
494 "mtcr\t%0, fcr"
501 "CSKY_ISA_FEATURE(fcr)"
502 "mfcr\t%0, fcr"
511 "CSKY_ISA_FEATURE(fcr)"
514 return "mfcr\tt1, fcr\n\tins\tt1, %0, %1, %2\n\tmtcr\tt1, fcr";
H A Dcsky_isa.def35 CSKY_ISA (fcr, "Control the fcr register")
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/
H A Dfloating_from_chars.cc677 from_chars_result fcr = from_chars(first, last, written_exponent, 10); in __floating_from_chars_hex() local
678 if (fcr.ptr == first) in __floating_from_chars_hex()
684 first = fcr.ptr; in __floating_from_chars_hex()
685 if (mantissa != 0 && fcr.ec == errc::result_out_of_range) in __floating_from_chars_hex()
/netbsd-src/sys/dev/ic/
H A Ddm9000.c479 uint8_t fcr, ncr; in mii_statchg() local
500 fcr = dme_read(sc, DM9000_FCR) &~ DM9000_FCR_FLCE; in mii_statchg()
504 fcr |= DM9000_FCR_FLCE; in mii_statchg()
507 dme_write(sc, DM9000_FCR, fcr); in mii_statchg()
H A Dcom.c733 uint8_t fcr = FIFO_ENABLE | FIFO_TRIGGER_14; in com_attach_subr() local
739 fcr | FIFO_64B_ENABLE); in com_attach_subr()
741 CSR_WRITE_1(regsp, COM_REG_FIFO, fcr); in com_attach_subr()
744 fcr | FIFO_64B_ENABLE); in com_attach_subr()
755 CSR_WRITE_1(regsp, COM_REG_FIFO, fcr); in com_attach_subr()
/netbsd-src/sys/arch/arm/sociox/
H A Dif_scx.c1706 uint32_t miisr, mcr, fcr; in mii_statchg() local
1745 fcr = mac_read(sc, GMACFCR) & ~(FCR_TFE | FCR_RFE); in mii_statchg()
1748 fcr |= FCR_TFE; in mii_statchg()
1750 fcr |= FCR_RFE; in mii_statchg()
1754 mac_write(sc, GMACFCR, fcr); in mii_statchg()
1758 (fcr & FCR_TFE) ? '+' : '-', in mii_statchg()
1759 (fcr & FCR_RFE) ? '+' : '-'); in mii_statchg()
/netbsd-src/external/gpl3/gdb/dist/gdb/regformats/
H A Dreg-ia64.dat367 64:fcr
/netbsd-src/external/gpl3/gdb.old/dist/gdb/regformats/
H A Dreg-ia64.dat367 64:fcr
/netbsd-src/sys/arch/ia64/include/
H A Dia64_cpu.h414 IA64_AR(fcr) in IA64_AR()
/netbsd-src/sys/dev/pci/
H A Dif_bwfm_pci.c1418 struct msgbuf_flowring_create_resp *fcr; in bwfm_pci_msg_rx() local
1428 fcr = (struct msgbuf_flowring_create_resp *)buf; in bwfm_pci_msg_rx()
1429 flowid = letoh16(fcr->compl_hdr.flow_ring_id); in bwfm_pci_msg_rx()
1438 if (fcr->compl_hdr.status) { in bwfm_pci_msg_rx()

12