/freebsd-11-stable/sys/dev/usb/serial/ |
H A D | ubsa.c | 396 ubsa_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 400 DPRINTF("onoff = %d\n", onoff); 402 ubsa_cfg_request(sc, UBSA_REG_DTR, onoff ? 1 : 0); 406 ubsa_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 410 DPRINTF("onoff = %d\n", onoff); 412 ubsa_cfg_request(sc, UBSA_REG_RTS, onoff ? 1 : 0); 416 ubsa_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 420 DPRINTF("onoff [all...] |
H A D | uchcom.c | 553 uchcom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 560 if (onoff) { 649 uchcom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 653 DPRINTF("onoff = %d\n", onoff); 655 sc->sc_dtr = onoff; 660 uchcom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 664 DPRINTF("onoff = %d\n", onoff); 666 sc->sc_rts = onoff; [all...] |
H A D | umoscom.c | 420 umoscom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 426 if (onoff) 433 umoscom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 437 if (onoff) 446 umoscom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 450 if (onoff)
|
H A D | umct.c | 439 umct_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 443 if (onoff) 452 umct_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 456 if (onoff) 465 umct_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 469 if (onoff)
|
H A D | umcs.c | 563 umcs7840_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 568 if (onoff) 574 DPRINTF("Port %d DTR set to: %s\n", pn, onoff ? "on" : "off"); 578 umcs7840_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 583 if (onoff) 589 DPRINTF("Port %d RTS set to: %s\n", pn, onoff ? "on" : "off"); 593 umcs7840_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 598 if (onoff) 604 DPRINTF("Port %d BREAK set to: %s\n", pn, onoff ? "on" : "off");
|
H A D | umodem.c | 666 umodem_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 671 DPRINTF("onoff=%d\n", onoff); 673 if (onoff) 690 umodem_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 695 DPRINTF("onoff=%d\n", onoff); 697 if (onoff) 714 umodem_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 720 DPRINTF("onoff [all...] |
H A D | uplcom.c | 661 uplcom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 666 DPRINTF("onoff = %d\n", onoff); 668 if (onoff) 685 uplcom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 690 DPRINTF("onoff = %d\n", onoff); 692 if (onoff) 709 uplcom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 715 DPRINTF("onoff [all...] |
H A D | uslcom.c | 567 uslcom_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 573 DPRINTF("onoff = %d\n", onoff); 575 ctl = onoff ? USLCOM_MHS_DTR_ON : 0; 591 uslcom_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 597 DPRINTF("onoff = %d\n", onoff); 599 ctl = onoff ? USLCOM_MHS_RTS_ON : 0; 715 uslcom_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 719 uint16_t brk = onoff [all...] |
/freebsd-11-stable/usr.sbin/sesutil/ |
H A D | sesutil.c | 115 do_led(int fd, unsigned int idx, elm_type_t type, bool onoff, bool setfault) argument 117 int state = onoff ? 1 : 0; 171 bool all, isses, onoff; local 175 onoff = false; 195 onoff = true; 197 onoff = false; 257 do_led(fd, sesid, objp[sesid].elm_type, onoff, setfault); 269 onoff, setfault); 284 onoff, setfault);
|
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/ |
H A D | extern.h | 100 char *onoff (int);
|
/freebsd-11-stable/sys/sparc64/fhc/ |
H A D | clkbrd.c | 195 clkbrd_led_func(void *arg, int onoff) argument 204 if (onoff)
|
/freebsd-11-stable/sys/dev/gpio/ |
H A D | gpioled_fdt.c | 71 gpioled_control(void *priv, int onoff) argument 77 gpio_pin_set_active(led->pin, onoff);
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_bdg.h | 180 int netmap_bwrap_reg(struct netmap_adapter *, int onoff); 181 int netmap_vp_reg(struct netmap_adapter *na, int onoff);
|
H A D | if_lem_netmap.h | 44 lem_netmap_reg(struct netmap_adapter *na, int onoff) argument 63 if (onoff) { 81 lem_netmap_intr(struct netmap_adapter *na, int onoff) argument 87 if (onoff) {
|
H A D | netmap_bdg.c | 919 netmap_vp_reg(struct netmap_adapter *na, int onoff) argument 929 if (onoff) { 930 netmap_krings_mode_commit(na, onoff); 939 netmap_krings_mode_commit(na, onoff); 1160 netmap_bwrap_reg(struct netmap_adapter *na, int onoff) argument 1169 nm_prdis("%s %s", na->name, onoff ? "on" : "off"); 1171 if (onoff) { 1198 error = hwna->nm_register(hwna, onoff); 1211 netmap_vp_reg(na, onoff); 1213 netmap_vp_reg(&hostna->up, onoff); [all...] |
H A D | netmap_pipe.c | 459 * There are two cases on registration (onoff==1) 474 * There are two additional cases on unregister (onoff==0) 491 netmap_pipe_reg(struct netmap_adapter *na, int onoff) argument 498 nm_prdis("%p: onoff %d", na, onoff); 499 if (onoff) { 509 netmap_krings_mode_commit(na, onoff); 521 if (onoff) {
|
H A D | netmap_monitor.c | 506 netmap_monitor_reg_common(struct netmap_adapter *na, int onoff, int zmon) argument 516 nm_prdis("%p: onoff %d", na, onoff); 517 if (onoff) { 702 netmap_zmon_reg(struct netmap_adapter *na, int onoff) argument 704 return netmap_monitor_reg_common(na, onoff, 1 /* zcopy */); 878 netmap_monitor_reg(struct netmap_adapter *na, int onoff) argument 880 return netmap_monitor_reg_common(na, onoff, 0 /* no zcopy */);
|
/freebsd-11-stable/contrib/gcc/ |
H A D | flags.h | 132 extern void set_warn_strict_aliasing (int onoff);
|
/freebsd-11-stable/sys/dev/auxio/ |
H A D | auxio.c | 119 static void auxio_led_func(void *arg, int onoff); 203 auxio_led_func(void *arg, int onoff) argument 215 if (onoff)
|
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/ |
H A D | sys_bsd.c | 325 int onoff; local 434 onoff = 0; 452 onoff = 1; 509 ioctl(tin, FIONBIO, (char *)&onoff); 510 ioctl(tout, FIONBIO, (char *)&onoff); 629 NetNonblockingIO(int fd, int onoff) argument 631 ioctl(fd, FIONBIO, (char *)&onoff);
|
/freebsd-11-stable/contrib/telnet/telnet/ |
H A D | sys_bsd.c | 380 int onoff; local 559 onoff = 0; 586 onoff = 1; 677 ioctl(tin, FIONBIO, (char *)&onoff); 678 ioctl(tout, FIONBIO, (char *)&onoff); 733 NetNonblockingIO(int fd, int onoff) argument 735 ioctl(fd, FIONBIO, (char *)&onoff);
|
/freebsd-11-stable/contrib/apr-util/crypto/ |
H A D | apr_sha1.c | 90 int onoff; local 94 rv = apr_xlate_sb_get(x, &onoff); 98 if (!onoff) { /* If conversion is not single-byte-only */
|
/freebsd-11-stable/contrib/apr-util/xlate/ |
H A D | xlate.c | 277 APU_DECLARE(apr_status_t) apr_xlate_sb_get(apr_xlate_t *convset, int *onoff) 279 *onoff = convset->sbcs_table != NULL; 433 APU_DECLARE(apr_status_t) apr_xlate_sb_get(apr_xlate_t *convset, int *onoff)
|
/freebsd-11-stable/contrib/dialog/samples/ |
H A D | dialog.py | 184 lambda i, item, onoff, fs=('off', 'on'): (i + 1, item, fs[onoff]),
|
/freebsd-11-stable/contrib/tnftp/src/ |
H A D | extern.h | 166 const char *onoff(int);
|