Home
last modified time | relevance | path

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

12345

/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.c47 efi_guid_t *guid;
51 .guid = &HP_CALIBRATION_EFI_GUID,
55 .guid = &CIRRUS_LOGIC_CALIBRATION_EFI_GUID,
260 efi_guid_t *guid, in cs_amp_get_efi_variable()
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_set_efi_variable()
280 efi_guid_t *guid, in cs_amp_set_efi_variable()
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_convert_efi_status()
313 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/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/drivers/firmware/efi/
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.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/drivers/platform/x86/
H A Dhuawei-wmi.c850 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 Dmsi-wmi.c93 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/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()
H A Dmem.c50 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 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/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/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/include/linux/
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/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 in add_guid()
[all...]
/linux/drivers/iio/accel/
H A Dbmc150-accel-i2c.c58 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 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()
/linux/Documentation/admin-guide/acpi/
H A Dssdt-overlays.rst134 "-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)
/linux/drivers/usb/core/
H A Dusb-acpi.c64 guid_t guid; in usb_acpi_port_lpm_incapable() local
67 ret = guid_parse(UUID_USB_CONTROLLER_DSM, &guid); in usb_acpi_port_lpm_incapable()
77 if (!acpi_check_dsm(port_handle, &guid, 0, in usb_acpi_port_lpm_incapable()
84 obj = acpi_evaluate_dsm_typed(port_handle, &guid, 0, in usb_acpi_port_lpm_incapable()
/linux/sound/firewire/bebob/
H A Dbebob_proc.c15 u32 guid[2]; member
54 info->guid[0], info->guid[1]); in proc_read_hw_info()

12345