Home
last modified time | relevance | path

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

1234567

/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 …]
/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 …]
/linux/drivers/platform/x86/dell/
H A Ddell-wmi-aio.c154 const char *guid; in dell_wmi_aio_init() local
156 guid = dell_wmi_aio_find(); in dell_wmi_aio_init()
157 if (!guid) { in dell_wmi_aio_init()
166 err = wmi_install_notify_handler(guid, dell_wmi_aio_notify, NULL); in dell_wmi_aio_init()
178 const char *guid; in dell_wmi_aio_exit() local
180 guid = dell_wmi_aio_find(); in dell_wmi_aio_exit()
181 wmi_remove_notify_handler(guid); in dell_wmi_aio_exit()
/linux/drivers/platform/x86/
H A Dwmi.c40 guid_t guid; member
51 static_assert(sizeof(typeof_member(struct guid_block, guid)) == 16);
73 const guid_t *guid; member
99 static bool guid_parse_and_compare(const char *string, const guid_t *guid) in guid_parse_and_compare() argument
106 return guid_equal(&guid_input, guid); in guid_parse_and_compare()
119 if (guid_parse_and_compare(id->guid_string, &wblock->gblock.guid)) in find_guid_context()
171 const guid_t *guid = data; in wmidev_match_guid() local
179 if (guid_equal(guid, &wblock->gblock.guid)) in wmidev_match_guid()
190 guid_t guid; in wmi_find_device_by_guid() local
193 ret = guid_parse(guid_string, &guid); in wmi_find_device_by_guid()
[all …]
H A Dhuawei-wmi.c747 static int huawei_wmi_input_setup(struct device *dev, const char *guid) in huawei_wmi_input_setup() argument
770 status = wmi_install_notify_handler(guid, huawei_wmi_input_notify, idev); in huawei_wmi_input_setup()
777 static void huawei_wmi_input_exit(struct device *dev, const char *guid) in huawei_wmi_input_exit() argument
779 wmi_remove_notify_handler(guid); in huawei_wmi_input_exit()
792 const struct wmi_device_id *guid = huawei_wmi_events_id_table; in huawei_wmi_probe() local
798 while (*guid->guid_string) { in huawei_wmi_probe()
799 if (wmi_has_guid(guid->guid_string)) { in huawei_wmi_probe()
800 err = huawei_wmi_input_setup(&pdev->dev, guid->guid_string); in huawei_wmi_probe()
802 dev_err(&pdev->dev, "Failed to setup input on %s\n", guid->guid_string); in huawei_wmi_probe()
807 guid++; in huawei_wmi_probe()
[all …]
H A Dmsi-wmi.c78 const char *guid; member
276 if (!wmi_has_guid(event_wmis[i].guid)) in msi_wmi_init()
285 err = wmi_install_notify_handler(event_wmis[i].guid, in msi_wmi_init()
316 wmi_remove_notify_handler(event_wmi->guid); in msi_wmi_init()
326 wmi_remove_notify_handler(event_wmi->guid); in msi_wmi_exit()
/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()
/linux/drivers/firmware/qcom/
H A Dqcom_qseecom_uefisecapp.c295 const efi_guid_t *guid, u32 *attributes, in qsee_uefi_get_variable() argument
313 if (!name || !guid) in qsee_uefi_get_variable()
326 __field_offs(*guid, &guid_offs) in qsee_uefi_get_variable()
351 req_data->guid_size = sizeof(*guid); in qsee_uefi_get_variable()
358 memcpy(((void *)req_data) + req_data->guid_offset, guid, req_data->guid_size); in qsee_uefi_get_variable()
426 const efi_guid_t *guid, u32 attributes, in qsee_uefi_set_variable() argument
442 if (!name || !guid) in qsee_uefi_set_variable()
460 __field_offs(*guid, &guid_offs) in qsee_uefi_set_variable()
481 req_data->guid_size = sizeof(*guid); in qsee_uefi_set_variable()
490 memcpy(((void *)req_data) + req_data->guid_offset, guid, req_data->guid_size); in qsee_uefi_set_variable()
[all …]
/linux/drivers/firmware/efi/stmm/
H A Dtee_stmm_efi.c266 memcpy(&smm_property->guid, vendor, sizeof(smm_property->guid)); in get_property_int()
323 memcpy(&var_acc->guid, vendor, sizeof(var_acc->guid)); in tee_get_variable()
355 efi_char16_t *name, efi_guid_t *guid) in tee_get_next_variable() argument
364 if (!name_size || !name || !guid) in tee_get_next_variable()
389 memcpy(&var_getnext->guid, guid, sizeof(var_getnext->guid)); in tee_get_next_variable()
403 memcpy(guid, &var_getnext->guid, sizeof(*guid)); in tee_get_next_variable()
460 memcpy(&var_acc->guid, vendor, sizeof(var_acc->guid)); in tee_set_variable()
H A Dmm_communication.h140 efi_guid_t guid; member
170 efi_guid_t guid; member
230 efi_guid_t guid; member
/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
/linux/drivers/gpu/drm/xe/
H A Dxe_vsec.c106 static int xe_guid_decode(u32 guid, int *index, u32 *offset) in xe_guid_decode() argument
108 u32 record_id = FIELD_GET(GUID_RECORD_ID, guid); in xe_guid_decode()
109 u32 cap_type = FIELD_GET(GUID_CAP_TYPE, guid); in xe_guid_decode()
110 u32 device_id = FIELD_GET(GUID_DEVICE_ID, guid); in xe_guid_decode()
152 static int xe_pmt_telem_read(struct pci_dev *pdev, u32 guid, u64 *data, loff_t user_offset, in xe_pmt_telem_read() argument
161 ret = xe_guid_decode(guid, &mem_region, &offset); in xe_pmt_telem_read()
/linux/drivers/platform/x86/intel/pmt/
H A Dtelemetry.c56 u32 guid = readl(entry->disc_table + TELEM_GUID_OFFSET); in pmt_telem_region_overlaps() local
62 (guid == TELEM_CLIENT_FIXED_BLOCK_GUID)) in pmt_telem_region_overlaps()
79 header->guid = readl(disc_table + TELEM_GUID_OFFSET); in pmt_telem_header_decode()
109 ep->header.guid = entry->header.guid; in pmt_telem_add_endpoint()
222 pmt_telem_read_mmio(ep->pcidev, ep->cb, ep->header.guid, data, ep->base, offset, in pmt_telem_read()
249 pmt_telem_find_and_register_endpoint(struct pci_dev *pcidev, u32 guid, u16 pos) in pmt_telem_find_and_register_endpoint() argument
262 if (ep_info.header.guid == guid && ep_info.pdev == pcidev) { in pmt_telem_find_and_register_endpoint()
H A Dclass.c61 int pmt_telem_read_mmio(struct pci_dev *pdev, struct pmt_callbacks *cb, u32 guid, void *buf, in pmt_telem_read_mmio() argument
65 return cb->read_telem(pdev, guid, buf, off, count); in pmt_telem_read_mmio()
69 if (guid == GUID_SPR_PUNIT) in pmt_telem_read_mmio()
100 count = pmt_telem_read_mmio(entry->ep->pcidev, entry->cb, entry->header.guid, buf, in intel_pmt_read()
141 return sprintf(buf, "0x%x\n", entry->guid); in guid_show()
143 static DEVICE_ATTR_RO(guid);
255 entry->guid = header->guid; in intel_pmt_populate_entry()
H A Dclass.h36 u32 guid; member
50 u32 guid; member
64 int pmt_telem_read_mmio(struct pci_dev *pdev, struct pmt_callbacks *cb, u32 guid, void *buf,
/linux/include/linux/
H A Dhyperv.h817 guid_t guid; member
1375 .guid = GUID_INIT(0xf8615163, 0xdf3e, 0x46c5, 0x91, 0x3f, \
1383 .guid = GUID_INIT(0x32412632, 0x86cb, 0x44a2, 0x9b, 0x5c, \
1391 .guid = GUID_INIT(0xba6163d9, 0x04a1, 0x4d29, 0xb6, 0x05, \
1399 .guid = GUID_INIT(0x0e0b6031, 0x5213, 0x4934, 0x81, 0x8b, \
1407 .guid = GUID_INIT(0x9527e630, 0xd0ae, 0x497b, 0xad, 0xce, \
1415 .guid = GUID_INIT(0x57164f39, 0x9115, 0x4e78, 0xab, 0x55, \
1423 .guid = GUID_INIT(0xa9a0f4e7, 0x5a45, 0x4d96, 0xb8, 0x27, \
1431 .guid = GUID_INIT(0x525074dc, 0x8985, 0x46e2, 0x80, 0x57, \
1439 .guid = GUID_INIT(0xcfa8b69e, 0x5b4a, 0x4cc0, 0xb9, 0x8b, \
[all …]
/linux/drivers/firmware/efi/
H A Defi.c199 efi_guid_t guid; in generic_ops_supported() local
205 status = efi.get_next_variable(&name_size, &name, &guid); in generic_ops_supported()
272 efi_guid_t guid; in efivar_ssdt_load() local
288 status = efi.get_next_variable(&name_size, name, &guid); in efivar_ssdt_load()
307 pr_info("loading SSDT from variable %s-%pUl\n", efivar_ssdt, &guid); in efivar_ssdt_load()
309 status = efi.get_variable(name, &guid, NULL, &data_size, NULL); in efivar_ssdt_load()
321 status = efi.get_variable(name, &guid, NULL, &data_size, data); in efivar_ssdt_load()
637 static __init int match_config_table(const efi_guid_t *guid, in match_config_table() argument
643 for (i = 0; efi_guidcmp(table_types[i].guid, NULL_GUID); i++) { in match_config_table()
644 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()
/linux/security/integrity/platform_certs/
H A Dload_uefi.c56 efi_guid_t guid = EFI_SHIM_LOCK_GUID; in uefi_check_ignore_db() local
58 status = efi.get_variable(L"MokIgnoreDB", &guid, NULL, &size, &db); in uefi_check_ignore_db()
65 static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid, in get_cert_list() argument
72 *status = efi.get_variable(name, guid, NULL, &lsize, &tmpdb); in get_cert_list()
85 *status = efi.get_variable(name, guid, NULL, &lsize, db); in get_cert_list()
/linux/drivers/virt/coco/efi_secret/
H A Defi_secret.c69 efi_guid_t guid; member
80 efi_guid_t guid; member
130 e->guid = NULL_GUID; in efi_secret_unlink()
225 if (efi_guidcmp(h->guid, EFI_SECRET_TABLE_HEADER_GUID)) { in efi_secret_securityfs_setup()
274 if (efi_guidcmp(e->guid, NULL_GUID)) { in efi_secret_securityfs_setup()
275 efi_guid_to_str(&e->guid, guid_str); in efi_secret_securityfs_setup()
/linux/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()
/linux/arch/x86/boot/compressed/
H A Defi.c183 *vendor_tbl_guid = tbl_entry->guid; in get_vendor_table()
189 *vendor_tbl_guid = tbl_entry->guid; in get_vendor_table()
211 efi_guid_t guid) in efi_find_vendor_table() argument
231 if (!efi_guidcmp(guid, vendor_tbl_guid)) in efi_find_vendor_table()
/linux/scripts/mod/
H A Dfile2alias.c169 static inline void add_guid(char *str, guid_t guid) in add_guid() argument
174 guid.b[3], guid.b[2], guid.b[1], guid.b[0], in add_guid()
175 guid.b[5], guid.b[4], guid.b[7], guid.b[6], in add_guid()
176 guid.b[8], guid.b[9], guid.b[10], guid.b[11], in add_guid()
177 guid.b[12], guid.b[13], guid.b[14], guid.b[15]); in add_guid()
817 DEF_FIELD_ADDR(symval, hv_vmbus_device_id, guid); in do_vmbus_entry()
818 char guid_name[sizeof(*guid) * 2 + 1]; in do_vmbus_entry()
820 for (int i = 0; i < sizeof(*guid); i++) in do_vmbus_entry()
821 sprintf(&guid_name[i * 2], "%02x", guid->b[i]); in do_vmbus_entry()
1276 DEF_FIELD_ADDR(symval, ishtp_device_id, guid); in do_ishtp_entry()
[all …]
/linux/samples/mei/
H A Dmei-amt-version.c93 uuid_le guid; member
111 static bool mei_init(struct mei *me, const uuid_le *guid, in mei_init() argument
125 memcpy(&me->guid, guid, sizeof(*guid)); in mei_init()
129 memcpy(&data.in_client_uuid, &me->guid, sizeof(me->guid)); in mei_init()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-platform.c369 const guid_t *guid) in is_acpi_coresight_graph()
372 guid_equal((guid_t *)obj->buffer.pointer, guid); in is_acpi_coresight_graph()
387 const union acpi_object *graphid, *guid, *links;
394 guid = &obj->package.elements[1];
401 return is_acpi_coresight_graph_guid(guid);
536 const union acpi_object *guid, *package; in acpi_validate_coresight_graph()
538 guid = &dsd->package.elements[i]; in acpi_validate_coresight_graph()
542 if (!is_acpi_guid(guid) || package->type != ACPI_TYPE_PACKAGE) in acpi_validate_coresight_graph()
545 if (!is_acpi_dsd_graph_guid(guid)) in acpi_validate_coresight_graph()
348 acpi_guid_matches(const union acpi_object * obj,const guid_t * guid) acpi_guid_matches() argument
366 const union acpi_object *graphid, *guid, *links; is_acpi_coresight_graph() local
515 const union acpi_object *guid, *package; acpi_get_dsd_graph() local

1234567