Home
last modified time | relevance | path

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

/net/nfc/
Dllcp_commands.c405 __be16 miux; in nfc_llcp_send_connect() local
422 miux = be16_to_cpu(sock->miux) > LLCP_MAX_MIUX ? in nfc_llcp_send_connect()
423 local->miux : sock->miux; in nfc_llcp_send_connect()
426 miux_tlv = nfc_llcp_build_tlv(LLCP_TLV_MIUX, (u8 *)&miux, 0, in nfc_llcp_send_connect()
468 __be16 miux; in nfc_llcp_send_cc() local
477 miux = be16_to_cpu(sock->miux) > LLCP_MAX_MIUX ? in nfc_llcp_send_cc()
478 local->miux : sock->miux; in nfc_llcp_send_cc()
481 miux_tlv = nfc_llcp_build_tlv(LLCP_TLV_MIUX, (u8 *)&miux, 0, in nfc_llcp_send_cc()
Dllcp_sock.c282 llcp_sock->miux = cpu_to_be16((u16) opt); in nfc_llcp_setsockopt()
294 llcp_sock->rw, llcp_sock->miux); in nfc_llcp_setsockopt()
306 u16 miux, remote_miu; in nfc_llcp_getsockopt() local
334 miux = be16_to_cpu(llcp_sock->miux) > LLCP_MAX_MIUX ? in nfc_llcp_getsockopt()
335 be16_to_cpu(local->miux) : be16_to_cpu(llcp_sock->miux); in nfc_llcp_getsockopt()
337 if (put_user(miux, (u32 __user *) optval)) in nfc_llcp_getsockopt()
972 llcp_sock->miux = cpu_to_be16(LLCP_MAX_MIUX + 1); in nfc_llcp_sock_alloc()
Dllcp.h83 __be16 miux; member
128 __be16 miux; member
Dnetlink.c1004 nla_put_u16(msg, NFC_ATTR_LLC_PARAM_MIUX, be16_to_cpu(local->miux))) in nfc_genl_send_params()
1069 u16 miux = 0; in nfc_genl_llc_set_params() local
1087 miux = nla_get_u16(info->attrs[NFC_ATTR_LLC_PARAM_MIUX]); in nfc_genl_llc_set_params()
1089 if (miux > LLCP_MAX_MIUX) in nfc_genl_llc_set_params()
1121 local->miux = cpu_to_be16(miux); in nfc_genl_llc_set_params()
Dllcp_core.c555 miux_tlv = nfc_llcp_build_tlv(LLCP_TLV_MIUX, (u8 *)&local->miux, 0, in nfc_llcp_build_gb()
948 new_sock->miux = sock->miux; in nfc_llcp_recv_connect()
1594 local->miux = cpu_to_be16(LLCP_MAX_MIUX); in nfc_llcp_register_device()