/linux-4.4.14/drivers/isdn/pcbit/ |
H A D | layer2.c | 125 dev->send_seq = (dev->send_seq + 1) % 8; pcbit_tx_update() 127 dev->fsize[dev->send_seq] = len; pcbit_tx_update() 130 info |= dev->send_seq; pcbit_tx_update() 155 unacked = (dev->send_seq + (8 - dev->unack_seq)) & 0x07; pcbit_transmit() 550 info |= dev->send_seq; pcbit_irq_handler() 619 dev->rcv_seq = dev->send_seq = dev->unack_seq = 0; pcbit_l2_err_recover() 629 writeb((0x80U | ((dev->rcv_seq & 0x07) << 3) | (dev->send_seq & 0x07)), pcbit_l2_err_recover() 670 unacked = (dev->send_seq + (8 - dev->unack_seq)) & 0x07; pcbit_recv_ack() 672 /* dev->unack_seq < ack <= dev->send_seq; */ pcbit_recv_ack() 676 if (dev->send_seq > dev->unack_seq) { pcbit_recv_ack() 677 if (ack <= dev->unack_seq || ack > dev->send_seq) { pcbit_recv_ack() 683 } else if (ack > dev->send_seq && ack <= dev->unack_seq) { pcbit_recv_ack() 702 u8 lsend_seq = dev->send_seq; pcbit_recv_ack() 706 if (dev->send_seq == lsend_seq) pcbit_recv_ack()
|
H A D | pcbit.h | 89 unsigned char send_seq; member in struct:pcbit_dev
|
H A D | layer2.h | 137 printk(KERN_DEBUG "{rcv_seq=%01x, send_seq=%01x, unack_seq=%01x}\n", log_state() 138 dev->rcv_seq, dev->send_seq, dev->unack_seq); log_state()
|
H A D | drv.c | 148 dev->send_seq = 0; pcbit_init_dev() 817 writeb((0x80U | ((dev->rcv_seq & 0x07) << 3) | (dev->send_seq & 0x07)), set_protocol_running() 831 dev->unack_seq = dev->send_seq; set_protocol_running() 889 dev->unack_seq = dev->send_seq = dev->rcv_seq = 0; pcbit_ioctl() 965 dev->send_seq = 0; pcbit_ioctl()
|
/linux-4.4.14/drivers/media/tuners/ |
H A D | tuner-xc2028.c | 149 #define send_seq(priv, data...) ({ \ macro 696 rc = send_seq(priv, {0x20, 0x00, 0x00, 0x00}); load_scode() 698 rc = send_seq(priv, {0xa0, 0x00, 0x00, 0x00}); load_scode() 706 rc = send_seq(priv, {0x00, 0x8c}); load_scode() 1039 rc = send_seq(priv, {0x00, 0x00}); generic_set_freq() 1120 rc = send_seq(priv, {0x00, XREG_RF_FREQ, 0x00, 0x00}); generic_set_freq() 1122 rc = send_seq(priv, {0x80, XREG_RF_FREQ, 0x00, 0x00}); generic_set_freq() 1314 rc = send_seq(priv, {0x00, XREG_POWER_DOWN, 0x00, 0x00}); xc2028_sleep() 1316 rc = send_seq(priv, {0x80, XREG_POWER_DOWN, 0x00, 0x00}); xc2028_sleep()
|
/linux-4.4.14/net/l2tp/ |
H A D | l2tp_debugfs.c | 172 if (session->send_seq || session->recv_seq) l2tp_dfs_seq_session_show() 178 session->send_seq ? 'S' : '-', l2tp_dfs_seq_session_show()
|
H A D | l2tp_core.c | 714 if ((!session->lns_mode) && (!session->send_seq)) { l2tp_recv_common() 718 session->send_seq = -1; l2tp_recv_common() 738 if ((!session->lns_mode) && (session->send_seq)) { l2tp_recv_common() 742 session->send_seq = 0; l2tp_recv_common() 744 } else if (session->send_seq) { l2tp_recv_common() 988 if (session->send_seq) l2tp_build_l2tpv2_header() 995 if (session->send_seq) { l2tp_build_l2tpv2_header() 1033 if (session->send_seq) { l2tp_build_l2tpv3_header() 1060 if (session->send_seq) l2tp_xmit_core() 1718 /* We come here whenever a session's send_seq, cookie_len or 1725 if (session->send_seq) l2tp_session_set_header_len() 1774 session->send_seq = cfg->send_seq; l2tp_session_create()
|
H A D | l2tp_core.h | 63 unsigned int send_seq:1; /* send packets with sequence member in struct:l2tp_session_cfg 121 unsigned int send_seq:1; /* send packets with sequence member in struct:l2tp_session
|
H A D | l2tp_netlink.c | 575 cfg.send_seq = nla_get_u8(info->attrs[L2TP_ATTR_SEND_SEQ]); l2tp_nl_cmd_session_create() 684 session->send_seq = nla_get_u8(info->attrs[L2TP_ATTR_SEND_SEQ]); l2tp_nl_cmd_session_modify() 742 nla_put_u8(skb, L2TP_ATTR_SEND_SEQ, session->send_seq) || l2tp_nl_session_send()
|
H A D | l2tp_ppp.c | 1306 session->send_seq = val ? -1 : 0; pppol2tp_session_setsockopt() 1315 "%s: set send_seq=%d\n", pppol2tp_session_setsockopt() 1316 session->name, session->send_seq); pppol2tp_session_setsockopt() 1447 *val = session->send_seq; pppol2tp_session_getsockopt() 1449 "%s: get send_seq=%d\n", session->name, *val); pppol2tp_session_getsockopt() 1669 session->send_seq ? 'S' : '-', pppol2tp_seq_session_show()
|