Searched refs:edd_params (Results 1 – 7 of 7) sorted by relevance
/external/syslinux/com32/modules/ |
D | disk.c | 52 (int) d->edd_params.heads, (int) d->edd_params.cylinders); in main() 54 (int) d->edd_params.sectors, (int) d->edd_params.bytes_per_sector, in main() 55 (int) d->edd_params.sectors_per_track); in main() 57 d->edd_params.host_bus_type, d->edd_params.interface_type); in main()
|
/external/syslinux/com32/hdt/ |
D | hdt-cli-disk.c | 123 if ((int)d->edd_params.sectors > 0) in main_show_disk() 124 sectors_to_size((int)d->edd_params.sectors, disk_size); in main_show_disk() 137 (int)d->edd_params.bytes_per_sector, in main_show_disk() 138 (int)d->edd_params.sectors_per_track, in main_show_disk() 139 remove_spaces((char *)d->edd_params.host_bus_type), in main_show_disk() 140 remove_spaces((char *)d->edd_params.interface_type), mbr_name, in main_show_disk() 201 if ((int)d->edd_params.sectors > 0) in disks_summary() 202 sectors_to_size((int)d->edd_params.sectors, disk_size); in disks_summary() 216 remove_spaces((char *)d->edd_params.host_bus_type), in disks_summary() 217 remove_spaces((char *)d->edd_params.interface_type)); in disks_summary()
|
D | hdt-dump-disks.c | 86 if ((int)d->edd_params.sectors > 0) in show_disk() 87 sectors_to_size((int)d->edd_params.sectors, disk_size); in show_disk() 103 add_ai("disk->bytes_per_sector",(int)d->edd_params.bytes_per_sector) in show_disk() 104 add_ai("disk->sectors_per_track",(int)d->edd_params.sectors_per_track) in show_disk() 105 add_as("disk->host_bus",remove_spaces((char *)d->edd_params.host_bus_type)) in show_disk() 106 add_as("disk->interface_type",remove_spaces((char *)d->edd_params.interface_type)) in show_disk()
|
D | hdt-menu-disk.c | 171 d[disk_number].edd_params.sectors); in compute_disk_module() 172 sectors_to_size(d[disk_number].edd_params.sectors, size_iec); in compute_disk_module() 173 sectors_to_size_dec2(d[disk_number].edd_params.sectors, size_dec); in compute_disk_module() 187 remove_spaces((char *)d[disk_number].edd_params.host_bus_type), in compute_disk_module() 188 d[disk_number].edd_params.interface_type); in compute_disk_module() 190 remove_spaces((char *)d[disk_number].edd_params.host_bus_type), in compute_disk_module() 191 d[disk_number].edd_params.interface_type); in compute_disk_module() 199 (int)d[disk_number].edd_params.sectors); in compute_disk_module() 204 (int)d[disk_number].edd_params.sectors); in compute_disk_module()
|
/external/syslinux/com32/gpllib/disk/ |
D | geom.c | 32 if (drive_info->edd_params.sectors_per_track > 0 && in lba_to_chs() 33 drive_info->edd_params.heads > 0) { in lba_to_chs() 34 *cylinder = (lba % drive_info->edd_params.sectors_per_track) + 1; in lba_to_chs() 35 track = lba / drive_info->edd_params.sectors_per_track; in lba_to_chs() 36 *head = track % drive_info->edd_params.heads; in lba_to_chs() 37 *sector = track / drive_info->edd_params.heads; in lba_to_chs() 156 memcpy(&drive_info->edd_params, dp, sizeof drive_info->edd_params); in get_drive_parameters_with_extensions()
|
/external/syslinux/core/fs/ |
D | diskio_bios.c | 293 static __lowmem struct edd_disk_params edd_params; in bios_disk_init() local 355 edd_params.len = sizeof edd_params; in bios_disk_init() 360 ireg.ds = SEG(&edd_params); in bios_disk_init() 361 ireg.esi.w[0] = OFFS(&edd_params); in bios_disk_init() 365 if (edd_params.len < sizeof edd_params) in bios_disk_init() 366 memset((char *)&edd_params + edd_params.len, 0, in bios_disk_init() 367 sizeof edd_params - edd_params.len); in bios_disk_init() 369 if (edd_params.sector_size >= 512 && in bios_disk_init() 370 is_power_of_2(edd_params.sector_size)) in bios_disk_init() 371 sector_size = edd_params.sector_size; in bios_disk_init()
|
/external/syslinux/com32/gplinclude/disk/ |
D | geom.h | 203 struct edd_device_parameters edd_params; /* EDD parameters */ member 309 if (drive_info->edd_params.sectors_per_track > 0 && in chs_to_lba() 310 drive_info->edd_params.heads > 0) in chs_to_lba() 312 (head * drive_info->edd_params.sectors_per_track) + in chs_to_lba() 313 (cylinder * (drive_info->edd_params.heads) * in chs_to_lba() 314 drive_info->edd_params.sectors_per_track); in chs_to_lba()
|