Lines Matching refs:ppt_idx

1336 static u32 ath12k_dp_cc_cookie_gen(u16 ppt_idx, u16 spt_idx)  in ath12k_dp_cc_cookie_gen()  argument
1338 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() argument
1346 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() local
1356 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()
1377 u16 start_ppt_idx, end_ppt_idx, ppt_idx, spt_idx; in ath12k_dp_get_tx_desc() local
1379 ppt_idx = u32_get_bits(cookie, ATH12K_DP_CC_COOKIE_PPT); in ath12k_dp_get_tx_desc()
1386 if (ppt_idx < start_ppt_idx || in ath12k_dp_get_tx_desc()
1387 ppt_idx >= end_ppt_idx || in ath12k_dp_get_tx_desc()
1391 desc_addr_ptr = ath12k_dp_cc_get_desc_addr_ptr(ab, ppt_idx, spt_idx); in ath12k_dp_get_tx_desc()
1402 u32 ppt_idx, cookie_ppt_idx; in ath12k_dp_cc_desc_init() local
1416 ppt_idx = ATH12K_RX_SPT_PAGE_OFFSET + i; in ath12k_dp_cc_desc_init()
1417 cookie_ppt_idx = dp->rx_ppt_base + ppt_idx; in ath12k_dp_cc_desc_init()
1426 rx_desc_addr = ath12k_dp_cc_get_desc_addr_ptr(ab, ppt_idx, j); in ath12k_dp_cc_desc_init()
1446 ppt_idx = ATH12K_TX_SPT_PAGE_OFFSET + tx_spt_page; in ath12k_dp_cc_desc_init()
1451 tx_descs[j].desc_id = ath12k_dp_cc_cookie_gen(ppt_idx, j); in ath12k_dp_cc_desc_init()
1458 ath12k_dp_cc_get_desc_addr_ptr(ab, ppt_idx, j); in ath12k_dp_cc_desc_init()