Home
last modified time | relevance | path

Searched refs:onoff (Results 1 – 11 of 11) sorted by relevance

/haiku/src/bin/network/telnet/
H A Dsys_bsd.c380 int onoff; in TerminalNewMode() local
559 onoff = 0; in TerminalNewMode()
586 onoff = 1; in TerminalNewMode()
677 ioctl(tin, FIONBIO, (char *)&onoff); in TerminalNewMode()
678 ioctl(tout, FIONBIO, (char *)&onoff); in TerminalNewMode()
733 NetNonblockingIO(int fd, int onoff) in NetNonblockingIO() argument
735 ioctl(fd, FIONBIO, (char *)&onoff); in NetNonblockingIO()
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dmwlhal.h287 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);
H A Dmwlhal.c720 mwl_hal_setradio(struct mwl_hal *mh0, int onoff, MWL_HAL_PREAMBLE preamble) in mwl_hal_setradio() argument
730 if (onoff == 0) in mwl_hal_setradio()
734 pCmd->RadioOn = htole16(onoff); in mwl_hal_setradio()
1835 mwl_hal_setwmm(struct mwl_hal *mh0, int onoff) in mwl_hal_setwmm() argument
1844 pCmd->Action = htole16(onoff); in mwl_hal_setwmm()
/haiku/src/kits/network/libnetapi/
H A DNetEndpoint.cpp306 int onoff = (int) enable; in SetReuseAddr() local
307 return SetOption(SO_REUSEADDR, SOL_SOCKET, &onoff, sizeof(onoff)); in SetReuseAddr()
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malohal.c627 malo_hal_setradio(struct malo_hal *mh, int onoff, in malo_hal_setradio() argument
638 if (onoff == 0) in malo_hal_setradio()
642 cmd->radio_on = htole16(onoff); in malo_hal_setradio()
/haiku/src/add-ons/kernel/drivers/network/ether/virtio/
H A Dvirtio_net.cpp230 uint8 onoff; in virtio_net_ctrl_exec_cmd() member
237 s.onoff = value; in virtio_net_ctrl_exec_cmd()
244 status = get_memory_map(&s.onoff, sizeof(s.onoff), &entries[1], 1); in virtio_net_ctrl_exec_cmd()
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_proto.h160 void ieee80211_vap_set_shortslottime(struct ieee80211vap *, int onoff);
H A Dieee80211_proto.c1210 ieee80211_vap_set_shortslottime(struct ieee80211vap *vap, int onoff) in ieee80211_vap_set_shortslottime() argument
1219 if (onoff) in ieee80211_vap_set_shortslottime()
1225 "%s: called; onoff=%d\n", __func__, onoff); in ieee80211_vap_set_shortslottime()
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c829 iflib_netmap_register(struct netmap_adapter *na, int onoff) in iflib_netmap_register() argument
837 IFDI_CRCSTRIP_SET(ctx, onoff, iflib_crcstrip); in iflib_netmap_register()
849 if (onoff) { in iflib_netmap_register()
856 IFDI_CRCSTRIP_SET(ctx, onoff, iflib_crcstrip); // XXX why twice ? in iflib_netmap_register()
1322 iflib_netmap_intr(struct netmap_adapter *na, int onoff) in iflib_netmap_intr() argument
1327 if (onoff) { in iflib_netmap_intr()
4790 iflib_led_func(void *arg, int onoff) in iflib_led_func() argument
4795 IFDI_LED_FUNC(ctx, onoff); in iflib_led_func()
/haiku/src/add-ons/kernel/drivers/audio/ac97/
H A Dac97.c44 void ac97_amp_enable(ac97_dev *dev, bool onoff);
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A Dif_em.c4208 em_if_led_func(if_ctx_t ctx, int onoff) argument
4212 if (onoff) {