Home
last modified time | relevance | path

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

/third_party/uboot/u-boot-2020.01/lib/efi_loader/
Defi_device_path_to_text.c194 struct efi_device_path_hard_drive_path *hddp = in dp_media() local
196 void *sig = hddp->partition_signature; in dp_media()
201 memcpy(&start, &hddp->partition_start, sizeof(start)); in dp_media()
202 memcpy(&end, &hddp->partition_end, sizeof(end)); in dp_media()
204 switch (hddp->signature_type) { in dp_media()
211 hddp->partition_number, signature, start, end); in dp_media()
217 hddp->partition_number, sig, start, end); in dp_media()
222 hddp->partition_number, hddp->partmap_type, in dp_media()
Defi_device_path.c712 struct efi_device_path_hard_drive_path *hddp = buf; in dp_part_node() local
714 hddp->dp.type = DEVICE_PATH_TYPE_MEDIA_DEVICE; in dp_part_node()
715 hddp->dp.sub_type = DEVICE_PATH_SUB_TYPE_HARD_DRIVE_PATH; in dp_part_node()
716 hddp->dp.length = sizeof(*hddp); in dp_part_node()
717 hddp->partition_number = part; in dp_part_node()
718 hddp->partition_start = info.start; in dp_part_node()
719 hddp->partition_end = info.size; in dp_part_node()
721 hddp->partmap_type = 2; in dp_part_node()
723 hddp->partmap_type = 1; in dp_part_node()
728 hddp->signature_type = 0; in dp_part_node()
[all …]