Lines Matching refs:mem_cfg

675 			  struct iwl_fwrt_shared_mem_cfg *mem_cfg)  in iwl_fw_rxf_len()  argument
686 ADD_LEN(fifo_len, mem_cfg->rxfifo2_size, hdr_len); in iwl_fw_rxf_len()
689 if (WARN_ON(mem_cfg->num_lmacs > MAX_NUM_LMAC)) in iwl_fw_rxf_len()
690 mem_cfg->num_lmacs = MAX_NUM_LMAC; in iwl_fw_rxf_len()
692 for (i = 0; i < mem_cfg->num_lmacs; i++) in iwl_fw_rxf_len()
693 ADD_LEN(fifo_len, mem_cfg->lmac[i].rxfifo1_size, hdr_len); in iwl_fw_rxf_len()
699 struct iwl_fwrt_shared_mem_cfg *mem_cfg) in iwl_fw_txf_len() argument
710 if (WARN_ON(mem_cfg->num_lmacs > MAX_NUM_LMAC)) in iwl_fw_txf_len()
711 mem_cfg->num_lmacs = MAX_NUM_LMAC; in iwl_fw_txf_len()
713 for (i = 0; i < mem_cfg->num_lmacs; i++) { in iwl_fw_txf_len()
716 for (j = 0; j < mem_cfg->num_txfifo_entries; j++) in iwl_fw_txf_len()
717 ADD_LEN(fifo_len, mem_cfg->lmac[i].txfifo_size[j], in iwl_fw_txf_len()
727 for (i = 0; i < ARRAY_SIZE(mem_cfg->internal_txfifo_size); i++) in iwl_fw_txf_len()
728 ADD_LEN(fifo_len, mem_cfg->internal_txfifo_size[i], hdr_len); in iwl_fw_txf_len()
781 struct iwl_fwrt_shared_mem_cfg *mem_cfg = &fwrt->smem_cfg; in iwl_fw_error_dump_file() local
804 fifo_len = iwl_fw_rxf_len(fwrt, mem_cfg); in iwl_fw_error_dump_file()
805 fifo_len += iwl_fw_txf_len(fwrt, mem_cfg); in iwl_fw_error_dump_file()
903 dump_smem_cfg->num_lmacs = cpu_to_le32(mem_cfg->num_lmacs); in iwl_fw_error_dump_file()
905 cpu_to_le32(mem_cfg->num_txfifo_entries); in iwl_fw_error_dump_file()
908 u32 *txf_size = mem_cfg->lmac[i].txfifo_size; in iwl_fw_error_dump_file()
914 cpu_to_le32(mem_cfg->lmac[i].rxfifo1_size); in iwl_fw_error_dump_file()
917 cpu_to_le32(mem_cfg->rxfifo2_size); in iwl_fw_error_dump_file()
919 cpu_to_le32(mem_cfg->internal_txfifo_addr); in iwl_fw_error_dump_file()
922 cpu_to_le32(mem_cfg->internal_txfifo_size[i]); in iwl_fw_error_dump_file()