Home
last modified time | relevance | path

Searched refs:rts (Results 1 – 25 of 57) sorted by relevance

123

/drivers/net/irda/
Desi-sir.c101 int dtr, rts; in esi_change_speed() local
106 rts = FALSE; in esi_change_speed()
109 dtr = rts = TRUE; in esi_change_speed()
117 rts = TRUE; in esi_change_speed()
122 sirdev_set_dtr_rts(dev, dtr, rts); in esi_change_speed()
Dsir-dev.h94 int (*set_dtr_rts)(struct sir_dev *dev, int dtr, int rts);
118 extern int sirdev_set_dtr_rts(struct sir_dev *dev, int dtr, int rts);
145 static inline int sirdev_schedule_dtr_rts(struct sir_dev *dev, int dtr, int rts) in sirdev_schedule_dtr_rts() argument
149 dtrrts = ((dtr) ? 0x02 : 0x00) | ((rts) ? 0x01 : 0x00); in sirdev_schedule_dtr_rts()
Dirtty-sir.c145 static int irtty_set_dtr_rts(struct sir_dev *dev, int dtr, int rts) in irtty_set_dtr_rts() argument
154 if (rts) in irtty_set_dtr_rts()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac_wx.c245 if (wrqu->rts.disabled || !wrqu->rts.fixed) in ieee80211_wx_set_rts()
246 ieee->rts = DEFAULT_RTS_THRESHOLD; in ieee80211_wx_set_rts()
249 if (wrqu->rts.value < MIN_RTS_THRESHOLD || in ieee80211_wx_set_rts()
250 wrqu->rts.value > MAX_RTS_THRESHOLD) in ieee80211_wx_set_rts()
252 ieee->rts = wrqu->rts.value; in ieee80211_wx_set_rts()
261 wrqu->rts.value = ieee->rts; in ieee80211_wx_get_rts()
262 wrqu->rts.fixed = 0; /* no auto select */ in ieee80211_wx_get_rts()
263 wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD); in ieee80211_wx_get_rts()
/drivers/staging/rtl8192e/
Drtllib_softmac_wx.c259 if (wrqu->rts.disabled || !wrqu->rts.fixed) in rtllib_wx_set_rts()
260 ieee->rts = DEFAULT_RTS_THRESHOLD; in rtllib_wx_set_rts()
262 if (wrqu->rts.value < MIN_RTS_THRESHOLD || in rtllib_wx_set_rts()
263 wrqu->rts.value > MAX_RTS_THRESHOLD) in rtllib_wx_set_rts()
265 ieee->rts = wrqu->rts.value; in rtllib_wx_set_rts()
275 wrqu->rts.value = ieee->rts; in rtllib_wx_get_rts()
276 wrqu->rts.fixed = 0; /* no auto select */ in rtllib_wx_get_rts()
277 wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD); in rtllib_wx_get_rts()
/drivers/usb/serial/
Dopticon.c55 bool rts; member
193 priv->rts = false; in opticon_open()
415 if (priv->rts) in opticon_tiocmget()
431 bool rts; in opticon_tiocmset() local
439 rts = priv->rts; in opticon_tiocmset()
441 priv->rts = true; in opticon_tiocmset()
443 priv->rts = false; in opticon_tiocmset()
444 changed = rts ^ priv->rts; in opticon_tiocmset()
451 return send_control_msg(port, CONTROL_RTS, !rts); in opticon_tiocmset()
Dkobil_sct.c530 int rts = 0; in kobil_tiocmset() local
548 rts = 1; in kobil_tiocmset()
552 rts = 0; in kobil_tiocmset()
573 if (rts != 0) in kobil_tiocmset()
583 ((rts != 0) ? SUSBCR_SSL_SETRTS : SUSBCR_SSL_CLRRTS), in kobil_tiocmset()
Dbelkin_sa.c484 int rts = 0; in belkin_sa_tiocmset() local
494 rts = 1; in belkin_sa_tiocmset()
502 rts = 0; in belkin_sa_tiocmset()
512 retval = BSA_USB_CMD(BELKIN_SA_SET_RTS_REQUEST, rts); in belkin_sa_tiocmset()
Dkeyspan_usa28msg.h115 rts, // 1=on, 0=off member
Dkeyspan_usa49msg.h157 rts, // 1=active, 0=inactive member
Dkeyspan_usa90msg.h83 rts, // 1=on, 0=off member
Ddigi_acceleport.c1508 unsigned int rts; in digi_read_oob_callback() local
1534 rts = 0; in digi_read_oob_callback()
1536 rts = tty->termios->c_cflag & CRTSCTS; in digi_read_oob_callback()
1544 if (rts) { in digi_read_oob_callback()
1551 if (rts) in digi_read_oob_callback()
/drivers/block/
Dswim_asm.S57 rts
146 rts
150 rts
160 rts
243 rts
247 rts
/drivers/tty/serial/
Dmax3100.c109 int rts; /* rts status */ member
267 int conf, cconf, rts, crts; in max3100_work() local
278 rts = s->rts; in max3100_work()
286 (s->rts ? MAX3100_RTS : 0), &rx); in max3100_work()
308 tx |= MAX3100_WD | (s->rts ? MAX3100_RTS : 0); in max3100_work()
411 int rts; in max3100_set_mctrl() local
415 rts = (mctrl & TIOCM_RTS) > 0; in max3100_set_mctrl()
418 if (s->rts != rts) { in max3100_set_mctrl()
419 s->rts = rts; in max3100_set_mctrl()
604 s->rts = 0; in max3100_startup()
/drivers/staging/rtl8187se/
Dr8180_wx.c741 if (wrqu->rts.disabled) in r8180_wx_set_rts()
742 priv->rts = DEFAULT_RTS_THRESHOLD; in r8180_wx_set_rts()
744 if (wrqu->rts.value < MIN_RTS_THRESHOLD || in r8180_wx_set_rts()
745 wrqu->rts.value > MAX_RTS_THRESHOLD) in r8180_wx_set_rts()
748 priv->rts = wrqu->rts.value; in r8180_wx_set_rts()
761 wrqu->rts.value = priv->rts; in r8180_wx_get_rts()
762 wrqu->rts.fixed = 0; /* no auto select */ in r8180_wx_get_rts()
763 wrqu->rts.disabled = (wrqu->rts.value == 0); in r8180_wx_get_rts()
/drivers/tty/
Dmoxa.c1258 int flag = 0, dtr, rts; in moxa_tiocmget() local
1260 MoxaPortGetLineOut(ch, &dtr, &rts); in moxa_tiocmget()
1263 if (rts) in moxa_tiocmget()
1279 int dtr, rts; in moxa_tiocmset() local
1288 MoxaPortGetLineOut(ch, &dtr, &rts); in moxa_tiocmset()
1290 rts = 1; in moxa_tiocmset()
1294 rts = 0; in moxa_tiocmset()
1297 MoxaPortLineCtrl(ch, dtr, rts); in moxa_tiocmset()
1469 int rts, cts, txflow, rxflow, xany, baud; in moxa_set_tty_param() local
1471 rts = cts = txflow = rxflow = xany = 0; in moxa_set_tty_param()
[all …]
/drivers/net/wan/
Dwanxlfw.S428 rts
443 rts
482 tx_ret: rts
558 rx_ret: rts
599 tx_end_ret: rts
631 rts
768 rts
826 rts
/drivers/net/wireless/wl1251/
Dacx.c472 struct acx_rts_threshold *rts; in wl1251_acx_rts_threshold() local
477 rts = kzalloc(sizeof(*rts), GFP_KERNEL); in wl1251_acx_rts_threshold()
478 if (!rts) { in wl1251_acx_rts_threshold()
483 rts->threshold = rts_threshold; in wl1251_acx_rts_threshold()
485 ret = wl1251_cmd_configure(wl, DOT11_RTS_THRESHOLD, rts, sizeof(*rts)); in wl1251_acx_rts_threshold()
492 kfree(rts); in wl1251_acx_rts_threshold()
/drivers/net/wireless/hostap/
Dhostap_ioctl.c538 struct iw_param *rts, char *extra) in prism2_ioctl_siwrts() argument
547 if (rts->disabled) in prism2_ioctl_siwrts()
549 else if (rts->value < 0 || rts->value > 2347) in prism2_ioctl_siwrts()
552 val = cpu_to_le16(rts->value); in prism2_ioctl_siwrts()
558 local->rts_threshold = rts->value; in prism2_ioctl_siwrts()
565 struct iw_param *rts, char *extra) in prism2_ioctl_giwrts() argument
578 rts->value = le16_to_cpu(val); in prism2_ioctl_giwrts()
579 rts->disabled = (rts->value == 2347); in prism2_ioctl_giwrts()
580 rts->fixed = 1; in prism2_ioctl_giwrts()
588 struct iw_param *rts, char *extra) in prism2_ioctl_siwfrag() argument
[all …]
/drivers/net/wireless/wl12xx/
Dacx.c286 struct acx_rts_threshold *rts; in wl1271_acx_rts_threshold() local
298 rts = kzalloc(sizeof(*rts), GFP_KERNEL); in wl1271_acx_rts_threshold()
299 if (!rts) { in wl1271_acx_rts_threshold()
304 rts->role_id = wlvif->role_id; in wl1271_acx_rts_threshold()
305 rts->threshold = cpu_to_le16((u16)rts_threshold); in wl1271_acx_rts_threshold()
307 ret = wl1271_cmd_configure(wl, DOT11_RTS_THRESHOLD, rts, sizeof(*rts)); in wl1271_acx_rts_threshold()
314 kfree(rts); in wl1271_acx_rts_threshold()
/drivers/net/wireless/brcm80211/brcmsmac/
Dampdu.c529 struct ieee80211_rts *rts; in brcms_c_sendampdu() local
634 rts = (struct ieee80211_rts *)&txh->rts_frame; in brcms_c_sendampdu()
636 if (ieee80211_is_rts(rts->frame_control)) { in brcms_c_sendampdu()
640 if (ieee80211_is_cts(rts->frame_control)) { in brcms_c_sendampdu()
825 rts = (struct ieee80211_rts *)&txh->rts_frame; in brcms_c_sendampdu()
839 rts->duration = cpu_to_le16(durid); in brcms_c_sendampdu()
848 txh->TxFesTimeNormal = rts->duration; in brcms_c_sendampdu()
/drivers/net/wireless/b43/
Dxmit.c465 struct ieee80211_rts *uninitialized_var(rts); in b43_generate_txhdr()
469 rts = (struct ieee80211_rts *) in b43_generate_txhdr()
473 rts = (struct ieee80211_rts *) in b43_generate_txhdr()
477 rts = (struct ieee80211_rts *) in b43_generate_txhdr()
483 info, rts); in b43_generate_txhdr()
/drivers/net/wireless/
Dzd1201.c1308 struct iw_param *rts, char *extra) in zd1201_set_rts() argument
1312 short val = rts->value; in zd1201_set_rts()
1314 if (rts->disabled || !rts->fixed) in zd1201_set_rts()
1328 struct iw_param *rts, char *extra) in zd1201_get_rts() argument
1337 rts->value = rtst; in zd1201_get_rts()
1338 rts->disabled = (rts->value == ZD1201_RTSMAX); in zd1201_get_rts()
1339 rts->fixed = 1; in zd1201_get_rts()
/drivers/staging/wlags49_h2/
Dwl_wext.c2050 …threshold (struct net_device *dev, struct iw_request_info *info, struct iw_param *rts, char *extra) in wireless_set_rts_threshold() argument
2055 int rthr = rts->value; in wireless_set_rts_threshold()
2067 if(rts->fixed == 0) { in wireless_set_rts_threshold()
2072 if( rts->disabled ) { in wireless_set_rts_threshold()
2121 …threshold (struct net_device *dev, struct iw_request_info *info, struct iw_param *rts, char *extra) in wireless_get_rts_threshold() argument
2140 rts->value = lp->RTSThreshold; in wireless_get_rts_threshold()
2142 rts->disabled = ( rts->value == 2347 ); in wireless_get_rts_threshold()
2144 rts->fixed = 1; in wireless_get_rts_threshold()
/drivers/staging/wlan-ng/
Dp80211netdev.h120 u32 rts; member

123