Home
last modified time | relevance | path

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

123456

/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
113 guid_copy(&tm->guid, (guid_t *) module_info->module_guid); in acpi_parse_prmt()
152 guid_copy(&th->guid, (guid_t *)handler_info->handler_guid); in acpi_parse_prmt()
165 (void *)efi_pa_va_lookup(&th->guid, handler_info->handler_address); in acpi_parse_prmt()
172 &th->guid, handler_info->handler_address); in acpi_parse_prmt()
177 efi_pa_va_lookup(&th->guid, handler_info->static_data_buffer_address); in acpi_parse_prmt()
185 &th->guid, handler_info->static_data_buffer_address); in acpi_parse_prmt()
188 efi_pa_va_lookup(&th->guid, handler_info->acpi_param_buffer_address); in acpi_parse_prmt()
[all …]
H A Dbus.c183 static void acpi_dump_osc_data(acpi_handle handle, const guid_t *guid, int rev, in acpi_dump_osc_data() argument
189 acpi_handle_debug(handle, "_OSC: UUID: %pUL, rev: %d\n", guid, rev); in acpi_dump_osc_data()
199 static int acpi_eval_osc(acpi_handle handle, guid_t *guid, int rev, in acpi_eval_osc() argument
209 in_params[0].buffer.length = sizeof(*guid); in acpi_eval_osc()
210 in_params[0].buffer.pointer = (u8 *)guid; in acpi_eval_osc()
232 acpi_dump_osc_data(handle, guid, rev, cap); in acpi_eval_osc()
240 static bool acpi_osc_error_check(acpi_handle handle, guid_t *guid, int rev, in acpi_osc_error_check() argument
259 acpi_dump_osc_data(handle, guid, rev, cap); in acpi_osc_error_check()
292 guid_t guid; in acpi_run_osc() local
298 guid_parse(context->uuid_str, &guid)) in acpi_run_osc()
[all …]
H A Dproperty.c266 const union acpi_object *guid; in acpi_enumerate_nondev_subnodes() local
269 guid = &desc->package.elements[i]; in acpi_enumerate_nondev_subnodes()
276 if (guid->type != ACPI_TYPE_BUFFER || in acpi_enumerate_nondev_subnodes()
277 guid->buffer.length != 16 || in acpi_enumerate_nondev_subnodes()
281 if (!guid_equal((guid_t *)guid->buffer.pointer, &ads_guid)) in acpi_enumerate_nondev_subnodes()
368 static bool acpi_is_property_guid(const guid_t *guid) in acpi_is_property_guid() argument
373 if (guid_equal(guid, &prp_guids[i])) in acpi_is_property_guid()
381 acpi_data_add_props(struct acpi_device_data *data, const guid_t *guid, in acpi_data_add_props() argument
389 props->guid = guid; in acpi_data_add_props()
465 props->guid = &buffer_prop_guid; in acpi_data_add_buffer_props()
[all …]
/linux/sound/soc/codecs/
H A Dcs-amp-lib.c46 efi_guid_t *guid;
50 .guid = &HP_CALIBRATION_EFI_GUID,
54 .guid = &CIRRUS_LOGIC_CALIBRATION_EFI_GUID,
257 efi_guid_t *guid, in cs_amp_get_efi_variable()
267 KUNIT_STATIC_STUB_REDIRECT(cs_amp_get_efi_variable, name, guid, in cs_amp_get_efi_variable()
271 return efi.get_variable(name, guid, returned_attr, size, buf); in cs_amp_get_efi_variable()
277 efi_guid_t *guid, in cs_amp_set_efi_variable()
282 KUNIT_STATIC_STUB_REDIRECT(cs_amp_set_efi_variable, name, guid, attr, size, buf); in cs_amp_set_efi_variable()
287 return efi.set_variable(name, guid, attr, size, buf);
310 efi_guid_t *guid, in cs_amp_get_cal_efi_buffer()
41 efi_guid_t *guid; global() member
255 cs_amp_get_efi_variable(efi_char16_t * name,efi_guid_t * guid,u32 * returned_attr,unsigned long * size,void * buf) cs_amp_get_efi_variable() argument
275 cs_amp_set_efi_variable(efi_char16_t * name,efi_guid_t * guid,u32 attr,unsigned long size,void * buf) cs_amp_set_efi_variable() argument
309 cs_amp_get_cal_efi_buffer(struct device * dev,efi_char16_t ** name,efi_guid_t ** guid,u32 * attr) cs_amp_get_cal_efi_buffer() argument
379 cs_amp_set_cal_efi_buffer(struct device * dev,efi_char16_t * name,efi_guid_t * guid,u32 attr,struct cirrus_amp_efi_data * data) cs_amp_set_cal_efi_buffer() argument
457 efi_guid_t *guid = &CIRRUS_LOGIC_CALIBRATION_EFI_GUID; _cs_amp_set_efi_calibration_data() local
630 efi_guid_t *guid; global() member
[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/wmi/
H A Dcore.c44 guid_t guid; member
55 static_assert(sizeof(typeof_member(struct guid_block, guid)) == 16);
77 const guid_t *guid; member
105 static bool guid_parse_and_compare(const char *string, const guid_t *guid) in guid_parse_and_compare() argument
112 return guid_equal(&guid_input, guid); in guid_parse_and_compare()
125 if (guid_parse_and_compare(id->guid_string, &wblock->gblock.guid)) in find_guid_context()
151 const guid_t *guid = data; in wmidev_match_guid() local
159 if (guid_equal(guid, &wblock->gblock.guid)) in wmidev_match_guid()
214 guid_t guid; in wmi_find_device_by_guid() local
217 ret = guid_parse(guid_string, &guid); in wmi_find_device_by_guid()
[all …]
/linux/fs/squashfs/
H A Dsquashfs_fs.h274 __le16 guid; member
283 __le16 guid; member
293 __le16 guid; member
304 __le16 guid; member
315 __le16 guid; member
327 __le16 guid; member
339 __le16 guid; member
353 __le16 guid; member
370 __le16 guid; member
384 __le16 guid; member
/linux/drivers/firmware/efi/stmm/
H A Dtee_stmm_efi.c260 memcpy(&smm_property->guid, vendor, sizeof(smm_property->guid)); in get_property_int()
317 memcpy(&var_acc->guid, vendor, sizeof(var_acc->guid)); in tee_get_variable()
349 efi_char16_t *name, efi_guid_t *guid) in tee_get_next_variable() argument
358 if (!name_size || !name || !guid) in tee_get_next_variable()
382 memcpy(&var_getnext->guid, guid, sizeof(var_getnext->guid)); in tee_get_next_variable()
396 memcpy(guid, &var_getnext->guid, sizeof(*guid)); in tee_get_next_variable()
453 memcpy(&var_acc->guid, vendor, sizeof(var_acc->guid)); in tee_set_variable()
/linux/include/linux/
H A Dhyperv.h773 guid_t guid; member
1348 .guid = GUID_INIT(0xf8615163, 0xdf3e, 0x46c5, 0x91, 0x3f, \
1356 .guid = GUID_INIT(0x32412632, 0x86cb, 0x44a2, 0x9b, 0x5c, \
1364 .guid = GUID_INIT(0xba6163d9, 0x04a1, 0x4d29, 0xb6, 0x05, \
1372 .guid = GUID_INIT(0x0e0b6031, 0x5213, 0x4934, 0x81, 0x8b, \
1380 .guid = GUID_INIT(0x9527e630, 0xd0ae, 0x497b, 0xad, 0xce, \
1388 .guid = GUID_INIT(0x57164f39, 0x9115, 0x4e78, 0xab, 0x55, \
1396 .guid = GUID_INIT(0xa9a0f4e7, 0x5a45, 0x4d96, 0xb8, 0x27, \
1404 .guid = GUID_INIT(0x525074dc, 0x8985, 0x46e2, 0x80, 0x57, \
1412 .guid = GUID_INIT(0xcfa8b69e, 0x5b4a, 0x4cc0, 0xb9, 0x8b, \
[all …]
H A Duuid.h66 static inline bool guid_is_null(const guid_t *guid) in guid_is_null() argument
68 return guid_equal(guid, &guid_null); in guid_is_null()
97 void generate_random_guid(unsigned char guid[16]);
/linux/drivers/firmware/efi/
H A Defi.c204 efi_guid_t guid; in generic_ops_supported() local
210 status = efi.get_next_variable(&name_size, &name, &guid); in generic_ops_supported()
277 efi_guid_t guid; in efivar_ssdt_load() local
293 status = efi.get_next_variable(&name_size, name, &guid); in efivar_ssdt_load()
312 pr_info("loading SSDT from variable %s-%pUl\n", efivar_ssdt, &guid); in efivar_ssdt_load()
314 status = efi.get_variable(name, &guid, NULL, &data_size, NULL); in efivar_ssdt_load()
326 status = efi.get_variable(name, &guid, NULL, &data_size, data); in efivar_ssdt_load()
656 static __init int match_config_table(const efi_guid_t *guid, in match_config_table() argument
662 for (i = 0; efi_guidcmp(table_types[i].guid, NULL_GUID); i++) { in match_config_table()
663 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/drivers/platform/x86/
H A Dhuawei-wmi.c751 static int huawei_wmi_input_setup(struct device *dev, const char *guid) in huawei_wmi_input_setup() argument
774 status = wmi_install_notify_handler(guid, huawei_wmi_input_notify, idev); in huawei_wmi_input_setup()
781 static void huawei_wmi_input_exit(struct device *dev, const char *guid) in huawei_wmi_input_exit() argument
783 wmi_remove_notify_handler(guid); in huawei_wmi_input_exit()
796 const struct wmi_device_id *guid = huawei_wmi_events_id_table; in huawei_wmi_probe() local
802 while (*guid->guid_string) { in huawei_wmi_probe()
803 if (wmi_has_guid(guid->guid_string)) { in huawei_wmi_probe()
804 err = huawei_wmi_input_setup(&pdev->dev, guid->guid_string); in huawei_wmi_probe()
806 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 …]
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/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.c67 efi_guid_t guid; member
78 efi_guid_t guid; member
126 e->guid = NULL_GUID; in efi_secret_unlink()
200 if (efi_guidcmp(h->guid, EFI_SECRET_TABLE_HEADER_GUID)) { in efi_secret_securityfs_setup()
246 if (efi_guidcmp(e->guid, NULL_GUID)) { in efi_secret_securityfs_setup()
247 efi_guid_to_str(&e->guid, guid_str); in efi_secret_securityfs_setup()
/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/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.c371 const guid_t *guid) in acpi_guid_matches() argument
374 guid_equal((guid_t *)obj->buffer.pointer, guid); in acpi_guid_matches()
389 const union acpi_object *graphid, *guid, *links; in is_acpi_coresight_graph() local
396 guid = &obj->package.elements[1]; in is_acpi_coresight_graph()
403 return is_acpi_coresight_graph_guid(guid); in is_acpi_coresight_graph()
538 const union acpi_object *guid, *package; in acpi_get_dsd_graph() local
540 guid = &dsd->package.elements[i]; in acpi_get_dsd_graph()
544 if (!is_acpi_guid(guid) || package->type != ACPI_TYPE_PACKAGE) in acpi_get_dsd_graph()
547 if (!is_acpi_dsd_graph_guid(guid)) in acpi_get_dsd_graph()
/linux/tools/arch/x86/intel_sdsi/
H A Dintel_sdsi.c182 uint32_t guid; member
237 if (s->guid != GUID_V1 && s->guid != GUID_V2) { in sdsi_update_registers()
238 fprintf(stderr, "Unrecognized guid, 0x%x\n", s->guid); in sdsi_update_registers()
245 if ((s->guid == GUID_V1 && ret != REGS_SIZE_GUID_V1) || in sdsi_update_registers()
246 (s->guid == GUID_V2 && ret != REGS_SIZE_GUID_V2)) { in sdsi_update_registers()
294 if (s->guid == GUID_V1) in sdsi_read_reg()
677 int guid; in sdsi_create_dev() local
723 if (read_sysfs_data("guid", &guid)) { in sdsi_create_dev()
730 s->guid = guid; in sdsi_create_dev()
/linux/drivers/infiniband/hw/hfi1/
H A Defivar.c30 efi_guid_t guid; in read_efi_var() local
60 guid = HFI1_EFIVAR_GUID; in read_efi_var()
65 &guid, in read_efi_var()
/linux/scripts/mod/
H A Dfile2alias.c170 static inline void add_guid(char *str, guid_t guid) in add_guid() argument
175 guid.b[3], guid.b[2], guid.b[1], guid.b[0], in add_guid()
176 guid.b[5], guid.b[4], guid.b[7], guid.b[6], in add_guid()
177 guid.b[8], guid.b[9], guid.b[10], guid.b[11], in add_guid()
178 guid.b[12], guid.b[13], guid.b[14], guid.b[15]); in add_guid()
838 DEF_FIELD_ADDR(symval, hv_vmbus_device_id, guid); in do_vmbus_entry()
839 char guid_name[sizeof(*guid) * 2 + 1]; in do_vmbus_entry()
841 for (int i = 0; i < sizeof(*guid); i++) in do_vmbus_entry()
842 sprintf(&guid_name[i * 2], "%02x", guid->b[i]); in do_vmbus_entry()
1312 DEF_FIELD_ADDR(symval, ishtp_device_id, guid); in do_ishtp_entry()
[all …]
/linux/drivers/iio/accel/
H A Dbmc150-accel-i2c.c59 guid_t guid; in bmc150_acpi_set_angle_dsm() local
64 guid_parse(BMC150_DSM_GUID, &guid); in bmc150_acpi_set_angle_dsm()
66 if (!acpi_check_dsm(adev->handle, &guid, 0, BIT(DUAL250E_SET_ANGLE_FN_INDEX))) in bmc150_acpi_set_angle_dsm()
80 obj = acpi_evaluate_dsm(adev->handle, &guid, 0, DUAL250E_SET_ANGLE_FN_INDEX, &args_obj); in bmc150_acpi_set_angle_dsm()
/linux/drivers/firmware/google/
H A Dgsmi.c104 efi_guid_t guid; member
112 u8 guid[GSMI_GUID_SIZE]; member
331 memcpy(&param.guid, vendor, sizeof(param.guid)); in gsmi_get_variable()
398 memcpy(&param.guid, vendor, sizeof(param.guid)); in gsmi_get_next_variable()
423 memcpy(vendor, &param.guid, sizeof(param.guid)); in gsmi_get_next_variable()
457 memcpy(&param.guid, vendor, sizeof(param.guid)); in gsmi_set_variable()

123456