Lines Matching refs:ps_timer_info
185 phLlcNfc_Timerinfo_t *ps_timer_info = NULL;
187 ps_timer_info = &(gpphLlcNfc_Ctxt->s_timerinfo);
198 GET_BITS8(ps_timer_info->timer_flag,
205 SET_BITS8 (ps_timer_info->timer_flag,
211 timerid = ps_timer_info->timer_id[PH_LLCNFC_CONNECTION_TO_INDEX];
213 timer_resolution = ps_timer_info->con_to_value = (uint16_t)
220 if (ps_timer_info->guard_to_count < PH_LLCNFC_MAX_GUARD_TIMER)
222 timer_count = ps_timer_info->guard_to_count;
230 GET_BITS8 (ps_timer_info->timer_flag,
241 ps_timer_info->timer_flag = (uint8_t)
242 SET_BITS8 (ps_timer_info->timer_flag,
248 timerid = ps_timer_info->timer_id[PH_LLCNFC_GUARDTIMER];
252 ps_timer_info->guard_to_value[timer_count] = (uint16_t)
255 ps_timer_info->timer_ns_value[timer_count] = ns_value;
256 ps_timer_info->frame_type[timer_count] = (uint8_t)invalid_frame;
257 ps_timer_info->iframe_send_count[timer_count] = 0;
260 (ps_timer_info->guard_to_value[(timer_count - 1)] >=
267 ps_timer_info->guard_to_value[timer_count] = (uint16_t)
268 (ps_timer_info->guard_to_value[(timer_count - 1)] +
272 PH_LLCNFC_DEBUG("GUARD TIMER VALUE : 0x%04X\n", ps_timer_info->guard_to_value[timer_count]);
275 ps_timer_info->guard_to_count = (uint8_t)(
276 ps_timer_info->guard_to_count + 1);
292 ps_timer_info->timer_flag,
299 ps_timer_info->timer_flag = (uint8_t)
300 SET_BITS8 (ps_timer_info->timer_flag,
307 timer_resolution = ps_timer_info->ack_to_value = (uint16_t)
309 timerid = ps_timer_info->timer_id[PH_LLCNFC_ACKTIMER];
354 phLlcNfc_Timerinfo_t *ps_timer_info = NULL;
357 ps_timer_info = &(gpphLlcNfc_Ctxt->s_timerinfo);
358 timerflag = ps_timer_info->timer_flag;
366 ps_timer_info->timer_flag = (uint8_t)
367 SET_BITS8(ps_timer_info->timer_flag,
370 timerid = ps_timer_info->timer_id
379 timer_count = ps_timer_info->guard_to_count;
391 ps_timer_info->guard_to_value[start_index] = (uint16_t)
392 (ps_timer_info->guard_to_value[
395 ps_timer_info->iframe_send_count[start_index] = (uint8_t)
396 (ps_timer_info->iframe_send_count[
399 PH_LLCNFC_DEBUG("GUARD TIMER NS INDEX DELETED : 0x%02X\n", ps_timer_info->timer_ns_value[start_index]);
401 ps_timer_info->timer_ns_value[start_index] = (uint8_t)
402 (ps_timer_info->timer_ns_value[
405 ps_timer_info->frame_type[start_index] = (uint8_t)
406 (ps_timer_info->frame_type[
416 ps_timer_info->guard_to_value[start_index] = 0;
418 ps_timer_info->iframe_send_count[start_index] = 0;
420 PH_LLCNFC_DEBUG("GUARD TIMER NS INDEX DELETED ELSE : 0x%02X\n", ps_timer_info->timer_ns_value[start_index]);
422 ps_timer_info->timer_ns_value[start_index] = 0;
424 ps_timer_info->frame_type[start_index] = 0;
442 timerid = ps_timer_info->timer_id[PH_LLCNFC_GUARDTIMER];
443 ps_timer_info->guard_to_count = timer_count;
446 if (0 == ps_timer_info->guard_to_count)
450 ps_timer_info->timer_flag = (uint8_t)
451 SET_BITS8 (ps_timer_info->timer_flag,
467 ps_timer_info->timer_flag = (uint8_t)
468 SET_BITS8 (ps_timer_info->timer_flag,
471 timerid = ps_timer_info->timer_id[PH_LLCNFC_ACKTIMER];
472 ps_timer_info->ack_to_value = 0;
508 phLlcNfc_Timerinfo_t *ps_timer_info = NULL;
514 ps_timer_info = &(gpphLlcNfc_Ctxt->s_timerinfo);
518 timerid = ps_timer_info->timer_id[timer_index];
520 GET_BITS8(ps_timer_info->timer_flag,
529 ps_timer_info->timer_flag = (uint8_t)
530 SET_BITS8 (ps_timer_info->timer_flag,
535 ps_timer_info->con_to_value = 0;
543 timerid = ps_timer_info->timer_id[timer_index];
544 timer_started = (uint8_t)GET_BITS8 (ps_timer_info->timer_flag,
551 ps_timer_info->timer_flag = (uint8_t)
552 SET_BITS8 (ps_timer_info->timer_flag,
557 ps_timer_info->guard_to_count = 0;
562 while (timer_index < ps_timer_info->guard_to_count)
564 ps_timer_info->guard_to_value[timer_index] = 0;
565 ps_timer_info->iframe_send_count[timer_index] = 0;
611 phLlcNfc_Timerinfo_t *ps_timer_info = NULL;
633 ps_timer_info = &(gpphLlcNfc_Ctxt->s_timerinfo);
637 ps_timer_info->timer_id[PH_LLCNFC_GUARDTIMER]);
640 PH_LLCNFC_DEBUG("NO OF TIMEOUT COUNT : 0x%02X\n", ps_timer_info->guard_to_count);
643 while (index < ps_timer_info->guard_to_count)
650 if (0 != ps_timer_info->guard_to_value[index])
654 if (ps_timer_info->guard_to_value[index] > 0)
656 if (ps_timer_info->guard_to_value[index] >=
659 ps_timer_info->guard_to_value[index] = (uint16_t)
660 (ps_timer_info->guard_to_value[index] -
665 ps_timer_info->guard_to_value[index] = 0;
669 if (0 == ps_timer_info->guard_to_value[index])
673 ps_timer_info->frame_type[index] = (uint8_t)resend_i_frame;
691 ps_timer_info->timer_id[PH_LLCNFC_GUARDTIMER],
699 PH_LLCNFC_DEBUG("TIMER EXPIRED NS INDEX: 0x%02X\n", ps_timer_info->timer_ns_value[zero_to_index]);
700 PH_LLCNFC_DEBUG("TIMER EXPIRED RETRIES : 0x%02X\n", ps_timer_info->iframe_send_count[zero_to_index]);
702 PH_LLCNFC_DEBUG("TIMER EXPIRED GUARD TIME-OUT COUNT: 0x%02X\n", ps_timer_info->guard_to_value[zero_to_index]);
704 if ((0 == ps_timer_info->guard_to_value[zero_to_index]) &&
705 (ps_timer_info->iframe_send_count[zero_to_index] <
714 timer_count = ps_timer_info->guard_to_count;
721 ps_timer_info->frame_type[start_index])
733 /* This " ps_timer_info->index_to_send " member is
742 ps_timer_info->index_to_send = zero_to_index;
751 ps_timer_info->index_to_send = start_index;
763 ps_timer_info->iframe_send_count[zero_to_index]) &&
835 phLlcNfc_Timerinfo_t *ps_timer_info = NULL;
847 ps_timer_info = &(gpphLlcNfc_Ctxt->s_timerinfo);
904 phLlcNfc_Timerinfo_t *ps_timer_info = NULL;
915 ps_timer_info = &(gpphLlcNfc_Ctxt->s_timerinfo);
916 if (ps_timer_info->con_to_value > 0)
920 ps_timer_info->timer_id[PH_LLCNFC_CONNECTIONTIMER]);
923 ps_timer_info->con_to_value = 0;
925 ps_timer_info->con_to_value)
1005 ps_timer_info->timer_id[PH_LLCNFC_CONNECTIONTIMER],
1006 ps_timer_info->con_to_value, phLlcNfc_ConnectionTimeoutCb, NULL);