Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/efi_loader/
H A Defi_device_path_to_text.c172 struct efi_device_path_hard_drive_path *hddp = in dp_media() local
174 void *sig = hddp->partition_signature; in dp_media()
179 memcpy(&start, &hddp->partition_start, sizeof(start)); in dp_media()
180 memcpy(&end, &hddp->partition_end, sizeof(end)); in dp_media()
182 switch (hddp->signature_type) { in dp_media()
189 hddp->partition_number, signature, start, end); in dp_media()
195 hddp->partition_number, sig, start, end); in dp_media()
200 hddp->partition_number, hddp->partmap_type, in dp_media()
H A Defi_device_path.c674 hddp->dp.length = sizeof(*hddp); in dp_part_node()
675 hddp->partition_number = part; in dp_part_node()
676 hddp->partition_start = info.start; in dp_part_node()
677 hddp->partition_end = info.size; in dp_part_node()
679 hddp->partmap_type = 2; in dp_part_node()
681 hddp->partmap_type = 1; in dp_part_node()
686 hddp->signature_type = 0; in dp_part_node()
687 memset(hddp->partition_signature, 0, in dp_part_node()
691 hddp->signature_type = 1; in dp_part_node()
698 hddp->signature_type = 2; in dp_part_node()
[all …]