Searched refs:dma_caps (Results 1 – 2 of 2) sorted by relevance
4162 struct ath12k_wmi_dma_ring_caps_params *dma_caps; in ath12k_wmi_dma_ring_caps() local4164 const struct ath12k_wmi_dma_ring_caps_params *dma_caps; in ath12k_wmi_dma_ring_caps() local4172 dma_caps = (struct ath12k_wmi_dma_ring_caps_params *)ptr; in ath12k_wmi_dma_ring_caps()4174 dma_caps = (const struct ath12k_wmi_dma_ring_caps_params *)ptr; in ath12k_wmi_dma_ring_caps()4198 if (le32_to_cpu(dma_caps[i].module_id) >= WMI_DIRECT_BUF_MAX) { in ath12k_wmi_dma_ring_caps()4200 le32_to_cpu(dma_caps[i].module_id)); in ath12k_wmi_dma_ring_caps()4205 dir_buff_caps[i].id = le32_to_cpu(dma_caps[i].module_id); in ath12k_wmi_dma_ring_caps()4207 DP_HW2SW_MACID(le32_to_cpu(dma_caps[i].pdev_id)); in ath12k_wmi_dma_ring_caps()4208 dir_buff_caps[i].min_elem = le32_to_cpu(dma_caps[i].min_elem); in ath12k_wmi_dma_ring_caps()4209 dir_buff_caps[i].min_buf_sz = le32_to_cpu(dma_caps[i].min_buf_sz); in ath12k_wmi_dma_ring_caps()[all …]
5054 struct wmi_dma_ring_capabilities *dma_caps; in ath11k_wmi_tlv_dma_ring_caps() local5056 const struct wmi_dma_ring_capabilities *dma_caps; in ath11k_wmi_tlv_dma_ring_caps() local5064 dma_caps = (struct wmi_dma_ring_capabilities *)ptr; in ath11k_wmi_tlv_dma_ring_caps()5066 dma_caps = (const struct wmi_dma_ring_capabilities *)ptr; in ath11k_wmi_tlv_dma_ring_caps()5090 if (dma_caps[i].module_id >= WMI_DIRECT_BUF_MAX) { in ath11k_wmi_tlv_dma_ring_caps()5091 ath11k_warn(ab, "Invalid module id %d\n", dma_caps[i].module_id); in ath11k_wmi_tlv_dma_ring_caps()5096 dir_buff_caps[i].id = dma_caps[i].module_id; in ath11k_wmi_tlv_dma_ring_caps()5097 dir_buff_caps[i].pdev_id = DP_HW2SW_MACID(dma_caps[i].pdev_id); in ath11k_wmi_tlv_dma_ring_caps()5098 dir_buff_caps[i].min_elem = dma_caps[i].min_elem; in ath11k_wmi_tlv_dma_ring_caps()5099 dir_buff_caps[i].min_buf_sz = dma_caps[i].min_buf_sz; in ath11k_wmi_tlv_dma_ring_caps()[all …]