Lines Matching refs:mem_id
105 static bool ipa_mem_valid(struct ipa *ipa, enum ipa_mem_id mem_id) in ipa_mem_valid() argument
107 const struct ipa_mem *mem = &ipa->mem[mem_id]; in ipa_mem_valid()
112 size_multiple = mem_id == IPA_MEM_MODEM ? 4 : 8; in ipa_mem_valid()
115 mem_id, size_multiple); in ipa_mem_valid()
117 dev_err(dev, "region %u offset not 8-byte aligned\n", mem_id); in ipa_mem_valid()
120 mem_id, mem->canary_count); in ipa_mem_valid()
123 mem_id, ipa->mem_size); in ipa_mem_valid()
132 static bool ipa_mem_valid(struct ipa *ipa, enum ipa_mem_id mem_id) in ipa_mem_valid() argument
148 enum ipa_mem_id mem_id; in ipa_mem_config() local
184 for (mem_id = 0; mem_id < ipa->mem_count; mem_id++) { in ipa_mem_config()
185 const struct ipa_mem *mem = &ipa->mem[mem_id]; in ipa_mem_config()
190 if (!ipa_mem_valid(ipa, mem_id)) in ipa_mem_config()