Home
last modified time | relevance | path

Searched refs:rw (Results 1 – 9 of 9) sorted by relevance

/net/nfc/
Dllcp_commands.c400 u8 miux_tlv_length, rw_tlv_length, rw; in nfc_llcp_send_connect() local
424 rw = sock->rw > LLCP_MAX_RW ? local->rw : sock->rw; in nfc_llcp_send_connect()
434 rw_tlv = nfc_llcp_build_tlv(LLCP_TLV_RW, &rw, 0, &rw_tlv_length); in nfc_llcp_send_connect()
474 u8 miux_tlv_length, rw_tlv_length, rw; in nfc_llcp_send_cc() local
486 rw = sock->rw > LLCP_MAX_RW ? local->rw : sock->rw; in nfc_llcp_send_cc()
496 rw_tlv = nfc_llcp_build_tlv(LLCP_TLV_RW, &rw, 0, &rw_tlv_length); in nfc_llcp_send_cc()
Dllcp_sock.c265 llcp_sock->rw = (u8) opt; in nfc_llcp_setsockopt()
299 llcp_sock->rw, llcp_sock->miux); in nfc_llcp_setsockopt()
312 u8 rw; in nfc_llcp_getsockopt() local
332 rw = llcp_sock->rw > LLCP_MAX_RW ? local->rw : llcp_sock->rw; in nfc_llcp_getsockopt()
333 if (put_user(rw, (u32 __user *) optval)) in nfc_llcp_getsockopt()
988 llcp_sock->rw = LLCP_MAX_RW + 1; in nfc_llcp_sock_alloc()
Dllcp.h69 u8 rw; member
114 u8 rw; member
Dnetlink.c1001 nla_put_u8(msg, NFC_ATTR_LLC_PARAM_RW, local->rw) || in nfc_genl_send_params()
1069 u8 rw = 0; in nfc_genl_llc_set_params() local
1081 rw = nla_get_u8(info->attrs[NFC_ATTR_LLC_PARAM_RW]); in nfc_genl_llc_set_params()
1083 if (rw > LLCP_MAX_RW) in nfc_genl_llc_set_params()
1118 local->rw = rw; in nfc_genl_llc_set_params()
Dllcp_core.c988 new_sock->rw = sock->rw; in nfc_llcp_recv_connect()
1652 local->rw = LLCP_MAX_RW; in nfc_llcp_register_device()
/net/llc/
Dllc_c_ev.c59 static u16 llc_util_ns_inside_rx_window(u8 ns, u8 vr, u8 rw) in llc_util_ns_inside_rx_window() argument
62 (vr + rw - 1) % LLC_2_SEQ_NBR_MODULO); in llc_util_ns_inside_rx_window()
205 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns()
217 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns()
228 llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns()
272 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns()
284 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns()
295 !llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_rsp_fbit_set_x_unexpd_ns()
306 llc_util_ns_inside_rx_window(ns, vr, llc_sk(sk)->rw) ? 0 : 1; in llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns()
Dllc_proc.c192 llc->retry_count, llc->k, llc->rw, llc->p_flag, llc->f_flag, in llc_seq_core_show()
Daf_llc.c1145 llc->rw = opt; in llc_ui_setsockopt()
1205 val = llc->rw; break; in llc_ui_getsockopt()
Dllc_conn.c901 llc->rw = 128; /* rx win size (opt and equal to in llc_sk_init()