Lines Matching refs:ep

53 write_smbios_tables(void *ep, void *start,
175 write_smbios_tables(void *ep, void *start, in write_smbios_tables() argument
254 unsigned long ep, unsigned long smbios_start, unsigned long smbios_end) in hvm_write_smbios_tables() argument
315 len = write_smbios_tables((void *)ep, (void *)scratch_start, in hvm_write_smbios_tables()
329 (void *)ep, max_struct_size, len, smbios_start, nr_structs); in hvm_write_smbios_tables()
348 struct smbios_entry_point *ep = start; in smbios_entry_point_init() local
350 memset(ep, 0, sizeof(*ep)); in smbios_entry_point_init()
352 memcpy(ep->anchor_string, "_SM_", 4); in smbios_entry_point_init()
353 ep->length = 0x1f; in smbios_entry_point_init()
354 ep->smbios_major_version = 2; in smbios_entry_point_init()
355 ep->smbios_minor_version = 4; in smbios_entry_point_init()
356 ep->max_structure_size = max_structure_size; in smbios_entry_point_init()
357 ep->entry_point_revision = 0; in smbios_entry_point_init()
358 memcpy(ep->intermediate_anchor_string, "_DMI_", 5); in smbios_entry_point_init()
360 ep->structure_table_length = structure_table_length; in smbios_entry_point_init()
361 ep->structure_table_address = structure_table_address; in smbios_entry_point_init()
362 ep->number_of_structures = number_of_structures; in smbios_entry_point_init()
363 ep->smbios_bcd_revision = 0x24; in smbios_entry_point_init()
368 ep->checksum = -sum; in smbios_entry_point_init()
371 for ( i = 0x10; i < ep->length; i++ ) in smbios_entry_point_init()
373 ep->intermediate_checksum = -sum; in smbios_entry_point_init()