Home
last modified time | relevance | path

Searched refs:device_path (Results 1 – 19 of 19) sorted by relevance

/u-boot/lib/efi_loader/
A Defi_device_path_utilities.c28 const struct efi_device_path *device_path) in get_device_path_size() argument
32 EFI_ENTRY("%pD", device_path); in get_device_path_size()
34 if (device_path) in get_device_path_size()
56 const struct efi_device_path *device_path) in duplicate_device_path() argument
58 EFI_ENTRY("%pD", device_path); in duplicate_device_path()
59 return EFI_EXIT(efi_dp_dup(device_path)); in duplicate_device_path()
97 const struct efi_device_path *device_path, in append_device_node() argument
100 EFI_ENTRY("%pD, %p", device_path, device_node); in append_device_node()
118 const struct efi_device_path *device_path, in append_device_path_instance() argument
162 const struct efi_device_path *device_path) in is_device_path_multi_instance() argument
[all …]
A Dhelloworld.c147 efi_status_t print_device_path(struct efi_device_path *device_path, in print_device_path() argument
153 if (!device_path) { in print_device_path()
158 string = dp2txt->convert_device_path_to_text(device_path, true, false); in print_device_path()
186 struct efi_device_path *device_path; in efi_main() local
230 (void **)&device_path, NULL, NULL, in efi_main()
238 ret = print_device_path(device_path, device_path_to_text); in efi_main()
A Defi_bootmgr.c48 struct efi_device_path *expand_media_path(struct efi_device_path *device_path) in expand_media_path() argument
53 if (!device_path) in expand_media_path()
61 handle = efi_dp_find_obj(device_path, in expand_media_path()
65 full_path = efi_dp_from_file(device_path, in expand_media_path()
68 full_path = efi_dp_dup(device_path); in expand_media_path()
71 full_path = efi_dp_dup(device_path); in expand_media_path()
A Defi_device_path_to_text.c416 struct efi_device_path *device_path, in efi_convert_device_path_to_text() argument
424 EFI_ENTRY("%p, %d, %d", device_path, display_only, allow_shortcuts); in efi_convert_device_path_to_text()
426 if (!device_path) in efi_convert_device_path_to_text()
428 while (device_path && str + MAX_NODE_LEN < buffer + MAX_PATH_LEN) { in efi_convert_device_path_to_text()
429 if (device_path->type == DEVICE_PATH_TYPE_END) { in efi_convert_device_path_to_text()
430 if (device_path->sub_type != in efi_convert_device_path_to_text()
437 str, device_path); in efi_convert_device_path_to_text()
439 *(u8 **)&device_path += device_path->length; in efi_convert_device_path_to_text()
A Defi_hii_config.c87 const struct efi_device_path *device_path, in get_alt_config() argument
92 this, config_resp, guid, name, device_path, in get_alt_config()
A Defi_disk.c333 struct efi_device_path *device_path; in efi_fs_from_path() local
338 ret = efi_dp_split_file_path(full_path, &device_path, &file_path); in efi_fs_from_path()
344 efiobj = efi_dp_find_obj(device_path, NULL, NULL); in efi_fs_from_path()
345 efi_free_pool(device_path); in efi_fs_from_path()
A Defi_tcg2.c969 struct efi_device_path *device_path; in tcg2_measure_pe_image() local
1012 device_path = handler->protocol_interface; in tcg2_measure_pe_image()
1013 device_path_length = efi_dp_size(device_path); in tcg2_measure_pe_image()
1043 memcpy(image_load_event->device_path, device_path, device_path_length); in tcg2_measure_pe_image()
2058 struct efi_device_path *device_path; in tcg2_measure_gpt_data() local
2081 device_path = efi_dp_dup(orig_device_path); in tcg2_measure_gpt_data()
2082 if (!device_path) in tcg2_measure_gpt_data()
2085 dp = search_gpt_dp_node(device_path); in tcg2_measure_gpt_data()
2095 dp = device_path; in tcg2_measure_gpt_data()
2173 efi_free_pool(device_path); in tcg2_measure_gpt_data()
A Defi_boottime.c1728 efi_status_t efi_setup_loaded_image(struct efi_device_path *device_path, in efi_setup_loaded_image() argument
1759 if (device_path) { in efi_setup_loaded_image()
1760 info->device_handle = efi_dp_find_obj(device_path, NULL, NULL); in efi_setup_loaded_image()
1762 dp = efi_dp_append(device_path, file_path); in efi_setup_loaded_image()
1810 struct efi_device_path **device_path, in efi_locate_device_path() argument
1823 EFI_ENTRY("%pUs, %p, %p", protocol, device_path, device); in efi_locate_device_path()
1825 if (!protocol || !device_path || !*device_path) { in efi_locate_device_path()
1831 len = efi_dp_instance_size(*device_path); in efi_locate_device_path()
1856 if (memcmp(*device_path, dp, len_dp)) in efi_locate_device_path()
1866 remainder = (u8 *)*device_path + len_best; in efi_locate_device_path()
[all …]
A Defi_device_path.c1132 struct efi_device_path **device_path, in efi_dp_split_file_path() argument
1137 *device_path = NULL; in efi_dp_split_file_path()
1156 *device_path = dp; in efi_dp_split_file_path()
1296 struct efi_device_path *search_gpt_dp_node(struct efi_device_path *device_path) in search_gpt_dp_node() argument
1298 struct efi_device_path *dp = device_path; in search_gpt_dp_node()
/u-boot/lib/efi/
A Defi_app.c85 struct efi_device_path *device_path, int len, in efi_bind_block() argument
95 plat.device_path = malloc(device_path->length); in efi_bind_block()
96 if (!plat.device_path) in efi_bind_block()
98 memcpy(plat.device_path, device_path, device_path->length); in efi_bind_block()
/u-boot/lib/acpi/
A Dacpi_table.c207 const char *device_path) in acpi_create_dbg2() argument
253 path = device_path ? : "."; in acpi_create_dbg2()
/u-boot/include/
A Defi_tcg2.h94 struct efi_device_path device_path[]; member
A Defi_loader.h626 struct efi_device_path **device_path,
769 efi_status_t efi_setup_loaded_image(struct efi_device_path *device_path,
823 struct efi_device_path **device_path,
913 struct efi_device_path *search_gpt_dp_node(struct efi_device_path *device_path);
A Defi_api.h120 struct efi_device_path **device_path,
909 struct efi_device_path *device_path,
920 const struct efi_device_path *device_path);
922 const struct efi_device_path *device_path);
927 const struct efi_device_path *device_path,
930 const struct efi_device_path *device_path,
936 const struct efi_device_path *device_path);
1058 efi_string_id_t device_path; member
1353 const struct efi_device_path *device_path,
A Defi.h483 struct efi_device_path *device_path; member
/u-boot/include/linux/
A Dedd.h158 } device_path; member
/u-boot/cmd/
A Dbootefi.c548 struct efi_device_path *device_path, in bootefi_run_prepare() argument
556 ret = efi_setup_loaded_image(device_path, image_path, image_objp, in bootefi_run_prepare()
A Deficonfig.c622 struct efi_device_path *device_path; in eficonfig_select_volume() local
658 ret = efi_protocol_open(handler, (void **)&device_path, in eficonfig_select_volume()
691 info->dp = device_path; in eficonfig_select_volume()
2398 struct efi_device_path *device_path; in eficonfig_enumerate_boot_option() local
2403 ret = efi_protocol_open(handler, (void **)&device_path, in eficonfig_enumerate_boot_option()
2417 lo.file_path = device_path; in eficonfig_enumerate_boot_option()
2418 lo.file_path_length = efi_dp_size(device_path) + sizeof(END); in eficonfig_enumerate_boot_option()
/u-boot/include/acpi/
A Dacpi_table.h831 const char *device_path);

Completed in 51 milliseconds