Home
last modified time | relevance | path

Searched refs:guid (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/openbmc/linux/drivers/media/common/
H A Duvc.c16 .guid = UVC_GUID_FORMAT_YUY2,
20 .guid = UVC_GUID_FORMAT_YUY2_ISIGHT,
24 .guid = UVC_GUID_FORMAT_NV12,
28 .guid = UVC_GUID_FORMAT_MJPEG,
32 .guid = UVC_GUID_FORMAT_YV12,
36 .guid = UVC_GUID_FORMAT_I420,
40 .guid = UVC_GUID_FORMAT_M420,
44 .guid = UVC_GUID_FORMAT_UYVY,
48 .guid = UVC_GUID_FORMAT_Y800,
52 .guid = UVC_GUID_FORMAT_Y8,
[all …]
/openbmc/qemu/hw/i386/
H A Dpc_sysfw_ovmf.c42 QemuUUID guid; in pc_system_parse_ovmf_flash() local
62 qemu_uuid_parse(OVMF_TABLE_FOOTER_GUID, &guid); in pc_system_parse_ovmf_flash()
63 guid = qemu_uuid_bswap(guid); /* guids are LE */ in pc_system_parse_ovmf_flash()
64 ptr = flash_ptr + flash_size - (bytes_after_table_footer + sizeof(guid)); in pc_system_parse_ovmf_flash()
65 if (!qemu_uuid_is_equal((QemuUUID *)ptr, &guid)) { in pc_system_parse_ovmf_flash()
71 tot_len = le16_to_cpu(*(uint16_t *)ptr) - sizeof(guid) - sizeof(uint16_t); in pc_system_parse_ovmf_flash()
126 QemuUUID *guid; in pc_system_ovmf_table_find() local
134 guid = (QemuUUID *)(ptr - sizeof(QemuUUID)); in pc_system_ovmf_table_find()
150 if (qemu_uuid_is_equal(guid, &entry_guid)) { in pc_system_ovmf_table_find()
/openbmc/linux/drivers/acpi/
H A Dprmt.c55 efi_guid_t guid; member
64 guid_t guid; member
75 static u64 efi_pa_va_lookup(efi_guid_t *guid, u64 pa) in efi_pa_va_lookup() argument
88 pr_warn("Failed to find VA for GUID: %pUL, PA: 0x%llx", guid, pa); in efi_pa_va_lookup()
115 guid_copy(&tm->guid, (guid_t *) module_info->module_guid); in acpi_parse_prmt()
154 guid_copy(&th->guid, (guid_t *)handler_info->handler_guid); in acpi_parse_prmt()
156 (void *)efi_pa_va_lookup(&th->guid, handler_info->handler_address); in acpi_parse_prmt()
159 efi_pa_va_lookup(&th->guid, handler_info->static_data_buffer_address); in acpi_parse_prmt()
162 efi_pa_va_lookup(&th->guid, handler_info->acpi_param_buffer_address); in acpi_parse_prmt()
181 static void *find_guid_info(const guid_t *guid, u8 mode) in find_guid_info() argument
[all …]
/openbmc/qemu/block/
H A Dvhdx.h153 MSGUID guid; /* 128-bit unique identifier */ member
402 void vhdx_guid_generate(MSGUID *guid);
422 static inline void leguid_to_cpus(MSGUID *guid) in leguid_to_cpus() argument
424 guid->data1 = le32_to_cpu(guid->data1); in leguid_to_cpus()
425 guid->data2 = le16_to_cpu(guid->data2); in leguid_to_cpus()
426 guid->data3 = le16_to_cpu(guid->data3); in leguid_to_cpus()
429 static inline void cpu_to_leguids(MSGUID *guid) in cpu_to_leguids() argument
431 guid->data1 = cpu_to_le32(guid->data1); in cpu_to_leguids()
432 guid->data2 = cpu_to_le16(guid->data2); in cpu_to_leguids()
433 guid->data3 = cpu_to_le16(guid->data3); in cpu_to_leguids()
/openbmc/u-boot/cmd/
H A Defidebug.c184 const efi_guid_t guid; member
243 static const char *get_guid_text(const efi_guid_t *guid) in get_guid_text() argument
248 if (!guidcmp(&guid_list[i].guid, guid)) in get_guid_text()
274 efi_guid_t **guid; in do_efi_show_handles() local
291 ret = EFI_CALL(BS->protocols_per_handle(handles[i], &guid, in do_efi_show_handles()
304 guid_text = get_guid_text(guid[j]); in do_efi_show_handles()
308 printf("%pUl", guid[j]); in do_efi_show_handles()
480 efi_guid_t guid; in do_efi_boot_add() local
500 guid = efi_global_variable_guid; in do_efi_boot_add()
536 ret = EFI_CALL(RT->set_variable(var_name16, &guid, in do_efi_boot_add()
[all …]
H A Dnvedit_efi.c44 static void efi_dump_single_var(u16 *name, efi_guid_t *guid) in efi_dump_single_var() argument
54 ret = EFI_CALL(efi_get_variable(name, guid, &attributes, &size, data)); in efi_dump_single_var()
60 ret = EFI_CALL(efi_get_variable(name, guid, &attributes, &size, in efi_dump_single_var()
141 efi_guid_t guid; in efi_dump_var_all() local
153 &guid)); in efi_dump_var_all()
166 &guid)); in efi_dump_var_all()
173 efi_dump_single_var(var_name16, &guid); in efi_dump_var_all()
348 efi_guid_t guid; in do_env_set_efi() local
387 guid = efi_global_variable_guid; in do_env_set_efi()
388 ret = EFI_CALL(efi_set_variable(var_name16, &guid, in do_env_set_efi()
/openbmc/u-boot/arch/x86/lib/fsp/
H A Dfsp_support.c308 struct efi_guid *guid) in fsp_get_reserved_mem_from_guid() argument
321 if (compare_guid(&res_desc->owner, guid)) { in fsp_get_reserved_mem_from_guid()
337 const struct efi_guid guid = FSP_HOB_RESOURCE_OWNER_FSP_GUID; in fsp_get_fsp_reserved_mem() local
342 &length, (struct efi_guid *)&guid); in fsp_get_fsp_reserved_mem()
351 const struct efi_guid guid = FSP_HOB_RESOURCE_OWNER_TSEG_GUID; in fsp_get_tseg_reserved_mem() local
356 &length, (struct efi_guid *)&guid); in fsp_get_tseg_reserved_mem()
380 const struct hob_header *fsp_get_next_guid_hob(const struct efi_guid *guid, in fsp_get_next_guid_hob() argument
390 if (compare_guid(guid, &(guid_hob->name))) in fsp_get_next_guid_hob()
399 struct efi_guid *guid) in fsp_get_guid_hob_data() argument
403 guid_hob = fsp_get_next_guid_hob(guid, hob_list); in fsp_get_guid_hob_data()
[all …]
/openbmc/libcper/
H A Dcper-utils.c284 void guid_to_string(char *out, EFI_GUID *guid) in guid_to_string() argument
287 guid->Data1, guid->Data2, guid->Data3, guid->Data4[0], in guid_to_string()
288 guid->Data4[1], guid->Data4[2], guid->Data4[3], guid->Data4[4], in guid_to_string()
289 guid->Data4[5], guid->Data4[6], guid->Data4[7]); in guid_to_string()
293 void string_to_guid(EFI_GUID *out, const char *guid) in string_to_guid() argument
296 if (guid == NULL) { in string_to_guid()
300 sscanf(guid, in string_to_guid()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dib_virt.c152 u64 guid) in set_vf_node_guid() argument
165 in->node_guid = guid; in set_vf_node_guid()
168 vfs_ctx[vf].node_guid = guid; in set_vf_node_guid()
176 u64 guid) in set_vf_port_guid() argument
189 in->port_guid = guid; in set_vf_port_guid()
192 vfs_ctx[vf].port_guid = guid; in set_vf_port_guid()
200 u64 guid, int type) in mlx5_ib_set_vf_guid() argument
203 return set_vf_node_guid(device, vf, port, guid); in mlx5_ib_set_vf_guid()
205 return set_vf_port_guid(device, vf, port, guid); in mlx5_ib_set_vf_guid()
218 node_guid->guid = in mlx5_ib_get_vf_guid()
[all …]
/openbmc/qemu/tests/qtest/
H A Dvmgenid-test.c76 static void read_guid_from_memory(QTestState *qts, QemuUUID *guid) in read_guid_from_memory() argument
86 guid->data[i] = qtest_readb(qts, vmgenid_addr + i); in read_guid_from_memory()
91 *guid = qemu_uuid_bswap(*guid); in read_guid_from_memory()
94 static void read_guid_from_monitor(QTestState *qts, QemuUUID *guid) in read_guid_from_monitor() argument
104 g_assert(qemu_uuid_parse(guid_str, guid) == 0); in read_guid_from_monitor()
111 #define GUID_CMD(guid) \ argument
115 "-device ide-hd,drive=hd0 ", guid, disk
/openbmc/linux/lib/
H A Duuid.c43 void generate_random_guid(unsigned char guid[16]) in generate_random_guid()
45 get_random_bytes(guid, 16); in generate_random_guid()
47 guid[7] = (guid[7] & 0x0F) | 0x40; in generate_random_guid()
49 guid[8] = (guid[8] & 0x3F) | 0x80; in generate_random_guid()
/openbmc/linux/drivers/platform/x86/
H A Dwmi.c45 guid_t guid; member
56 static_assert(sizeof(typeof_member(struct guid_block, guid)) == 16);
128 if (guid_equal(&wblock->gblock.guid, &guid_input)) { in find_guid()
139 static bool guid_parse_and_compare(const char *string, const guid_t *guid) in guid_parse_and_compare() argument
146 return guid_equal(&guid_input, guid); in guid_parse_and_compare()
159 if (guid_parse_and_compare(id->guid_string, &wblock->gblock.guid)) in find_guid_context()
560 pr_info("%pUL:\n", &g->guid); in wmi_dump_wdg()
627 acpi_status wmi_install_notify_handler(const char *guid, in wmi_install_notify_handler() argument
635 if (!guid || !handler) in wmi_install_notify_handler()
638 if (guid_parse(guid, &guid_input)) in wmi_install_notify_handler()
[all …]
/openbmc/qemu/hw/acpi/
H A Dvmgenid.c25 void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid, in vmgenid_build_acpi() argument
37 g_array_set_size(guid, VMGENID_FW_CFG_SIZE - ARRAY_SIZE(guid_le.data)); in vmgenid_build_acpi()
38 guid_le = qemu_uuid_bswap(vms->guid); in vmgenid_build_acpi()
43 g_array_insert_vals(guid, VMGENID_GUID_OFFSET, guid_le.data, in vmgenid_build_acpi()
96 bios_linker_loader_alloc(linker, VMGENID_GUID_FW_CFG_FILE, guid, 4096, in vmgenid_build_acpi()
123 void vmgenid_add_fw_cfg(VmGenIdState *vms, FWCfgState *s, GArray *guid) in vmgenid_add_fw_cfg() argument
126 fw_cfg_add_file(s, VMGENID_GUID_FW_CFG_FILE, guid->data, in vmgenid_add_fw_cfg()
153 guid_le = qemu_uuid_bswap(vms->guid); in vmgenid_update_guest()
218 DEFINE_PROP_UUID(VMGENID_GUID, VmGenIdState, guid),
/openbmc/linux/drivers/platform/x86/dell/
H A Ddell-wmi-aio.c165 const char *guid; in dell_wmi_aio_init() local
167 guid = dell_wmi_aio_find(); in dell_wmi_aio_init()
168 if (!guid) { in dell_wmi_aio_init()
177 err = wmi_install_notify_handler(guid, dell_wmi_aio_notify, NULL); in dell_wmi_aio_init()
189 const char *guid; in dell_wmi_aio_exit() local
191 guid = dell_wmi_aio_find(); in dell_wmi_aio_exit()
192 wmi_remove_notify_handler(guid); in dell_wmi_aio_exit()
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-support/crossguid/crossguid/
H A D0001-include-missing-cstdint.patch14 include/crossguid/guid.hpp | 1 +
17 diff --git a/include/crossguid/guid.hpp b/include/crossguid/guid.hpp
19 --- a/include/crossguid/guid.hpp
20 +++ b/include/crossguid/guid.hpp
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/
H A D0012-Platform-CS1000-Increase-BL2-partition-size.patch64 …--new=3:48:+4K --typecode=3:$FWU_METADATA_TYPE_UUID --partition-guid=3:$(uuidgen) --change-name=3:…
65 …--new=4:56:+4K --typecode=4:$PRIVATE_METADATA_TYPE_UUID --partition-guid=4:$(uuidgen) --change-nam…
66 …--new=5:64:+4k --typecode=5:$PRIVATE_METADATA_TYPE_UUID --partition-guid=5:$(uuidgen) --change-nam…
67 - --new=6:72:+100k --typecode=6:$SE_BL2_TYPE_UUID --partition-guid=6:$(uuidgen) --change-nam…
68 - --new=7:272:+368K --typecode=7:$TFM_TYPE_UUID --partition-guid=7:$(uuidgen) --change-name=…
69 - --new=8:32784:+100k --typecode=8:$SE_BL2_TYPE_UUID --partition-guid=8:$(uuidgen) --change-…
70 - --new=9:32984:+368K --typecode=9:$TFM_TYPE_UUID --partition-guid=9:$(uuidgen) --change-nam…
71 + --new=6:72:$SE_BL2_PARTITION_SIZE --typecode=6:$SE_BL2_TYPE_UUID --partition-guid=6:$(uuid…
72 + --new=7:360:$TFM_S_PARTITION_SIZE --typecode=7:$TFM_TYPE_UUID --partition-guid=7:$(uuidgen…
73 + --new=8:32784:$SE_BL2_PARTITION_SIZE --typecode=8:$SE_BL2_TYPE_UUID --partition-guid=8:$(u…
[all …]
/openbmc/linux/arch/ia64/kernel/
H A Desi.c37 efi_guid_t guid; member
88 int ia64_esi_call (efi_guid_t guid, struct ia64_sal_retval *isrvp, in ia64_esi_call() argument
105 if (!efi_guidcmp(guid, esi->guid)) { in ia64_esi_call()
140 int ia64_esi_call_phys (efi_guid_t guid, struct ia64_sal_retval *isrvp, in ia64_esi_call_phys() argument
157 if (!efi_guidcmp(guid, esi->guid)) { in ia64_esi_call_phys()
/openbmc/phosphor-net-ipmid/command/
H A Dguid.cpp16 static std::optional<command::Guid> guid; variable
71 if (guid.has_value()) in getSystemGUID()
73 return guid.value(); in getSystemGUID()
100 guid = tmpGuid; in getSystemGUID()
108 return guid.value(); in getSystemGUID()
135 guid = tmpGuid; in registerGUIDChangeCallback()
/openbmc/linux/fs/squashfs/
H A Dsquashfs_fs.h273 __le16 guid; member
282 __le16 guid; member
292 __le16 guid; member
303 __le16 guid; member
314 __le16 guid; member
326 __le16 guid; member
338 __le16 guid; member
352 __le16 guid; member
369 __le16 guid; member
383 __le16 guid; member
/openbmc/u-boot/cmd/x86/
H A Dfsp.c105 struct efi_guid *guid = (struct efi_guid *)(hdr + 1); in do_hob() local
108 printf("%08x-%04x-%04x", guid->data1, in do_hob()
109 guid->data2, guid->data3); in do_hob()
110 for (j = 0; j < ARRAY_SIZE(guid->data4); j++) in do_hob()
111 printf("-%02x", guid->data4[j]); in do_hob()
/openbmc/linux/drivers/firmware/efi/
H A Defi.c198 efi_guid_t guid; in generic_ops_supported() local
204 status = efi.get_next_variable(&name_size, &name, &guid); in generic_ops_supported()
259 efi_guid_t guid; in efivar_ssdt_load() local
274 status = efi.get_next_variable(&name_size, name, &guid); in efivar_ssdt_load()
293 pr_info("loading SSDT from variable %s-%pUl\n", efivar_ssdt, &guid); in efivar_ssdt_load()
295 status = efi.get_variable(name, &guid, NULL, &data_size, NULL); in efivar_ssdt_load()
303 status = efi.get_variable(name, &guid, NULL, &data_size, data); in efivar_ssdt_load()
606 static __init int match_config_table(const efi_guid_t *guid, in match_config_table() argument
612 for (i = 0; efi_guidcmp(table_types[i].guid, NULL_GUID); i++) { in match_config_table()
613 if (efi_guidcmp(*guid, table_types[i].guid)) in match_config_table()
[all …]
H A Dcapsule.c86 int efi_capsule_supported(efi_guid_t guid, u32 flags, size_t size, int *reset) in efi_capsule_supported() argument
97 memcpy(&capsule.guid, &guid, sizeof(efi_guid_t)); in efi_capsule_supported()
219 efi_guid_t guid = capsule->guid; in efi_capsule_update() local
226 rv = efi_capsule_supported(guid, flags, imagesize, &reset_type); in efi_capsule_update()
/openbmc/libcper/generator/sections/
H A Dgen-section-ia32x64.c88 EFI_GUID *guid = (EFI_GUID *)error_structure; in generate_ia32x64_error_structure() local
94 memcpy(guid, &gEfiIa32x64ErrorTypeCacheCheckGuid, in generate_ia32x64_error_structure()
104 memcpy(guid, &gEfiIa32x64ErrorTypeTlbCheckGuid, in generate_ia32x64_error_structure()
114 memcpy(guid, &gEfiIa32x64ErrorTypeBusCheckGuid, in generate_ia32x64_error_structure()
124 memcpy(guid, &gEfiIa32x64ErrorTypeMsCheckGuid, in generate_ia32x64_error_structure()
/openbmc/linux/include/linux/
H A Dhyperv.h824 guid_t guid; member
1386 .guid = GUID_INIT(0xf8615163, 0xdf3e, 0x46c5, 0x91, 0x3f, \
1394 .guid = GUID_INIT(0x32412632, 0x86cb, 0x44a2, 0x9b, 0x5c, \
1402 .guid = GUID_INIT(0xba6163d9, 0x04a1, 0x4d29, 0xb6, 0x05, \
1410 .guid = GUID_INIT(0x0e0b6031, 0x5213, 0x4934, 0x81, 0x8b, \
1418 .guid = GUID_INIT(0x9527e630, 0xd0ae, 0x497b, 0xad, 0xce, \
1426 .guid = GUID_INIT(0x57164f39, 0x9115, 0x4e78, 0xab, 0x55, \
1434 .guid = GUID_INIT(0xa9a0f4e7, 0x5a45, 0x4d96, 0xb8, 0x27, \
1442 .guid = GUID_INIT(0x525074dc, 0x8985, 0x46e2, 0x80, 0x57, \
1450 .guid = GUID_INIT(0xcfa8b69e, 0x5b4a, 0x4cc0, 0xb9, 0x8b, \
[all …]
/openbmc/qemu/include/hw/acpi/
H A Dvmgenid.h23 QemuUUID guid; /* The 128-bit GUID seen by the guest */ member
33 void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid,
35 void vmgenid_add_fw_cfg(VmGenIdState *vms, FWCfgState *s, GArray *guid);

12345678910>>...12