Lines Matching refs:tailp
2057 uint32_t *tailp, uint32_t *headp) in hal_get_sw_hptp() argument
2063 *tailp = *srng->u.src_ring.tp_addr; in hal_get_sw_hptp()
2065 *tailp = srng->u.dst_ring.tp; in hal_get_sw_hptp()
2911 uint32_t *headp, uint32_t *tailp, in hal_get_hw_hptp() argument
2917 headp, tailp, ring_type); in hal_get_hw_hptp()
3315 enum hal_ring_type ring_type, uint32_t *headp, uint32_t *tailp) in hal_get_ring_usage() argument
3322 if (*tailp > *headp) in hal_get_ring_usage()
3323 num_avail = ((*tailp - *headp) / srng->entry_size) - 1; in hal_get_ring_usage()
3325 num_avail = ((srng->ring_size - *headp + *tailp) / in hal_get_ring_usage()
3332 if (*headp >= *tailp) in hal_get_ring_usage()
3333 num_valid = ((*headp - *tailp) / srng->entry_size); in hal_get_ring_usage()
3335 num_valid = ((srng->ring_size - *tailp + *headp) / in hal_get_ring_usage()
3354 uint32_t tailp, headp, ring_usage; in hal_update_ring_util() local
3356 hal_get_sw_hptp(hal_soc, hal_ring_hdl, &tailp, &headp); in hal_update_ring_util()
3358 &tailp); in hal_update_ring_util()