Home
last modified time | relevance | path

Searched refs:UINT8_TO_STREAM (Results 1 – 16 of 16) sorted by relevance

/external/libnfc-nci/src/nfc/nci/
Dnci_hmsgs.c60 UINT8_TO_STREAM (pp, NCI_CORE_PARAM_SIZE_RESET); in nci_snd_core_reset()
61 UINT8_TO_STREAM (pp, reset_type); in nci_snd_core_reset()
92 UINT8_TO_STREAM (pp, NCI_CORE_PARAM_SIZE_INIT); in nci_snd_core_init()
123 UINT8_TO_STREAM (pp, (UINT8) (num_ids + 1)); in nci_snd_core_get_config()
124 UINT8_TO_STREAM (pp, num_ids); in nci_snd_core_get_config()
156 UINT8_TO_STREAM (pp, (UINT8) (tlv_size + 1)); in nci_snd_core_set_config()
177 UINT8_TO_STREAM (pp, num); in nci_snd_core_set_config()
210 UINT8_TO_STREAM (pp, size); in nci_snd_core_conn_create()
211 UINT8_TO_STREAM (pp, dest_type); in nci_snd_core_conn_create()
212 UINT8_TO_STREAM (pp, num_tlv); in nci_snd_core_conn_create()
[all …]
/external/libnfc-nci/src/nfa/dm/
Dnfa_dm_discover.c333 UINT8_TO_STREAM (p, NFC_PMID_LA_BIT_FRAME_SDD); in nfa_dm_set_rf_listen_mode_config()
334 UINT8_TO_STREAM (p, NCI_PARAM_LEN_LA_BIT_FRAME_SDD); in nfa_dm_set_rf_listen_mode_config()
335 UINT8_TO_STREAM (p, 0x04); in nfa_dm_set_rf_listen_mode_config()
336 UINT8_TO_STREAM (p, NFC_PMID_LA_PLATFORM_CONFIG); in nfa_dm_set_rf_listen_mode_config()
337 UINT8_TO_STREAM (p, NCI_PARAM_LEN_LA_PLATFORM_CONFIG); in nfa_dm_set_rf_listen_mode_config()
338 UINT8_TO_STREAM (p, platform); in nfa_dm_set_rf_listen_mode_config()
339 UINT8_TO_STREAM (p, NFC_PMID_LA_SEL_INFO); in nfa_dm_set_rf_listen_mode_config()
340 UINT8_TO_STREAM (p, NCI_PARAM_LEN_LA_SEL_INFO); in nfa_dm_set_rf_listen_mode_config()
341 UINT8_TO_STREAM (p, sens_info); in nfa_dm_set_rf_listen_mode_config()
345 UINT8_TO_STREAM (p, NFC_PMID_LA_BIT_FRAME_SDD); in nfa_dm_set_rf_listen_mode_config()
[all …]
Dnfa_dm_act.c574 UINT8_TO_STREAM (p, p_data->setconfig.param_id); in nfa_dm_set_config()
575 UINT8_TO_STREAM (p, p_data->setconfig.length); in nfa_dm_set_config()
/external/libnfc-nci/src/nfc/tags/
Dce_t3t.c105 UINT8_TO_STREAM (p, (p_msg->len+1)); in ce_t3t_send_to_lower()
196 UINT8_TO_STREAM (p_dst, opcode); in ce_t3t_send_rsp()
202 UINT8_TO_STREAM (p_dst, status1); in ce_t3t_send_rsp()
203 UINT8_TO_STREAM (p_dst, status2); in ce_t3t_send_rsp()
425 UINT8_TO_STREAM (p_dst, T3T_MSG_OPC_CHECK_RSP); in ce_t3t_handle_check_cmd()
434 UINT8_TO_STREAM (p_dst, T3T_MSG_RSP_STATUS_OK); in ce_t3t_handle_check_cmd()
435 UINT8_TO_STREAM (p_dst, T3T_MSG_RSP_STATUS_OK); in ce_t3t_handle_check_cmd()
436 UINT8_TO_STREAM (p_dst, p_cb->cur_cmd.num_blocks); in ce_t3t_handle_check_cmd()
465 UINT8_TO_STREAM (p_dst, T3T_MSG_RSP_STATUS_ERROR); in ce_t3t_handle_check_cmd()
466 UINT8_TO_STREAM (p_dst, T3T_MSG_RSP_STATUS2_ERROR_MEMORY); in ce_t3t_handle_check_cmd()
[all …]
Drw_t3t.c595 UINT8_TO_STREAM (p, (p_msg->len+1)); in rw_t3t_send_to_lower()
689 UINT8_TO_STREAM (p, T3T_MSG_OPC_UPDATE_CMD); in rw_t3t_send_update_ndef_attribute_cmd()
695UINT8_TO_STREAM (p, 1); /* Number of services (only 1 service: NDEF) */ in rw_t3t_send_update_ndef_attribute_cmd()
699 UINT8_TO_STREAM (p, 1); /* Number of blocks to write in this command */ in rw_t3t_send_update_ndef_attribute_cmd()
702 UINT8_TO_STREAM (p, T3T_MSG_MASK_TWO_BYTE_BLOCK_DESC_FORMAT); in rw_t3t_send_update_ndef_attribute_cmd()
703 UINT8_TO_STREAM (p, 0); in rw_t3t_send_update_ndef_attribute_cmd()
707 UINT8_TO_STREAM (p, T3T_MSG_NDEF_VERSION); in rw_t3t_send_update_ndef_attribute_cmd()
708 UINT8_TO_STREAM (p, p_cb->ndef_attrib.nbr); in rw_t3t_send_update_ndef_attribute_cmd()
709 UINT8_TO_STREAM (p, p_cb->ndef_attrib.nbw); in rw_t3t_send_update_ndef_attribute_cmd()
725 UINT8_TO_STREAM (p, write_f); in rw_t3t_send_update_ndef_attribute_cmd()
[all …]
Drw_i93.c563 UINT8_TO_STREAM (p, flags); in rw_i93_send_cmd_inventory()
566 UINT8_TO_STREAM (p, I93_CMD_INVENTORY); in rw_i93_send_cmd_inventory()
571 UINT8_TO_STREAM (p, afi); /* Optional AFI */ in rw_i93_send_cmd_inventory()
577 UINT8_TO_STREAM (p, I93_UID_BYTE_LEN*8); /* Mask Length */ in rw_i93_send_cmd_inventory()
583 UINT8_TO_STREAM (p, 0x00); /* Mask Length */ in rw_i93_send_cmd_inventory()
626 UINT8_TO_STREAM (p, (I93_FLAG_ADDRESS_SET | RW_I93_FLAG_SUB_CARRIER | RW_I93_FLAG_DATA_RATE)); in rw_i93_send_cmd_stay_quiet()
629 UINT8_TO_STREAM (p, I93_CMD_STAY_QUIET); in rw_i93_send_cmd_stay_quiet()
686 UINT8_TO_STREAM (p, flags); in rw_i93_send_cmd_read_single_block()
689 UINT8_TO_STREAM (p, I93_CMD_READ_SINGLE_BLOCK); in rw_i93_send_cmd_read_single_block()
701 UINT8_TO_STREAM (p, block_number); /* Block number */ in rw_i93_send_cmd_read_single_block()
[all …]
Drw_t2t.c394 UINT8_TO_STREAM (p, opcode); in rw_t2t_send_cmd()
/external/libnfc-nci/src/nfc/ndef/
Dndef_cho_utils.c140 UINT8_TO_STREAM (p, (ctf & 0x07)); in NDEF_MsgAddWktHc()
141 UINT8_TO_STREAM (p, carrier_type_len); in NDEF_MsgAddWktHc()
347 UINT8_TO_STREAM (p, BT_OOB_COD_SIZE + 1); in NDEF_MsgAppendMediaBtOobCod()
348 UINT8_TO_STREAM (p, BT_EIR_OOB_COD_TYPE); in NDEF_MsgAppendMediaBtOobCod()
396 UINT8_TO_STREAM (p, name_len + 1); in NDEF_MsgAppendMediaBtOobName()
400 UINT8_TO_STREAM (p, BT_EIR_COMPLETE_LOCAL_NAME_TYPE); in NDEF_MsgAppendMediaBtOobName()
404 UINT8_TO_STREAM (p, BT_EIR_SHORTENED_LOCAL_NAME_TYPE); in NDEF_MsgAppendMediaBtOobName()
453 UINT8_TO_STREAM (p, BT_OOB_HASH_C_SIZE + 1); in NDEF_MsgAppendMediaBtOobHashCRandR()
454 UINT8_TO_STREAM (p, BT_EIR_OOB_SSP_HASH_C_TYPE); in NDEF_MsgAppendMediaBtOobHashCRandR()
457 UINT8_TO_STREAM (p, BT_OOB_RAND_R_SIZE + 1); in NDEF_MsgAppendMediaBtOobHashCRandR()
[all …]
/external/libnfc-nci/src/nfc/nfc/
Dnfc_main.c992 UINT8_TO_STREAM (pp, NCI_CON_CREATE_TAG_NFCEE_VAL); in NFC_ConnCreate()
993 UINT8_TO_STREAM (pp, 2); in NFC_ConnCreate()
994 UINT8_TO_STREAM (pp, id); in NFC_ConnCreate()
995 UINT8_TO_STREAM (pp, protocol); in NFC_ConnCreate()
1001 UINT8_TO_STREAM (pp, NCI_CON_CREATE_TAG_RF_DISC_ID); in NFC_ConnCreate()
1002 UINT8_TO_STREAM (pp, 1); in NFC_ConnCreate()
1003 UINT8_TO_STREAM (pp, id); in NFC_ConnCreate()
1230 UINT8_TO_STREAM (p, NCI_RF_PARAM_ID_TECH_N_MODE); in NFC_UpdateRFCommParams()
1231 UINT8_TO_STREAM (p, 1); in NFC_UpdateRFCommParams()
1232 UINT8_TO_STREAM (p, p_params->rf_tech_n_mode); in NFC_UpdateRFCommParams()
[all …]
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
Dnfc_hal_dm.c122 UINT8_TO_STREAM (p, (UINT8) (tlv_size + 1)); in nfc_hal_dm_set_config()
154 UINT8_TO_STREAM (p, num_param); in nfc_hal_dm_set_config()
417 UINT8_TO_STREAM (p, (NCI_MTS_CMD|NCI_GID_PROP)); in nfc_hal_dm_set_xtal_freq_index()
418 UINT8_TO_STREAM (p, NCI_MSG_GET_XTAL_INDEX_FROM_DH); in nfc_hal_dm_set_xtal_freq_index()
419 UINT8_TO_STREAM (p, cmd_len); in nfc_hal_dm_set_xtal_freq_index()
420 UINT8_TO_STREAM (p, xtal_index); in nfc_hal_dm_set_xtal_freq_index()
448 UINT8_TO_STREAM (p, (NCI_MTS_CMD|NCI_GID_PROP)); in nfc_hal_dm_set_power_level_zero()
449 UINT8_TO_STREAM (p, NCI_MSG_POWER_LEVEL); in nfc_hal_dm_set_power_level_zero()
450 UINT8_TO_STREAM (p, NCI_PARAM_LEN_POWER_LEVEL); in nfc_hal_dm_set_power_level_zero()
574 UINT8_TO_STREAM (p, HCI_BRCM_PRE_SET_MEM_LENGTH); in nfc_hal_dm_check_pre_set_mem()
[all …]
Dnfc_hal_prm.c637 UINT8_TO_STREAM (p, (NCI_MTS_CMD|NCI_GID_PROP)); in nfc_hal_prm_nvm_rw_cmd()
638 UINT8_TO_STREAM (p, NCI_MSG_EEPROM_RW); in nfc_hal_prm_nvm_rw_cmd()
639 UINT8_TO_STREAM (p, (len+4)); in nfc_hal_prm_nvm_rw_cmd()
640 UINT8_TO_STREAM (p, 1); /* 1=write 0=read */ in nfc_hal_prm_nvm_rw_cmd()
642 UINT8_TO_STREAM (p, len); in nfc_hal_prm_nvm_rw_cmd()
Dnfc_hal_main.c524 UINT8_TO_STREAM (p, 0x03); in nfc_hal_send_credit_ntf_for_cid()
Dnfc_hal_hci.c596 UINT8_TO_STREAM (p, (UINT8) size); in nfc_hal_hci_handle_nv_read()
/external/libnfc-nci/src/nfa/ce/
Dnfa_ce_act.c306 UINT8_TO_STREAM (p_params, NFC_PMID_LF_T3T_ID1+t3t_idx); /* type */ in nfc_ce_t3t_set_listen_params()
307 UINT8_TO_STREAM (p_params, NCI_PARAM_LEN_LF_T3T_ID); /* length */ in nfc_ce_t3t_set_listen_params()
320 UINT8_TO_STREAM (p_params, NFC_PMID_LF_T3T_FLAGS2); /* type */ in nfc_ce_t3t_set_listen_params()
321 UINT8_TO_STREAM (p_params, NCI_PARAM_LEN_LF_T3T_FLAGS2); /* length */ in nfc_ce_t3t_set_listen_params()
/external/libnfc-nci/src/hal/include/
Dnfc_types.h57 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} macro
/external/libnfc-nci/src/include/
Dbt_types.h225 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} macro