| /linux/drivers/acpi/ |
| H A D | prmt.c | 55 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 D | bus.c | 183 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 D | property.c | 266 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 D | cs-amp-lib.c | 47 efi_guid_t *guid; member 51 .guid = &HP_CALIBRATION_EFI_GUID, 55 .guid = &CIRRUS_LOGIC_CALIBRATION_EFI_GUID, 260 efi_guid_t *guid, in cs_amp_get_efi_variable() argument 270 KUNIT_STATIC_STUB_REDIRECT(cs_amp_get_efi_variable, name, guid, in cs_amp_get_efi_variable() 274 return efi.get_variable(name, guid, returned_attr, size, buf); in cs_amp_get_efi_variable() 280 efi_guid_t *guid, in cs_amp_set_efi_variable() argument 285 KUNIT_STATIC_STUB_REDIRECT(cs_amp_set_efi_variable, name, guid, attr, size, buf); in cs_amp_set_efi_variable() 290 return efi.set_variable(name, guid, attr, size, buf); in cs_amp_set_efi_variable() 313 efi_guid_t *guid, in cs_amp_alloc_get_efi_variable() argument [all …]
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | ib_virt.c | 152 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 D | dell-wmi-aio.c | 154 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/fs/squashfs/ |
| H A D | squashfs_fs.h | 274 __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 D | tee_stmm_efi.c | 260 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/drivers/firmware/efi/ |
| H A D | capsule.c | 86 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/include/linux/ |
| H A D | hyperv.h | 773 guid_t guid; member 1362 .guid = GUID_INIT(0xf8615163, 0xdf3e, 0x46c5, 0x91, 0x3f, \ 1370 .guid = GUID_INIT(0x32412632, 0x86cb, 0x44a2, 0x9b, 0x5c, \ 1378 .guid = GUID_INIT(0xba6163d9, 0x04a1, 0x4d29, 0xb6, 0x05, \ 1386 .guid = GUID_INIT(0x0e0b6031, 0x5213, 0x4934, 0x81, 0x8b, \ 1394 .guid = GUID_INIT(0x9527e630, 0xd0ae, 0x497b, 0xad, 0xce, \ 1402 .guid = GUID_INIT(0x57164f39, 0x9115, 0x4e78, 0xab, 0x55, \ 1410 .guid = GUID_INIT(0xa9a0f4e7, 0x5a45, 0x4d96, 0xb8, 0x27, \ 1418 .guid = GUID_INIT(0x525074dc, 0x8985, 0x46e2, 0x80, 0x57, \ 1426 .guid = GUID_INIT(0xcfa8b69e, 0x5b4a, 0x4cc0, 0xb9, 0x8b, \ [all …]
|
| H A D | uuid.h | 66 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/security/integrity/platform_certs/ |
| H A D | load_uefi.c | 56 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/platform/x86/ |
| H A D | huawei-wmi.c | 850 static int huawei_wmi_input_setup(struct device *dev, const char *guid) in huawei_wmi_input_setup() argument 873 status = wmi_install_notify_handler(guid, huawei_wmi_input_notify, idev); in huawei_wmi_input_setup() 880 static void huawei_wmi_input_exit(struct device *dev, const char *guid) in huawei_wmi_input_exit() argument 882 wmi_remove_notify_handler(guid); in huawei_wmi_input_exit() 895 const struct wmi_device_id *guid = huawei_wmi_events_id_table; in huawei_wmi_probe() local 901 while (*guid->guid_string) { in huawei_wmi_probe() 902 if (wmi_has_guid(guid->guid_string)) { in huawei_wmi_probe() 903 err = huawei_wmi_input_setup(&pdev->dev, guid->guid_string); in huawei_wmi_probe() 905 dev_err(&pdev->dev, "Failed to setup input on %s\n", guid->guid_string); in huawei_wmi_probe() 910 guid++; in huawei_wmi_probe() [all …]
|
| H A D | msi-wmi.c | 93 const char *guid; member 309 if (!wmi_has_guid(event_wmis[i].guid)) in msi_wmi_init() 318 err = wmi_install_notify_handler(event_wmis[i].guid, in msi_wmi_init() 349 wmi_remove_notify_handler(event_wmi->guid); in msi_wmi_init() 359 wmi_remove_notify_handler(event_wmi->guid); in msi_wmi_exit()
|
| /linux/drivers/virt/coco/efi_secret/ |
| H A D | efi_secret.c | 67 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 D | efi.c | 183 *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()
|
| H A D | mem.c | 50 guid_t guid = LINUX_EFI_UNACCEPTED_MEM_TABLE_GUID; in init_unaccepted_memory() local 68 cfg_table_len, guid); in init_unaccepted_memory()
|
| /linux/samples/mei/ |
| H A D | mei-amt-version.c | 93 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/infiniband/hw/hfi1/ |
| H A D | efivar.c | 30 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/tools/arch/x86/intel_sdsi/ |
| H A D | intel_sdsi.c | 182 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/scripts/mod/ |
| H A D | file2alias.c | 170 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 in add_guid() [all...] |
| /linux/drivers/iio/accel/ |
| H A D | bmc150-accel-i2c.c | 58 guid_t guid; in bmc150_acpi_set_angle_dsm() local 63 guid_parse(BMC150_DSM_GUID, &guid); in bmc150_acpi_set_angle_dsm() 65 if (!acpi_check_dsm(adev->handle, &guid, 0, BIT(DUAL250E_SET_ANGLE_FN_INDEX))) in bmc150_acpi_set_angle_dsm() 79 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 D | gsmi.c | 104 efi_guid_t guid; member 112 u8 guid[GSMI_GUID_SIZE]; member 331 memcpy(¶m.guid, vendor, sizeof(param.guid)); in gsmi_get_variable() 398 memcpy(¶m.guid, vendor, sizeof(param.guid)); in gsmi_get_next_variable() 423 memcpy(vendor, ¶m.guid, sizeof(param.guid)); in gsmi_get_next_variable() 457 memcpy(¶m.guid, vendor, sizeof(param.guid)); in gsmi_set_variable()
|
| /linux/drivers/hv/ |
| H A D | channel_mgmt.c | 161 guid_t guid; member 192 static bool is_unsupported_vmbus_devs(const guid_t *guid) in is_unsupported_vmbus_devs() argument 197 if (guid_equal(guid, &vmbus_unsupported_devs[i].guid)) in is_unsupported_vmbus_devs() 204 const guid_t *guid = &channel->offermsg.offer.if_type; in hv_get_dev_type() local 207 if (is_hvsock_channel(channel) || is_unsupported_vmbus_devs(guid)) in hv_get_dev_type() 211 if (guid_equal(guid, &vmbus_devs[i].guid)) in hv_get_dev_type() 214 pr_info("Unknown GUID: %pUl\n", guid); in hv_get_dev_type() 1013 const guid_t *guid in vmbus_is_valid_offer() 1007 const guid_t *guid = &offer->offer.if_type; vmbus_is_valid_offer() local [all...] |
| /linux/Documentation/admin-guide/acpi/ |
| H A D | ssdt-overlays.rst | 134 "-g") guid="$2"; shift;; 142 echo "Syntax: ${0##*/} -f filename [ -g guid ] name" 157 [ -n "$guid" ] || guid=$(find "$EFIVARFS" -name "$name-*" | head -n1 | cut -f2- -d-) 160 [ -n "$guid" ] || guid="$(cat /proc/sys/kernel/random/uuid)" 165 dd if=$tmp of="$EFIVARFS/$name-$guid" bs=$(stat -c %s $tmp)
|