Home
last modified time | relevance | path

Searched refs:UINT8_TO_BE_STREAM (Results 1 – 13 of 13) sorted by relevance

/external/libnfc-nci/src/nfc/tags/
Drw_t4t.c153 UINT8_TO_BE_STREAM (p, T4T_CMD_DES_CLASS); in rw_t4t_get_hw_version()
154 UINT8_TO_BE_STREAM (p, T4T_CMD_INS_GET_HW_VERSION); in rw_t4t_get_hw_version()
193 UINT8_TO_BE_STREAM (p, T4T_CMD_DES_CLASS); in rw_t4t_get_sw_version()
194 UINT8_TO_BE_STREAM (p, T4T_ADDI_FRAME_RESP); in rw_t4t_get_sw_version()
283 UINT8_TO_BE_STREAM (p, T4T_CMD_DES_CLASS); in rw_t4t_get_uid_details()
284 UINT8_TO_BE_STREAM (p, T4T_ADDI_FRAME_RESP); in rw_t4t_get_uid_details()
325 UINT8_TO_BE_STREAM (p, T4T_CMD_DES_CLASS); in rw_t4t_create_app()
326 UINT8_TO_BE_STREAM (p, T4T_CMD_CREATE_AID); in rw_t4t_create_app()
330 UINT8_TO_BE_STREAM (p, (T4T_CMD_MAX_HDR_SIZE + sizeof(df_name) + 2)); in rw_t4t_create_app()
335 UINT8_TO_BE_STREAM (p, 0x00); /* Le */ in rw_t4t_create_app()
[all …]
Dce_t4t.c216 UINT8_TO_BE_STREAM (p_dst, (UINT8) (p_t4t->nlen)); in ce_t4t_read_binary()
356 UINT8_TO_BE_STREAM (p, version); in ce_t4t_set_version_in_cc()
894 UINT8_TO_BE_STREAM (p, T4T_MY_VERSION); in CE_T4tSetLocalNDEFMsg()
899 UINT8_TO_BE_STREAM (p, T4T_NDEF_FILE_CONTROL_TYPE); /* type */ in CE_T4tSetLocalNDEFMsg()
900 UINT8_TO_BE_STREAM (p, T4T_FILE_CONTROL_LENGTH); /* length */ in CE_T4tSetLocalNDEFMsg()
903 UINT8_TO_BE_STREAM (p, T4T_FC_READ_ACCESS); /* read access */ in CE_T4tSetLocalNDEFMsg()
907 UINT8_TO_BE_STREAM (p, T4T_FC_NO_WRITE_ACCESS); /* read only */ in CE_T4tSetLocalNDEFMsg()
912 UINT8_TO_BE_STREAM (p, T4T_FC_WRITE_ACCESS); /* write access */ in CE_T4tSetLocalNDEFMsg()
1100 UINT8_TO_BE_STREAM (p, version); in CE_T4TTestSetCC()
1156 UINT8_TO_BE_STREAM (p, type); in CE_T4TTestSetNDEFCtrlTLV()
[all …]
Drw_t2t.c714 UINT8_TO_BE_STREAM (p, sector); in rw_t2t_sector_change()
715 UINT8_TO_BE_STREAM (p, 0x00); in rw_t2t_sector_change()
716 UINT8_TO_BE_STREAM (p, 0x00); in rw_t2t_sector_change()
717 UINT8_TO_BE_STREAM (p, 0x00); in rw_t2t_sector_change()
773 UINT8_TO_BE_STREAM (p, T2T_CMD_READ); in rw_t2t_read()
774 UINT8_TO_BE_STREAM (p, read_cmd[0]); in rw_t2t_read()
831 UINT8_TO_BE_STREAM (p, T2T_CMD_WRITE); in rw_t2t_write()
Drw_t1t_ndef.c2340 UINT8_TO_BE_STREAM (p, T1T_CC_NMN); in RW_T1tFormatNDef()
2341 UINT8_TO_BE_STREAM (p, T1T_CC_VNO); in RW_T1tFormatNDef()
2342 UINT8_TO_BE_STREAM (p, p_ret->tms); in RW_T1tFormatNDef()
2343 UINT8_TO_BE_STREAM (p, T1T_CC_RWA_RW); in RW_T1tFormatNDef()
2347 UINT8_TO_BE_STREAM (p, TAG_LOCK_CTRL_TLV); in RW_T1tFormatNDef()
2348 UINT8_TO_BE_STREAM (p, T1T_DEFAULT_TLV_LEN); in RW_T1tFormatNDef()
2349 UINT8_TO_BE_STREAM (p, p_ret->lock_tlv[0]); in RW_T1tFormatNDef()
2350 UINT8_TO_BE_STREAM (p, p_ret->lock_tlv[1]); in RW_T1tFormatNDef()
2352 UINT8_TO_BE_STREAM (p, p_ret->lock_tlv[2]); in RW_T1tFormatNDef()
2353 UINT8_TO_BE_STREAM (p, TAG_MEM_CTRL_TLV); in RW_T1tFormatNDef()
[all …]
Drw_t2t_ndef.c1955 UINT8_TO_BE_STREAM (p, p_t2t->tlv_value[2]); in rw_t2t_handle_format_tag_rsp()
2017 UINT8_TO_BE_STREAM (p, TAG_NDEF_TLV); in rw_t2t_handle_format_tag_rsp()
2018 UINT8_TO_BE_STREAM (p, 0); in rw_t2t_handle_format_tag_rsp()
2023 UINT8_TO_BE_STREAM (p, TAG_TERMINATOR_TLV); in rw_t2t_handle_format_tag_rsp()
2026 UINT8_TO_BE_STREAM (p, 0); in rw_t2t_handle_format_tag_rsp()
2579 UINT8_TO_BE_STREAM (p, T2T_TLV_TYPE_LOCK_CTRL); in rw_t2t_set_lock_tlv()
2580 UINT8_TO_BE_STREAM (p, T2T_TLEN_LOCK_CTRL_TLV); in rw_t2t_set_lock_tlv()
2581 UINT8_TO_BE_STREAM (p, (PageAddr << 4 | ByteOffset)); in rw_t2t_set_lock_tlv()
2582 UINT8_TO_BE_STREAM (p, num_dyn_lock_bits); in rw_t2t_set_lock_tlv()
2631 UINT8_TO_BE_STREAM (p, T2T_CC0_NMN); in rw_t2t_set_cc()
[all …]
Drw_t1t.c343 UINT8_TO_BE_STREAM (p, opcode); in rw_t1t_send_static_cmd()
344 UINT8_TO_BE_STREAM (p, add); in rw_t1t_send_static_cmd()
345 UINT8_TO_BE_STREAM (p, dat); in rw_t1t_send_static_cmd()
403 UINT8_TO_BE_STREAM (p, opcode); in rw_t1t_send_dyn_cmd()
404 UINT8_TO_BE_STREAM (p, add); in rw_t1t_send_dyn_cmd()
/external/libnfc-nci/src/nfc/llcp/
Dllcp_util.c455 UINT8_TO_BE_STREAM (p, LLCP_MIUX_TYPE); in llcp_util_send_connect()
456 UINT8_TO_BE_STREAM (p, LLCP_MIUX_LEN); in llcp_util_send_connect()
462 UINT8_TO_BE_STREAM (p, LLCP_RW_TYPE); in llcp_util_send_connect()
463 UINT8_TO_BE_STREAM (p, LLCP_RW_LEN); in llcp_util_send_connect()
464 UINT8_TO_BE_STREAM (p, p_params->rw); in llcp_util_send_connect()
469 UINT8_TO_BE_STREAM (p, LLCP_SN_TYPE); in llcp_util_send_connect()
470 UINT8_TO_BE_STREAM (p, sn_len - 2); in llcp_util_send_connect()
607 UINT8_TO_BE_STREAM (p, LLCP_MIUX_TYPE); in llcp_util_send_cc()
608 UINT8_TO_BE_STREAM (p, LLCP_MIUX_LEN); in llcp_util_send_cc()
614 UINT8_TO_BE_STREAM (p, LLCP_RW_TYPE); in llcp_util_send_cc()
[all …]
Dllcp_api.c232 UINT8_TO_BE_STREAM (p, LLCP_MAGIC_NUMBER_BYTE0); in LLCP_GetDiscoveryConfig()
233 UINT8_TO_BE_STREAM (p, LLCP_MAGIC_NUMBER_BYTE1); in LLCP_GetDiscoveryConfig()
234 UINT8_TO_BE_STREAM (p, LLCP_MAGIC_NUMBER_BYTE2); in LLCP_GetDiscoveryConfig()
237 UINT8_TO_BE_STREAM (p, LLCP_VERSION_TYPE); in LLCP_GetDiscoveryConfig()
238 UINT8_TO_BE_STREAM (p, LLCP_VERSION_LEN); in LLCP_GetDiscoveryConfig()
239 UINT8_TO_BE_STREAM (p, llcp_test_params.version); in LLCP_GetDiscoveryConfig()
241 UINT8_TO_BE_STREAM (p, LLCP_MIUX_TYPE); in LLCP_GetDiscoveryConfig()
242 UINT8_TO_BE_STREAM (p, LLCP_MIUX_LEN); in LLCP_GetDiscoveryConfig()
245 UINT8_TO_BE_STREAM (p, LLCP_WKS_TYPE); in LLCP_GetDiscoveryConfig()
246 UINT8_TO_BE_STREAM (p, LLCP_WKS_LEN); in LLCP_GetDiscoveryConfig()
[all …]
Dllcp_sdp.c98 UINT8_TO_BE_STREAM (p, LLCP_SDREQ_TYPE); in llcp_sdp_add_sdreq()
99 UINT8_TO_BE_STREAM (p, (1 + name_len)); in llcp_sdp_add_sdreq()
100 UINT8_TO_BE_STREAM (p, tid); in llcp_sdp_add_sdreq()
204 UINT8_TO_BE_STREAM (p, LLCP_SDRES_TYPE); in llcp_sdp_add_sdres()
205 UINT8_TO_BE_STREAM (p, LLCP_SDRES_LEN); in llcp_sdp_add_sdres()
206 UINT8_TO_BE_STREAM (p, tid); in llcp_sdp_add_sdres()
207 UINT8_TO_BE_STREAM (p, sap); in llcp_sdp_add_sdres()
/external/libnfc-nci/src/nfa/p2p/
Dnfa_p2p_main.c525 UINT8_TO_BE_STREAM (p, NFC_PMID_ATR_REQ_GEN_BYTES); in nfa_p2p_set_config()
526 UINT8_TO_BE_STREAM (p, gen_bytes_len); in nfa_p2p_set_config()
541 UINT8_TO_BE_STREAM (p, NFC_PMID_ATR_RES_GEN_BYTES); in nfa_p2p_set_config()
542 UINT8_TO_BE_STREAM (p, gen_bytes_len); in nfa_p2p_set_config()
547 UINT8_TO_BE_STREAM (p, NFC_PMID_WT); in nfa_p2p_set_config()
548 UINT8_TO_BE_STREAM (p, NCI_PARAM_LEN_WT); in nfa_p2p_set_config()
549 UINT8_TO_BE_STREAM (p, wt); in nfa_p2p_set_config()
/external/libnfc-nci/src/nfc/ndef/
Dndef_cho_utils.c197 UINT8_TO_BE_STREAM (p, cps); in NDEF_MsgAddWktAc()
202 UINT8_TO_BE_STREAM (p, ref_str_len); in NDEF_MsgAddWktAc()
208 UINT8_TO_BE_STREAM (p, aux_data_ref_count); in NDEF_MsgAddWktAc()
215 UINT8_TO_BE_STREAM (p, ref_str_len); in NDEF_MsgAddWktAc()
267 UINT8_TO_BE_STREAM (p, error_reason); in NDEF_MsgAddWktErr()
276 UINT8_TO_BE_STREAM (p, error_data); in NDEF_MsgAddWktErr()
/external/libnfc-nci/src/hal/include/
Dnfc_types.h99 #define UINT8_TO_BE_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} macro
/external/libnfc-nci/src/include/
Dbt_types.h265 #define UINT8_TO_BE_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} macro