/freebsd-current/sys/dev/usb/serial/ |
H A D | uplcom.c | 660 uplcom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 665 DPRINTF("onoff = %d\n", onoff); 667 if (onoff) 684 uplcom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 689 DPRINTF("onoff = %d\n", onoff); 691 if (onoff) 708 uplcom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 714 DPRINTF("onoff [all...] |
H A D | umodem.c | 672 umodem_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 677 DPRINTF("onoff=%d\n", onoff); 679 if (onoff) 696 umodem_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 701 DPRINTF("onoff=%d\n", onoff); 703 if (onoff) 720 umodem_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 726 DPRINTF("onoff [all...] |
H A D | umcs.c | 562 umcs7840_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 567 if (onoff) 573 DPRINTF("Port %d DTR set to: %s\n", pn, onoff ? "on" : "off"); 577 umcs7840_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 582 if (onoff) 588 DPRINTF("Port %d RTS set to: %s\n", pn, onoff ? "on" : "off"); 592 umcs7840_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 597 if (onoff) 603 DPRINTF("Port %d BREAK set to: %s\n", pn, onoff ? "on" : "off");
|
H A D | uslcom.c | 561 uslcom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 567 DPRINTF("onoff = %d\n", onoff); 569 ctl = onoff ? USLCOM_MHS_DTR_ON : 0; 585 uslcom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 591 DPRINTF("onoff = %d\n", onoff); 593 ctl = onoff ? USLCOM_MHS_RTS_ON : 0; 728 uslcom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 732 uint16_t brk = onoff [all...] |
H A D | uark.c | 429 uark_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 433 DPRINTF("onoff=%d\n", onoff); 435 uark_cfg_write(sc, 4, onoff ? 0x01 : 0x00);
|
H A D | uipaq.c | 1241 uipaq_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 1246 DPRINTF("onoff=%d\n", onoff); 1248 if (onoff) 1265 uipaq_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 1270 DPRINTF("onoff=%d\n", onoff); 1272 if (onoff) 1289 uipaq_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 1295 temp = onoff [all...] |
H A D | ufoma.c | 866 ufoma_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 879 wValue = onoff ? UCDC_BREAK_ON : UCDC_BREAK_OFF; 923 ufoma_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 930 if (onoff) 939 ufoma_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 946 if (onoff)
|
H A D | ubser.c | 483 ubser_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 490 if (onoff) {
|
H A D | uftdi.c | 1353 uftdi_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 1360 DPRINTFN(2, "DTR=%u\n", onoff); 1362 wValue = onoff ? FTDI_SIO_SET_DTR_HIGH : FTDI_SIO_SET_DTR_LOW; 1374 uftdi_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 1381 DPRINTFN(2, "RTS=%u\n", onoff); 1383 wValue = onoff ? FTDI_SIO_SET_RTS_HIGH : FTDI_SIO_SET_RTS_LOW; 1395 uftdi_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument 1402 DPRINTFN(2, "BREAK=%u\n", onoff); 1404 if (onoff) {
|
H A D | u3g.c | 1234 u3g_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 1238 DPRINTF("onoff = %d\n", onoff); 1240 if (onoff) 1249 u3g_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 1253 DPRINTF("onoff = %d\n", onoff); 1255 if (onoff)
|
/freebsd-current/usr.sbin/sesutil/ |
H A D | sesutil.c | 128 do_led(int fd, unsigned int idx, elm_type_t type, bool onoff, bool setfault) argument 130 int state = onoff ? 1 : 0; 185 bool all, isses, onoff; local 189 onoff = false; 209 onoff = true; 211 onoff = false; 271 do_led(fd, sesid, objp[sesid].elm_type, onoff, setfault); 293 onoff, setfault); 308 onoff, setfault);
|
/freebsd-current/contrib/dialog/samples/ |
H A D | dialog.py | 184 lambda i, item, onoff, fs=('off', 'on'): (i + 1, item, fs[onoff]),
|
/freebsd-current/contrib/tnftp/src/ |
H A D | extern.h | 166 const char *onoff(int);
|
/freebsd-current/sys/dev/netmap/ |
H A D | netmap_pipe.c | 461 * There are two cases on registration (onoff==1) 476 * There are two additional cases on unregister (onoff==0) 493 netmap_pipe_reg(struct netmap_adapter *na, int onoff) argument 500 nm_prdis("%p: onoff %d", na, onoff); 501 if (onoff) { 511 netmap_krings_mode_commit(na, onoff); 523 if (onoff) {
|
H A D | netmap_monitor.c | 509 netmap_monitor_reg_common(struct netmap_adapter *na, int onoff, int zmon) argument 519 nm_prdis("%p: onoff %d", na, onoff); 520 if (onoff) { 706 netmap_zmon_reg(struct netmap_adapter *na, int onoff) argument 708 return netmap_monitor_reg_common(na, onoff, 1 /* zcopy */); 883 netmap_monitor_reg(struct netmap_adapter *na, int onoff) argument 885 return netmap_monitor_reg_common(na, onoff, 0 /* no zcopy */);
|
H A D | if_ptnet.c | 210 static int ptnet_nm_register(struct netmap_adapter *na, int onoff); 213 static void ptnet_nm_intr(struct netmap_adapter *na, int onoff); 1164 ptnet_nm_register(struct netmap_adapter *na, int onoff) argument 1174 if (!onoff) { 1184 if (native && !onoff && na->active_fds == 0) { 1192 if (onoff) { 1221 netmap_krings_mode_commit(na, onoff); 1228 netmap_krings_mode_commit(na, onoff); 1236 if (onoff) { 1274 ptnet_nm_intr(struct netmap_adapter *na, int onoff) argument [all...] |
H A D | netmap_bdg.c | 1064 netmap_vp_reg(struct netmap_adapter *na, int onoff) argument 1074 if (onoff) { 1075 netmap_krings_mode_commit(na, onoff); 1084 netmap_krings_mode_commit(na, onoff); 1305 netmap_bwrap_reg(struct netmap_adapter *na, int onoff) argument 1314 nm_prdis("%s %s", na->name, onoff ? "on" : "off"); 1316 if (onoff) { 1343 error = hwna->nm_register(hwna, onoff); 1356 netmap_vp_reg(na, onoff); 1358 netmap_vp_reg(&hostna->up, onoff); [all...] |
H A D | if_re_netmap.h | 47 re_netmap_reg(struct netmap_adapter *na, int onoff) argument 54 if (onoff) {
|
/freebsd-current/sys/dev/mwl/ |
H A D | mwlhal.h | 279 * onoff != 0 turns radio on; otherwise off. 287 int mwl_hal_setradio(struct mwl_hal *mh, int onoff, MWL_HAL_PREAMBLE preamble); 602 int mwl_hal_setwmm(struct mwl_hal *mh, int onoff); 643 int mwl_hal_setoptimizationlevel(struct mwl_hal *mh, int onoff);
|
/freebsd-current/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 70 static int watchdog_onoff(int onoff); 404 watchdog_onoff(int onoff) argument 412 if (onoff) {
|
/freebsd-current/sys/dev/isci/ |
H A D | isci_controller.c | 277 static void isci_led_fault_func(void *priv, int onoff) argument 281 /* map onoff to the fault LED */ 282 phy->led_fault = onoff; 287 static void isci_led_locate_func(void *priv, int onoff) argument 291 /* map onoff to the locate LED */ 292 phy->led_locate = onoff;
|
/freebsd-current/sys/dev/ahci/ |
H A D | ahciem.c | 59 static void ahci_em_led(void *priv, int onoff); 322 ahci_em_led(void *priv, int onoff) argument 334 if (onoff) 339 if (onoff) 344 if (onoff)
|
/freebsd-current/crypto/heimdal/appl/telnet/telnet/ |
H A D | externs.h | 267 void NetNonblockingIO(int fd, int onoff);
|
/freebsd-current/sys/dev/usb/net/ |
H A D | uhso.c | 963 uhso_radio_ctrl(struct uhso_softc *sc, int onoff) argument 969 req.bRequest = onoff ? 0x82 : 0x81; 980 return (onoff); 1445 uhso_ucom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument 1452 if (onoff) 1461 uhso_ucom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument 1468 if (onoff)
|
/freebsd-current/contrib/lua/src/ |
H A D | ltests.c | 97 static int onoff = 0; local 104 onoff = 0; 106 onoff = 1; 135 if (buff[0] != '#' && onoff) /* unexpected warning? */ 140 if (onoff)
|