Home
last modified time | relevance | path

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

12

/drivers/usb/serial/
A Dopticon.c41 bool rts; member
135 priv->rts = false; in opticon_open()
312 if (priv->rts) in opticon_tiocmget()
328 bool rts; in opticon_tiocmset() local
335 rts = priv->rts; in opticon_tiocmset()
337 priv->rts = true; in opticon_tiocmset()
339 priv->rts = false; in opticon_tiocmset()
340 changed = rts ^ priv->rts; in opticon_tiocmset()
346 ret = send_control_msg(port, CONTROL_RTS, !rts); in opticon_tiocmset()
A Dmxuport.c772 u8 rts; in mxuport_set_termios_flow() local
801 rts = MX_RTS_NO_CHANGE; in mxuport_set_termios_flow()
807 rts = MX_RTS_HW; in mxuport_set_termios_flow()
809 rts = MX_RTS_ENABLE; in mxuport_set_termios_flow()
816 rts = MX_RTS_HW; in mxuport_set_termios_flow()
818 rts = MX_RTS_ENABLE; in mxuport_set_termios_flow()
823 rts = MX_RTS_DISABLE; in mxuport_set_termios_flow()
827 if (rts != MX_RTS_NO_CHANGE) in mxuport_set_termios_flow()
828 err = mxuport_set_rts(port, rts); in mxuport_set_termios_flow()
A Dkobil_sct.c423 int rts = 0; in kobil_tiocmset() local
434 rts = 1; in kobil_tiocmset()
438 rts = 0; in kobil_tiocmset()
457 if (rts != 0) in kobil_tiocmset()
465 ((rts != 0) ? SUSBCR_SSL_SETRTS : SUSBCR_SSL_CLRRTS), in kobil_tiocmset()
A Dbelkin_sa.c439 int rts = 0; in belkin_sa_tiocmset() local
447 rts = 1; in belkin_sa_tiocmset()
455 rts = 0; in belkin_sa_tiocmset()
465 retval = BSA_USB_CMD(BELKIN_SA_SET_RTS_REQUEST, rts); in belkin_sa_tiocmset()
A Dkeyspan_usa28msg.h116 rts, // 1=on, 0=off member
A Dcp210x.c298 bool rts; member
1185 port_priv->rts = false; in cp210x_set_flow_control()
1188 port_priv->rts = true; in cp210x_set_flow_control()
1211 if (port_priv->rts) in cp210x_set_flow_control()
1218 if (port_priv->rts) in cp210x_set_flow_control()
1348 port_priv->rts = true; in cp210x_tiocmset_port()
1358 port_priv->rts = false; in cp210x_tiocmset_port()
1388 if (port_priv->rts) in cp210x_tiocmset_port()
A Dkeyspan_usa49msg.h158 rts, // 1=active, 0=inactive member
A Dkeyspan_usa90msg.h84 rts, // 1=on, 0=off member
A Ddigi_acceleport.c1455 unsigned int rts; in digi_read_oob_callback() local
1481 rts = 0; in digi_read_oob_callback()
1483 rts = C_CRTSCTS(tty); in digi_read_oob_callback()
1492 if (rts) in digi_read_oob_callback()
/drivers/block/
A Dswim_asm.S53 rts
142 rts
146 rts
156 rts
239 rts
243 rts
/drivers/tty/serial/
A Dmax3100.c91 int rts; /* rts status */ member
262 (s->rts ? MAX3100_RTS : 0), &rx); in max3100_work()
281 tx |= MAX3100_WD | (s->rts ? MAX3100_RTS : 0); in max3100_work()
385 int loopback, rts; in max3100_set_mctrl() local
390 rts = (mctrl & TIOCM_RTS) > 0; in max3100_set_mctrl()
397 if (s->rts != rts) { in max3100_set_mctrl()
398 s->rts = rts; in max3100_set_mctrl()
566 s->rts = 0; in max3100_startup()
A Dst-asc.c37 struct gpio_desc *rts; member
368 if (!ascport->rts) in asc_set_mctrl()
375 gpiod_set_value(ascport->rts, mctrl & TIOCM_RTS); in asc_set_mctrl()
521 if (ascport->rts) { in asc_set_termios()
527 if (!ascport->rts && ascport->states[NO_HW_FLOWCTRL]) in asc_set_termios()
597 ascport->rts = gpiod; in asc_set_termios()
600 devm_gpiod_put(port->dev, ascport->rts); in asc_set_termios()
601 ascport->rts = NULL; in asc_set_termios()
768 asc_ports[id].rts = NULL; in asc_of_get_asc_port()
/drivers/net/wan/
A Dwanxlfw.S427 rts
442 rts
481 tx_ret: rts
557 rx_ret: rts
598 tx_end_ret: rts
630 rts
767 rts
825 rts
A Dixp4xx_hss.c268 struct gpio_desc *rts; member
1109 gpiod_set_value(port->rts, 1); in hss_hdlc_open()
1200 gpiod_set_value(port->rts, 0); in hss_hdlc_close()
1475 port->rts = devm_gpiod_get(dev, "rts", GPIOD_OUT_LOW); in ixp4xx_hss_probe()
1476 if (IS_ERR(port->rts)) in ixp4xx_hss_probe()
1477 return dev_err_probe(dev, PTR_ERR(port->rts), "unable to get RTS GPIO\n"); in ixp4xx_hss_probe()
/drivers/net/wireless/ti/wl1251/
A Dacx.c439 struct acx_rts_threshold *rts; in wl1251_acx_rts_threshold() local
444 rts = kzalloc(sizeof(*rts), GFP_KERNEL); in wl1251_acx_rts_threshold()
445 if (!rts) in wl1251_acx_rts_threshold()
448 rts->threshold = rts_threshold; in wl1251_acx_rts_threshold()
450 ret = wl1251_cmd_configure(wl, DOT11_RTS_THRESHOLD, rts, sizeof(*rts)); in wl1251_acx_rts_threshold()
457 kfree(rts); in wl1251_acx_rts_threshold()
/drivers/net/wireless/broadcom/b43/
A Dxmit.c461 struct ieee80211_rts *rts; in b43_generate_txhdr() local
465 rts = (struct ieee80211_rts *) in b43_generate_txhdr()
469 rts = (struct ieee80211_rts *) in b43_generate_txhdr()
473 rts = (struct ieee80211_rts *) in b43_generate_txhdr()
479 info, rts); in b43_generate_txhdr()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
A Dampdu.c610 struct ieee80211_rts *rts; in brcms_c_ampdu_finalize() local
655 rts = (struct ieee80211_rts *)&txh->rts_frame; in brcms_c_ampdu_finalize()
664 if (ieee80211_is_rts(rts->frame_control)) { in brcms_c_ampdu_finalize()
668 if (ieee80211_is_cts(rts->frame_control)) { in brcms_c_ampdu_finalize()
759 rts->duration = cpu_to_le16(durid); in brcms_c_ampdu_finalize()
768 txh->TxFesTimeNormal = rts->duration; in brcms_c_ampdu_finalize()
A Dmain.c6171 struct ieee80211_rts *rts = NULL; in brcms_c_d11hdrs_mac80211() local
6579 rts = (struct ieee80211_rts *)&txh->rts_frame; in brcms_c_d11hdrs_mac80211()
6584 rts->duration = cpu_to_le16(durid); in brcms_c_d11hdrs_mac80211()
6593 rts->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | in brcms_c_d11hdrs_mac80211()
6596 memcpy(&rts->ra, &h->addr2, ETH_ALEN); in brcms_c_d11hdrs_mac80211()
6598 rts->frame_control = cpu_to_le16(IEEE80211_FTYPE_CTL | in brcms_c_d11hdrs_mac80211()
6601 memcpy(&rts->ra, &h->addr1, ETH_ALEN); in brcms_c_d11hdrs_mac80211()
6602 memcpy(&rts->ta, &h->addr2, ETH_ALEN); in brcms_c_d11hdrs_mac80211()
6706 if (rts) { in brcms_c_d11hdrs_mac80211()
6715 dur += le16_to_cpu(rts->duration); in brcms_c_d11hdrs_mac80211()
/drivers/net/wireless/ti/wlcore/
A Dacx.c279 struct acx_rts_threshold *rts; in wl1271_acx_rts_threshold() local
291 rts = kzalloc(sizeof(*rts), GFP_KERNEL); in wl1271_acx_rts_threshold()
292 if (!rts) { in wl1271_acx_rts_threshold()
297 rts->role_id = wlvif->role_id; in wl1271_acx_rts_threshold()
298 rts->threshold = cpu_to_le16((u16)rts_threshold); in wl1271_acx_rts_threshold()
300 ret = wl1271_cmd_configure(wl, DOT11_RTS_THRESHOLD, rts, sizeof(*rts)); in wl1271_acx_rts_threshold()
307 kfree(rts); in wl1271_acx_rts_threshold()
/drivers/net/wireless/realtek/rtw88/
A Dtx.c65 le32_encode_bits(pkt_info->rts, RTW_TX_DESC_W3_USE_RTS) | in rtw_tx_fill_tx_desc()
85 if (pkt_info->rts) { in rtw_tx_fill_tx_desc()
365 pkt_info->rts = true; in rtw_tx_data_pkt_info_update()
/drivers/tty/
A Dmoxa.c1538 int rts, cts, txflow, rxflow, xany, baud; in moxa_set_tty_param() local
1540 rts = cts = txflow = rxflow = xany = 0; in moxa_set_tty_param()
1542 rts = cts = 1; in moxa_set_tty_param()
1550 MoxaPortFlowCtrl(ch, rts, cts, txflow, rxflow, xany); in moxa_set_tty_param()
1898 static void MoxaPortFlowCtrl(struct moxa_port *port, int rts, int cts, in MoxaPortFlowCtrl() argument
1903 if (rts) in MoxaPortFlowCtrl()
/drivers/net/wireless/intel/ipw2x00/
A Dlibipw_module.c153 ieee->rts = DEFAULT_FTS; in alloc_libipw()
A Dlibipw_tx.c403 rts_required = (frag_size > ieee->rts in libipw_xmit()
/drivers/net/wireless/ath/ath12k/
A Ddp_mon.c2877 struct ieee80211_rts *rts; in ath12k_dp_mon_tx_gen_rts_frame() local
2883 rts = (struct ieee80211_rts *)skb->data; in ath12k_dp_mon_tx_gen_rts_frame()
2884 memset(rts, 0, MAX_DUMMY_FRM_BODY); in ath12k_dp_mon_tx_gen_rts_frame()
2885 rts->frame_control = in ath12k_dp_mon_tx_gen_rts_frame()
2887 rts->duration = cpu_to_le16(tx_ppdu_info->rx_status.rx_duration); in ath12k_dp_mon_tx_gen_rts_frame()
2888 memcpy(rts->ra, tx_ppdu_info->rx_status.addr1, sizeof(rts->ra)); in ath12k_dp_mon_tx_gen_rts_frame()
2889 memcpy(rts->ta, tx_ppdu_info->rx_status.addr2, sizeof(rts->ta)); in ath12k_dp_mon_tx_gen_rts_frame()
2891 skb_put(skb, sizeof(*rts)); in ath12k_dp_mon_tx_gen_rts_frame()
/drivers/net/wireless/ath/ath9k/
A Dxmit.c1261 struct ath_tx_info *info, int len, bool rts) in ath_buf_set_rate() argument
1301 rts = true; in ath_buf_set_rate()
1304 if (rts || rates[i].flags & IEEE80211_TX_RC_USE_RTS_CTS) { in ath_buf_set_rate()
1410 bool rts = false; in ath_tx_fill_desc() local
1460 rts = true; in ath_tx_fill_desc()
1466 ath_buf_set_rate(sc, bf, &info, len, rts); in ath_tx_fill_desc()

Completed in 891 milliseconds

12