Searched refs:onoff (Results 1 - 25 of 75) sorted by relevance

123

/freebsd-current/contrib/openpam/lib/libpam/
H A Dopenpam_features.h36 int onoff; member in struct:openpam_feature
43 openpam_features[OPENPAM_##f].onoff
H A Dopenpam_set_feature.c46 openpam_set_feature(int feature, int onoff) argument
52 openpam_features[feature].onoff = onoff;
66 * feature to the value specified by the =onoff argument.
H A Dopenpam_get_feature.c46 openpam_get_feature(int feature, int *onoff) argument
52 *onoff = openpam_features[feature].onoff;
66 * specified feature in the variable pointed to by its =onoff argument.
/freebsd-current/usr.bin/systat/
H A Dnetcmds.c62 int onoff; member in struct:hitem
121 changeitems(const char *args, int onoff) argument
145 selectport(sp->s_port, onoff);
157 selecthost(&in, onoff);
192 int onoff; member in struct:pitem
196 selectport(long port, int onoff) argument
209 p->onoff = onoff;
218 p->onoff = onoff;
253 selecthost(struct in_addr *in, int onoff) argument
[all...]
/freebsd-current/sys/dev/gpio/
H A Dgpioled.c73 gpioled_control(void *priv, int onoff) argument
82 onoff = !onoff;
84 onoff ? GPIO_PIN_HIGH : GPIO_PIN_LOW);
H A Dgpioled_fdt.c69 gpioled_control(void *priv, int onoff) argument
75 gpio_pin_set_active(led->pin, onoff);
/freebsd-current/sys/i386/i386/
H A Dgeode.c97 led_func(void *ptr, int onoff) argument
105 onoff = !onoff;
109 if (onoff)
117 cs5536_led_func(void *ptr, int onoff) argument
125 onoff = !onoff;
134 if (onoff)
/freebsd-current/sys/powerpc/mikrotik/
H A Drb_led.c139 rbled_toggle(void *priv, int onoff) argument
143 GPIO_PIN_SET(sc->sc_gpio, sc->sc_ledpin, onoff);
/freebsd-current/sys/dev/usb/serial/
H A Dusb_serial.c946 uint8_t onoff; local
986 onoff = (sc->sc_mcr & SER_DTR) ? 1 : 0;
987 ucom_dtr(sc, onoff);
989 onoff = (sc->sc_mcr & SER_RTS) ? 1 : 0;
990 ucom_rts(sc, onoff);
1087 ucom_ring(struct ucom_softc *sc, uint8_t onoff) argument
1089 DPRINTF("onoff = %d\n", onoff);
1091 if (onoff)
1098 ucom_break(struct ucom_softc *sc, uint8_t onoff) argument
1109 ucom_dtr(struct ucom_softc *sc, uint8_t onoff) argument
1120 ucom_rts(struct ucom_softc *sc, uint8_t onoff) argument
1137 int onoff; local
[all...]
H A Dubsa.c395 ubsa_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument
399 DPRINTF("onoff = %d\n", onoff);
401 ubsa_cfg_request(sc, UBSA_REG_DTR, onoff ? 1 : 0);
405 ubsa_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument
409 DPRINTF("onoff = %d\n", onoff);
411 ubsa_cfg_request(sc, UBSA_REG_RTS, onoff ? 1 : 0);
415 ubsa_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument
419 DPRINTF("onoff
[all...]
H A Duvscom.c496 uvscom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument
500 DPRINTF("onoff = %d\n", onoff);
502 if (onoff)
511 uvscom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument
515 DPRINTF("onoff = %d\n", onoff);
517 if (onoff)
526 uvscom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument
530 DPRINTF("onoff
[all...]
H A Duchcom.c553 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 Dumoscom.c417 umoscom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument
423 if (onoff)
430 umoscom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument
434 if (onoff)
443 umoscom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument
447 if (onoff)
H A Dumct.c435 umct_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument
439 if (onoff)
448 umct_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument
452 if (onoff)
461 umct_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument
465 if (onoff)
/freebsd-current/sbin/conscontrol/
H A Dconscontrol.c88 consmute(const char *onoff) argument
93 if (strcmp(onoff, "on") == 0)
95 else if (strcmp(onoff, "off") == 0)
/freebsd-current/crypto/heimdal/appl/ftp/ftp/
H A Dcmds.c839 onoff(int bool) function
872 onoff(verbose), onoff(bell), onoff(interactive),
873 onoff(doglob));
874 printf("Store unique: %s; Receive unique: %s\n", onoff(sunique),
875 onoff(runique));
876 printf("Case: %s; CR stripping: %s\n",onoff(mcase),onoff(crflag));
890 onoff(has
[all...]
H A Dextern.h100 char *onoff (int);
/freebsd-current/sys/dev/netmap/
H A Dnetmap_null.c90 netmap_null_reg(struct netmap_adapter *na, int onoff) argument
93 if (onoff)
H A Dnetmap_bdg.h178 int netmap_bwrap_reg(struct netmap_adapter *, int onoff);
180 int netmap_vp_reg(struct netmap_adapter *na, int onoff);
/freebsd-current/contrib/tnftp/src/
H A Dcmds.c789 onoff(int val) function
825 fprintf(ttyout, "Gate ftp: %s, server %s, port %s.\n", onoff(gatemode),
828 onoff(passivemode), onoff(activefallback));
832 onoff(verbose), onoff(bell), onoff(interactive), onoff(doglob));
834 onoff(sunique), onoff(runiqu
[all...]
/freebsd-current/share/examples/ipfilter/samples/
H A Dproxy.c141 int onoff, ofd, slen; local
208 onoff = 1;
209 if (ioctl(fd, SIOCSTLCK, &onoff) == 0) {
212 onoff = 0;
213 if (ioctl(fd, SIOCSTLCK, &onoff) != 0)
/freebsd-current/lib/librtld_db/
H A Drtld_db.c125 rd_event_enable(rd_agent_t *rdap __unused, int onoff) argument
127 DPRINTF("%s onoff %d\n", __func__, onoff);
223 rd_log(const int onoff) argument
227 (void)onoff;
/freebsd-current/crypto/heimdal/appl/telnet/telnet/
H A Dsys_bsd.c325 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-current/contrib/telnet/telnet/
H A Dsys_bsd.c378 int onoff; local
557 onoff = 0;
584 onoff = 1;
675 ioctl(tin, FIONBIO, (char *)&onoff);
676 ioctl(tout, FIONBIO, (char *)&onoff);
731 NetNonblockingIO(int fd, int onoff) argument
733 ioctl(fd, FIONBIO, (char *)&onoff);
/freebsd-current/crypto/openssl/ssl/
H A Dssl_conf.c107 uint64_t option_value, int onoff)
114 onoff ^= 1;
126 if (onoff)
136 if (onoff)
143 const char *name, int namelen, int onoff)
154 ssl_set_option(cctx, tbl->name_flags, tbl->option_value, onoff);
163 int onoff = 1; local
174 onoff = 1;
178 onoff = 0;
182 if (ssl_match_option(cctx, tbl, elem, len, onoff))
106 ssl_set_option(SSL_CONF_CTX *cctx, unsigned int name_flags, uint64_t option_value, int onoff) argument
142 ssl_match_option(SSL_CONF_CTX *cctx, const ssl_flag_tbl *tbl, const char *name, int namelen, int onoff) argument
[all...]

Completed in 378 milliseconds

123