Home
last modified time | relevance | path

Searched refs:hddp (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/lib/efi_loader/
Defi_device_path.c675 struct efi_device_path_hard_drive_path *hddp = buf; in dp_part_node() local
677 hddp->dp.type = DEVICE_PATH_TYPE_MEDIA_DEVICE; in dp_part_node()
678 hddp->dp.sub_type = DEVICE_PATH_SUB_TYPE_HARD_DRIVE_PATH; in dp_part_node()
679 hddp->dp.length = sizeof(*hddp); in dp_part_node()
680 hddp->partition_number = part; in dp_part_node()
681 hddp->partition_start = info.start; in dp_part_node()
682 hddp->partition_end = info.size; in dp_part_node()
684 hddp->partmap_type = 2; in dp_part_node()
686 hddp->partmap_type = 1; in dp_part_node()
691 hddp->signature_type = 0; in dp_part_node()
[all …]
Defi_device_path_to_text.c164 struct efi_device_path_hard_drive_path *hddp = in dp_media() local
166 void *sig = hddp->partition_signature; in dp_media()
171 memcpy(&start, &hddp->partition_start, sizeof(start)); in dp_media()
172 memcpy(&end, &hddp->partition_end, sizeof(end)); in dp_media()
174 switch (hddp->signature_type) { in dp_media()
181 hddp->partition_number, signature, start, end); in dp_media()
187 hddp->partition_number, sig, start, end); in dp_media()
192 hddp->partition_number, hddp->partmap_type, in dp_media()