Home
last modified time | relevance | path

Searched refs:psHciContext (Results 1 – 25 of 41) sorted by relevance

12

/external/libnfc-nxp/src/
DphHciNfc_Sequence.c116 phHciNfc_sContext_t *psHciContext,
142 phHciNfc_sContext_t *psHciContext,
167 phHciNfc_sContext_t *psHciContext,
174 phHciNfc_sContext_t *psHciContext,
186 phHciNfc_sContext_t *psHciContext
194 phHciNfc_sContext_t *psHciContext,
204 phHciNfc_sContext_t *psHciContext,
217 phHciNfc_sContext_t *psHciContext, in phHciNfc_FSM_Validate() argument
224 psHciContext->hci_state.cur_state; in phHciNfc_FSM_Validate()
457 if( NFC_FSM_IN_PROGRESS == psHciContext->hci_state.transition ) in phHciNfc_FSM_Validate()
[all …]
DphHciNfc.c97 phHciNfc_sContext_t *psHciContext = NULL; in phHciNfc_Initialise() local
117 psHciContext = (phHciNfc_sContext_t *) in phHciNfc_Initialise()
120 if(psHciContext != NULL) in phHciNfc_Initialise()
122 (void)memset((void *)psHciContext,0, in phHciNfc_Initialise()
125 psHciContext->hci_state.cur_state = hciState_Reset; in phHciNfc_Initialise()
126 psHciContext->hci_mode = hciMode_Reset; in phHciNfc_Initialise()
127 psHciContext->p_hw_ref = pHwRef; in phHciNfc_Initialise()
128 psHciContext->host_rf_type = phHal_eUnknown_DevType; in phHciNfc_Initialise()
143 psHciContext->p_upper_notify = pHalNotify; in phHciNfc_Initialise()
144 psHciContext->p_upper_context = psContext; in phHciNfc_Initialise()
[all …]
DphHciNfc_RFReader.c112 phHciNfc_sContext_t *psHciContext,
120 phHciNfc_sContext_t *psHciContext,
140 phHciNfc_sContext_t *psHciContext in phHciNfc_ReaderMgmt_Init_Resources() argument
145 if( NULL == psHciContext ) in phHciNfc_ReaderMgmt_Init_Resources()
151 if( ( NULL == psHciContext->p_reader_mgmt_info ) in phHciNfc_ReaderMgmt_Init_Resources()
156 psHciContext->p_reader_mgmt_info = p_reader_mgmt_info; in phHciNfc_ReaderMgmt_Init_Resources()
180 phHciNfc_sContext_t *psHciContext, in phHciNfc_ReaderMgmt_Update_Sequence() argument
186 if( NULL == psHciContext ) in phHciNfc_ReaderMgmt_Update_Sequence()
192 if( NULL == psHciContext->p_reader_mgmt_info ) in phHciNfc_ReaderMgmt_Update_Sequence()
200 psHciContext->p_reader_mgmt_info ; in phHciNfc_ReaderMgmt_Update_Sequence()
[all …]
DphHciNfc_Generic.c136 phHciNfc_sContext_t *psHciContext,
150 phHciNfc_sContext_t *psHciContext,
163 phHciNfc_sContext_t *psHciContext,
176 phHciNfc_sContext_t *psHciContext,
190 phHciNfc_sContext_t *psHciContext,
249 phHciNfc_sContext_t *psHciContext,
516 phHciNfc_sContext_t *psHciContext, in phHciNfc_Release_Lower() argument
521 &(psHciContext->lower_interface); in phHciNfc_Release_Lower()
557 phHciNfc_sContext_t *psHciContext= (phHciNfc_sContext_t *)psContext; in phHciNfc_Send() local
560 phNfc_sLowerIF_t *plower_if = &(psHciContext->lower_interface); in phHciNfc_Send()
[all …]
DphHciNfc_Pipe.c121 phHciNfc_sContext_t *psHciContext,
144 phHciNfc_sContext_t *psHciContext, in phHciNfc_Create_Pipe() argument
173 status = phHciNfc_Send_Admin_Cmd( psHciContext, pHwRef, in phHciNfc_Create_Pipe()
188 phHciNfc_sContext_t *psHciContext, in phHciNfc_Update_Pipe() argument
224 status = phHciNfc_Create_All_Pipes(psHciContext, in phHciNfc_Update_Pipe()
230 status = phHciNfc_Update_PipeInfo( psHciContext, p_pipe_seq , in phHciNfc_Update_Pipe()
235 psHciContext->p_pipe_list[pipe_id] = p_pipe_info; in phHciNfc_Update_Pipe()
257 status = phHciNfc_LinkMgmt_Initialise( psHciContext,pHwRef ); in phHciNfc_Update_Pipe()
260 status = phHciNfc_ReaderMgmt_Initialise( psHciContext,pHwRef ); in phHciNfc_Update_Pipe()
264 status = phHciNfc_EmuMgmt_Initialise( psHciContext,pHwRef ); in phHciNfc_Update_Pipe()
[all …]
DphHciNfc_RFReaderA.c109 phHciNfc_sContext_t *psHciContext,
118 phHciNfc_sContext_t *psHciContext,
131 phHciNfc_sContext_t *psHciContext,
144 phHciNfc_sContext_t *psHciContext, in phHciNfc_ReaderA_Get_PipeID() argument
150 if( (NULL != psHciContext) in phHciNfc_ReaderA_Get_PipeID()
152 && ( NULL != psHciContext->p_reader_a_info ) in phHciNfc_ReaderA_Get_PipeID()
157 psHciContext->p_reader_a_info ; in phHciNfc_ReaderA_Get_PipeID()
170 phHciNfc_sContext_t *psHciContext in phHciNfc_ReaderA_Init_Resources() argument
175 if( NULL == psHciContext ) in phHciNfc_ReaderA_Init_Resources()
182 ( NULL == psHciContext->p_reader_a_info ) && in phHciNfc_ReaderA_Init_Resources()
[all …]
DphHciNfc_Emulation.c161 phHciNfc_sContext_t *psHciContext, in phHciNfc_Uicc_Connectivity() argument
169 if( NULL != psHciContext->p_emulation_mgmt_info ) in phHciNfc_Uicc_Connectivity()
172 psHciContext->p_emulation_mgmt_info ; in phHciNfc_Uicc_Connectivity()
173 pPipeInfo = psHciContext->p_pipe_list[NXP_PIPE_CONNECTIVITY]; in phHciNfc_Uicc_Connectivity()
198 status = phHciNfc_Uicc_Update_PipeInfo(psHciContext, in phHciNfc_Uicc_Connectivity()
202 psHciContext->p_pipe_list[NXP_PIPE_CONNECTIVITY] = pPipeInfo; in phHciNfc_Uicc_Connectivity()
225 phHciNfc_sContext_t *psHciContext, in phHciNfc_Uicc_Get_PipeID() argument
231 if( (NULL != psHciContext) in phHciNfc_Uicc_Get_PipeID()
233 && ( NULL != psHciContext->p_emulation_mgmt_info ) in phHciNfc_Uicc_Get_PipeID()
237 psHciContext->p_emulation_mgmt_info ; in phHciNfc_Uicc_Get_PipeID()
[all …]
DphHciNfc_DevMgmt.c151 phHciNfc_sContext_t *psHciContext,
161 void *psHciContext,
188 phHciNfc_sContext_t *psHciContext,
197 phHciNfc_sContext_t *psHciContext,
210 phHciNfc_sContext_t *psHciContext in phHciNfc_DevMgmt_Init_Resources() argument
216 if( NULL == psHciContext ) in phHciNfc_DevMgmt_Init_Resources()
222 if(( NULL == psHciContext->p_device_mgmt_info ) && in phHciNfc_DevMgmt_Init_Resources()
226 psHciContext->p_device_mgmt_info = p_device_mgmt_info; in phHciNfc_DevMgmt_Init_Resources()
242 phHciNfc_sContext_t *psHciContext, in phHciNfc_DevMgmt_Get_PipeID() argument
248 if( (NULL != psHciContext) in phHciNfc_DevMgmt_Get_PipeID()
[all …]
DphHciNfc_ISO15693.c69 phHciNfc_sContext_t *psHciContext,
107 phHciNfc_sContext_t *psHciContext in phHciNfc_ISO15693_Init_Resources() argument
112 if( NULL == psHciContext ) in phHciNfc_ISO15693_Init_Resources()
118 if (NULL != psHciContext->p_iso_15693_info) in phHciNfc_ISO15693_Init_Resources()
122 else if(( NULL == psHciContext->p_iso_15693_info ) && in phHciNfc_ISO15693_Init_Resources()
127 psHciContext->p_iso_15693_info = ps_15693_info; in phHciNfc_ISO15693_Init_Resources()
144 phHciNfc_sContext_t *psHciContext, in phHciNfc_ISO15693_Get_PipeID() argument
149 if( (NULL != psHciContext) in phHciNfc_ISO15693_Get_PipeID()
151 && ( NULL != psHciContext->p_iso_15693_info ) in phHciNfc_ISO15693_Get_PipeID()
156 psHciContext->p_iso_15693_info ; in phHciNfc_ISO15693_Get_PipeID()
[all …]
DphHciNfc_SWP.c82 phHciNfc_sContext_t *psHciContext,
105 phHciNfc_sContext_t *psHciContext,
117 phHciNfc_sContext_t *psHciContext, in phHciNfc_SWP_Get_PipeID() argument
123 if( (NULL != psHciContext) in phHciNfc_SWP_Get_PipeID()
125 && ( NULL != psHciContext->p_swp_info ) in phHciNfc_SWP_Get_PipeID()
130 psHciContext->p_swp_info ; in phHciNfc_SWP_Get_PipeID()
141 phHciNfc_SWP_Init_Resources(phHciNfc_sContext_t *psHciContext) in phHciNfc_SWP_Init_Resources() argument
146 if( NULL == psHciContext ) in phHciNfc_SWP_Init_Resources()
152 if(( NULL == psHciContext->p_swp_info ) && in phHciNfc_SWP_Init_Resources()
156 psHciContext->p_swp_info = ps_swp_info; in phHciNfc_SWP_Init_Resources()
[all …]
DphHciNfc_Jewel.c93 phHciNfc_sContext_t *psHciContext,
102 phHciNfc_sContext_t *psHciContext,
114 phHciNfc_sContext_t *psHciContext, in phHciNfc_Jewel_Get_PipeID() argument
120 if( (NULL != psHciContext) in phHciNfc_Jewel_Get_PipeID()
122 && ( NULL != psHciContext->p_jewel_info ) in phHciNfc_Jewel_Get_PipeID()
126 ps_jewel_info = (phHciNfc_Jewel_Info_t *)psHciContext->p_jewel_info; in phHciNfc_Jewel_Get_PipeID()
138 phHciNfc_sContext_t *psHciContext in phHciNfc_Jewel_Init_Resources() argument
143 if( NULL == psHciContext ) in phHciNfc_Jewel_Init_Resources()
150 ( NULL == psHciContext->p_jewel_info ) && in phHciNfc_Jewel_Init_Resources()
155 psHciContext->p_jewel_info = ps_jewel_info; in phHciNfc_Jewel_Init_Resources()
[all …]
DphHciNfc_Felica.c105 phHciNfc_sContext_t *psHciContext,
114 phHciNfc_sContext_t *psHciContext,
129 phHciNfc_sContext_t *psHciContext, in phHciNfc_Felica_Get_PipeID() argument
135 if( (NULL != psHciContext) in phHciNfc_Felica_Get_PipeID()
137 && ( NULL != psHciContext->p_felica_info ) in phHciNfc_Felica_Get_PipeID()
141 p_fel_info = (phHciNfc_Felica_Info_t *)psHciContext->p_felica_info ; in phHciNfc_Felica_Get_PipeID()
154 phHciNfc_sContext_t *psHciContext in phHciNfc_Felica_Init_Resources() argument
159 if( NULL == psHciContext ) in phHciNfc_Felica_Init_Resources()
166 ( NULL == psHciContext->p_felica_info ) && in phHciNfc_Felica_Init_Resources()
171 psHciContext->p_felica_info = p_fel_info; in phHciNfc_Felica_Init_Resources()
[all …]
DphHciNfc_NfcIPMgmt.c97 phHciNfc_sContext_t *psHciContext,
106 phHciNfc_sContext_t *psHciContext,
119 phHciNfc_sContext_t *psHciContext,
132 phHciNfc_sContext_t *psHciContext,
199 phHciNfc_sContext_t *psHciContext in phHciNfc_Initiator_Init_Resources() argument
204 if( NULL == psHciContext ) in phHciNfc_Initiator_Init_Resources()
210 if (NULL != psHciContext->p_nfcip_info) in phHciNfc_Initiator_Init_Resources()
214 else if(( NULL == psHciContext->p_nfcip_info ) && in phHciNfc_Initiator_Init_Resources()
219 psHciContext->p_nfcip_info = p_init_info; in phHciNfc_Initiator_Init_Resources()
237 phHciNfc_sContext_t *psHciContext, in phHciNfc_Initiator_Get_PipeID() argument
[all …]
DphHciNfc_WI.c98 phHciNfc_sContext_t *psHciContext,
107 phHciNfc_sContext_t *psHciContext,
118 phHciNfc_sContext_t *psHciContext,
131 phHciNfc_sContext_t *psHciContext in phHciNfc_WI_Init_Resources() argument
137 if( NULL == psHciContext ) in phHciNfc_WI_Init_Resources()
143 if(( NULL == psHciContext->p_wi_info ) && in phHciNfc_WI_Init_Resources()
147 psHciContext->p_wi_info = p_WI_info; in phHciNfc_WI_Init_Resources()
163 phHciNfc_sContext_t *psHciContext, in phHciNfc_WI_Get_PipeID() argument
169 if( (NULL != psHciContext) in phHciNfc_WI_Get_PipeID()
171 && ( NULL != psHciContext->p_wi_info ) in phHciNfc_WI_Get_PipeID()
[all …]
DphHciNfc_CE_A.c94 phHciNfc_sContext_t *psHciContext,
106 phHciNfc_sContext_t *psHciContext in phHciNfc_CE_A_Init_Resources() argument
111 if( NULL == psHciContext ) in phHciNfc_CE_A_Init_Resources()
118 ( NULL == psHciContext->p_ce_a_info ) && in phHciNfc_CE_A_Init_Resources()
123 psHciContext->p_ce_a_info = ps_ce_a_info; in phHciNfc_CE_A_Init_Resources()
139 phHciNfc_sContext_t *psHciContext, in phHciNfc_CE_A_Initialise() argument
152 if ((NULL == psHciContext) || (NULL == pHwRef)) in phHciNfc_CE_A_Initialise()
156 else if(NULL == psHciContext->p_ce_a_info) in phHciNfc_CE_A_Initialise()
163 psHciContext->p_ce_a_info ); in phHciNfc_CE_A_Initialise()
178 status = phHciNfc_Open_Pipe( psHciContext, in phHciNfc_CE_A_Initialise()
[all …]
DphHciNfc_CE_B.c94 phHciNfc_sContext_t *psHciContext,
106 phHciNfc_sContext_t *psHciContext in phHciNfc_CE_B_Init_Resources() argument
111 if( NULL == psHciContext ) in phHciNfc_CE_B_Init_Resources()
118 ( NULL == psHciContext->p_ce_b_info ) && in phHciNfc_CE_B_Init_Resources()
123 psHciContext->p_ce_b_info = ps_ce_b_info; in phHciNfc_CE_B_Init_Resources()
139 phHciNfc_sContext_t *psHciContext, in phHciNfc_CE_B_Initialise() argument
147 if ((NULL == psHciContext) || (NULL == pHwRef)) in phHciNfc_CE_B_Initialise()
151 else if(NULL == psHciContext->p_ce_b_info) in phHciNfc_CE_B_Initialise()
158 psHciContext->p_ce_b_info ); in phHciNfc_CE_B_Initialise()
173 status = phHciNfc_Open_Pipe( psHciContext, in phHciNfc_CE_B_Initialise()
[all …]
DphHciNfc_RFReaderB.c99 phHciNfc_sContext_t *psHciContext,
108 phHciNfc_sContext_t *psHciContext,
122 phHciNfc_sContext_t *psHciContext, in phHciNfc_ReaderB_Get_PipeID() argument
128 if( (NULL != psHciContext) in phHciNfc_ReaderB_Get_PipeID()
130 && ( NULL != psHciContext->p_reader_b_info ) in phHciNfc_ReaderB_Get_PipeID()
135 psHciContext->p_reader_b_info ; in phHciNfc_ReaderB_Get_PipeID()
147 phHciNfc_sContext_t *psHciContext in phHciNfc_ReaderB_Init_Resources() argument
152 if( NULL == psHciContext ) in phHciNfc_ReaderB_Init_Resources()
159 ( NULL == psHciContext->p_reader_b_info ) && in phHciNfc_ReaderB_Init_Resources()
164 psHciContext->p_reader_b_info = p_rdr_b_info; in phHciNfc_ReaderB_Init_Resources()
[all …]
DphHciNfc_AdminMgmt.c135 void *psHciContext,
149 phHciNfc_sContext_t *psHciContext,
200 phHciNfc_sContext_t *psHciContext, in phHciNfc_Admin_Initialise() argument
209 if( (NULL == psHciContext) in phHciNfc_Admin_Initialise()
217 if( ( NULL == psHciContext->p_admin_info ) in phHciNfc_Admin_Initialise()
222 psHciContext->p_admin_info = (void *) p_admin_info; in phHciNfc_Admin_Initialise()
230 psHciContext->p_admin_info ; in phHciNfc_Admin_Initialise()
262 psHciContext->p_pipe_list[PIPETYPE_STATIC_ADMIN] = in phHciNfc_Admin_Initialise()
264 status = phHciNfc_Open_Pipe( psHciContext, in phHciNfc_Admin_Initialise()
280 phHciNfc_Send_Generic_Cmd( psHciContext, pHwRef, in phHciNfc_Admin_Initialise()
[all …]
DphHciNfc_IDMgmt.c101 phHciNfc_sContext_t *psHciContext,
111 void *psHciContext,
136 phHciNfc_sContext_t *psHciContext in phHciNfc_IDMgmt_Init_Resources() argument
141 if( NULL == psHciContext ) in phHciNfc_IDMgmt_Init_Resources()
147 if( ( NULL == psHciContext->p_identity_info ) in phHciNfc_IDMgmt_Init_Resources()
152 psHciContext->p_identity_info = p_identity_info; in phHciNfc_IDMgmt_Init_Resources()
175 phHciNfc_sContext_t *psHciContext, in phHciNfc_IDMgmt_Get_PipeID() argument
181 if( (NULL != psHciContext) in phHciNfc_IDMgmt_Get_PipeID()
183 && ( NULL != psHciContext->p_identity_info ) in phHciNfc_IDMgmt_Get_PipeID()
187 psHciContext->p_identity_info ; in phHciNfc_IDMgmt_Get_PipeID()
[all …]
DphHciNfc_LinkMgmt.c87 phHciNfc_sContext_t *psHciContext,
96 void *psHciContext,
124 phHciNfc_sContext_t *psHciContext, in phHciNfc_LinkMgmt_Initialise() argument
133 if( ( NULL == psHciContext ) in phHciNfc_LinkMgmt_Initialise()
141 if( ( NULL == psHciContext->p_link_mgmt_info ) in phHciNfc_LinkMgmt_Initialise()
146 psHciContext->p_link_mgmt_info = p_link_mgmt_info; in phHciNfc_LinkMgmt_Initialise()
154 psHciContext->p_link_mgmt_info ; in phHciNfc_LinkMgmt_Initialise()
163 else if( hciMode_Session == psHciContext->hci_mode ) in phHciNfc_LinkMgmt_Initialise()
188 psHciContext->p_pipe_list[PIPETYPE_STATIC_LINK] = in phHciNfc_LinkMgmt_Initialise()
190 status = phHciNfc_Open_Pipe( psHciContext, in phHciNfc_LinkMgmt_Initialise()
[all …]
DphHciNfc_PollingLoop.c111 phHciNfc_sContext_t *psHciContext,
172 phHciNfc_sContext_t *psHciContext, in phHciNfc_PollLoop_Get_PipeID() argument
178 if( (NULL != psHciContext) in phHciNfc_PollLoop_Get_PipeID()
180 && ( NULL != psHciContext->p_poll_loop_info ) in phHciNfc_PollLoop_Get_PipeID()
185 psHciContext->p_poll_loop_info ; in phHciNfc_PollLoop_Get_PipeID()
197 phHciNfc_sContext_t *psHciContext in phHciNfc_PollLoop_Init_Resources() argument
202 if( NULL == psHciContext ) in phHciNfc_PollLoop_Init_Resources()
209 ( NULL == psHciContext->p_poll_loop_info ) in phHciNfc_PollLoop_Init_Resources()
214 psHciContext->p_poll_loop_info = p_poll_info; in phHciNfc_PollLoop_Init_Resources()
237 phHciNfc_sContext_t *psHciContext, in phHciNfc_PollLoop_Initialise() argument
[all …]
DphHciNfc_RFReader.h129 phHciNfc_sContext_t *psHciContext,
153 phHciNfc_sContext_t *psHciContext,
181 phHciNfc_sContext_t *psHciContext,
207 phHciNfc_sContext_t *psHciContext,
253 phHciNfc_sContext_t *psHciContext,
280 phHciNfc_sContext_t *psHciContext,
308 phHciNfc_sContext_t *psHciContext,
338 phHciNfc_sContext_t *psHciContext,
364 phHciNfc_sContext_t *psHciContext,
389 phHciNfc_sContext_t *psHciContext,
[all …]
DphHciNfc_NfcIPMgmt.h183 phHciNfc_sContext_t *psHciContext
205 phHciNfc_sContext_t *psHciContext,
230 phHciNfc_sContext_t *psHciContext,
268 phHciNfc_sContext_t *psHciContext
290 phHciNfc_sContext_t *psHciContext,
315 phHciNfc_sContext_t *psHciContext,
341 phHciNfc_sContext_t *psHciContext,
370 phHciNfc_sContext_t *psHciContext,
397 phHciNfc_sContext_t *psHciContext,
422 phHciNfc_sContext_t *psHciContext,
[all …]
DphHciNfc_Sequence.h99 phHciNfc_sContext_t *psHciContext,
125 phHciNfc_sContext_t *psHciContext,
146 phHciNfc_sContext_t *psHciContext
166 phHciNfc_sContext_t *psHciContext
194 phHciNfc_sContext_t *psHciContext,
219 phHciNfc_sContext_t *psHciContext,
246 phHciNfc_sContext_t *psHciContext,
273 phHciNfc_sContext_t *psHciContext,
299 phHciNfc_sContext_t *psHciContext,
325 phHciNfc_sContext_t *psHciContext,
[all …]
DphHciNfc_DevMgmt.h155 phHciNfc_DevMgmt_Init_Resources(phHciNfc_sContext_t *psHciContext);
179 phHciNfc_sContext_t *psHciContext,
204 phHciNfc_sContext_t *psHciContext,
244 phHciNfc_sContext_t *psHciContext,
253 phHciNfc_sContext_t *psHciContext,
262 phHciNfc_sContext_t *psHciContext,
287 phHciNfc_sContext_t *psHciContext,
314 phHciNfc_sContext_t *psHciContext,
321 phHciNfc_sContext_t *psHciContext,
328 phHciNfc_sContext_t *psHciContext,

12