Lines Matching refs:mem_cfg

731 			  struct iwl_fwrt_shared_mem_cfg *mem_cfg)  in iwl_fw_rxf_len()  argument
742 ADD_LEN(fifo_len, mem_cfg->rxfifo2_size, hdr_len); in iwl_fw_rxf_len()
745 if (WARN_ON(mem_cfg->num_lmacs > MAX_NUM_LMAC)) in iwl_fw_rxf_len()
746 mem_cfg->num_lmacs = MAX_NUM_LMAC; in iwl_fw_rxf_len()
748 for (i = 0; i < mem_cfg->num_lmacs; i++) in iwl_fw_rxf_len()
749 ADD_LEN(fifo_len, mem_cfg->lmac[i].rxfifo1_size, hdr_len); in iwl_fw_rxf_len()
755 struct iwl_fwrt_shared_mem_cfg *mem_cfg) in iwl_fw_txf_len() argument
766 if (WARN_ON(mem_cfg->num_lmacs > MAX_NUM_LMAC)) in iwl_fw_txf_len()
767 mem_cfg->num_lmacs = MAX_NUM_LMAC; in iwl_fw_txf_len()
769 for (i = 0; i < mem_cfg->num_lmacs; i++) { in iwl_fw_txf_len()
772 for (j = 0; j < mem_cfg->num_txfifo_entries; j++) in iwl_fw_txf_len()
773 ADD_LEN(fifo_len, mem_cfg->lmac[i].txfifo_size[j], in iwl_fw_txf_len()
783 for (i = 0; i < ARRAY_SIZE(mem_cfg->internal_txfifo_size); i++) in iwl_fw_txf_len()
784 ADD_LEN(fifo_len, mem_cfg->internal_txfifo_size[i], hdr_len); in iwl_fw_txf_len()
830 struct iwl_fwrt_shared_mem_cfg *mem_cfg = &fwrt->smem_cfg; in iwl_fw_error_dump_file() local
853 fifo_len = iwl_fw_rxf_len(fwrt, mem_cfg); in iwl_fw_error_dump_file()
854 fifo_len += iwl_fw_txf_len(fwrt, mem_cfg); in iwl_fw_error_dump_file()
952 dump_smem_cfg->num_lmacs = cpu_to_le32(mem_cfg->num_lmacs); in iwl_fw_error_dump_file()
954 cpu_to_le32(mem_cfg->num_txfifo_entries); in iwl_fw_error_dump_file()
957 u32 *txf_size = mem_cfg->lmac[i].txfifo_size; in iwl_fw_error_dump_file()
963 cpu_to_le32(mem_cfg->lmac[i].rxfifo1_size); in iwl_fw_error_dump_file()
966 cpu_to_le32(mem_cfg->rxfifo2_size); in iwl_fw_error_dump_file()
968 cpu_to_le32(mem_cfg->internal_txfifo_addr); in iwl_fw_error_dump_file()
971 cpu_to_le32(mem_cfg->internal_txfifo_size[i]); in iwl_fw_error_dump_file()