Home
last modified time | relevance | path

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

/Linux-v5.4/net/nfc/
Dllcp_commands.c397 __be16 miux; in nfc_llcp_send_connect() local
418 miux = be16_to_cpu(sock->miux) > LLCP_MAX_MIUX ? in nfc_llcp_send_connect()
419 local->miux : sock->miux; in nfc_llcp_send_connect()
422 miux_tlv = nfc_llcp_build_tlv(LLCP_TLV_MIUX, (u8 *)&miux, 0, in nfc_llcp_send_connect()
472 __be16 miux; in nfc_llcp_send_cc() local
481 miux = be16_to_cpu(sock->miux) > LLCP_MAX_MIUX ? in nfc_llcp_send_cc()
482 local->miux : sock->miux; in nfc_llcp_send_cc()
485 miux_tlv = nfc_llcp_build_tlv(LLCP_TLV_MIUX, (u8 *)&miux, 0, in nfc_llcp_send_cc()
Dllcp_sock.c276 llcp_sock->miux = cpu_to_be16((u16) opt); in nfc_llcp_setsockopt()
288 llcp_sock->rw, llcp_sock->miux); in nfc_llcp_setsockopt()
300 u16 miux, remote_miu; in nfc_llcp_getsockopt() local
328 miux = be16_to_cpu(llcp_sock->miux) > LLCP_MAX_MIUX ? in nfc_llcp_getsockopt()
329 be16_to_cpu(local->miux) : be16_to_cpu(llcp_sock->miux); in nfc_llcp_getsockopt()
331 if (put_user(miux, (u32 __user *) optval)) in nfc_llcp_getsockopt()
970 llcp_sock->miux = cpu_to_be16(LLCP_MAX_MIUX + 1); in nfc_llcp_sock_alloc()
Dllcp.h71 __be16 miux; member
116 __be16 miux; member
Dnetlink.c1003 nla_put_u16(msg, NFC_ATTR_LLC_PARAM_MIUX, be16_to_cpu(local->miux))) in nfc_genl_send_params()
1068 u16 miux = 0; in nfc_genl_llc_set_params() local
1086 miux = nla_get_u16(info->attrs[NFC_ATTR_LLC_PARAM_MIUX]); in nfc_genl_llc_set_params()
1088 if (miux > LLCP_MAX_MIUX) in nfc_genl_llc_set_params()
1119 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()
952 new_sock->miux = sock->miux; in nfc_llcp_recv_connect()
1596 local->miux = cpu_to_be16(LLCP_MAX_MIUX); in nfc_llcp_register_device()