Lines Matching refs:ps_frame_info
293 phLlcNfc_Frame_t *ps_frame_info = NULL; in phLlcNfc_WrResp_Cb() local
309 ps_frame_info = &(ps_llc_ctxt->s_frameinfo); in phLlcNfc_WrResp_Cb()
310 ps_recv_pkt = &(ps_frame_info->s_recvpacket); in phLlcNfc_WrResp_Cb()
311 ps_store_frame = &(ps_frame_info->s_send_store); in phLlcNfc_WrResp_Cb()
312 count = ps_frame_info->s_send_store.start_pos; in phLlcNfc_WrResp_Cb()
315 PH_LLCNFC_DEBUG("SENT frame type : 0x%02X\n", ps_frame_info->sent_frame_type); in phLlcNfc_WrResp_Cb()
316 PH_LLCNFC_DEBUG("WRITE PENDING : 0x%02X\n", ps_frame_info->write_pending); in phLlcNfc_WrResp_Cb()
317 PH_LLCNFC_DEBUG("WRITE PENDING status : 0x%04X\n", ps_frame_info->write_status); in phLlcNfc_WrResp_Cb()
318 PH_LLCNFC_DEBUG("WRITE wait frame type : 0x%02X\n", ps_frame_info->write_wait_call); in phLlcNfc_WrResp_Cb()
322 switch(ps_frame_info->sent_frame_type) in phLlcNfc_WrResp_Cb()
334 PHNFCSTATUS (ps_frame_info->write_status)) in phLlcNfc_WrResp_Cb()
336 ps_frame_info->write_status = NFCSTATUS_PENDING; in phLlcNfc_WrResp_Cb()
347 ps_frame_info->sent_frame_type = write_resp_received; in phLlcNfc_WrResp_Cb()
368 ps_frame_info->sent_frame_type = write_resp_received; in phLlcNfc_WrResp_Cb()
371 PHNFCSTATUS (ps_frame_info->write_status)) in phLlcNfc_WrResp_Cb()
373 ps_frame_info->write_status = NFCSTATUS_PENDING; in phLlcNfc_WrResp_Cb()
382 count = ps_frame_info->n_s; in phLlcNfc_WrResp_Cb()
385 ps_frame_info->sent_frame_type = write_resp_received; in phLlcNfc_WrResp_Cb()
390 ps_frame_info->n_s = ((ps_frame_info->n_s + 1) % in phLlcNfc_WrResp_Cb()
399 PHNFCSTATUS (ps_frame_info->write_status)) in phLlcNfc_WrResp_Cb()
401 ps_frame_info->write_status = NFCSTATUS_PENDING; in phLlcNfc_WrResp_Cb()
407 PH_LLCNFC_MOD_NS_NR) == ps_frame_info->n_s) && in phLlcNfc_WrResp_Cb()
408 (ps_frame_info->window_size == ps_store_frame->winsize_cnt)) in phLlcNfc_WrResp_Cb()
445 ps_frame_info->sent_frame_type = write_resp_received; in phLlcNfc_WrResp_Cb()
458 ps_frame_info->s_send_store.winsize_cnt); in phLlcNfc_WrResp_Cb()
463 PHNFCSTATUS(ps_frame_info->write_status)) in phLlcNfc_WrResp_Cb()
465 ps_frame_info->write_status = NFCSTATUS_PENDING; in phLlcNfc_WrResp_Cb()
478 PHNFCSTATUS(ps_frame_info->write_status)) in phLlcNfc_WrResp_Cb()
480 ps_frame_info->write_status = NFCSTATUS_PENDING; in phLlcNfc_WrResp_Cb()
498 if (NFCSTATUS_BUSY == PHNFCSTATUS(ps_frame_info->write_status)) in phLlcNfc_WrResp_Cb()
500 ps_frame_info->write_status = NFCSTATUS_PENDING; in phLlcNfc_WrResp_Cb()
505 ps_frame_info->window_size) in phLlcNfc_WrResp_Cb()
538 ps_frame_info->sent_frame_type = write_resp_received; in phLlcNfc_WrResp_Cb()
543 PHNFCSTATUS(ps_frame_info->write_status)) in phLlcNfc_WrResp_Cb()
545 ps_frame_info->write_status = NFCSTATUS_PENDING; in phLlcNfc_WrResp_Cb()
554 ps_frame_info->sent_frame_type = write_resp_received; in phLlcNfc_WrResp_Cb()
559 PHNFCSTATUS(ps_frame_info->write_status)) in phLlcNfc_WrResp_Cb()
561 ps_frame_info->write_status = NFCSTATUS_PENDING; in phLlcNfc_WrResp_Cb()
579 PHNFCSTATUS(ps_frame_info->write_status)) in phLlcNfc_WrResp_Cb()
581 ps_frame_info->write_status = NFCSTATUS_PENDING; in phLlcNfc_WrResp_Cb()
594 PH_LLCNFC_DEBUG("WIN SIZE : 0x%02X\n", ps_frame_info->s_send_store.winsize_cnt); in phLlcNfc_WrResp_Cb()
596 if(ps_frame_info->s_send_store.winsize_cnt > 0) in phLlcNfc_WrResp_Cb()
599 &(ps_frame_info->s_send_store)); in phLlcNfc_WrResp_Cb()
611 PH_LLCNFC_DEBUG("WIN SIZE : 0x%02X\n", ps_frame_info->s_send_store.winsize_cnt); in phLlcNfc_WrResp_Cb()
613 if(ps_frame_info->s_send_store.winsize_cnt > 0) in phLlcNfc_WrResp_Cb()
616 &(ps_frame_info->s_send_store), 0); in phLlcNfc_WrResp_Cb()
664 phLlcNfc_Frame_t *ps_frame_info = NULL; in phLlcNfc_RdResp_Cb() local
675 ps_frame_info = &(ps_llc_ctxt->s_frameinfo); in phLlcNfc_RdResp_Cb()
676 ps_recv_pkt = &(ps_frame_info->s_recvpacket); in phLlcNfc_RdResp_Cb()
701 if ((init_u_rset_frame == ps_frame_info->sent_frame_type) && in phLlcNfc_RdResp_Cb()
734 PH_LLCNFC_DEBUG("WIN SIZE : 0x%02X\n", ps_frame_info->s_send_store.winsize_cnt); in phLlcNfc_RdResp_Cb()
786 else if (ps_frame_info->recv_error_count < in phLlcNfc_RdResp_Cb()
791 PH_LLCNFC_DEBUG("RECV ERROR COUNT : 0x%02X\n", ps_frame_info->recv_error_count); in phLlcNfc_RdResp_Cb()
793 ps_frame_info->recv_error_count = (uint8_t) in phLlcNfc_RdResp_Cb()
794 (ps_frame_info->recv_error_count + 1); in phLlcNfc_RdResp_Cb()
832 else if (ps_frame_info->recv_error_count >= in phLlcNfc_RdResp_Cb()
859 ps_frame_info->recv_error_count = (uint8_t) in phLlcNfc_RdResp_Cb()
860 (ps_frame_info->recv_error_count + 1); in phLlcNfc_RdResp_Cb()
887 ps_frame_info->recv_error_count = (uint8_t) in phLlcNfc_RdResp_Cb()
888 (ps_frame_info->recv_error_count + 1); in phLlcNfc_RdResp_Cb()
899 ps_frame_info->recv_error_count = (uint8_t) in phLlcNfc_RdResp_Cb()
900 (ps_frame_info->recv_error_count + 1); in phLlcNfc_RdResp_Cb()
923 ps_frame_info->recv_error_count = (uint8_t) in phLlcNfc_RdResp_Cb()
924 (ps_frame_info->recv_error_count + 1); in phLlcNfc_RdResp_Cb()
935 ps_frame_info->recv_error_count = (uint8_t) in phLlcNfc_RdResp_Cb()
936 (ps_frame_info->recv_error_count + 1); in phLlcNfc_RdResp_Cb()
970 phLlcNfc_Frame_t *ps_frame_info = NULL; in phLlcNfc_H_SendInfo() local
973 ps_frame_info = &(psLlcCtxt->s_frameinfo); in phLlcNfc_H_SendInfo()
974 ps_recv_pkt = &(ps_frame_info->s_recvpacket); in phLlcNfc_H_SendInfo()
1024 (TRUE == ps_frame_info->upper_recv_call)) in phLlcNfc_H_SendInfo()
1026 ps_frame_info->upper_recv_call = FALSE; in phLlcNfc_H_SendInfo()