Home
last modified time | relevance | path

Searched refs:p_ret (Results 1 – 6 of 6) sorted by relevance

/external/libnfc-nci/src/nfc/tags/
Dtags_int.c124 const tT1T_CMD_RSP_INFO *p_ret = NULL, *p; in t1t_cmd_to_rsp_info() local
132 p_ret = p; in t1t_cmd_to_rsp_info()
137 return p_ret; in t1t_cmd_to_rsp_info()
152 const tT1T_INIT_TAG *p_ret = NULL, *p; in t1t_tag_init_data() local
159 p_ret = p; in t1t_tag_init_data()
164 return p_ret; in t1t_tag_init_data()
179 const tT2T_INIT_TAG *p_ret = NULL, *p; in t2t_tag_init_data() local
190 p_ret = p; in t2t_tag_init_data()
196 return p_ret; in t2t_tag_init_data()
210 const tT2T_CMD_RSP_INFO *p_ret = NULL, *p; in t2t_cmd_to_rsp_info() local
[all …]
Drw_t2t_ndef.c905 const tT2T_INIT_TAG *p_ret; in rw_t2t_extract_default_locks_info() local
914 if ((p_ret = t2t_tag_init_data (p_t2t->tag_hdr[0], FALSE, 0)) != NULL) in rw_t2t_extract_default_locks_info()
915 bytes_locked_per_lock_bit = p_ret->default_lock_blpb; in rw_t2t_extract_default_locks_info()
1460 const tT2T_INIT_TAG *p_ret; in rw_t2t_get_ndef_flags() local
1470 if ( ((p_ret = t2t_tag_init_data (p_t2t->tag_hdr[0], FALSE, 0)) != NULL) in rw_t2t_get_ndef_flags()
1471 &&(p_ret->b_otp) ) in rw_t2t_get_ndef_flags()
1947 const tT2T_INIT_TAG *p_ret; in rw_t2t_handle_format_tag_rsp() local
1969 if ((p_ret = t2t_tag_init_data (p_t2t->tag_hdr[0], TRUE, version_no)) != NULL) in rw_t2t_handle_format_tag_rsp()
1972 if (p_ret->b_calc_cc) in rw_t2t_handle_format_tag_rsp()
1978 tms = p_ret->tms; in rw_t2t_handle_format_tag_rsp()
[all …]
Drw_t1t_ndef.c1799 const tT1T_INIT_TAG *p_ret; in rw_t1t_get_ndef_max_size() local
1812 &&((p_ret = t1t_tag_init_data (p_t1t->hr[0])) != NULL) ) in rw_t1t_get_ndef_max_size()
1814 …p_t1t->max_ndef_msg_len = ((p_ret->tms +1)* T1T_BLOCK_SIZE) - T1T_OTP_LOCK_RES_BYTES - T1T_UID_LEN… in rw_t1t_get_ndef_max_size()
1815 if (p_ret->b_dynamic) in rw_t1t_get_ndef_max_size()
2313 const tT1T_INIT_TAG *p_ret; in RW_T1tFormatNDef() local
2329 if ((p_ret = t1t_tag_init_data (p_t1t->hr[0])) == NULL) in RW_T1tFormatNDef()
2342 UINT8_TO_BE_STREAM (p, p_ret->tms); in RW_T1tFormatNDef()
2344 if (p_ret->b_dynamic) 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()
[all …]
/external/libnfc-nci/src/nfa/ee/
Dnfa_ee_main.c401 tNFA_EE_ECB *p_ret = NULL, *p_cb; in nfa_ee_find_ecb() local
406 p_ret = &nfa_ee_cb.ecb[NFA_EE_CB_4_DH]; in nfa_ee_find_ecb()
415 p_ret = p_cb; in nfa_ee_find_ecb()
421 return p_ret; in nfa_ee_find_ecb()
436 tNFA_EE_ECB *p_ret = NULL, *p_cb; in nfa_ee_find_ecb_by_conn_id() local
444 p_ret = p_cb; in nfa_ee_find_ecb_by_conn_id()
449 return p_ret; in nfa_ee_find_ecb_by_conn_id()
Dnfa_ee_act.c305 tNFA_EE_ECB *p_ret = NULL, *p_ecb; in nfa_ee_find_aid_offset() local
319 p_ret = p_ecb; in nfa_ee_find_aid_offset()
329 if (p_ret) in nfa_ee_find_aid_offset()
338 return p_ret; in nfa_ee_find_aid_offset()
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
Dnfc_hal_hci.c762 UINT8 *p_ret = NULL; in nfc_hal_hci_vsc_cback() local
765 p_ret = p_data + NCI_MSG_HDR_SIZE; in nfc_hal_hci_vsc_cback()
766 status = *p_ret; in nfc_hal_hci_vsc_cback()