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

1234

/freebsd-9.3-release/contrib/openpam/lib/libpam/
H A Dopenpam_features.h38 int onoff; member in struct:openpam_feature
45 openpam_features[OPENPAM_##f].onoff
H A Dopenpam_get_feature.c48 openpam_get_feature(int feature, int *onoff) argument
54 *onoff = openpam_features[feature].onoff;
68 * specified feature in the variable pointed to by its =onoff argument.
H A Dopenpam_set_feature.c48 openpam_set_feature(int feature, int onoff) argument
54 openpam_features[feature].onoff = onoff;
68 * feature to the value specified by the =onoff argument.
/freebsd-9.3-release/sys/arm/xscale/ixp425/
H A Dcambria_led.c53 update_latch(struct led_softc *sc, int bit, int onoff) argument
55 if (onoff)
61 static void led_A(void *arg, int onoff) { update_latch(arg, 1<<0, onoff); } argument
62 static void led_B(void *arg, int onoff) { update_latch(arg, 1<<1, onoff); } argument
63 static void led_C(void *arg, int onoff) { update_latch(arg, 1<<2, onoff); } argument
64 static void led_D(void *arg, int onoff) { update_latch(arg, 1<<3, onoff); } argument
65 led_E(void *arg, int onoff) argument
66 led_F(void *arg, int onoff) argument
67 led_G(void *arg, int onoff) argument
68 led_H(void *arg, int onoff) argument
[all...]
H A Dcambria_fled.c58 fled_cb(void *arg, int onoff) argument
66 data[0] = (onoff == 0); /* NB: low true */
H A Davila_led.c50 led_func(void *arg, int onoff) argument
57 if (onoff)
/freebsd-9.3-release/usr.bin/systat/
H A Dnetcmds.c66 int onoff; member in struct:hitem
126 changeitems(const char *args, int onoff) argument
150 selectport(sp->s_port, onoff);
162 selecthost(&in, onoff);
197 int onoff; member in struct:pitem
201 selectport(long port, int onoff) argument
214 p->onoff = onoff;
223 p->onoff = onoff;
258 selecthost(struct in_addr *in, int onoff) argument
[all...]
/freebsd-9.3-release/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-9.3-release/lib/librtld_db/
H A Drtld_db.c95 rd_event_enable(rd_agent_t *rdap __unused, int onoff) argument
97 DPRINTF("%s onoff %d\n", __func__, onoff);
166 rd_log(const int onoff) argument
170 (void)onoff;
/freebsd-9.3-release/sys/dev/netmap/
H A Dixgbe_netmap.h74 set_crcstrip(struct ixgbe_hw *hw, int onoff) argument
90 onoff ? "enter" : "exit", hl, rxc);
94 if (onoff && !ix_crcstrip) {
105 onoff ? "enter" : "exit", hl, rxc);
116 ixgbe_netmap_reg(struct netmap_adapter *na, int onoff) argument
127 set_crcstrip(&adapter->hw, onoff);
129 if (onoff) {
135 set_crcstrip(&adapter->hw, onoff); // XXX why twice ?
/freebsd-9.3-release/sys/sparc64/ebus/
H A Depic.c119 static void epic_led_alert(void *arg, int onoff);
120 static void epic_led_power(void *arg, int onoff);
193 epic_led_alert(void *arg, int onoff) argument
201 onoff ? EPIC_LED_ALERT_ON : EPIC_LED_ALERT_OFF);
206 epic_led_power(void *arg, int onoff) argument
214 onoff ? EPIC_LED_POWER_ON : EPIC_LED_POWER_OFF);
/freebsd-9.3-release/sbin/conscontrol/
H A Dconscontrol.c89 consmute(const char *onoff) argument
94 if (strcmp(onoff, "on") == 0)
96 else if (strcmp(onoff, "off") == 0)
/freebsd-9.3-release/usr.sbin/watchdogd/
H A Dwatchdogd.c59 static int watchdog_onoff(int onoff);
214 watchdog_onoff(int onoff) argument
217 if (onoff)
/freebsd-9.3-release/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-9.3-release/sys/dev/gpio/
H A Dgpioled.c72 gpioled_control(void *priv, int onoff) argument
79 onoff ? GPIO_PIN_HIGH : GPIO_PIN_LOW);
/freebsd-9.3-release/sys/dev/usb/serial/
H A Dusb_serial.c873 uint8_t onoff; local
914 onoff = (sc->sc_mcr & SER_DTR) ? 1 : 0;
915 ucom_dtr(sc, onoff);
917 onoff = (sc->sc_mcr & SER_RTS) ? 1 : 0;
918 ucom_rts(sc, onoff);
1015 ucom_ring(struct ucom_softc *sc, uint8_t onoff) argument
1017 DPRINTF("onoff = %d\n", onoff);
1019 if (onoff)
1026 ucom_break(struct ucom_softc *sc, uint8_t onoff) argument
1037 ucom_dtr(struct ucom_softc *sc, uint8_t onoff) argument
1048 ucom_rts(struct ucom_softc *sc, uint8_t onoff) argument
1067 uint8_t 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.c499 uvscom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument
503 DPRINTF("onoff = %d\n", onoff);
505 if (onoff)
514 uvscom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument
518 DPRINTF("onoff = %d\n", onoff);
520 if (onoff)
529 uvscom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument
533 DPRINTF("onoff
[all...]
H A Duchcom.c542 uchcom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument
549 if (onoff) {
633 uchcom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument
637 DPRINTF("onoff = %d\n", onoff);
639 sc->sc_dtr = onoff;
644 uchcom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument
648 DPRINTF("onoff = %d\n", onoff);
650 sc->sc_rts = onoff;
[all...]
/freebsd-9.3-release/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-9.3-release/crypto/openssl/fips/
H A Dfips.h68 int FIPS_mode_set(int onoff);
/freebsd-9.3-release/contrib/ipfilter/samples/
H A Dproxy.c142 int onoff, ofd, slen; local
209 onoff = 1;
210 if (ioctl(fd, SIOCSTLCK, &onoff) == 0) {
213 onoff = 0;
214 if (ioctl(fd, SIOCSTLCK, &onoff) != 0)
/freebsd-9.3-release/sys/sparc64/fhc/
H A Dclkbrd.c195 clkbrd_led_func(void *arg, int onoff) argument
204 if (onoff)
/freebsd-9.3-release/contrib/gcc/
H A Dflags.h132 extern void set_warn_strict_aliasing (int onoff);

Completed in 245 milliseconds

1234