Home
last modified time | relevance | path

Searched refs:rts (Results 1 – 25 of 54) 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/usb/serial/
Dopticon.c45 bool rts; member
136 priv->rts = false; in opticon_open()
298 if (priv->rts) in opticon_tiocmget()
314 bool rts; in opticon_tiocmset() local
321 rts = priv->rts; in opticon_tiocmset()
323 priv->rts = true; in opticon_tiocmset()
325 priv->rts = false; in opticon_tiocmset()
326 changed = rts ^ priv->rts; in opticon_tiocmset()
332 ret = send_control_msg(port, CONTROL_RTS, !rts); in opticon_tiocmset()
Dkobil_sct.c417 int rts = 0; in kobil_tiocmset() local
435 rts = 1; in kobil_tiocmset()
439 rts = 0; in kobil_tiocmset()
458 if (rts != 0) in kobil_tiocmset()
466 ((rts != 0) ? SUSBCR_SSL_SETRTS : SUSBCR_SSL_CLRRTS), in kobil_tiocmset()
Dbelkin_sa.c457 int rts = 0; in belkin_sa_tiocmset() local
465 rts = 1; in belkin_sa_tiocmset()
473 rts = 0; in belkin_sa_tiocmset()
483 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.c1475 unsigned int rts; in digi_read_oob_callback() local
1498 rts = 0; in digi_read_oob_callback()
1500 rts = tty->termios.c_cflag & CRTSCTS; in digi_read_oob_callback()
1508 if (rts) { in digi_read_oob_callback()
1515 if (rts) in digi_read_oob_callback()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac_wx.c246 if (wrqu->rts.disabled || !wrqu->rts.fixed) in ieee80211_wx_set_rts()
247 ieee->rts = DEFAULT_RTS_THRESHOLD; in ieee80211_wx_set_rts()
250 if (wrqu->rts.value < MIN_RTS_THRESHOLD || in ieee80211_wx_set_rts()
251 wrqu->rts.value > MAX_RTS_THRESHOLD) in ieee80211_wx_set_rts()
253 ieee->rts = wrqu->rts.value; in ieee80211_wx_set_rts()
262 wrqu->rts.value = ieee->rts; in ieee80211_wx_get_rts()
263 wrqu->rts.fixed = 0; /* no auto select */ in ieee80211_wx_get_rts()
264 wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD); in ieee80211_wx_get_rts()
/drivers/staging/rtl8192e/
Drtllib_softmac_wx.c260 if (wrqu->rts.disabled || !wrqu->rts.fixed) in rtllib_wx_set_rts()
261 ieee->rts = DEFAULT_RTS_THRESHOLD; in rtllib_wx_set_rts()
263 if (wrqu->rts.value < MIN_RTS_THRESHOLD || in rtllib_wx_set_rts()
264 wrqu->rts.value > MAX_RTS_THRESHOLD) in rtllib_wx_set_rts()
266 ieee->rts = wrqu->rts.value; in rtllib_wx_set_rts()
276 wrqu->rts.value = ieee->rts; in rtllib_wx_get_rts()
277 wrqu->rts.fixed = 0; /* no auto select */ in rtllib_wx_get_rts()
278 wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD); in rtllib_wx_get_rts()
/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
266 int conf, cconf, rts, crts; in max3100_work() local
277 rts = s->rts; in max3100_work()
285 (s->rts ? MAX3100_RTS : 0), &rx); in max3100_work()
307 tx |= MAX3100_WD | (s->rts ? MAX3100_RTS : 0); in max3100_work()
410 int rts; in max3100_set_mctrl() local
414 rts = (mctrl & TIOCM_RTS) > 0; in max3100_set_mctrl()
417 if (s->rts != rts) { in max3100_set_mctrl()
418 s->rts = rts; in max3100_set_mctrl()
603 s->rts = 0; in max3100_startup()
/drivers/staging/rtl8187se/
Dr8180_wx.c739 if (wrqu->rts.disabled) in r8180_wx_set_rts()
740 priv->rts = DEFAULT_RTS_THRESHOLD; in r8180_wx_set_rts()
742 if (wrqu->rts.value < MIN_RTS_THRESHOLD || in r8180_wx_set_rts()
743 wrqu->rts.value > MAX_RTS_THRESHOLD) in r8180_wx_set_rts()
746 priv->rts = wrqu->rts.value; in r8180_wx_set_rts()
759 wrqu->rts.value = priv->rts; in r8180_wx_get_rts()
760 wrqu->rts.fixed = 0; /* no auto select */ in r8180_wx_get_rts()
761 wrqu->rts.disabled = (wrqu->rts.value == 0); in r8180_wx_get_rts()
/drivers/net/wan/
Dwanxlfw.S429 rts
444 rts
483 tx_ret: rts
559 rx_ret: rts
600 tx_end_ret: rts
632 rts
769 rts
827 rts
/drivers/tty/
Dmoxa.c1275 int flag = 0, dtr, rts; in moxa_tiocmget() local
1277 MoxaPortGetLineOut(ch, &dtr, &rts); in moxa_tiocmget()
1280 if (rts) in moxa_tiocmget()
1296 int dtr, rts; in moxa_tiocmset() local
1305 MoxaPortGetLineOut(ch, &dtr, &rts); in moxa_tiocmset()
1307 rts = 1; in moxa_tiocmset()
1311 rts = 0; in moxa_tiocmset()
1314 MoxaPortLineCtrl(ch, dtr, rts); in moxa_tiocmset()
1483 int rts, cts, txflow, rxflow, xany, baud; in moxa_set_tty_param() local
1485 rts = cts = txflow = rxflow = xany = 0; in moxa_set_tty_param()
[all …]
/drivers/net/wireless/ti/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.c539 struct iw_param *rts, char *extra) in prism2_ioctl_siwrts() argument
548 if (rts->disabled) in prism2_ioctl_siwrts()
550 else if (rts->value < 0 || rts->value > 2347) in prism2_ioctl_siwrts()
553 val = cpu_to_le16(rts->value); in prism2_ioctl_siwrts()
559 local->rts_threshold = rts->value; in prism2_ioctl_siwrts()
566 struct iw_param *rts, char *extra) in prism2_ioctl_giwrts() argument
579 rts->value = le16_to_cpu(val); in prism2_ioctl_giwrts()
580 rts->disabled = (rts->value == 2347); in prism2_ioctl_giwrts()
581 rts->fixed = 1; in prism2_ioctl_giwrts()
589 struct iw_param *rts, char *extra) in prism2_ioctl_siwfrag() argument
[all …]
/drivers/net/wireless/b43/
Dxmit.c466 struct ieee80211_rts *uninitialized_var(rts); in b43_generate_txhdr()
470 rts = (struct ieee80211_rts *) in b43_generate_txhdr()
474 rts = (struct ieee80211_rts *) in b43_generate_txhdr()
478 rts = (struct ieee80211_rts *) in b43_generate_txhdr()
484 info, rts); in b43_generate_txhdr()
/drivers/net/wireless/ti/wlcore/
Dacx.c293 struct acx_rts_threshold *rts; in wl1271_acx_rts_threshold() local
305 rts = kzalloc(sizeof(*rts), GFP_KERNEL); in wl1271_acx_rts_threshold()
306 if (!rts) { in wl1271_acx_rts_threshold()
311 rts->role_id = wlvif->role_id; in wl1271_acx_rts_threshold()
312 rts->threshold = cpu_to_le16((u16)rts_threshold); in wl1271_acx_rts_threshold()
314 ret = wl1271_cmd_configure(wl, DOT11_RTS_THRESHOLD, rts, sizeof(*rts)); in wl1271_acx_rts_threshold()
321 kfree(rts); in wl1271_acx_rts_threshold()
/drivers/net/wireless/brcm80211/brcmsmac/
Dampdu.c642 struct ieee80211_rts *rts; in brcms_c_ampdu_finalize() local
687 rts = (struct ieee80211_rts *)&txh->rts_frame; in brcms_c_ampdu_finalize()
696 if (ieee80211_is_rts(rts->frame_control)) { in brcms_c_ampdu_finalize()
700 if (ieee80211_is_cts(rts->frame_control)) { in brcms_c_ampdu_finalize()
794 rts->duration = cpu_to_le16(durid); in brcms_c_ampdu_finalize()
803 txh->TxFesTimeNormal = rts->duration; in brcms_c_ampdu_finalize()
/drivers/net/wireless/
Dzd1201.c1305 struct iw_param *rts, char *extra) in zd1201_set_rts() argument
1309 short val = rts->value; in zd1201_set_rts()
1311 if (rts->disabled || !rts->fixed) in zd1201_set_rts()
1325 struct iw_param *rts, char *extra) in zd1201_get_rts() argument
1334 rts->value = rtst; in zd1201_get_rts()
1335 rts->disabled = (rts->value == ZD1201_RTSMAX); in zd1201_get_rts()
1336 rts->fixed = 1; in zd1201_get_rts()
/drivers/staging/wlags49_h2/
Dwl_wext.c2049 …threshold (struct net_device *dev, struct iw_request_info *info, struct iw_param *rts, char *extra) in wireless_set_rts_threshold() argument
2054 int rthr = rts->value; in wireless_set_rts_threshold()
2066 if(rts->fixed == 0) { in wireless_set_rts_threshold()
2071 if( rts->disabled ) { in wireless_set_rts_threshold()
2120 …threshold (struct net_device *dev, struct iw_request_info *info, struct iw_param *rts, char *extra) in wireless_get_rts_threshold() argument
2139 rts->value = lp->RTSThreshold; in wireless_get_rts_threshold()
2141 rts->disabled = ( rts->value == 2347 ); in wireless_get_rts_threshold()
2143 rts->fixed = 1; in wireless_get_rts_threshold()
/drivers/staging/wlan-ng/
Dp80211netdev.h120 u32 rts; member

123