Searched refs:miux (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/net/nfc/
H A Dllcp_commands.c405 __be16 miux; nfc_llcp_send_connect() local
422 miux = be16_to_cpu(sock->miux) > LLCP_MAX_MIUX ? nfc_llcp_send_connect()
423 local->miux : sock->miux; nfc_llcp_send_connect()
426 miux_tlv = nfc_llcp_build_tlv(LLCP_TLV_MIUX, (u8 *)&miux, 0, nfc_llcp_send_connect()
470 __be16 miux; nfc_llcp_send_cc() local
479 miux = be16_to_cpu(sock->miux) > LLCP_MAX_MIUX ? nfc_llcp_send_cc()
480 local->miux : sock->miux; nfc_llcp_send_cc()
483 miux_tlv = nfc_llcp_build_tlv(LLCP_TLV_MIUX, (u8 *)&miux, 0, nfc_llcp_send_cc()
H A Dllcp_sock.c280 llcp_sock->miux = cpu_to_be16((u16) opt); nfc_llcp_setsockopt()
291 pr_debug("%p rw %d miux %d\n", llcp_sock, nfc_llcp_setsockopt()
292 llcp_sock->rw, llcp_sock->miux); nfc_llcp_setsockopt()
304 u16 miux, remote_miu; nfc_llcp_getsockopt() local
332 miux = be16_to_cpu(llcp_sock->miux) > LLCP_MAX_MIUX ? nfc_llcp_getsockopt()
333 be16_to_cpu(local->miux) : be16_to_cpu(llcp_sock->miux); nfc_llcp_getsockopt()
335 if (put_user(miux, (u32 __user *) optval)) nfc_llcp_getsockopt()
965 llcp_sock->miux = cpu_to_be16(LLCP_MAX_MIUX + 1); nfc_llcp_sock_alloc()
H A Dllcp.h83 __be16 miux; member in struct:nfc_llcp_local
128 __be16 miux; member in struct:nfc_llcp_sock
H A Dnetlink.c965 nla_put_u16(msg, NFC_ATTR_LLC_PARAM_MIUX, be16_to_cpu(local->miux))) nfc_genl_send_params()
1030 u16 miux = 0; nfc_genl_llc_set_params() local
1048 miux = nla_get_u16(info->attrs[NFC_ATTR_LLC_PARAM_MIUX]); nfc_genl_llc_set_params()
1050 if (miux > LLCP_MAX_MIUX) nfc_genl_llc_set_params()
1082 local->miux = cpu_to_be16(miux); nfc_genl_llc_set_params()
H A Dllcp_core.c555 miux_tlv = nfc_llcp_build_tlv(LLCP_TLV_MIUX, (u8 *)&local->miux, 0, nfc_llcp_build_gb()
949 new_sock->miux = sock->miux; nfc_llcp_recv_connect()
1595 local->miux = cpu_to_be16(LLCP_MAX_MIUX); nfc_llcp_register_device()

Completed in 154 milliseconds