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

1234

/freebsd-10.0-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-10.0-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-10.0-release/sys/dev/terasic/de4led/
H A Dterasic_de4led.c58 led_update(struct terasic_de4led_softc *sc, int bit, int onoff) argument
62 TERASIC_DE4LED_SETLED(sc, bit, onoff);
68 led_0(void *arg, int onoff) argument
71 led_update(arg, 0, onoff);
75 led_1(void *arg, int onoff) argument
78 led_update(arg, 1, onoff);
82 led_2(void *arg, int onoff) argument
85 led_update(arg, 2, onoff);
89 led_3(void *arg, int onoff) argument
92 led_update(arg, 3, onoff);
96 led_4(void *arg, int onoff) argument
103 led_5(void *arg, int onoff) argument
110 led_6(void *arg, int onoff) argument
117 led_7(void *arg, int onoff) argument
[all...]
H A Dterasic_de4led.h62 #define TERASIC_DE4LED_SETLED(sc, led, onoff) do { \
64 (sc)->tdl_bits |= ((onoff != 0) ? 1 : 0) << (led); \
/freebsd-10.0-release/usr.bin/systat/
H A Dnetcmds.c66 int onoff; member in struct:hitem
125 changeitems(const char *args, int onoff) argument
149 selectport(sp->s_port, onoff);
161 selecthost(&in, onoff);
196 int onoff; member in struct:pitem
200 selectport(long port, int onoff) argument
213 p->onoff = onoff;
222 p->onoff = onoff;
257 selecthost(struct in_addr *in, int onoff) argument
[all...]
/freebsd-10.0-release/contrib/apr-util/include/
H A Dapr_xlate.h88 * @param onoff Output: whether or not the conversion is single-byte-only
93 APU_DECLARE(apr_status_t) apr_xlate_sb_get(apr_xlate_t *convset, int *onoff);
/freebsd-10.0-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-10.0-release/contrib/apr-util/encoding/
H A Dapr_base64.c80 int onoff; local
84 rv = apr_xlate_sb_get(to_ascii, &onoff);
88 if (!onoff) { /* If conversion is not single-byte-only */
91 rv = apr_xlate_sb_get(to_ebcdic, &onoff);
95 if (!onoff) { /* If conversion is not single-byte-only */
/freebsd-10.0-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-10.0-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-10.0-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-10.0-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-10.0-release/sys/dev/gpio/
H A Dgpioled.c72 gpioled_control(void *priv, int onoff) argument
79 onoff ? GPIO_PIN_HIGH : GPIO_PIN_LOW);
/freebsd-10.0-release/sys/dev/netmap/
H A Dixgbe_netmap.h108 set_crcstrip(struct ixgbe_hw *hw, int onoff) argument
124 onoff ? "enter" : "exit", hl, rxc);
128 if (onoff && !ix_crcstrip) {
139 onoff ? "enter" : "exit", hl, rxc);
149 ixgbe_netmap_reg(struct ifnet *ifp, int onoff) argument
163 set_crcstrip(&adapter->hw, onoff);
164 if (onoff) { /* enable netmap mode */
188 set_crcstrip(&adapter->hw, onoff);
/freebsd-10.0-release/sys/dev/usb/serial/
H A Dusb_serial.c880 uint8_t onoff; local
921 onoff = (sc->sc_mcr & SER_DTR) ? 1 : 0;
922 ucom_dtr(sc, onoff);
924 onoff = (sc->sc_mcr & SER_RTS) ? 1 : 0;
925 ucom_rts(sc, onoff);
1022 ucom_ring(struct ucom_softc *sc, uint8_t onoff) argument
1024 DPRINTF("onoff = %d\n", onoff);
1026 if (onoff)
1033 ucom_break(struct ucom_softc *sc, uint8_t onoff) argument
1044 ucom_dtr(struct ucom_softc *sc, uint8_t onoff) argument
1055 ucom_rts(struct ucom_softc *sc, uint8_t onoff) argument
1074 uint8_t onoff; local
[all...]
H A Dubsa.c402 ubsa_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument
406 DPRINTF("onoff = %d\n", onoff);
408 ubsa_cfg_request(sc, UBSA_REG_DTR, onoff ? 1 : 0);
412 ubsa_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument
416 DPRINTF("onoff = %d\n", onoff);
418 ubsa_cfg_request(sc, UBSA_REG_RTS, onoff ? 1 : 0);
422 ubsa_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument
426 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.c549 uchcom_cfg_set_break(struct ucom_softc *ucom, uint8_t onoff) argument
556 if (onoff) {
640 uchcom_cfg_set_dtr(struct ucom_softc *ucom, uint8_t onoff) argument
644 DPRINTF("onoff = %d\n", onoff);
646 sc->sc_dtr = onoff;
651 uchcom_cfg_set_rts(struct ucom_softc *ucom, uint8_t onoff) argument
655 DPRINTF("onoff = %d\n", onoff);
657 sc->sc_rts = onoff;
[all...]
/freebsd-10.0-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-10.0-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)

Completed in 153 milliseconds

1234