• Home
  • Raw
  • Download

Lines Matching refs:psLlcCtxt

82     phLlcNfc_Context_t          *psLlcCtxt,   in phLlcNfc_Interface_Register()  argument
90 if ((NULL == psLlcCtxt) || (NULL == psIFConfig)) in phLlcNfc_Interface_Register()
101 if_cb.pif_ctxt = psLlcCtxt; in phLlcNfc_Interface_Register()
102 sreference.plower_if = &(psLlcCtxt->lower_if); in phLlcNfc_Interface_Register()
126 phLlcNfc_Context_t *psLlcCtxt in phLlcNfc_Interface_Init() argument
133 if ((NULL == psLlcCtxt) || in phLlcNfc_Interface_Init()
134 (NULL == psLlcCtxt->lower_if.init)) in phLlcNfc_Interface_Init()
142 result = psLlcCtxt->lower_if.init( psLlcCtxt->lower_if.pcontext, in phLlcNfc_Interface_Init()
143 psLlcCtxt->phwinfo); in phLlcNfc_Interface_Init()
151 phLlcNfc_Context_t *psLlcCtxt, in phLlcNfc_Interface_Read() argument
163 if ((NULL == psLlcCtxt) || (NULL == pLlcBuffer) || in phLlcNfc_Interface_Read()
164 (0 == llcBufferLength) || (NULL == psLlcCtxt->lower_if.receive) || in phLlcNfc_Interface_Read()
170 psLlcCtxt->s_frameinfo.read_pending) in phLlcNfc_Interface_Read()
178 result = psLlcCtxt->lower_if.receive( in phLlcNfc_Interface_Read()
179 psLlcCtxt->lower_if.pcontext, in phLlcNfc_Interface_Read()
180 psLlcCtxt->phwinfo, in phLlcNfc_Interface_Read()
186 result = psLlcCtxt->lower_if.receive_wait( in phLlcNfc_Interface_Read()
187 psLlcCtxt->lower_if.pcontext, in phLlcNfc_Interface_Read()
188 psLlcCtxt->phwinfo, in phLlcNfc_Interface_Read()
197 psLlcCtxt->s_frameinfo.read_pending = in phLlcNfc_Interface_Read()
202 psLlcCtxt->s_frameinfo.read_pending = in phLlcNfc_Interface_Read()
213 phLlcNfc_Context_t *psLlcCtxt, in phLlcNfc_Interface_Write() argument
225 if ((NULL == psLlcCtxt) || (NULL == pLlcBuffer) || in phLlcNfc_Interface_Write()
227 (NULL == psLlcCtxt->lower_if.send)) in phLlcNfc_Interface_Write()
229 PH_LLCNFC_DEBUG ("psLlcCtxt : 0x%p\n", psLlcCtxt); in phLlcNfc_Interface_Write()
239 if ((TRUE == psLlcCtxt->s_frameinfo.write_pending) || in phLlcNfc_Interface_Write()
241 psLlcCtxt->s_frameinfo.read_pending)) in phLlcNfc_Interface_Write()
254 psLlcCtxt->s_frameinfo.s_llcpacket.llcbuf_len = (uint8_t)llcBufferLength; in phLlcNfc_Interface_Write()
255 (void)memcpy ((void *)&(psLlcCtxt->s_frameinfo.s_llcpacket.s_llcbuf), in phLlcNfc_Interface_Write()
258 result = psLlcCtxt->lower_if.send(psLlcCtxt->lower_if.pcontext, in phLlcNfc_Interface_Write()
259 psLlcCtxt->phwinfo, in phLlcNfc_Interface_Write()
260 … (uint8_t *)&(psLlcCtxt->s_frameinfo.s_llcpacket.s_llcbuf), in phLlcNfc_Interface_Write()
264 psLlcCtxt->s_frameinfo.write_pending = TRUE; in phLlcNfc_Interface_Write()
269 psLlcCtxt->s_frameinfo.resp_recvd_count = 0; in phLlcNfc_Interface_Write()
966 phLlcNfc_Context_t *psLlcCtxt in phLlcNfc_H_SendInfo() argument
973 ps_frame_info = &(psLlcCtxt->s_frameinfo); in phLlcNfc_H_SendInfo()
985 comp_info.length = (uint16_t)psLlcCtxt->recvbuf_length; in phLlcNfc_H_SendInfo()
991 (void)memcpy ((void *)psLlcCtxt->precv_buf, (void *)( in phLlcNfc_H_SendInfo()
995 comp_info.buffer = psLlcCtxt->precv_buf; in phLlcNfc_H_SendInfo()
1010 (void)phLlcNfc_Interface_Read(psLlcCtxt, in phLlcNfc_H_SendInfo()
1023 if ((NULL != psLlcCtxt->cb_for_if.receive_complete) && in phLlcNfc_H_SendInfo()
1027 psLlcCtxt->cb_for_if.receive_complete( in phLlcNfc_H_SendInfo()
1028 psLlcCtxt->cb_for_if.pif_ctxt, in phLlcNfc_H_SendInfo()
1029 psLlcCtxt->phwinfo, in phLlcNfc_H_SendInfo()
1034 if (NULL != psLlcCtxt->cb_for_if.notify) in phLlcNfc_H_SendInfo()
1036 psLlcCtxt->cb_for_if.notify( in phLlcNfc_H_SendInfo()
1037 psLlcCtxt->cb_for_if.pif_ctxt, in phLlcNfc_H_SendInfo()
1038 psLlcCtxt->phwinfo, in phLlcNfc_H_SendInfo()