Lines Matching refs:mem_cfg
71 struct iwl_shared_mem_cfg *mem_cfg = (void *)pkt->data; in iwl_parse_shared_mem_22000() local
73 int lmac_num = le32_to_cpu(mem_cfg->lmac_num); in iwl_parse_shared_mem_22000()
75 if (WARN_ON(lmac_num > ARRAY_SIZE(mem_cfg->lmac_smem))) in iwl_parse_shared_mem_22000()
80 ARRAY_SIZE(mem_cfg->lmac_smem[0].txfifo_size); in iwl_parse_shared_mem_22000()
81 fwrt->smem_cfg.rxfifo2_size = le32_to_cpu(mem_cfg->rxfifo2_size); in iwl_parse_shared_mem_22000()
85 &mem_cfg->lmac_smem[lmac]; in iwl_parse_shared_mem_22000()
98 struct iwl_shared_mem_cfg_v2 *mem_cfg = (void *)pkt->data; in iwl_parse_shared_mem() local
103 fwrt->smem_cfg.num_txfifo_entries = ARRAY_SIZE(mem_cfg->txfifo_size); in iwl_parse_shared_mem()
104 for (i = 0; i < ARRAY_SIZE(mem_cfg->txfifo_size); i++) in iwl_parse_shared_mem()
106 le32_to_cpu(mem_cfg->txfifo_size[i]); in iwl_parse_shared_mem()
109 le32_to_cpu(mem_cfg->rxfifo_size[0]); in iwl_parse_shared_mem()
110 fwrt->smem_cfg.rxfifo2_size = le32_to_cpu(mem_cfg->rxfifo_size[1]); in iwl_parse_shared_mem()
116 sizeof(mem_cfg->internal_txfifo_size)); in iwl_parse_shared_mem()
119 le32_to_cpu(mem_cfg->internal_txfifo_addr); in iwl_parse_shared_mem()
125 le32_to_cpu(mem_cfg->internal_txfifo_size[i]); in iwl_parse_shared_mem()