Searched refs:fw_mem (Results 1 – 5 of 5) sorted by relevance
/wlan-driver/platform/cnss2/ |
D | pci.c | 4772 struct cnss_fw_mem *fw_mem; in cnss_send_buffer_to_afcmem() local 4780 fw_mem = plat_priv->fw_mem; in cnss_send_buffer_to_afcmem() 4793 if (fw_mem[i].type == QMI_WLFW_AFC_MEM_V01) { in cnss_send_buffer_to_afcmem() 4794 mem = fw_mem[i].va; in cnss_send_buffer_to_afcmem() 4821 struct cnss_fw_mem *fw_mem; in cnss_reset_afcmem() local 4828 fw_mem = plat_priv->fw_mem; in cnss_reset_afcmem() 4836 if (fw_mem[i].type == QMI_WLFW_AFC_MEM_V01) { in cnss_reset_afcmem() 4837 mem = fw_mem[i].va; in cnss_reset_afcmem() 4859 struct cnss_fw_mem *fw_mem = plat_priv->fw_mem; in cnss_pci_alloc_fw_mem() local 4864 if (!fw_mem[i].va && fw_mem[i].size) { in cnss_pci_alloc_fw_mem() [all …]
|
D | qmi.c | 417 struct cnss_fw_mem *fw_mem = plat_priv->fw_mem; in cnss_wlfw_respond_mem_send_sync() local 441 if (!fw_mem[i].pa || !fw_mem[i].size) { in cnss_wlfw_respond_mem_send_sync() 442 if (fw_mem[i].type == 0) { in cnss_wlfw_respond_mem_send_sync() 449 fw_mem[i].type); in cnss_wlfw_respond_mem_send_sync() 455 fw_mem[i].va, &fw_mem[i].pa, in cnss_wlfw_respond_mem_send_sync() 456 fw_mem[i].size, fw_mem[i].type); in cnss_wlfw_respond_mem_send_sync() 458 req->mem_seg[i].addr = fw_mem[i].pa; in cnss_wlfw_respond_mem_send_sync() 459 req->mem_seg[i].size = fw_mem[i].size; in cnss_wlfw_respond_mem_send_sync() 460 req->mem_seg[i].type = fw_mem[i].type; in cnss_wlfw_respond_mem_send_sync() 2764 plat_priv->fw_mem[i].type = ind_msg->mem_seg[i].type; in cnss_wlfw_request_mem_ind_cb() [all …]
|
D | main.c | 421 segment[i].size = plat_priv->fw_mem[i].size; in cnss_get_mem_segment_info() 422 segment[i].va = plat_priv->fw_mem[i].va; in cnss_get_mem_segment_info() 423 segment[i].pa = plat_priv->fw_mem[i].pa; in cnss_get_mem_segment_info() 873 if (plat_priv->fw_mem[i].type == in cnss_get_fw_lpass_shared_mem() 875 *iova = plat_priv->fw_mem[i].pa; in cnss_get_fw_lpass_shared_mem() 876 *size = plat_priv->fw_mem[i].size; in cnss_get_fw_lpass_shared_mem() 2694 static void *cnss_get_fw_mem_pa_to_va(struct cnss_fw_mem *fw_mem, in cnss_get_fw_mem_pa_to_va() argument 2707 local_pa = (u64)fw_mem[i].pa; in cnss_get_fw_mem_pa_to_va() 2708 local_size = (u32)fw_mem[i].size; in cnss_get_fw_mem_pa_to_va() 2710 va = fw_mem[i].va; in cnss_get_fw_mem_pa_to_va() [all …]
|
D | main.h | 557 struct cnss_fw_mem fw_mem[QMI_WLFW_MAX_NUM_MEM_SEG_V01]; member
|
/wlan-driver/qcacld-3.0/core/bmi/src/ |
D | ol_fw.c | 73 u8 *fw_mem = NULL; in ol_check_fw_hash() local 108 fw_mem = pld_get_fw_ptr(dev); in ol_check_fw_hash() 109 if (!fw_mem || (fw_size > MAX_FIRMWARE_SIZE)) { in ol_check_fw_hash() 114 qdf_mem_copy(fw_mem, data, fw_size); in ol_check_fw_hash() 116 ret = pld_get_sha_hash(dev, fw_mem, fw_size, "sha256", digest); in ol_check_fw_hash()
|