• Home
  • Raw
  • Download

Lines Matching refs:u8

18 static const u8 llcp_tlv_length[LLCP_TLV_MAX] = {
32 static u8 llcp_tlv8(const u8 *tlv, u8 type) in llcp_tlv8()
40 static u16 llcp_tlv16(const u8 *tlv, u8 type) in llcp_tlv16()
49 static u8 llcp_tlv_version(const u8 *tlv) in llcp_tlv_version()
54 static u16 llcp_tlv_miux(const u8 *tlv) in llcp_tlv_miux()
59 static u16 llcp_tlv_wks(const u8 *tlv) in llcp_tlv_wks()
64 static u16 llcp_tlv_lto(const u8 *tlv) in llcp_tlv_lto()
69 static u8 llcp_tlv_opt(const u8 *tlv) in llcp_tlv_opt()
74 static u8 llcp_tlv_rw(const u8 *tlv) in llcp_tlv_rw()
79 u8 *nfc_llcp_build_tlv(u8 type, const u8 *value, u8 value_length, u8 *tlv_length) in nfc_llcp_build_tlv()
81 u8 *tlv, length; in nfc_llcp_build_tlv()
106 struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdres_tlv(u8 tid, u8 sap) in nfc_llcp_build_sdres_tlv()
109 u8 value[2]; in nfc_llcp_build_sdres_tlv()
133 struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdreq_tlv(u8 tid, const char *uri, in nfc_llcp_build_sdreq_tlv()
193 const u8 *tlv_array, u16 tlv_array_len) in nfc_llcp_parse_gb_tlv()
195 const u8 *tlv = tlv_array; in nfc_llcp_parse_gb_tlv()
196 u8 type, length, offset = 0; in nfc_llcp_parse_gb_tlv()
243 const u8 *tlv_array, u16 tlv_array_len) in nfc_llcp_parse_connection_tlv()
245 const u8 *tlv = tlv_array; in nfc_llcp_parse_connection_tlv()
246 u8 type, length, offset = 0; in nfc_llcp_parse_connection_tlv()
284 u8 dsap, u8 ssap, u8 ptype) in llcp_add_header()
286 u8 header[2]; in llcp_add_header()
290 header[0] = (u8)((dsap << 2) | (ptype >> 2)); in llcp_add_header()
291 header[1] = (u8)((ptype << 6) | ssap); in llcp_add_header()
300 static struct sk_buff *llcp_add_tlv(struct sk_buff *pdu, const u8 *tlv, in llcp_add_tlv()
301 u8 tlv_length) in llcp_add_tlv()
314 u8 cmd, u16 size) in llcp_allocate_pdu()
400 const u8 *service_name_tlv = NULL; in nfc_llcp_send_connect()
401 const u8 *miux_tlv = NULL; in nfc_llcp_send_connect()
402 const u8 *rw_tlv = NULL; in nfc_llcp_send_connect()
403 u8 service_name_tlv_length = 0; in nfc_llcp_send_connect()
404 u8 miux_tlv_length, rw_tlv_length, rw; in nfc_llcp_send_connect()
432 miux_tlv = nfc_llcp_build_tlv(LLCP_TLV_MIUX, (u8 *)&miux, 0, in nfc_llcp_send_connect()
478 const u8 *miux_tlv = NULL; in nfc_llcp_send_cc()
479 const u8 *rw_tlv = NULL; in nfc_llcp_send_cc()
480 u8 miux_tlv_length, rw_tlv_length, rw; in nfc_llcp_send_cc()
496 miux_tlv = nfc_llcp_build_tlv(LLCP_TLV_MIUX, (u8 *)&miux, 0, in nfc_llcp_send_cc()
621 int nfc_llcp_send_dm(struct nfc_llcp_local *local, u8 ssap, u8 dsap, u8 reason) in nfc_llcp_send_dm()
661 u8 *msg_data, *msg_ptr; in nfc_llcp_send_i_frame()
737 int nfc_llcp_send_ui_frame(struct nfc_llcp_sock *sock, u8 ssap, u8 dsap, in nfc_llcp_send_ui_frame()
743 u8 *msg_ptr, *msg_data; in nfc_llcp_send_ui_frame()