Lines Matching defs:mde
75 SCI_PHYSICAL_MEMORY_DESCRIPTOR_T * mde;
78 mde = sci_mdl_get_current_entry(mdl);
79 while (mde != NULL)
81 if ( (mde->constant_memory_attributes == attributes)
83 size += (mde->constant_memory_size + mde->constant_memory_alignment);
86 mde = sci_mdl_get_current_entry(mdl);
101 SCI_PHYSICAL_MEMORY_DESCRIPTOR_T * mde;
109 mde = sci_mdl_get_current_entry(mdl);
110 while (mde != NULL)
115 if ( (mde->constant_memory_attributes == attributes)
119 if ((virtual_address % mde->constant_memory_alignment) != 0)
122 += (mde->constant_memory_alignment -
123 (virtual_address % mde->constant_memory_alignment));
127 if ((physical_address % mde->constant_memory_alignment) != 0)
130 += (mde->constant_memory_alignment -
131 (physical_address % mde->constant_memory_alignment));
135 mde->virtual_address = (void *)virtual_address;
137 mde->physical_address,
142 virtual_address += mde->constant_memory_size;
143 physical_address += mde->constant_memory_size;
148 mde = sci_mdl_get_current_entry (mdl);