Lines Matching refs:resp_len
1702 void *resp, u32 *resp_len) in ath10k_pci_hif_exchange_bmi_msg() argument
1717 if (resp && !resp_len) in ath10k_pci_hif_exchange_bmi_msg()
1720 if (resp && resp_len && *resp_len == 0) in ath10k_pci_hif_exchange_bmi_msg()
1734 if (resp && resp_len) { in ath10k_pci_hif_exchange_bmi_msg()
1735 tresp = kzalloc(*resp_len, GFP_KERNEL); in ath10k_pci_hif_exchange_bmi_msg()
1741 resp_paddr = dma_map_single(ar->dev, tresp, *resp_len, in ath10k_pci_hif_exchange_bmi_msg()
1750 xfer.resp_len = 0; in ath10k_pci_hif_exchange_bmi_msg()
1778 *resp_len, DMA_FROM_DEVICE); in ath10k_pci_hif_exchange_bmi_msg()
1783 if (ret == 0 && resp_len) { in ath10k_pci_hif_exchange_bmi_msg()
1784 *resp_len = min(*resp_len, xfer.resp_len); in ath10k_pci_hif_exchange_bmi_msg()
1785 memcpy(resp, tresp, xfer.resp_len); in ath10k_pci_hif_exchange_bmi_msg()
1825 xfer->resp_len = nbytes; in ath10k_pci_bmi_recv_data()