Lines Matching refs:mem_cfg
14 struct iwl_shared_mem_cfg *mem_cfg = (void *)pkt->data; in iwl_parse_shared_mem_22000() local
16 int lmac_num = le32_to_cpu(mem_cfg->lmac_num); in iwl_parse_shared_mem_22000()
20 if (WARN_ON(lmac_num > ARRAY_SIZE(mem_cfg->lmac_smem))) in iwl_parse_shared_mem_22000()
25 ARRAY_SIZE(mem_cfg->lmac_smem[0].txfifo_size); in iwl_parse_shared_mem_22000()
26 fwrt->smem_cfg.rxfifo2_size = le32_to_cpu(mem_cfg->rxfifo2_size); in iwl_parse_shared_mem_22000()
29 !WARN_ON_ONCE(iwl_rx_packet_payload_len(pkt) < sizeof(*mem_cfg))) { in iwl_parse_shared_mem_22000()
31 le32_to_cpu(mem_cfg->rxfifo2_control_size); in iwl_parse_shared_mem_22000()
36 &mem_cfg->lmac_smem[lmac]; in iwl_parse_shared_mem_22000()
49 struct iwl_shared_mem_cfg_v2 *mem_cfg = (void *)pkt->data; in iwl_parse_shared_mem() local
54 fwrt->smem_cfg.num_txfifo_entries = ARRAY_SIZE(mem_cfg->txfifo_size); in iwl_parse_shared_mem()
55 for (i = 0; i < ARRAY_SIZE(mem_cfg->txfifo_size); i++) in iwl_parse_shared_mem()
57 le32_to_cpu(mem_cfg->txfifo_size[i]); in iwl_parse_shared_mem()
60 le32_to_cpu(mem_cfg->rxfifo_size[0]); in iwl_parse_shared_mem()
61 fwrt->smem_cfg.rxfifo2_size = le32_to_cpu(mem_cfg->rxfifo_size[1]); in iwl_parse_shared_mem()
67 sizeof(mem_cfg->internal_txfifo_size)); in iwl_parse_shared_mem()
70 le32_to_cpu(mem_cfg->internal_txfifo_addr); in iwl_parse_shared_mem()
76 le32_to_cpu(mem_cfg->internal_txfifo_size[i]); in iwl_parse_shared_mem()