Home
last modified time | relevance | path

Searched refs:desc_bank (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Ddp.c596 struct dp_link_desc_bank *desc_bank, in ath11k_dp_link_desc_bank_alloc() argument
609 desc_bank[i].vaddr_unaligned = in ath11k_dp_link_desc_bank_alloc()
611 &desc_bank[i].paddr_unaligned, in ath11k_dp_link_desc_bank_alloc()
613 if (!desc_bank[i].vaddr_unaligned) { in ath11k_dp_link_desc_bank_alloc()
618 desc_bank[i].vaddr = PTR_ALIGN(desc_bank[i].vaddr_unaligned, in ath11k_dp_link_desc_bank_alloc()
620 desc_bank[i].paddr = desc_bank[i].paddr_unaligned + in ath11k_dp_link_desc_bank_alloc()
621 ((unsigned long)desc_bank[i].vaddr - in ath11k_dp_link_desc_bank_alloc()
622 (unsigned long)desc_bank[i].vaddr_unaligned); in ath11k_dp_link_desc_bank_alloc()
623 desc_bank[i].size = desc_sz; in ath11k_dp_link_desc_bank_alloc()
635 struct dp_link_desc_bank *desc_bank, in ath11k_dp_link_desc_cleanup() argument
[all …]
Dhal_rx.h492 dma_addr_t *paddr, u32 *desc_bank);
496 dma_addr_t *paddr, u32 *desc_bank);
Ddp_rx.c3382 u32 desc_bank, msdu_info, mpdu_info; in ath11k_dp_rx_h_defrag_reo_reinject() local
3390 ath11k_hal_rx_reo_ent_paddr_get(ab, reo_dest_ring, &paddr, &desc_bank); in ath11k_dp_rx_h_defrag_reo_reinject()
3391 msdu_link = (struct hal_rx_msdu_link *)(link_desc_banks[desc_bank].vaddr + in ath11k_dp_rx_h_defrag_reo_reinject()
3392 (paddr - link_desc_banks[desc_bank].paddr)); in ath11k_dp_rx_h_defrag_reo_reinject()
3448 ath11k_hal_rx_reo_ent_paddr_get(ab, reo_dest_ring, &paddr, &desc_bank); in ath11k_dp_rx_h_defrag_reo_reinject()
3449 ath11k_hal_rx_buf_addr_info_set(reo_ent_ring, paddr, desc_bank, in ath11k_dp_rx_h_defrag_reo_reinject()
3773 u32 desc_bank, num_msdus; in ath11k_dp_process_rx_err() local
3803 &desc_bank); in ath11k_dp_process_rx_err()
3809 link_desc_va = link_desc_banks[desc_bank].vaddr + in ath11k_dp_process_rx_err()
3810 (paddr - link_desc_banks[desc_bank].paddr); in ath11k_dp_process_rx_err()
[all …]
Dhal_rx.c320 dma_addr_t *paddr, u32 *desc_bank) in ath11k_hal_desc_reo_parse_err() argument
345 ath11k_hal_rx_reo_ent_paddr_get(ab, rx_desc, paddr, desc_bank); in ath11k_hal_desc_reo_parse_err()
406 dma_addr_t *paddr, u32 *desc_bank) in ath11k_hal_rx_reo_ent_paddr_get() argument
413 *desc_bank = FIELD_GET(BUFFER_ADDR_INFO1_SW_COOKIE, buff_addr->info1); in ath11k_hal_rx_reo_ent_paddr_get()
Ddp.h1700 struct dp_link_desc_bank *desc_bank,
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Ddp.c690 struct dp_link_desc_bank *desc_bank, in ath12k_dp_link_desc_bank_alloc() argument
703 desc_bank[i].vaddr_unaligned = in ath12k_dp_link_desc_bank_alloc()
705 &desc_bank[i].paddr_unaligned, in ath12k_dp_link_desc_bank_alloc()
707 if (!desc_bank[i].vaddr_unaligned) { in ath12k_dp_link_desc_bank_alloc()
712 desc_bank[i].vaddr = PTR_ALIGN(desc_bank[i].vaddr_unaligned, in ath12k_dp_link_desc_bank_alloc()
714 desc_bank[i].paddr = desc_bank[i].paddr_unaligned + in ath12k_dp_link_desc_bank_alloc()
715 ((unsigned long)desc_bank[i].vaddr - in ath12k_dp_link_desc_bank_alloc()
716 (unsigned long)desc_bank[i].vaddr_unaligned); in ath12k_dp_link_desc_bank_alloc()
717 desc_bank[i].size = desc_sz; in ath12k_dp_link_desc_bank_alloc()
729 struct dp_link_desc_bank *desc_bank, in ath12k_dp_link_desc_cleanup() argument
[all …]
Dhal_rx.c319 dma_addr_t *paddr, u32 *desc_bank) in ath12k_hal_desc_reo_parse_err() argument
345 *desc_bank = u32_get_bits(cookie, DP_LINK_DESC_BANK_MASK); in ath12k_hal_desc_reo_parse_err()
Ddp_rx.c2987 u32 desc_bank, msdu_info, msdu_ext_info, mpdu_info; in ath12k_dp_rx_h_defrag_reo_reinject() local
2999 desc_bank = u32_get_bits(cookie, DP_LINK_DESC_BANK_MASK); in ath12k_dp_rx_h_defrag_reo_reinject()
3001 msdu_link = (struct hal_rx_msdu_link *)(link_desc_banks[desc_bank].vaddr + in ath12k_dp_rx_h_defrag_reo_reinject()
3002 (link_paddr - link_desc_banks[desc_bank].paddr)); in ath12k_dp_rx_h_defrag_reo_reinject()
3410 u32 desc_bank, num_msdus; in ath12k_dp_rx_process_err() local
3437 &desc_bank); in ath12k_dp_rx_process_err()
3443 link_desc_va = link_desc_banks[desc_bank].vaddr + in ath12k_dp_rx_process_err()
3444 (paddr - link_desc_banks[desc_bank].paddr); in ath12k_dp_rx_process_err()
Dhal_rx.h697 dma_addr_t *paddr, u32 *desc_bank);
Ddp.h1808 struct dp_link_desc_bank *desc_bank,