/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | usb-acpi.c | 64 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()
|
/third_party/mesa3d/src/intel/perf/ |
H A D | intel_perf.h | 239 const char *guid; member 433 /** Query i915 for a metric id using guid. 436 const char *guid, 439 /** Load a configuation's content from i915 using a guid. 442 int fd, const char *guid); 444 /** Store a configuration into i915 using guid and return a new metric id. 446 * If guid is NULL, then a generated one will be provided by hashing the 451 const char *guid);
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | property.c | 215 const union acpi_object *guid, *links; in acpi_enumerate_nondev_subnodes() local 217 guid = &desc->package.elements[i]; in acpi_enumerate_nondev_subnodes() 224 if (guid->type != ACPI_TYPE_BUFFER || in acpi_enumerate_nondev_subnodes() 225 guid->buffer.length != 16 || in acpi_enumerate_nondev_subnodes() 229 if (!guid_equal((guid_t *)guid->buffer.pointer, &ads_guid)) in acpi_enumerate_nondev_subnodes() 314 static bool acpi_is_property_guid(const guid_t *guid) in acpi_is_property_guid() argument 319 if (guid_equal(guid, &prp_guids[i])) in acpi_is_property_guid() 327 acpi_data_add_props(struct acpi_device_data *data, const guid_t *guid, in acpi_data_add_props() argument 335 props->guid = guid; in acpi_data_add_props() 353 const union acpi_object *guid, *properties; acpi_extract_properties() local [all...] |
H A D | acpi_extlog.c | 195 guid_t guid; in extlog_get_l1addr() local 199 if (guid_parse(extlog_dsm_uuid, &guid)) in extlog_get_l1addr() 203 if (!acpi_check_dsm(handle, &guid, EXTLOG_DSM_REV, 1 << EXTLOG_FN_ADDR)) in extlog_get_l1addr() 205 obj = acpi_evaluate_dsm_typed(handle, &guid, EXTLOG_DSM_REV, in extlog_get_l1addr()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | msi-wmi.c | 78 const char *guid; member 288 if (!wmi_has_guid(event_wmis[i].guid)) in msi_wmi_init() 297 err = wmi_install_notify_handler(event_wmis[i].guid, in msi_wmi_init() 328 wmi_remove_notify_handler(event_wmi->guid); in msi_wmi_init() 338 wmi_remove_notify_handler(event_wmi->guid); in msi_wmi_exit()
|
H A D | xiaomi-wmi.c | 17 #define XIAOMI_DEVICE(guid, key) \ 18 .guid_string = (guid), \
|
/kernel/linux/linux-6.6/drivers/platform/x86/intel/pmt/ |
H A D | class.c | 82 if (entry->guid == GUID_SPR_PUNIT) in intel_pmt_read() 126 return sprintf(buf, "0x%x\n", entry->guid); in guid_show() 128 static DEVICE_ATTR_RO(guid); 232 entry->guid = header->guid; in intel_pmt_populate_entry()
|
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | msi-wmi.c | 78 const char *guid; member 290 if (!wmi_has_guid(event_wmis[i].guid)) in msi_wmi_init() 299 err = wmi_install_notify_handler(event_wmis[i].guid, in msi_wmi_init() 330 wmi_remove_notify_handler(event_wmi->guid); in msi_wmi_init() 340 wmi_remove_notify_handler(event_wmi->guid); in msi_wmi_exit()
|
H A D | xiaomi-wmi.c | 17 #define XIAOMI_DEVICE(guid, key) \ 18 .guid_string = (guid), \
|
/third_party/glfw/src/ |
H A D | linux_joystick.c | 171 char guid[33] = ""; in openJoystickDevice() local 176 sprintf(guid, "%02x%02x0000%02x%02x0000%02x%02x0000%02x%02x0000", in openJoystickDevice() 184 sprintf(guid, "%02x%02x0000%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x00", in openJoystickDevice() 226 _glfwAllocJoystick(name, guid, axisCount, buttonCount, hatCount); in openJoystickDevice() 431 void _glfwUpdateGamepadGUIDLinux(char* guid) in _glfwUpdateGamepadGUIDLinux() argument
|
H A D | input.c | 70 static _GLFWmapping* findMapping(const char* guid) in findMapping() argument 76 if (strcmp(_glfw.mappings[i].guid, guid) == 0) in findMapping() 102 _GLFWmapping* mapping = findMapping(js->guid); in findValidMapping() 166 memcpy(mapping->guid, c, length); in parseMapping() 257 if (mapping->guid[i] >= 'A' && mapping->guid[i] <= 'F') in parseMapping() 258 mapping->guid[i] += 'a' - 'A'; in parseMapping() 261 _glfw.platform.updateGamepadGUID(mapping->guid); in parseMapping() 504 const char* guid, in _glfwAllocJoystick() 503 _glfwAllocJoystick(const char* name, const char* guid, int axisCount, int buttonCount, int hatCount) _glfwAllocJoystick() argument [all...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/visorbus/ |
H A D | visorbus_private.h | 33 const guid_t *guid, bool needs_lock); 46 char *visorchannel_guid_id(const guid_t *guid, char *s);
|
H A D | visorbus_main.c | 29 * The modalias file will contain the guid of the device. 35 const guid_t *guid; in modalias_show() local 38 guid = visorchannel_get_guid(vdev->visorchannel); in modalias_show() 39 return sprintf(buf, "visorbus:%pUl\n", guid); in modalias_show() 115 const guid_t *guid; in visorbus_uevent() local 118 guid = visorchannel_get_guid(dev->visorchannel); in visorbus_uevent() 119 return add_uevent_var(env, "MODALIAS=visorbus:%pUl", guid); in visorbus_uevent() 145 for (i = 0; !guid_is_null(&drv->channel_types[i].guid); i++) in visorbus_match() 146 if (guid_equal(&drv->channel_types[i].guid, channel_type) && in visorbus_match() 149 &drv->channel_types[i].guid, in visorbus_match() [all...] |
/kernel/linux/linux-6.6/scripts/mod/ |
H A D | file2alias.c | 122 static inline void add_guid(char *str, guid_t guid) in add_guid() argument 127 guid.b[3], guid.b[2], guid.b[1], guid.b[0], in add_guid() 128 guid.b[5], guid.b[4], guid.b[7], guid.b[6], in add_guid() 129 guid in add_guid() [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/intel/ |
H A D | sdsi.c | 101 u32 guid; member 114 u32 guid; member 531 return sysfs_emit(buf, "0x%x\n", priv->guid); in guid_show() 533 static DEVICE_ATTR_RO(guid); 549 switch (table->guid) { in sdsi_get_layout() 559 dev_err(priv->dev, "Unrecognized GUID 0x%x\n", table->guid); in sdsi_get_layout() 639 priv->guid = disc_table.guid; in sdsi_probe() 641 /* Get guid based layout info */ in sdsi_probe()
|
/third_party/ffmpeg/libavformat/ |
H A D | wavdec.c | 690 uint8_t guid[16]; in find_guid() local 694 avio_read(pb, guid, 16); in find_guid() 698 if (!memcmp(guid, guid1, 16)) in find_guid() 871 uint8_t guid[16]; in w64_read_header() local 874 if (avio_read(pb, guid, 16) != 16 || memcmp(guid, ff_w64_guid_riff, 16)) in w64_read_header() 881 avio_read(pb, guid, 16); in w64_read_header() 882 if (memcmp(guid, ff_w64_guid_wave, 16)) { in w64_read_header() 883 av_log(s, AV_LOG_ERROR, "could not find wave guid\n"); in w64_read_header() 894 if (avio_read(pb, guid, 1 in w64_read_header() [all...] |
/kernel/linux/linux-5.10/drivers/hv/ |
H A D | vmbus_drv.c | 685 * The alias string will be of the form vmbus:guid where guid is the string 686 * representation of the device guid (each byte of the guid will be 698 hv_vmbus_dev_match(const struct hv_vmbus_device_id *id, const guid_t *guid) in hv_vmbus_dev_match() argument 703 for (; !guid_is_null(&id->guid); id++) in hv_vmbus_dev_match() 704 if (guid_equal(&id->guid, guid)) in hv_vmbus_dev_match() 711 hv_vmbus_dynid_match(struct hv_driver *drv, const guid_t *guid) in hv_vmbus_dynid_match() argument 718 if (guid_equal(&dynid->id.guid, gui in hv_vmbus_dynid_match() 737 const guid_t *guid = &dev->dev_type; hv_vmbus_get_id() local 757 vmbus_add_dynid(struct hv_driver *drv, guid_t *guid) vmbus_add_dynid() argument 795 guid_t guid; new_id_store() local 822 guid_t guid; remove_id_store() local [all...] |
H A D | channel_mgmt.c | 133 guid_t guid; member 163 static bool is_unsupported_vmbus_devs(const guid_t *guid) in is_unsupported_vmbus_devs() argument 168 if (guid_equal(guid, &vmbus_unsupported_devs[i].guid)) in is_unsupported_vmbus_devs() 175 const guid_t *guid = &channel->offermsg.offer.if_type; in hv_get_dev_type() local 178 if (is_hvsock_channel(channel) || is_unsupported_vmbus_devs(guid)) in hv_get_dev_type() 182 if (guid_equal(guid, &vmbus_devs[i].guid)) in hv_get_dev_type() 185 pr_info("Unknown GUID: %pUl\n", guid); in hv_get_dev_type()
|
/kernel/linux/linux-6.6/drivers/hv/ |
H A D | vmbus_drv.c | 649 * The alias string will be of the form vmbus:guid where guid is the string 650 * representation of the device guid (each byte of the guid will be 662 hv_vmbus_dev_match(const struct hv_vmbus_device_id *id, const guid_t *guid) in hv_vmbus_dev_match() argument 667 for (; !guid_is_null(&id->guid); id++) in hv_vmbus_dev_match() 668 if (guid_equal(&id->guid, guid)) in hv_vmbus_dev_match() 675 hv_vmbus_dynid_match(struct hv_driver *drv, const guid_t *guid) in hv_vmbus_dynid_match() argument 682 if (guid_equal(&dynid->id.guid, gui in hv_vmbus_dynid_match() 701 const guid_t *guid = &dev->dev_type; hv_vmbus_get_id() local 721 vmbus_add_dynid(struct hv_driver *drv, guid_t *guid) vmbus_add_dynid() argument 759 guid_t guid; new_id_store() local 786 guid_t guid; remove_id_store() local [all...] |
/kernel/linux/linux-5.10/drivers/firmware/google/ |
H A D | gsmi.c | 105 efi_guid_t guid; member 113 u8 guid[GSMI_GUID_SIZE]; member 329 /* Vendor guid */ in gsmi_get_variable() 330 memcpy(¶m.guid, vendor, sizeof(param.guid)); in gsmi_get_variable() 396 /* guid */ in gsmi_get_next_variable() 397 memcpy(¶m.guid, vendor, sizeof(param.guid)); in gsmi_get_next_variable() 421 /* copy guid to return buffer */ in gsmi_get_next_variable() 422 memcpy(vendor, ¶m.guid, sizeo in gsmi_get_next_variable() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/google/ |
H A D | gsmi.c | 104 efi_guid_t guid; member 112 u8 guid[GSMI_GUID_SIZE]; member 330 /* Vendor guid */ in gsmi_get_variable() 331 memcpy(¶m.guid, vendor, sizeof(param.guid)); in gsmi_get_variable() 397 /* guid */ in gsmi_get_next_variable() 398 memcpy(¶m.guid, vendor, sizeof(param.guid)); in gsmi_get_next_variable() 422 /* copy guid to return buffer */ in gsmi_get_next_variable() 423 memcpy(vendor, ¶m.guid, sizeo in gsmi_get_next_variable() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | acpi_extlog.c | 195 guid_t guid; in extlog_get_l1addr() local 199 if (guid_parse(extlog_dsm_uuid, &guid)) in extlog_get_l1addr() 203 if (!acpi_check_dsm(handle, &guid, EXTLOG_DSM_REV, 1 << EXTLOG_FN_ADDR)) in extlog_get_l1addr() 205 obj = acpi_evaluate_dsm_typed(handle, &guid, EXTLOG_DSM_REV, in extlog_get_l1addr()
|
/kernel/linux/linux-6.6/fs/efivarfs/ |
H A D | super.c | 91 int guid = len - EFI_VARIABLE_GUID_LEN; in efivarfs_d_compare() local 97 if (memcmp(str, name->name, guid)) in efivarfs_d_compare() 101 return strncasecmp(name->name + guid, str + guid, EFI_VARIABLE_GUID_LEN); in efivarfs_d_compare()
|