Searched refs:NCI_MSG_HDR_SIZE (Results 1 – 11 of 11) sorted by relevance
/external/libnfc-nci/src/nfc/nci/ |
D | nci_hmsgs.c | 53 p->len = NCI_MSG_HDR_SIZE + NCI_CORE_PARAM_SIZE_RESET; in nci_snd_core_reset() 85 p->len = NCI_MSG_HDR_SIZE + NCI_CORE_PARAM_SIZE_INIT; in nci_snd_core_init() 116 p->len = NCI_MSG_HDR_SIZE + num_ids + 1; in nci_snd_core_get_config() 150 p->len = NCI_MSG_HDR_SIZE + tlv_size + 1; in nci_snd_core_set_config() 203 p->len = NCI_MSG_HDR_SIZE + NCI_CORE_PARAM_SIZE_CON_CREATE; in nci_snd_core_conn_create() 241 p->len = NCI_MSG_HDR_SIZE + NCI_CORE_PARAM_SIZE_CON_CLOSE; in nci_snd_core_conn_close() 277 p->len = NCI_MSG_HDR_SIZE + NCI_PARAM_SIZE_DISCOVER_NFCEE; in nci_snd_nfcee_discover() 310 p->len = NCI_MSG_HDR_SIZE + NCI_CORE_PARAM_SIZE_NFCEE_MODE_SET; in nci_snd_nfcee_mode_set() 364 p->len = NCI_MSG_HDR_SIZE + *p_size; in nci_snd_discover_cmd() 389 p->len = NCI_MSG_HDR_SIZE + NCI_DISCOVER_PARAM_SIZE_SELECT; in nci_snd_discover_select_cmd() [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
D | nfc_hal_hci.c | 117 p_hci_netwk_cmd = (UINT8 *) (nfc_hal_cb.hci_cb.p_hci_netwk_dh_info_buf - NCI_MSG_HDR_SIZE); in nfc_hal_hci_enable() 124 p_hci_netwk_cmd = (UINT8 *) (nfc_hal_cb.hci_cb.p_hci_netwk_info_buf - NCI_MSG_HDR_SIZE); in nfc_hal_hci_enable() 132 …if ((p_hci_netwk_cmd = (UINT8 *) GKI_getbuf (NCI_MSG_HDR_SIZE + NFC_HAL_HCI_NETWK_INFO_SIZE)) == N… in nfc_hal_hci_enable() 139 … nfc_hal_cb.hci_cb.p_hci_netwk_info_buf = (UINT8 *) (p_hci_netwk_cmd + NCI_MSG_HDR_SIZE); in nfc_hal_hci_enable() 446 p_hci_netwk_info = (UINT8 *) nfc_hal_cb.hci_cb.p_hci_netwk_info_buf - NCI_MSG_HDR_SIZE; in nfc_hal_hci_handle_nv_read() 460 … p_hci_netwk_info = (UINT8 *) nfc_hal_cb.hci_cb.p_hci_netwk_dh_info_buf - NCI_MSG_HDR_SIZE; in nfc_hal_hci_handle_nv_read() 473 … p_hci_netwk_info = (UINT8 *) (nfc_hal_cb.hci_cb.p_hci_netwk_dh_info_buf - NCI_MSG_HDR_SIZE); in nfc_hal_hci_handle_nv_read() 487 …nfc_hal_dm_send_nci_cmd (p_hci_netwk_info, (UINT16) (NCI_MSG_HDR_SIZE + size), nfc_hal_hci_vsc_cba… in nfc_hal_hci_handle_nv_read() 549 p_hci_netwk_cmd = (UINT8 *) (nfc_hal_cb.hci_cb.p_hci_netwk_dh_info_buf - NCI_MSG_HDR_SIZE); in nfc_hal_hci_init_complete() 556 p_hci_netwk_cmd = (UINT8 *) (nfc_hal_cb.hci_cb.p_hci_netwk_info_buf - NCI_MSG_HDR_SIZE); in nfc_hal_hci_init_complete() [all …]
|
D | nfc_hal_dm.c | 49 static UINT8 nfc_hal_dm_set_fw_fsm_cmd[NCI_MSG_HDR_SIZE + 1] = 60 const UINT8 nfc_hal_dm_get_build_info_cmd[NCI_MSG_HDR_SIZE] = 68 const UINT8 nfc_hal_dm_get_patch_version_cmd [NCI_MSG_HDR_SIZE] = 116 UINT16 cmd_len = NCI_MSG_HDR_SIZE + tlv_size + 1; in nfc_hal_dm_set_config() 124 if ((p_buff = (UINT8 *) GKI_getbuf ((UINT16)(NCI_MSG_HDR_SIZE + tlv_size))) != NULL) in nfc_hal_dm_set_config() 194 nfc_hal_dm_send_nci_cmd (nfc_hal_dm_set_fw_fsm_cmd, NCI_MSG_HDR_SIZE + 1, p_cback); in nfc_hal_dm_set_fw_fsm() 235 if (nfc_hal_cb.dev_cb.next_startup_vsc + NCI_MSG_HDR_SIZE - 1 <= *p_nfc_hal_dm_start_up_vsc_cfg) in nfc_hal_dm_send_startup_vsc() 239 p_end = p + NCI_MSG_HDR_SIZE - 1 + len; in nfc_hal_dm_send_startup_vsc() 244 nfc_hal_cb.dev_cb.next_startup_vsc += NCI_MSG_HDR_SIZE + len; in nfc_hal_dm_send_startup_vsc() 250 … nfc_hal_dm_send_nci_cmd (p, (UINT16)(NCI_MSG_HDR_SIZE + len), nfc_hal_dm_config_nfcc_cback); in nfc_hal_dm_send_startup_vsc() [all …]
|
D | nfc_hal_nci.c | 62 if ((p_msg == NULL) || (p_msg->len < NCI_MSG_HDR_SIZE)) in nfc_hal_nci_assemble_nci_msg() 102 p_msg->offset += NCI_MSG_HDR_SIZE; in nfc_hal_nci_assemble_nci_msg() 103 p_msg->len -= NCI_MSG_HDR_SIZE; in nfc_hal_nci_assemble_nci_msg() 115 *pd = (UINT8) (nfc_hal_cb.ncit_cb.p_frag_msg->len - NCI_MSG_HDR_SIZE); in nfc_hal_nci_assemble_nci_msg() 190 p_cb->rcv_len = NCI_MSG_HDR_SIZE; in nfc_hal_nci_receive_nci_msg() 717 UINT8 hdr[NCI_MSG_HDR_SIZE]; in nfc_hal_nci_send_cmd() 735 max_len = nci_ctrl_size + NCI_MSG_HDR_SIZE; in nfc_hal_nci_send_cmd() 746 memcpy (hdr, ps, NCI_MSG_HDR_SIZE); in nfc_hal_nci_send_cmd() 781 memcpy (pd, hdr, NCI_MSG_HDR_SIZE); in nfc_hal_nci_send_cmd() 783 *pd = (UINT8) (p_buf->len - NCI_MSG_HDR_SIZE); in nfc_hal_nci_send_cmd()
|
D | nfc_hal_api.c | 162 size = p_core_init_rsp_params[2] + NCI_MSG_HDR_SIZE; in HAL_NfcCoreInitialized() 196 if (data_len > (NCI_MAX_CTRL_SIZE + NCI_MSG_HDR_SIZE)) in HAL_NfcWrite()
|
D | nfc_hal_prm.c | 95 UINT8 patch_hdr_size = NCI_MSG_HDR_SIZE + 1; /* 1 is for HCIT */ in nfc_hal_prm_spd_send_next_segment() 146 …nci_cmd ((UINT8*) (nfc_hal_cb.prm.p_cur_patch_data + offset + 1), (UINT8) (len + NCI_MSG_HDR_SIZE), in nfc_hal_prm_spd_send_next_segment() 567 p = p_data + NCI_MSG_HDR_SIZE; in nfc_hal_prm_nci_command_complete_cback() 717 UINT8 get_patch_version_cmd [NCI_MSG_HDR_SIZE] = in nfc_hal_prm_nfcc_ready_to_continue() 751 …nfc_hal_dm_send_nci_cmd (get_patch_version_cmd, NCI_MSG_HDR_SIZE, nfc_hal_prm_nci_command_complete… in nfc_hal_prm_nfcc_ready_to_continue()
|
D | nfc_hal_main.c | 644 p = (UINT8 *) (p_msg + 1) + p_msg->offset + NCI_MSG_HDR_SIZE; in nfc_hal_main_task()
|
/external/libnfc-nci/src/nfc/nfc/ |
D | nfc_vs.c | 134 p_data->offset -= NCI_MSG_HDR_SIZE; in NFC_SendVsCommand() 139 p_data->len += NCI_MSG_HDR_SIZE; in NFC_SendVsCommand()
|
D | nfc_ncif.c | 280 memcpy(nfc_cb.last_cmd, ps + NCI_MSG_HDR_SIZE, NFC_SAVED_CMD_SIZE); in nfc_ncif_check_cmd_queue() 732 p += NCI_MSG_HDR_SIZE; in nfc_ncif_proc_discover_ntf() 1201 p += NCI_MSG_HDR_SIZE; in nfc_ncif_proc_conn_create_rsp() 1326 status = *(p + NCI_MSG_HDR_SIZE); in nfc_ncif_proc_init_rsp() 1359 p_evt->offset += NCI_MSG_HDR_SIZE; in nfc_ncif_proc_get_config_rsp() 1360 p_evt->len -= NCI_MSG_HDR_SIZE; in nfc_ncif_proc_get_config_rsp() 1417 p_evt->offset += NCI_MSG_HDR_SIZE; in nfc_data_event() 1418 p_evt->len -= NCI_MSG_HDR_SIZE; in nfc_data_event() 1511 ps = (UINT8 *)(p_msg + 1) + p_msg->offset + NCI_MSG_HDR_SIZE; in nfc_ncif_proc_data() 1512 len = p_msg->len - NCI_MSG_HDR_SIZE; in nfc_ncif_proc_data()
|
D | nfc_main.c | 229 p = (UINT8 *) (p_init_rsp_msg + 1) + p_init_rsp_msg->offset + NCI_MSG_HDR_SIZE + 1; in nfc_enabled()
|
/external/libnfc-nci/src/hal/include/ |
D | nci_defs.h | 37 #define NCI_MSG_HDR_SIZE 3 /* per NCI spec */ macro 607 …MD_BUF(paramlen) ((BT_HDR *) GKI_getbuf ((UINT16) (BT_HDR_SIZE + NCI_MSG_HDR_SIZE + NCI_MSG_OFF…
|