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.c658 if (!fw_img->mhi_buf[i].buf) in ath11k_pci_coredump_calculate_size()
661 paging_tlv_sz += fw_img->mhi_buf[i].len; in ath11k_pci_coredump_calculate_size()
666 if (!rddm_img->mhi_buf[i].buf) in ath11k_pci_coredump_calculate_size()
669 rddm_tlv_sz += rddm_img->mhi_buf[i].len; in ath11k_pci_coredump_calculate_size()
758 if (!fw_img->mhi_buf[i].buf) in ath11k_pci_coredump_download()
761 memcpy_fromio(buf, (void const __iomem *)fw_img->mhi_buf[i].buf, in ath11k_pci_coredump_download()
762 fw_img->mhi_buf[i].len); in ath11k_pci_coredump_download()
763 buf += fw_img->mhi_buf[i].len; in ath11k_pci_coredump_download()
775 if (!rddm_img->mhi_buf[i].buf) in ath11k_pci_coredump_download()
778 memcpy_fromio(buf, (void const __iomem *)rddm_img->mhi_buf[i].buf, in ath11k_pci_coredump_download()
[all …]
/linux/include/linux/
H A Dmhi.h98 struct mhi_buf { struct
115 struct mhi_buf mhi_buf[] __counted_by(entries);
/linux/drivers/net/wireless/ath/ath12k/
H A Dpci.c1280 if (!fw_img->mhi_buf[i].buf) in ath12k_pci_coredump_calculate_size()
1283 paging_tlv_sz += fw_img->mhi_buf[i].len; in ath12k_pci_coredump_calculate_size()
1288 if (!rddm_img->mhi_buf[i].buf) in ath12k_pci_coredump_calculate_size()
1291 rddm_tlv_sz += rddm_img->mhi_buf[i].len; in ath12k_pci_coredump_calculate_size()
1380 if (!fw_img->mhi_buf[i].buf) in ath12k_pci_coredump_download()
1383 memcpy_fromio(buf, (void const __iomem *)fw_img->mhi_buf[i].buf, in ath12k_pci_coredump_download()
1384 fw_img->mhi_buf[i].len); in ath12k_pci_coredump_download()
1385 buf += fw_img->mhi_buf[i].len; in ath12k_pci_coredump_download()
1397 if (!rddm_img->mhi_buf[i].buf) in ath12k_pci_coredump_download()
1400 memcpy_fromio(buf, (void const __iomem *)rddm_img->mhi_buf[i].buf, in ath12k_pci_coredump_download()
[all …]