Searched refs:ppt_idx (Results 1 – 1 of 1) sorted by relevance
1336 static u32 ath12k_dp_cc_cookie_gen(u16 ppt_idx, u16 spt_idx) in ath12k_dp_cc_cookie_gen() argument1338 return (u32)ppt_idx << ATH12K_CC_PPT_SHIFT | spt_idx; in ath12k_dp_cc_cookie_gen()1342 u16 ppt_idx, u16 spt_idx) in ath12k_dp_cc_get_desc_addr_ptr() argument1346 return dp->spt_info[ppt_idx].vaddr + spt_idx; in ath12k_dp_cc_get_desc_addr_ptr()1354 u16 start_ppt_idx, end_ppt_idx, ppt_idx, spt_idx; in ath12k_dp_get_rx_desc() local1356 ppt_idx = u32_get_bits(cookie, ATH12K_DP_CC_COOKIE_PPT); in ath12k_dp_get_rx_desc()1362 if (ppt_idx < start_ppt_idx || in ath12k_dp_get_rx_desc()1363 ppt_idx >= end_ppt_idx || in ath12k_dp_get_rx_desc()1367 ppt_idx = ppt_idx - dp->rx_ppt_base; in ath12k_dp_get_rx_desc()1368 desc_addr_ptr = ath12k_dp_cc_get_desc_addr_ptr(ab, ppt_idx, spt_idx); in ath12k_dp_get_rx_desc()[all …]