OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nfc_hal_cb
(Results
1 - 9
of
9
) sorted by null
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
nfc_hal_prm.c
50
#define NFC_HAL_PRM_STATE(str) HAL_TRACE_DEBUG2 ("%s st: %d", str,
nfc_hal_cb
.prm.state)
87
nfc_hal_cb
.prm.state = NFC_HAL_PRM_ST_IDLE;
90
if (
nfc_hal_cb
.prm.p_cback)
91
(
nfc_hal_cb
.prm.p_cback) (event);
106
UINT16 len, offset =
nfc_hal_cb
.prm.cur_patch_offset;
113
if (
nfc_hal_cb
.prm.cur_patch_len_remaining < patch_hdr_size)
121
p_src = (UINT8*) (
nfc_hal_cb
.prm.p_cur_patch_data + offset);
130
nfc_hal_cb
.prm.cur_patch_offset += (len + patch_hdr_size);
131
nfc_hal_cb
.prm.cur_patch_len_remaining -= (len + patch_hdr_size);
137
nfc_hal_cb
.prm.flags |= NFC_HAL_PRM_FLAGS_SIGNATURE_SENT
[
all
...]
nfc_hal_hci.c
94
if ( (
nfc_hal_cb
.hci_cb.p_hci_netwk_info_buf && (p_evt_data->nv_read.block == HC_F3_NV_BLOCK || p_evt_data->nv_read.block == HC_F4_NV_BLOCK || p_evt_data->nv_read.block == HC_F5_NV_BLOCK))
95
||(
nfc_hal_cb
.hci_cb.p_hci_netwk_dh_info_buf && p_evt_data->nv_read.block == HC_F2_NV_BLOCK) )
131
if (
nfc_hal_cb
.nvm_cb.nvm_type == NCI_SPD_NVM_TYPE_NONE)
133
HAL_TRACE_DEBUG1 ("nfc_hal_hci_enable (): No HCI NETWK CMD to send for NVM Type: 0x%02x",
nfc_hal_cb
.nvm_cb.nvm_type);
138
if (
nfc_hal_cb
.hci_cb.p_hci_netwk_dh_info_buf)
140
p_hci_netwk_cmd = (UINT8 *) (
nfc_hal_cb
.hci_cb.p_hci_netwk_dh_info_buf - NCI_MSG_HDR_SIZE);
142
nfc_hal_cb
.hci_cb.p_hci_netwk_dh_info_buf = NULL;
145
if (
nfc_hal_cb
.hci_cb.p_hci_netwk_info_buf)
147
p_hci_netwk_cmd = (UINT8 *) (
nfc_hal_cb
.hci_cb.p_hci_netwk_info_buf - NCI_MSG_HDR_SIZE);
149
nfc_hal_cb
.hci_cb.p_hci_netwk_info_buf = NULL
[
all
...]
nfc_hal_dm.c
200
if (
nfc_hal_cb
.dev_cb.next_dm_config == NFC_HAL_DM_CONFIG_NONE)
227
if (
nfc_hal_cb
.dev_cb.next_startup_vsc + NCI_MSG_HDR_SIZE - 1 <= *p_nfc_hal_dm_start_up_vsc_cfg)
229
p = p_nfc_hal_dm_start_up_vsc_cfg +
nfc_hal_cb
.dev_cb.next_startup_vsc;
236
nfc_hal_cb
.dev_cb.next_startup_vsc += NCI_MSG_HDR_SIZE + len;
240
nfc_hal_cb
.dev_cb.next_dm_config = NFC_HAL_DM_CONFIG_NONE;
250
nfc_hal_cb
.p_stack_cback (HAL_NFC_POST_INIT_CPLT_EVT, HAL_NFC_STATUS_FAILED);
264
HAL_TRACE_DEBUG1 ("nfc_hal_dm_config_nfcc (): next_dm_config = %d",
nfc_hal_cb
.dev_cb.next_dm_config);
266
if ((p_nfc_hal_dm_lptd_cfg[0]) && (
nfc_hal_cb
.dev_cb.next_dm_config <= NFC_HAL_DM_CONFIG_LPTD))
268
nfc_hal_cb
.dev_cb.next_dm_config = NFC_HAL_DM_CONFIG_PLL_325;
279
nfc_hal_cb
.p_stack_cback (HAL_NFC_POST_INIT_CPLT_EVT, HAL_NFC_STATUS_FAILED)
[
all
...]
nfc_hal_main.c
45
tNFC_HAL_CB
nfc_hal_cb
;
variable
85
memset (&
nfc_hal_cb
, 0, sizeof (tNFC_HAL_CB));
87
nfc_hal_cb
.ncit_cb.nci_ctrl_size = NFC_HAL_NCI_INIT_CTRL_PAYLOAD_SIZE;
88
nfc_hal_cb
.trace_level = NFC_HAL_INITIAL_TRACE_LEVEL;
89
nfc_hal_cb
.timer.p_cback = nfc_hal_main_timeout_cback;
106
nfc_hal_cb
.ncit_cb.rcv_state = NFC_HAL_RCV_IDLE_ST; /* to process packet type */
108
if (
nfc_hal_cb
.ncit_cb.p_rcv_msg)
110
GKI_freebuf (
nfc_hal_cb
.ncit_cb.p_rcv_msg);
111
nfc_hal_cb
.ncit_cb.p_rcv_msg = NULL;
127
nfc_hal_main_start_quick_timer (&
nfc_hal_cb
.timer, NFC_HAL_TTYPE_NFCC_ENABLE
[
all
...]
nfc_hal_nci.c
54
NFC_HDR *p_msg =
nfc_hal_cb
.ncit_cb.p_rcv_msg;
90
if (
nfc_hal_cb
.ncit_cb.p_frag_msg)
92
if (
nfc_hal_cb
.ncit_cb.p_frag_msg->layer_specific != p_msg->layer_specific)
95
HAL_TRACE_ERROR2 ("nfc_hal_nci_assemble_nci_msg() - different messages 0x%x, 0x%x!!",
nfc_hal_cb
.ncit_cb.p_frag_msg->layer_specific, p_msg->layer_specific);
96
nfc_hal_cb
.ncit_cb.nci_ras |= NFC_HAL_NCI_RAS_ERROR;
98
else if (
nfc_hal_cb
.ncit_cb.nci_ras == 0)
104
size = GKI_get_buf_size (
nfc_hal_cb
.ncit_cb.p_frag_msg);
105
needed = (NFC_HDR_SIZE +
nfc_hal_cb
.ncit_cb.p_frag_msg->len +
nfc_hal_cb
.ncit_cb.p_frag_msg->offset + p_msg->len);
110
pd = (UINT8 *) (
nfc_hal_cb
.ncit_cb.p_frag_msg + 1) + nfc_hal_cb.ncit_cb.p_frag_msg->offset + nfc_hal_cb.ncit_cb.p_frag_msg->l (…)
[
all
...]
nfc_hal_api.c
112
nfc_hal_cb
.p_stack_cback = p_hal_cback;
113
nfc_hal_cb
.p_data_cback = p_data_cback;
135
if (
nfc_hal_cb
.p_stack_cback)
239
if (
nfc_hal_cb
.pre_discover_done == FALSE)
241
nfc_hal_cb
.pre_discover_done = TRUE;
304
if (
nfc_hal_cb
.p_stack_cback)
322
HAL_TRACE_API1 ("HAL_NfcGetMaxNfcee: %d",
nfc_hal_cb
.max_ee);
323
return
nfc_hal_cb
.max_ee;
/external/libnfc-nci/src/hal/include/
nfc_hal_target.h
189
#define HAL_TRACE_ERROR0(m) {if (
nfc_hal_cb
.trace_level >= BT_TRACE_LEVEL_ERROR) NCI_TRACE_0(TRACE_LAYER_HAL, TRACE_TYPE_ERROR, m);}
190
#define HAL_TRACE_ERROR1(m,p1) {if (
nfc_hal_cb
.trace_level >= BT_TRACE_LEVEL_ERROR) NCI_TRACE_1(TRACE_LAYER_HAL, TRACE_TYPE_ERROR, m,p1);}
191
#define HAL_TRACE_ERROR2(m,p1,p2) {if (
nfc_hal_cb
.trace_level >= BT_TRACE_LEVEL_ERROR) NCI_TRACE_2(TRACE_LAYER_HAL, TRACE_TYPE_ERROR, m,p1,p2);}
192
#define HAL_TRACE_ERROR3(m,p1,p2,p3) {if (
nfc_hal_cb
.trace_level >= BT_TRACE_LEVEL_ERROR) NCI_TRACE_3(TRACE_LAYER_HAL, TRACE_TYPE_ERROR, m,p1,p2,p3);}
193
#define HAL_TRACE_ERROR4(m,p1,p2,p3,p4) {if (
nfc_hal_cb
.trace_level >= BT_TRACE_LEVEL_ERROR) NCI_TRACE_4(TRACE_LAYER_HAL, TRACE_TYPE_ERROR, m,p1,p2,p3,p4);}
194
#define HAL_TRACE_ERROR5(m,p1,p2,p3,p4,p5) {if (
nfc_hal_cb
.trace_level >= BT_TRACE_LEVEL_ERROR) NCI_TRACE_5(TRACE_LAYER_HAL, TRACE_TYPE_ERROR, m,p1,p2,p3,p4,p5);}
195
#define HAL_TRACE_ERROR6(m,p1,p2,p3,p4,p5,p6) {if (
nfc_hal_cb
.trace_level >= BT_TRACE_LEVEL_ERROR) NCI_TRACE_6(TRACE_LAYER_HAL, TRACE_TYPE_ERROR, m,p1,p2,p3,p4,p5,p6);}
197
#define HAL_TRACE_WARNING0(m) {if (
nfc_hal_cb
.trace_level >= BT_TRACE_LEVEL_WARNING) NCI_TRACE_0(TRACE_LAYER_HAL, TRACE_TYPE_WARNING, m);}
198
#define HAL_TRACE_WARNING1(m,p1) {if (
nfc_hal_cb
.trace_level >= BT_TRACE_LEVEL_WARNING) NCI_TRACE_1(TRACE_LAYER_HAL, TRACE_TYPE_WARNING, m,p1);}
199
#define HAL_TRACE_WARNING2(m,p1,p2) {if (
nfc_hal_cb
.trace_level >= BT_TRACE_LEVEL_WARNING) NCI_TRACE_2(TRACE_LAYER_HAL, TRACE_TYPE_WARNING, m,p1,p2);
[
all
...]
/external/libnfc-nci/src/hal/int/
nfc_hal_int.h
201
#define NFC_HAL_SET_INIT_STATE(state) HAL_TRACE_DEBUG3 ("init state: %d->%d(%s)",
nfc_hal_cb
.dev_cb.initializing_state, state, nfc_hal_init_state_str[state]);
nfc_hal_cb
.dev_cb.initializing_state = state;
203
#define NFC_HAL_SET_INIT_STATE(state)
nfc_hal_cb
.dev_cb.initializing_state = state;
451
extern tNFC_HAL_CB
nfc_hal_cb
;
453
#define
nfc_hal_cb
(*nfc_hal_cb_ptr)
macro
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
patchram.cpp
374
nfc_hal_cb
.max_ee = BRCM_NFC_20791_GEN_MAX_EE;
379
nfc_hal_cb
.max_ee = BRCM_NFC_43341_GEN_MAX_EE;
384
nfc_hal_cb
.max_ee = BRCM_NFC_20795_GEN_MAX_EE;
390
nfc_hal_cb
.max_ee = num;
Completed in 80 milliseconds