qcacmn: Add support to log CE DST and STATUS ring events
1. Record hp/tp for ce dst and status ring to keep a track of the last reaped and posted buffers. 2. Add union ce_srng_desc to record ce srng descriptor information. Change-Id: I6f4728893d629c60f676826bf806b725326fb83d CRs-Fixed: 2465492
This commit is contained in:

کامیت شده توسط
nshrivas

والد
ff4d3f79f1
کامیت
d8b05b54d7
@@ -880,6 +880,20 @@ static inline uint32_t hal_srng_src_done_val(void *hal_soc, void *hal_ring)
|
||||
srng->u.src_ring.cached_tp) / srng->entry_size;
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_get_entrysize_from_srng() - Retrieve ring entry size
|
||||
* @hal_ring: Source ring pointer
|
||||
*
|
||||
* Return: uint8_t
|
||||
*/
|
||||
static inline
|
||||
uint8_t hal_get_entrysize_from_srng(void *hal_ring)
|
||||
{
|
||||
struct hal_srng *srng = (struct hal_srng *)hal_ring;
|
||||
|
||||
return srng->entry_size;
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_get_sw_hptp - Get SW head and tail pointer location for any ring
|
||||
* @hal_soc: Opaque HAL SOC handle
|
||||
|
مرجع در شماره جدید
Block a user