Home
last modified time | relevance | path

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

12345678910>>...34

/OK3568_Linux_fs/buildroot/package/efivar/
H A D0002-dp.h-make-format_guid-handle-misaligned-guid-pointer.patch4 Subject: [PATCH] dp.h: make format_guid() handle misaligned guid pointers
19 74 | _rc = efi_guid_to_str(guid, &_guidstr); \
24 in the case that the guid we're passed is aligned as chaotic neutral.
43 #define format_guid(buf, size, off, dp_type, guid) ({ \
47 - _rc = efi_guid_to_str(guid, &_guidstr); \
50 + likely(__alignof__(guid) == sizeof(guid)) \
51 + ? guid \
54 + if (unlikely(__alignof__(guid) == sizeof(guid))) \
55 + memmove(&_guid, guid, sizeof(_guid)); \
H A D0003-Fix-all-the-places-Werror-address-of-packed-member-c.patch18 src/guid.c | 2 +-
52 - likely(__alignof__(guid) == sizeof(guid)) \
53 - ? guid \
56 - if (unlikely(__alignof__(guid) == sizeof(guid))) \
57 - memmove(&_guid, guid, sizeof(_guid)); \
60 + memmove(&_guid, guid, sizeof(_guid)); \
73 diff --git a/src/guid.c b/src/guid.c
75 --- a/src/guid.c
76 +++ b/src/guid.c
90 @@ -128,7 +128,7 @@ extern int efi_symbol_to_guid(const char *symbol, efi_guid_t *guid)
[all …]
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0031-efi-Add-a-function-to-read-EFI-variables-with-attrib.patch23 @@ -224,8 +224,11 @@ grub_efi_set_variable(const char *var, const grub_efi_guid_t *guid,
27 -grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
30 + const grub_efi_guid_t *guid,
37 @@ -262,7 +265,7 @@ grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
41 - status = efi_call_5 (r->get_variable, var16, guid, NULL, &datasize, data);
42 + status = efi_call_5 (r->get_variable, var16, guid, attributes, &datasize, data);
46 @@ -276,6 +279,13 @@ grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
51 +grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
54 + return grub_efi_get_variable_with_attributes (var, guid, datasize_out, data_out, NULL);
69 + const grub_efi_guid_t *guid,
[all …]
H A D0030-efi-Return-grub_efi_status_t-from-grub_efi_get_varia.patch55 @@ -223,9 +223,9 @@ grub_efi_set_variable(const char *var, const grub_efi_guid_t *guid,
61 grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
67 @@ -234,13 +234,14 @@ grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
83 @@ -251,14 +252,14 @@ grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
99 status = efi_call_5 (r->get_variable, var16, guid, NULL, &datasize, data);
100 @@ -266,12 +267,13 @@ grub_efi_get_variable (const char *var, const grub_efi_guid_t *guid,
138 - const grub_efi_guid_t *guid,
141 + const grub_efi_guid_t *guid,
146 const grub_efi_guid_t *guid,
/OK3568_Linux_fs/u-boot/arch/x86/lib/fsp/
H A Dfsp_support.c309 struct efi_guid *guid) in fsp_get_reserved_mem_from_guid() argument
322 if (compare_guid(&res_desc->owner, guid)) { in fsp_get_reserved_mem_from_guid()
338 const struct efi_guid guid = FSP_HOB_RESOURCE_OWNER_FSP_GUID; in fsp_get_fsp_reserved_mem() local
343 &length, (struct efi_guid *)&guid); in fsp_get_fsp_reserved_mem()
352 const struct efi_guid guid = FSP_HOB_RESOURCE_OWNER_TSEG_GUID; in fsp_get_tseg_reserved_mem() local
357 &length, (struct efi_guid *)&guid); in fsp_get_tseg_reserved_mem()
381 const struct hob_header *fsp_get_next_guid_hob(const struct efi_guid *guid, in fsp_get_next_guid_hob() argument
391 if (compare_guid(guid, &(guid_hob->name))) in fsp_get_next_guid_hob()
400 struct efi_guid *guid) in fsp_get_guid_hob_data() argument
404 guid_hob = fsp_get_next_guid_hob(guid, hob_list); in fsp_get_guid_hob_data()
[all …]
H A Dcmd_fsp.c86 struct efi_guid *guid = (struct efi_guid *)(hdr + 1); in do_hob() local
89 printf("%08x-%04x-%04x", guid->data1, in do_hob()
90 guid->data2, guid->data3); in do_hob()
91 for (j = 0; j < ARRAY_SIZE(guid->data4); j++) in do_hob()
92 printf("-%02x", guid->data4[j]); in do_hob()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dib_virt.c152 static int set_vf_node_guid(struct ib_device *device, int vf, u8 port, 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()
175 static int set_vf_port_guid(struct ib_device *device, int vf, u8 port, u64 guid) in set_vf_port_guid() argument
188 in->port_guid = guid; in set_vf_port_guid()
191 vfs_ctx[vf].port_guid = guid; in set_vf_port_guid()
199 u64 guid, int type) in mlx5_ib_set_vf_guid() argument
202 return set_vf_node_guid(device, vf, port, guid); in mlx5_ib_set_vf_guid()
204 return set_vf_port_guid(device, vf, port, guid); in mlx5_ib_set_vf_guid()
217 node_guid->guid = in mlx5_ib_get_vf_guid()
[all …]
/OK3568_Linux_fs/u-boot/lib/efi_loader/
H A Defi_boottime.c485 if (!handler->guid) in efi_install_protocol_interface()
487 if (!guidcmp(handler->guid, protocol)) { in efi_install_protocol_interface()
496 if (handler->guid) in efi_install_protocol_interface()
499 handler->guid = protocol; in efi_install_protocol_interface()
554 const efi_guid_t *hprotocol = handler->guid; in efi_uninstall_protocol_interface()
562 handler->guid = 0; in efi_uninstall_protocol_interface()
604 const efi_guid_t *guid = efiobj->protocols[i].guid; in efi_search() local
605 if (guid && !guidcmp(guid, protocol)) in efi_search()
692 efi_status_t efi_install_configuration_table(const efi_guid_t *guid, void *table) in efi_install_configuration_table() argument
698 if (!guidcmp(guid, &efi_conf_table[i].guid)) { in efi_install_configuration_table()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/buildroot/package/libcrossguid/
H A Dlibcrossguid.mk18 -c guid.cpp -o guid.o)
19 (cd $(@D); $(TARGET_AR) rvs libcrossguid.a guid.o)
25 $(INSTALL) -D -m 644 $(@D)/guid.h $(STAGING_DIR)/usr/include/guid.h
/OK3568_Linux_fs/kernel/drivers/platform/x86/
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()
H A Dwmi.c43 char guid[16]; member
124 if (memcmp(block->guid, &guid_input, 16) == 0) { in find_guid()
148 if (!memcmp(wblock->gblock.guid, &guid_input, 16)) in find_guid_context()
460 pr_info("%pUL:\n", g->guid); in wmi_dump_wdg()
526 acpi_status wmi_install_notify_handler(const char *guid, in wmi_install_notify_handler() argument
533 if (!guid || !handler) in wmi_install_notify_handler()
536 if (guid_parse(guid, &guid_input)) in wmi_install_notify_handler()
542 if (memcmp(block->gblock.guid, &guid_input, 16) == 0) { in wmi_install_notify_handler()
567 acpi_status wmi_remove_notify_handler(const char *guid) in wmi_remove_notify_handler() argument
573 if (!guid) in wmi_remove_notify_handler()
[all …]
H A Dhuawei-wmi.c760 const char *guid, in huawei_wmi_input_setup() argument
774 wmi_install_notify_handler(guid, huawei_wmi_input_notify, in huawei_wmi_input_setup()
778 static void huawei_wmi_input_exit(struct device *dev, const char *guid) in huawei_wmi_input_exit() argument
780 wmi_remove_notify_handler(guid); in huawei_wmi_input_exit()
793 const struct wmi_device_id *guid = huawei_wmi_events_id_table; in huawei_wmi_probe() local
799 while (*guid->guid_string) { in huawei_wmi_probe()
802 if (wmi_has_guid(guid->guid_string)) { in huawei_wmi_probe()
803 err = huawei_wmi_input_setup(&pdev->dev, guid->guid_string, &idev); in huawei_wmi_probe()
805 dev_err(&pdev->dev, "Failed to setup input on %s\n", guid->guid_string); in huawei_wmi_probe()
811 guid++; in huawei_wmi_probe()
[all …]
/OK3568_Linux_fs/kernel/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()
H A Dmca_drv.c261 if (!efi_guidcmp(sp->guid, SAL_PROC_DEV_ERR_SECT_GUID)) { in mca_make_slidx()
263 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx()
267 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx()
271 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx()
275 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx()
279 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx()
283 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx()
287 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx()
291 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/include/linux/
H A Dhyperv.h769 guid_t guid; member
1297 .guid = GUID_INIT(0xf8615163, 0xdf3e, 0x46c5, 0x91, 0x3f, \
1305 .guid = GUID_INIT(0x32412632, 0x86cb, 0x44a2, 0x9b, 0x5c, \
1313 .guid = GUID_INIT(0xba6163d9, 0x04a1, 0x4d29, 0xb6, 0x05, \
1321 .guid = GUID_INIT(0x0e0b6031, 0x5213, 0x4934, 0x81, 0x8b, \
1329 .guid = GUID_INIT(0x9527e630, 0xd0ae, 0x497b, 0xad, 0xce, \
1337 .guid = GUID_INIT(0x57164f39, 0x9115, 0x4e78, 0xab, 0x55, \
1345 .guid = GUID_INIT(0xa9a0f4e7, 0x5a45, 0x4d96, 0xb8, 0x27, \
1353 .guid = GUID_INIT(0x525074dc, 0x8985, 0x46e2, 0x80, 0x57, \
1361 .guid = GUID_INIT(0xcfa8b69e, 0x5b4a, 0x4cc0, 0xb9, 0x8b, \
[all …]
/OK3568_Linux_fs/kernel/drivers/visorbus/
H A Dvisorchannel.c34 guid_t guid; member
71 char *visorchannel_guid_id(const guid_t *guid, char *s) in visorchannel_guid_id() argument
73 sprintf(s, "%pUL", guid); in visorchannel_guid_id()
79 return visorchannel_guid_id(&channel->guid, s); in visorchannel_id()
107 return &channel->guid; in visorchannel_get_guid()
350 const guid_t *guid, bool needs_lock) in visorchannel_create() argument
372 if (!channel->requested && !guid_equal(guid, &visor_video_guid)) in visorchannel_create()
392 if (!channel->requested && !guid_equal(guid, &visor_video_guid)) in visorchannel_create()
401 guid_copy(&channel->guid, guid); in visorchannel_create()
/OK3568_Linux_fs/kernel/drivers/firmware/efi/
H A Dcapsule.c85 int efi_capsule_supported(efi_guid_t guid, u32 flags, size_t size, int *reset) in efi_capsule_supported() argument
96 memcpy(&capsule.guid, &guid, sizeof(efi_guid_t)); in efi_capsule_supported()
218 efi_guid_t guid = capsule->guid; in efi_capsule_update() local
225 rv = efi_capsule_supported(guid, flags, imagesize, &reset_type); in efi_capsule_update()
H A Defi.c532 static __init int match_config_table(const efi_guid_t *guid, in match_config_table() argument
538 for (i = 0; efi_guidcmp(table_types[i].guid, NULL_GUID); i++) { in match_config_table()
539 if (!efi_guidcmp(*guid, table_types[i].guid)) { in match_config_table()
557 const efi_guid_t *guid; in efi_config_parse_tables() local
564 guid = &config_tables[i].guid; in efi_config_parse_tables()
567 guid = &tbl64[i].guid; in efi_config_parse_tables()
577 guid = &tbl32[i].guid; in efi_config_parse_tables()
581 if (!match_config_table(guid, table, common_tables) && arch_tables) in efi_config_parse_tables()
582 match_config_table(guid, table, arch_tables); in efi_config_parse_tables()
/OK3568_Linux_fs/kernel/arch/x86/boot/compressed/
H A Dacpi.c39 efi_guid_t guid; in __efi_get_rsdp_addr() local
44 guid = tbl->guid; in __efi_get_rsdp_addr()
54 guid = tbl->guid; in __efi_get_rsdp_addr()
58 if (!(efi_guidcmp(guid, ACPI_TABLE_GUID))) in __efi_get_rsdp_addr()
60 else if (!(efi_guidcmp(guid, ACPI_20_TABLE_GUID))) in __efi_get_rsdp_addr()
/OK3568_Linux_fs/kernel/security/integrity/platform_certs/
H A Dload_uefi.c54 efi_guid_t guid = EFI_SHIM_LOCK_GUID; in uefi_check_ignore_db() local
56 status = efi.get_variable(L"MokIgnoreDB", &guid, NULL, &size, &db); in uefi_check_ignore_db()
63 static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid, in get_cert_list() argument
70 *status = efi.get_variable(name, guid, NULL, &lsize, &tmpdb); in get_cert_list()
83 *status = efi.get_variable(name, guid, NULL, &lsize, db); in get_cert_list()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/ocrdma/
H A Docrdma_main.c65 void ocrdma_get_guid(struct ocrdma_dev *dev, u8 *guid) in ocrdma_get_guid() argument
70 guid[0] = mac_addr[0] ^ 2; in ocrdma_get_guid()
71 guid[1] = mac_addr[1]; in ocrdma_get_guid()
72 guid[2] = mac_addr[2]; in ocrdma_get_guid()
73 guid[3] = 0xff; in ocrdma_get_guid()
74 guid[4] = 0xfe; in ocrdma_get_guid()
75 guid[5] = mac_addr[3]; in ocrdma_get_guid()
76 guid[6] = mac_addr[4]; in ocrdma_get_guid()
77 guid[7] = mac_addr[5]; in ocrdma_get_guid()
/OK3568_Linux_fs/kernel/drivers/media/usb/uvc/
H A Duvc_driver.c45 .guid = UVC_GUID_FORMAT_YUY2,
50 .guid = UVC_GUID_FORMAT_YUY2_ISIGHT,
55 .guid = UVC_GUID_FORMAT_NV12,
60 .guid = UVC_GUID_FORMAT_MJPEG,
65 .guid = UVC_GUID_FORMAT_YV12,
70 .guid = UVC_GUID_FORMAT_I420,
75 .guid = UVC_GUID_FORMAT_M420,
80 .guid = UVC_GUID_FORMAT_UYVY,
85 .guid = UVC_GUID_FORMAT_Y800,
90 .guid = UVC_GUID_FORMAT_Y8,
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/
H A Dqib_ruc.c64 return ppd->guid; in get_sguid()
85 __be64 guid; in qib_ruc_check_hdr() local
100 guid = get_sguid(ibp, grh->sgid_index); in qib_ruc_check_hdr()
102 ibp->rvp.gid_prefix, guid)) in qib_ruc_check_hdr()
139 guid = get_sguid(ibp, grh->sgid_index); in qib_ruc_check_hdr()
141 ibp->rvp.gid_prefix, guid)) in qib_ruc_check_hdr()
197 hdr->sgid.global.interface_id = ppd_from_ibp(ibp)->guid; in qib_make_grh()

12345678910>>...34