Home
last modified time | relevance | path

Searched refs:lcr (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/boot/i386/libi386/
H A Dcomconsole.c70 uint8_t lcr; /* line control */ member
206 port->lcr = BITS8; /* 8,n,1 */ in comc_ini()
352 if ((sp->lcr & (PAREN|PAREVN)) == (PAREN|PAREVN)) in comc_asprint_mode()
354 else if ((sp->lcr & PAREN) == PAREN) in comc_asprint_mode()
360 (sp->lcr & BITS8) == BITS8? 8:7, in comc_asprint_mode()
361 par, (sp->lcr & STOP2) == STOP2? 2:1); in comc_asprint_mode()
370 int lcr; in comc_parse_mode() local
389 case 7: lcr = BITS7; in comc_parse_mode()
391 case 8: lcr = BITS8; in comc_parse_mode()
401 case 'e': lcr |= PAREN|PAREVN; in comc_parse_mode()
[all …]
/illumos-gate/usr/src/boot/efi/libefi/
H A Defiisaio.c665 uint8_t lcr; in efi_isa_probe() local
678 1, &lcr); in efi_isa_probe()
683 sp->databits = (lcr & BITS8) == BITS8? 8:7; in efi_isa_probe()
684 sp->stopbits = (lcr & STOP2) == STOP2? TwoStopBits:OneStopBit; in efi_isa_probe()
685 if ((lcr & (PAREN|PAREVN)) == (PAREN|PAREVN)) in efi_isa_probe()
687 else if ((lcr & PAREN) == PAREN) in efi_isa_probe()
1087 uint8_t data, lcr; in efi_isa_setup() local
1096 lcr = BITS8; in efi_isa_setup()
1099 lcr = BITS7; in efi_isa_setup()
1102 lcr = BITS6; in efi_isa_setup()
[all …]
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_console.c414 uchar_t lcr = 0; in serial_adjust_prop() local
461 lcr |= BITS5; in serial_adjust_prop()
465 lcr |= BITS6; in serial_adjust_prop()
469 lcr |= BITS7; in serial_adjust_prop()
476 lcr |= BITS8; in serial_adjust_prop()
484 lcr |= PARITY_NONE; in serial_adjust_prop()
488 lcr |= PARITY_ODD; in serial_adjust_prop()
495 lcr |= PARITY_EVEN; in serial_adjust_prop()
508 lcr |= STOP2; in serial_adjust_prop()
512 outb(port + LCR, lcr); in serial_adjust_prop()
/illumos-gate/usr/src/cmd/bhyve/common/
H A Duart_emul.c86 uint8_t lcr; /* Line control register (R/W) */ member
253 if ((sc->lcr & LCR_DLAB) != 0) { in uart_ns16550_write()
309 sc->lcr = value; in uart_ns16550_write()
370 if ((sc->lcr & LCR_DLAB) != 0) { in uart_ns16550_read()
405 reg = sc->lcr; in uart_ns16550_read()
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dkeyspan_dsd.c2723 kp->kp_lcr = ctrl_msg->lcr; in keyspan_save_port_params_usa19hs()
2778 ctrl_msg->lcr = 0x3; in keyspan_default_port_params_usa19hs()
2883 ctrl_msg->lcr |= USA_PARITY_ODD; in keyspan_build_cmd_msg_usa19hs()
2885 ctrl_msg->lcr |= USA_PARITY_EVEN; in keyspan_build_cmd_msg_usa19hs()
2890 pe->val.ui, ctrl_msg->lcr); in keyspan_build_cmd_msg_usa19hs()
2895 ctrl_msg->lcr |= STOPBITS_678_2; in keyspan_build_cmd_msg_usa19hs()
2909 pe->val.ui, ctrl_msg->lcr); in keyspan_build_cmd_msg_usa19hs()
2926 ctrl_msg->lcr |= USA_DATABITS_6; in keyspan_build_cmd_msg_usa19hs()
2930 ctrl_msg->lcr |= USA_DATABITS_7; in keyspan_build_cmd_msg_usa19hs()
2939 ctrl_msg->lcr |= USA_DATABITS_8; in keyspan_build_cmd_msg_usa19hs()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_secinfo.c1040 cred_t *cr, *lcr = NULL; in nfs4_secinfo_recov() local
1056 lcr = crdup(cr); in nfs4_secinfo_recov()
1057 (void) crsetugid(lcr, svp->sv_secdata->uid, in nfs4_secinfo_recov()
1065 if (lcr && error == EACCES) in nfs4_secinfo_recov()
1066 error = nfs4_secinfo_path(mi, lcr, TRUE); in nfs4_secinfo_recov()
1070 if (lcr && error == EACCES) in nfs4_secinfo_recov()
1071 error = nfs4_secinfo_vnode(vp1, lcr, TRUE); in nfs4_secinfo_recov()
1076 if (lcr != NULL) in nfs4_secinfo_recov()
1077 crfree(lcr); in nfs4_secinfo_recov()
H A Dnfs_vfsops.c1155 cred_t *lcr = NULL, *tcr = cr; in nfsrootvp() local
1267 lcr = crdup(cr); in nfsrootvp()
1268 (void) crsetugid(lcr, svp->sv_secdata->uid, crgetgid(cr)); in nfsrootvp()
1269 tcr = lcr; in nfsrootvp()
1325 if (lcr != NULL) in nfsrootvp()
1326 crfree(lcr); in nfsrootvp()
1335 if (lcr != NULL) in nfsrootvp()
1336 crfree(lcr); in nfsrootvp()
H A Dnfs3_vfsops.c1025 cred_t *lcr = NULL, *tcr = cr; in nfs3rootvp() local
1162 lcr = crdup(cr); in nfs3rootvp()
1163 (void) crsetugid(lcr, svp->sv_secdata->uid, crgetgid(cr)); in nfs3rootvp()
1164 tcr = lcr; in nfs3rootvp()
1330 if (lcr != NULL) in nfs3rootvp()
1331 crfree(lcr); in nfs3rootvp()
1340 if (lcr != NULL) in nfs3rootvp()
1341 crfree(lcr); in nfs3rootvp()
H A Dnfs4_vfsops.c2284 cred_t *lcr = NULL, *tcr = cr; in nfs4rootvp() local
2461 lcr = crdup(cr); in nfs4rootvp()
2462 (void) crsetugid(lcr, svp->sv_secdata->uid, crgetgid(cr)); in nfs4rootvp()
2463 tcr = lcr; in nfs4rootvp()
2633 if (lcr != NULL) in nfs4rootvp()
2634 crfree(lcr); in nfs4rootvp()
2641 if (lcr != NULL) in nfs4rootvp()
2642 crfree(lcr); in nfs4rootvp()
3189 cred_t *lcr = NULL; in nfs4setclientid() local
3304 lcr = crdup(cr); in nfs4setclientid()
[all …]
/illumos-gate/usr/src/uts/sun4/io/
H A Dsu_driver.c1113 int icr, lcr; in asyclose() local
1151 lcr = INB(LCR); in asyclose()
1152 if (lcr & SETBREAK) { in asyclose()
1153 OUTB(LCR, (lcr & ~SETBREAK)); in asyclose()
1156 if (lcr & SETBREAK) in asyclose()
1334 int icr, lcr; in asy_program() local
1426 lcr = INB(LCR); in asy_program()
1427 lcr &= ~(WLS0|WLS1|STB|PEN|EPS); in asy_program()
1430 lcr |= STB; /* 2 stop bits */ in asy_program()
1433 lcr |= PEN; in asy_program()
[all …]
/illumos-gate/usr/src/uts/common/sys/usb/clients/usbser/usbser_keyspan/
H A Dusa49msg.h135 uint8_t lcr; /* use PARITY, STOPBITS, DATABITS below */ member
H A Dusa90msg.h67 uint8_t lcr; /* use PARITY, STOPBITS, DATABITS below */ member
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/
H A DDNSDigest.c1440 mDNSexport mDNSBool DNSDigest_VerifyMessage(DNSMessage *msg, mDNSu8 *end, LargeCacheRecord * lcr, D… in DNSDigest_VerifyMessage() argument
1442 mDNSu8 * ptr = (mDNSu8*) &lcr->r.resrec.rdata->u.data; in DNSDigest_VerifyMessage()
1524 MD5_Update(&c, lcr->r.resrec.name->c, DomainNameLength(lcr->r.resrec.name)); in DNSDigest_VerifyMessage()
1528 buf = mDNSOpaque16fromIntVal(lcr->r.resrec.rrclass); in DNSDigest_VerifyMessage()
1533 MD5_Update(&c, (mDNSu8*) &lcr->r.resrec.rroriginalttl, sizeof(lcr->r.resrec.rroriginalttl)); in DNSDigest_VerifyMessage()
/illumos-gate/usr/src/uts/common/io/
H A Dasy.c636 uint8_t lcr; in asy_put_ext() local
651 lcr = asy_get(asy, ASY_LCR); in asy_put_ext()
660 asy_put(asy, ASY_LCR, lcr); in asy_put_ext()
666 uint8_t lcr, val; in asy_get_ext() local
681 lcr = asy_get(asy, ASY_LCR); in asy_get_ext()
690 asy_put(asy, ASY_LCR, lcr); in asy_get_ext()
2762 uint8_t lcr = 0; in asy_program() local
2765 lcr |= ASY_LCR_STOP2; /* 2 stop bits */ in asy_program()
2768 lcr |= ASY_LCR_PEN; in asy_program()
2771 lcr |= ASY_LCR_EPS; in asy_program()
[all …]