Home
last modified time | relevance | path

Searched refs:mhi_buf (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/bus/mhi/host/
H A Dboot.c25 struct mhi_buf *mhi_buf = img_info->mhi_buf; in mhi_rddm_prepare() local
33 for (i = 0; i < img_info->entries - 1; i++, mhi_buf++, bhi_vec++) { in mhi_rddm_prepare()
34 bhi_vec->dma_addr = cpu_to_le64(mhi_buf->dma_addr); in mhi_rddm_prepare()
35 bhi_vec->size = cpu_to_le64(mhi_buf->len); in mhi_rddm_prepare()
41 upper_32_bits(mhi_buf->dma_addr)); in mhi_rddm_prepare()
44 lower_32_bits(mhi_buf->dma_addr)); in mhi_rddm_prepare()
46 mhi_write_reg(mhi_cntrl, base, BHIE_RXVECSIZE_OFFS, mhi_buf->len); in mhi_rddm_prepare()
57 &mhi_buf->dma_addr, mhi_buf->len, sequence_id); in mhi_rddm_prepare()
211 const struct mhi_buf *mhi_buf) in mhi_fw_load_bhie() argument
229 upper_32_bits(mhi_buf->dma_addr)); in mhi_fw_load_bhie()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Dpci.c654 if (!fw_img->mhi_buf[i].buf) in ath11k_pci_coredump_calculate_size()
657 paging_tlv_sz += fw_img->mhi_buf[i].len; in ath11k_pci_coredump_calculate_size()
662 if (!rddm_img->mhi_buf[i].buf) in ath11k_pci_coredump_calculate_size()
665 rddm_tlv_sz += rddm_img->mhi_buf[i].len; in ath11k_pci_coredump_calculate_size()
754 if (!fw_img->mhi_buf[i].buf) in ath11k_pci_coredump_download()
757 memcpy_fromio(buf, (void const __iomem *)fw_img->mhi_buf[i].buf, in ath11k_pci_coredump_download()
758 fw_img->mhi_buf[i].len); in ath11k_pci_coredump_download()
759 buf += fw_img->mhi_buf[i].len; in ath11k_pci_coredump_download()
771 if (!rddm_img->mhi_buf[i].buf) in ath11k_pci_coredump_download()
774 memcpy_fromio(buf, (void const __iomem *)rddm_img->mhi_buf[i].buf, in ath11k_pci_coredump_download()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Dpci.c1265 if (!fw_img->mhi_buf[i].buf) in ath12k_pci_coredump_calculate_size()
1268 paging_tlv_sz += fw_img->mhi_buf[i].len; in ath12k_pci_coredump_calculate_size()
1273 if (!rddm_img->mhi_buf[i].buf) in ath12k_pci_coredump_calculate_size()
1276 rddm_tlv_sz += rddm_img->mhi_buf[i].len; in ath12k_pci_coredump_calculate_size()
1365 if (!fw_img->mhi_buf[i].buf) in ath12k_pci_coredump_download()
1368 memcpy_fromio(buf, (void const __iomem *)fw_img->mhi_buf[i].buf, in ath12k_pci_coredump_download()
1369 fw_img->mhi_buf[i].len); in ath12k_pci_coredump_download()
1370 buf += fw_img->mhi_buf[i].len; in ath12k_pci_coredump_download()
1382 if (!rddm_img->mhi_buf[i].buf) in ath12k_pci_coredump_download()
1385 memcpy_fromio(buf, (void const __iomem *)rddm_img->mhi_buf[i].buf, in ath12k_pci_coredump_download()
[all …]
/linux/include/linux/
H A Dmhi.h94 struct mhi_buf *mhi_buf; member
500 struct mhi_buf { struct