Home
last modified time | relevance | path

Searched refs:p_cmd (Results 1 – 7 of 7) sorted by relevance

/external/libnfc-nci/src/nfc/tags/
Drw_i93.c539 BT_HDR *p_cmd; in rw_i93_send_cmd_inventory() local
544 p_cmd = (BT_HDR *) GKI_getpoolbuf (NFC_RW_POOL_ID); in rw_i93_send_cmd_inventory()
546 if (!p_cmd) in rw_i93_send_cmd_inventory()
552 p_cmd->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; in rw_i93_send_cmd_inventory()
553 p_cmd->len = 3; in rw_i93_send_cmd_inventory()
554 p = (UINT8 *) (p_cmd + 1) + p_cmd->offset; in rw_i93_send_cmd_inventory()
572 p_cmd->len++; in rw_i93_send_cmd_inventory()
579 p_cmd->len += I93_UID_BYTE_LEN; in rw_i93_send_cmd_inventory()
586 if (rw_i93_send_to_lower (p_cmd)) in rw_i93_send_cmd_inventory()
608 BT_HDR *p_cmd; in rw_i93_send_cmd_stay_quiet() local
[all …]
Dce_t4t.c368 static BOOLEAN ce_t4t_process_select_file_cmd (UINT8 *p_cmd) in ce_t4t_process_select_file_cmd() argument
375 p_cmd++; /* skip P2 */ in ce_t4t_process_select_file_cmd()
378 BE_STREAM_TO_UINT8 (data_len, p_cmd); in ce_t4t_process_select_file_cmd()
383 BE_STREAM_TO_UINT16 (file_id, p_cmd); in ce_t4t_process_select_file_cmd()
420 static void ce_t4t_process_select_app_cmd (UINT8 *p_cmd, BT_HDR *p_c_apdu) in ce_t4t_process_select_app_cmd() argument
429 p_cmd++; /* skip P2 */ in ce_t4t_process_select_app_cmd()
432 BE_STREAM_TO_UINT8 (data_len, p_cmd); in ce_t4t_process_select_app_cmd()
438 &&(!memcmp(p_cmd, ce_test_tag_app_id, data_len)) in ce_t4t_process_select_app_cmd()
458 &&(!(memcmp(ce_cb.mem.t4t.reg_aid[xx].aid, p_cmd, data_len))) ) in ce_t4t_process_select_app_cmd()
489 &&(!memcmp(p_cmd, t4t_v20_ndef_tag_aid, data_len - 1)) in ce_t4t_process_select_app_cmd()
[all …]
/external/libnfc-nci/halimpl/pn54x/hal/
DphNxpNciHal_ext.c497 static NFCSTATUS phNxpNciHal_process_ext_cmd_rsp(uint16_t cmd_len, uint8_t *p_cmd) in phNxpNciHal_process_ext_cmd_rsp() argument
513 data_written = phNxpNciHal_write_unlocked(cmd_len, p_cmd); in phNxpNciHal_process_ext_cmd_rsp()
941 NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t *p_cmd) in phNxpNciHal_send_ext_cmd() argument
947 memcpy(nxpncihal_ctrl.p_cmd_data, p_cmd, cmd_len); in phNxpNciHal_send_ext_cmd()
DphNxpNciHal_ext.h25 NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t *p_cmd);
DphNxpNciHal_Kovio.c28 extern NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t *p_cmd);
DphNxpNciHal_NfcDepSWPrio.c27 extern NFCSTATUS phNxpNciHal_send_ext_cmd(uint16_t cmd_len, uint8_t *p_cmd);
/external/libnfc-nci/src/nfa/dm/
Dnfa_dm_act.c861 BT_HDR *p_cmd = (BT_HDR *)p_data; in nfa_dm_act_send_vsc() local
863 p_cmd->offset = sizeof (tNFA_DM_API_SEND_VSC) - BT_HDR_SIZE; in nfa_dm_act_send_vsc()
864 p_cmd->len = p_data->send_vsc.cmd_params_len; in nfa_dm_act_send_vsc()
865 NFC_SendVsCommand (p_data->send_vsc.oid, p_cmd, p_data->send_vsc.p_cback); in nfa_dm_act_send_vsc()