Searched defs:on (Results 1 - 25 of 203) sorted by relevance

123456789

/freebsd-head/sys/dev/rtwn/rtl8188e/
H A Dr88e_led.c54 r88e_set_led(struct rtwn_softc *sc, int led, int on) argument
58 if (!on) {
64 sc->ledlink = on; /* Save LED state. */
/freebsd-head/sys/dev/rtwn/rtl8192c/pci/
H A Dr92ce_led.c59 r92ce_set_led(struct rtwn_softc *sc, int led, int on) argument
64 on ? R92C_LEDCFG2_EN : R92C_LEDCFG2_DIS);
65 sc->ledlink = on; /* Save LED state. */
/freebsd-head/sys/dev/rtwn/rtl8812a/
H A Dr12a_led.c60 r12a_set_led(struct rtwn_softc *sc, int led, int on) argument
67 R12A_LEDCFG2_ENA | (on ? 0 : R92C_LEDCFG0_DIS));
68 sc->ledlink = on; /* Save LED state. */
/freebsd-head/sys/dev/rtwn/rtl8821a/
H A Dr21a_led.c60 r21a_set_led(struct rtwn_softc *sc, int led, int on) argument
64 R12A_LEDCFG2_ENA | (on ? 0 : R92C_LEDCFG0_DIS));
65 sc->ledlink = on; /* Save LED state. */
/freebsd-head/sys/dev/rtwn/rtl8192e/
H A Dr92e_led.c59 r92e_set_led(struct rtwn_softc *sc, int led, int on) argument
63 if (!on)
67 sc->ledlink = on; /* Save LED state. */
/freebsd-head/sys/dev/rtwn/rtl8192c/usb/
H A Dr92cu_led.c55 r92cu_set_led(struct rtwn_softc *sc, int led, int on) argument
61 if (!on)
64 sc->ledlink = on; /* Save LED state. */
/freebsd-head/sys/dev/ath/
H A Dif_ath_led.c182 * Blink the LED according to the specified on/off times.
185 ath_led_blink(struct ath_softc *sc, int on, int off) argument
187 DPRINTF(sc, ATH_DEBUG_LED, "%s: on %u off %u\n", __func__, on, off);
191 callout_reset(&sc->sc_ledtimer, on, ath_led_off, sc);
/freebsd-head/lib/libc/stdio/
H A Dsnprintf.c57 size_t on; local
62 on = n;
75 if (on > 0)
84 size_t on; local
90 on = n;
103 if (on > 0)
H A Dvsnprintf.c56 size_t on; local
62 on = n;
72 if (on > 0)
81 if (on > 0)
/freebsd-head/sys/dev/fb/
H A Dsplash_txt.c50 static int txt_splash(video_adapter_t * adp, const int on);
107 txt_splash(video_adapter_t *adp, const int on) argument
116 if (on) {
H A Dsplash.c212 splash(video_adapter_t *adp, int on) argument
215 return (*splash_decoder->splash)(adp, on);
/freebsd-head/crypto/openssl/crypto/bio/
H A Db_sock2.c37 * Returns the file descriptor on success or INVALID_SOCKET on failure. On
74 * Returns 1 on success or 0 on failure. On failure errno is set
79 const int on = 1; local
91 (const void *)&on, sizeof(on)) != 0) {
100 (const void *)&on, sizeof(on)) != 0) {
137 int on local
208 int on = 1; local
[all...]
/freebsd-head/usr.sbin/bhyve/
H A Ddbgport.c70 int on = 1; local
92 &on, sizeof(on));
95 &on, sizeof(on));
/freebsd-head/bin/stty/
H A Dprint.c90 #define on(f) ((tmp & (f)) != 0) macro
92 if (fmt >= BSD || on(f) != (d)) \
93 bput((n) + on(f));
168 bput("-parenb" + on(PARENB));
187 if (on(CNO_RTSDTR))
/freebsd-head/contrib/ncurses/ncurses/base/
H A Dlib_bkgd.c35 * and: Thomas E. Dickey 1996-on *
56 attr_t on = AttrOf(CHDEREF(ch)); local
59 toggle_attr_on(WINDOW_ATTRS(win), on); local
/freebsd-head/contrib/opie/
H A Dopiepasswd.c20 hard coding the length. Unlock user on failed lookup.
24 strikes on prompts. Use opiepasswd()'s new calling
244 int on; local
250 on = opiegetsequence(&opie);
302 if ((nn != on) || strcmp(oseed, nseed))
343 fprintf(stderr, "Sorry, but you don't seem to be on the console or a secure terminal.\n");
/freebsd-head/crypto/heimdal/lib/roken/
H A Dsocket.c225 int on = restr ? IP_PORTRANGE_HIGH : IP_PORTRANGE_DEFAULT; local
226 setsockopt (sock, IPPROTO_IP, IP_PORTRANGE, &on, sizeof(on));
231 int on = restr ? IPV6_PORTRANGE_HIGH : IPV6_PORTRANGE_DEFAULT; local
232 setsockopt (sock, IPPROTO_IPV6, IPV6_PORTRANGE, &on, sizeof(on));
238 * Enable debug on `sock'.
245 int on = 1; local
246 setsockopt (sock, SOL_SOCKET, SO_DEBUG, (void *) &on, sizeof (on));
[all...]
/freebsd-head/contrib/apr/network_io/unix/
H A Dsockopt.c11 * distributed under the License is distributed on an "AS IS" BASIS,
35 #error Please teach APR how to make sockets blocking on your platform.
41 int on = 0;
42 if (setsockopt(sd, SOL_SOCKET, SO_NONBLOCK, &on, sizeof(int)) < 0)
61 #error Please teach APR how to make sockets non-blocking on your platform.
67 int on = 1;
68 if (setsockopt(sd, SOL_SOCKET, SO_NONBLOCK, &on, sizeof(int)) < 0)
83 * We want to avoid calling fcntl more than necessary on the
114 apr_int32_t opt, apr_int32_t on)
119 if (on)
113 apr_socket_opt_set(apr_socket_t *sock, apr_int32_t opt, apr_int32_t on) argument
348 apr_socket_opt_get(apr_socket_t *sock, apr_int32_t opt, apr_int32_t *on) argument
[all...]
/freebsd-head/usr.bin/grdc/
H A Dgrdc.c244 standt(int on) argument
246 if (on) {
/freebsd-head/contrib/ntp/lib/isc/win32/
H A Dnet.c142 int on; local
172 on = 1;
173 if (setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, (const char *)&on,
174 sizeof(on)) < 0) {
196 on = 1;
197 if (setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, (const char *)&on,
198 sizeof(on)) < 0) {
220 int on; local
251 on = 1;
252 if (setsockopt(s, IPPROTO_IPV6, optname, (const char *) &on,
[all...]
/freebsd-head/bin/ed/
H A Dbuf.c55 seek_write = 1; /* force seek on write */
163 static long on = 0; local
166 if (n > on)
167 if (n <= (on + addr_last) >> 1)
168 for (; on < n; on++)
172 for (on = addr_last; on > n; on--)
176 if (n >= on >>
[all...]
/freebsd-head/usr.bin/m4/
H A Dlook.c251 mark_traced(const char *name, int on) argument
257 if (on)
266 p->trace_flags = on;
284 * on the stack.
/freebsd-head/sys/dev/bwn/
H A Dif_bwn_phy_n.c207 bwn_phy_n_rf_onoff(struct bwn_mac *mac, int on) argument
210 bwn_nphy_op_software_rfkill(mac, on);
215 bwn_phy_n_switch_analog(struct bwn_mac *mac, int on) argument
218 bwn_nphy_op_switch_analog(mac, on);
/freebsd-head/sys/netsmb/
H A Dsmb_dev.c240 int on; local
244 on = fl->ioc_flags & SMBV_PERMANENT;
252 if (on && (vcp->obj.co_flags & SMBV_PERMANENT) == 0) {
255 } else if (!on && (vcp->obj.co_flags & SMBV_PERMANENT)) {
264 on = fl->ioc_flags & SMBS_PERMANENT;
272 if (on && (ssp->obj.co_flags & SMBS_PERMANENT) == 0) {
275 } else if (!on && (ssp->obj.co_flags & SMBS_PERMANENT)) {
/freebsd-head/sys/arm/freescale/imx/
H A Dimx6_ahci.c73 imx6_ahci_phy_ctrl(struct ahci_controller* sc, uint32_t bitmask, bool on) argument
80 if (on) {
90 if(state == on) {
115 "%s: timeout on SATA_P0PHYCR_CR_CAP_ADDR=1\n",
123 "%s: timeout on SATA_P0PHYCR_CR_CAP_ADDR=0\n",
139 device_printf(sc->dev, "%s: error on imx6_ahci_phy_addr\n",
149 "%s: error on SATA_P0PHYCR_CR_CAP_DATA=1\n", __FUNCTION__);
154 "%s: error on SATA_P0PHYCR_CR_CAP_DATA=0\n", __FUNCTION__);
167 device_printf(sc->dev, "%s: error on SATA_P0PHYCR_CR_WRITE=1\n",
174 device_printf(sc->dev, "%s: error on SATA_P0PHYCR_CR_WRIT
[all...]

Completed in 110 milliseconds

123456789