Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath11k/
H A Ddp.c610 struct dp_link_desc_bank *desc_bank, in ath11k_dp_link_desc_bank_alloc() argument
623 desc_bank[i].vaddr_unaligned = in ath11k_dp_link_desc_bank_alloc()
625 &desc_bank[i].paddr_unaligned, in ath11k_dp_link_desc_bank_alloc()
627 if (!desc_bank[i].vaddr_unaligned) { in ath11k_dp_link_desc_bank_alloc()
632 desc_bank[i].vaddr = PTR_ALIGN(desc_bank[i].vaddr_unaligned, in ath11k_dp_link_desc_bank_alloc()
634 desc_bank[i].paddr = desc_bank[i].paddr_unaligned + in ath11k_dp_link_desc_bank_alloc()
635 ((unsigned long)desc_bank[i].vaddr - in ath11k_dp_link_desc_bank_alloc()
636 (unsigned long)desc_bank[i].vaddr_unaligned); in ath11k_dp_link_desc_bank_alloc()
637 desc_bank[i].size = desc_sz; in ath11k_dp_link_desc_bank_alloc()
649 struct dp_link_desc_bank *desc_bank, in ath11k_dp_link_desc_cleanup() argument
[all …]
H A Dhal_rx.h499 dma_addr_t *paddr, u32 *desc_bank);
503 dma_addr_t *paddr, u32 *desc_bank);
H A Ddp_rx.c3443 u32 desc_bank, msdu_info, mpdu_info; in ath11k_dp_rx_h_defrag_reo_reinject() local
3451 ath11k_hal_rx_reo_ent_paddr_get(ab, reo_dest_ring, &paddr, &desc_bank); in ath11k_dp_rx_h_defrag_reo_reinject()
3452 msdu_link = (struct hal_rx_msdu_link *)(link_desc_banks[desc_bank].vaddr + in ath11k_dp_rx_h_defrag_reo_reinject()
3453 (paddr - link_desc_banks[desc_bank].paddr)); in ath11k_dp_rx_h_defrag_reo_reinject()
3509 ath11k_hal_rx_reo_ent_paddr_get(ab, reo_dest_ring, &paddr, &desc_bank); in ath11k_dp_rx_h_defrag_reo_reinject()
3510 ath11k_hal_rx_buf_addr_info_set(reo_ent_ring, paddr, desc_bank, in ath11k_dp_rx_h_defrag_reo_reinject()
3834 u32 desc_bank, num_msdus; in ath11k_dp_process_rx_err() local
3864 &desc_bank); in ath11k_dp_process_rx_err()
3870 link_desc_va = link_desc_banks[desc_bank].vaddr + in ath11k_dp_process_rx_err()
3871 (paddr - link_desc_banks[desc_bank].paddr); in ath11k_dp_process_rx_err()
[all …]
H A Dhal_rx.c321 dma_addr_t *paddr, u32 *desc_bank) in ath11k_hal_desc_reo_parse_err() argument
346 ath11k_hal_rx_reo_ent_paddr_get(ab, rx_desc, paddr, desc_bank); in ath11k_hal_desc_reo_parse_err()
407 dma_addr_t *paddr, u32 *desc_bank) in ath11k_hal_rx_reo_ent_paddr_get() argument
414 *desc_bank = FIELD_GET(BUFFER_ADDR_INFO1_SW_COOKIE, buff_addr->info1); in ath11k_hal_rx_reo_ent_paddr_get()
H A Ddp.h1677 struct dp_link_desc_bank *desc_bank,
/linux/drivers/net/wireless/ath/ath12k/
H A 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()
H A Ddp_rx.c3008 u32 desc_bank, msdu_info, msdu_ext_info, mpdu_info; in ath12k_dp_rx_h_defrag_reo_reinject() local
3021 desc_bank = u32_get_bits(cookie, DP_LINK_DESC_BANK_MASK); in ath12k_dp_rx_h_defrag_reo_reinject()
3023 msdu_link = (struct hal_rx_msdu_link *)(link_desc_banks[desc_bank].vaddr + in ath12k_dp_rx_h_defrag_reo_reinject()
3024 (link_paddr - link_desc_banks[desc_bank].paddr)); in ath12k_dp_rx_h_defrag_reo_reinject()
3432 u32 desc_bank, num_msdus; in ath12k_dp_rx_process_err() local
3461 &desc_bank); in ath12k_dp_rx_process_err()
3467 link_desc_va = link_desc_banks[desc_bank].vaddr + in ath12k_dp_rx_process_err()
3468 (paddr - link_desc_banks[desc_bank].paddr); in ath12k_dp_rx_process_err()
H A Ddp.h1819 struct dp_link_desc_bank *desc_bank,