/linux/drivers/infiniband/hw/mlx5/ |
A D | ib_virt.c | 153 u64 guid) in set_vf_node_guid() argument 166 in->node_guid = guid; in set_vf_node_guid() 169 vfs_ctx[vf].node_guid = guid; in set_vf_node_guid() 177 u64 guid) in set_vf_port_guid() argument 190 in->port_guid = guid; in set_vf_port_guid() 193 vfs_ctx[vf].port_guid = guid; in set_vf_port_guid() 201 u64 guid, int type) in mlx5_ib_set_vf_guid() argument 204 return set_vf_node_guid(device, vf, port, guid); in mlx5_ib_set_vf_guid() 206 return set_vf_port_guid(device, vf, port, guid); in mlx5_ib_set_vf_guid() 219 node_guid->guid = in mlx5_ib_get_vf_guid() [all …]
|
/linux/drivers/acpi/ |
A D | prmt.c | 55 guid_t guid; member 64 guid_t guid; member 111 guid_copy(&tm->guid, (guid_t *) module_info->module_guid); in acpi_parse_prmt() 150 guid_copy(&th->guid, (guid_t *)handler_info->handler_guid); in acpi_parse_prmt() 171 static void *find_guid_info(const guid_t *guid, u8 mode) in find_guid_info() argument 180 if (guid_equal(guid, &cur_handler->guid)) { in find_guid_info() 192 static struct prm_module_info *find_prm_module(const guid_t *guid) in find_prm_module() argument 194 return (struct prm_module_info *)find_guid_info(guid, GET_MODULE); in find_prm_module() 197 static struct prm_handler_info *find_prm_handler(const guid_t *guid) in find_prm_handler() argument 199 return (struct prm_handler_info *) find_guid_info(guid, GET_HANDLER); in find_prm_handler() [all …]
|
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() 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() 335 props->guid = guid; in acpi_data_add_props() 353 const union acpi_object *guid, *properties; in acpi_extract_properties() local 355 guid = &desc->package.elements[i]; in acpi_extract_properties() 362 if (guid->type != ACPI_TYPE_BUFFER || in acpi_extract_properties() [all …]
|
/linux/lib/ |
A D | uuid.c | 43 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/platform/x86/dell/ |
A D | dell-wmi-aio.c | 165 const char *guid; in dell_wmi_aio_init() local 167 guid = dell_wmi_aio_find(); in dell_wmi_aio_init() 168 if (!guid) { in dell_wmi_aio_init() 177 err = wmi_install_notify_handler(guid, dell_wmi_aio_notify, NULL); in dell_wmi_aio_init() 189 const char *guid; in dell_wmi_aio_exit() local 191 guid = dell_wmi_aio_find(); in dell_wmi_aio_exit() 192 wmi_remove_notify_handler(guid); in dell_wmi_aio_exit()
|
/linux/arch/ia64/kernel/ |
A D | esi.c | 37 efi_guid_t guid; member 88 int ia64_esi_call (efi_guid_t guid, struct ia64_sal_retval *isrvp, in ia64_esi_call() argument 105 if (!efi_guidcmp(guid, esi->guid)) { in ia64_esi_call() 140 int ia64_esi_call_phys (efi_guid_t guid, struct ia64_sal_retval *isrvp, in ia64_esi_call_phys() argument 157 if (!efi_guidcmp(guid, esi->guid)) { in ia64_esi_call_phys()
|
A D | mca_drv.c | 261 if (!efi_guidcmp(sp->guid, SAL_PROC_DEV_ERR_SECT_GUID)) { in mca_make_slidx() 263 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx() 267 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx() 271 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx() 275 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx() 279 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx() 283 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx() 287 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx() 291 } else if (!efi_guidcmp(sp->guid, in mca_make_slidx()
|
/linux/fs/squashfs/ |
A D | squashfs_fs.h | 273 __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/platform/x86/ |
A D | wmi.c | 45 guid_t guid; member 154 if (guid_equal(&wblock->gblock.guid, &guid_input)) in find_guid_context() 495 pr_info("%pUL:\n", &g->guid); in wmi_dump_wdg() 568 if (!guid || !handler) in wmi_install_notify_handler() 571 if (guid_parse(guid, &guid_input)) in wmi_install_notify_handler() 608 if (!guid) in wmi_remove_notify_handler() 611 if (guid_parse(guid, &guid_input)) in wmi_remove_notify_handler() 731 static DEVICE_ATTR_RO(guid); 1155 if (guid_equal(&wblock->gblock.guid, guid)) { in guid_already_parsed() 1163 guid, dev_name(&wblock->acpi_device->dev)); in guid_already_parsed() [all …]
|
A D | huawei-wmi.c | 753 const char *guid, in huawei_wmi_input_setup() argument 767 wmi_install_notify_handler(guid, huawei_wmi_input_notify, in huawei_wmi_input_setup() 773 wmi_remove_notify_handler(guid); in huawei_wmi_input_exit() 786 const struct wmi_device_id *guid = huawei_wmi_events_id_table; in huawei_wmi_probe() local 792 while (*guid->guid_string) { in huawei_wmi_probe() 795 if (wmi_has_guid(guid->guid_string)) { in huawei_wmi_probe() 804 guid++; in huawei_wmi_probe() 823 while (*guid->guid_string) { in huawei_wmi_remove() 824 if (wmi_has_guid(guid->guid_string)) in huawei_wmi_remove() 825 huawei_wmi_input_exit(&pdev->dev, guid->guid_string); in huawei_wmi_remove() [all …]
|
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()
|
/linux/drivers/visorbus/ |
A D | visorchannel.c | 34 guid_t guid; member 71 char *visorchannel_guid_id(const guid_t *guid, char *s) in visorchannel_guid_id() argument 73 sprintf(s, "%pUL", guid); in visorchannel_guid_id() 79 return visorchannel_guid_id(&channel->guid, s); in visorchannel_id() 107 return &channel->guid; in visorchannel_get_guid() 350 const guid_t *guid, bool needs_lock) in visorchannel_create() argument 372 if (!channel->requested && !guid_equal(guid, &visor_video_guid)) in visorchannel_create() 392 if (!channel->requested && !guid_equal(guid, &visor_video_guid)) in visorchannel_create() 401 guid_copy(&channel->guid, guid); in visorchannel_create()
|
/linux/include/linux/ |
A D | hyperv.h | 799 guid_t guid; member 1328 .guid = GUID_INIT(0xf8615163, 0xdf3e, 0x46c5, 0x91, 0x3f, \ 1336 .guid = GUID_INIT(0x32412632, 0x86cb, 0x44a2, 0x9b, 0x5c, \ 1344 .guid = GUID_INIT(0xba6163d9, 0x04a1, 0x4d29, 0xb6, 0x05, \ 1352 .guid = GUID_INIT(0x0e0b6031, 0x5213, 0x4934, 0x81, 0x8b, \ 1360 .guid = GUID_INIT(0x9527e630, 0xd0ae, 0x497b, 0xad, 0xce, \ 1368 .guid = GUID_INIT(0x57164f39, 0x9115, 0x4e78, 0xab, 0x55, \ 1376 .guid = GUID_INIT(0xa9a0f4e7, 0x5a45, 0x4d96, 0xb8, 0x27, \ 1384 .guid = GUID_INIT(0x525074dc, 0x8985, 0x46e2, 0x80, 0x57, \ 1392 .guid = GUID_INIT(0xcfa8b69e, 0x5b4a, 0x4cc0, 0xb9, 0x8b, \ [all …]
|
/linux/drivers/firmware/efi/ |
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()
|
A D | efi.c | 535 static __init int match_config_table(const efi_guid_t *guid, in match_config_table() argument 541 for (i = 0; efi_guidcmp(table_types[i].guid, NULL_GUID); i++) { in match_config_table() 542 if (!efi_guidcmp(*guid, table_types[i].guid)) { in match_config_table() 560 const efi_guid_t *guid; in efi_config_parse_tables() local 567 guid = &config_tables[i].guid; in efi_config_parse_tables() 570 guid = &tbl64[i].guid; in efi_config_parse_tables() 580 guid = &tbl32[i].guid; in efi_config_parse_tables() 584 if (!match_config_table(guid, table, common_tables) && arch_tables) in efi_config_parse_tables() 585 match_config_table(guid, table, arch_tables); in efi_config_parse_tables()
|
/linux/drivers/media/usb/uvc/ |
A D | uvc_driver.c | 44 .guid = UVC_GUID_FORMAT_YUY2, 54 .guid = UVC_GUID_FORMAT_NV12, 64 .guid = UVC_GUID_FORMAT_YV12, 69 .guid = UVC_GUID_FORMAT_I420, 74 .guid = UVC_GUID_FORMAT_M420, 89 .guid = UVC_GUID_FORMAT_Y8, 104 .guid = UVC_GUID_FORMAT_Y10, 109 .guid = UVC_GUID_FORMAT_Y12, 114 .guid = UVC_GUID_FORMAT_Y16, 119 .guid = UVC_GUID_FORMAT_BY8, [all …]
|
/linux/security/integrity/platform_certs/ |
A D | load_uefi.c | 28 efi_guid_t guid = EFI_SHIM_LOCK_GUID; in uefi_check_ignore_db() local 30 status = efi.get_variable(L"MokIgnoreDB", &guid, NULL, &size, &db); in uefi_check_ignore_db() 37 static __init void *get_cert_list(efi_char16_t *name, efi_guid_t *guid, in get_cert_list() argument 44 *status = efi.get_variable(name, guid, NULL, &lsize, &tmpdb); in get_cert_list() 57 *status = efi.get_variable(name, guid, NULL, &lsize, db); in get_cert_list()
|
/linux/drivers/infiniband/hw/ocrdma/ |
A D | ocrdma_main.c | 65 void ocrdma_get_guid(struct ocrdma_dev *dev, u8 *guid) in ocrdma_get_guid() argument 70 guid[0] = mac_addr[0] ^ 2; in ocrdma_get_guid() 71 guid[1] = mac_addr[1]; in ocrdma_get_guid() 72 guid[2] = mac_addr[2]; in ocrdma_get_guid() 73 guid[3] = 0xff; in ocrdma_get_guid() 74 guid[4] = 0xfe; in ocrdma_get_guid() 75 guid[5] = mac_addr[3]; in ocrdma_get_guid() 76 guid[6] = mac_addr[4]; in ocrdma_get_guid() 77 guid[7] = mac_addr[5]; in ocrdma_get_guid()
|
/linux/arch/x86/boot/compressed/ |
A D | acpi.c | 39 efi_guid_t guid; in __efi_get_rsdp_addr() local 44 guid = tbl->guid; in __efi_get_rsdp_addr() 54 guid = tbl->guid; in __efi_get_rsdp_addr() 58 if (!(efi_guidcmp(guid, ACPI_TABLE_GUID))) in __efi_get_rsdp_addr() 60 else if (!(efi_guidcmp(guid, ACPI_20_TABLE_GUID))) in __efi_get_rsdp_addr()
|
/linux/drivers/infiniband/hw/qib/ |
A D | qib_ruc.c | 64 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/scripts/mod/ |
A D | file2alias.c | 118 static inline void add_guid(char *str, guid_t guid) in add_guid() argument 123 guid.b[3], guid.b[2], guid.b[1], guid.b[0], in add_guid() 124 guid.b[5], guid.b[4], guid.b[7], guid.b[6], in add_guid() 125 guid.b[8], guid.b[9], guid.b[10], guid.b[11], in add_guid() 126 guid.b[12], guid.b[13], guid.b[14], guid.b[15]); in add_guid() 914 DEF_FIELD_ADDR(symval, hv_vmbus_device_id, guid); in do_vmbus_entry() 915 char guid_name[(sizeof(*guid) + 1) * 2]; in do_vmbus_entry() 917 for (i = 0; i < (sizeof(*guid) * 2); i += 2) in do_vmbus_entry() 918 sprintf(&guid_name[i], "%02x", TO_NATIVE((guid->b)[i/2])); in do_vmbus_entry() 1397 DEF_FIELD(symval, ishtp_device_id, guid); in do_ishtp_entry() [all …]
|
/linux/drivers/platform/mellanox/ |
A D | mlxbf-bootctl.c | 271 static bool mlxbf_bootctl_guid_match(const guid_t *guid, in mlxbf_bootctl_guid_match() argument 279 return guid_equal(guid, &id); in mlxbf_bootctl_guid_match() 285 guid_t guid; in mlxbf_bootctl_probe() local 290 guid_parse(mlxbf_bootctl_svc_uuid_str, &guid); in mlxbf_bootctl_probe() 291 if (!mlxbf_bootctl_guid_match(&guid, &res)) in mlxbf_bootctl_probe()
|
/linux/samples/mei/ |
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/target/sbp/ |
A D | sbp_target.c | 86 if (sess->guid == guid) in sbp_session_find_by_guid() 182 u64 guid) in sbp_session_create() argument 197 sess->guid = guid; in sbp_session_create() 267 u64 guid; in sbp_management_request_login() local 294 unpacked_lun, guid); in sbp_management_request_login() 496 u64 guid; in sbp_management_request_reconnect() local 523 if (login->sess->guid != guid) { in sbp_management_request_reconnect() 607 sess->guid); in session_check_for_reset() 1950 u64 guid = 0; in sbp_init_nodeacl() local 2054 u64 guid = 0; in sbp_make_tport() local [all …]
|
/linux/drivers/hwtracing/coresight/ |
A D | coresight-platform.c | 372 const guid_t *guid) in acpi_guid_matches() argument 375 guid_equal((guid_t *)obj->buffer.pointer, guid); in acpi_guid_matches() 390 const union acpi_object *graphid, *guid, *links; in is_acpi_coresight_graph() local 397 guid = &obj->package.elements[1]; in is_acpi_coresight_graph() 404 return is_acpi_coresight_graph_guid(guid); in is_acpi_coresight_graph() 540 const union acpi_object *guid, *package; in acpi_get_dsd_graph() local 542 guid = &dsd->package.elements[i]; in acpi_get_dsd_graph() 546 if (!is_acpi_guid(guid) || package->type != ACPI_TYPE_PACKAGE) in acpi_get_dsd_graph() 549 if (!is_acpi_dsd_graph_guid(guid)) in acpi_get_dsd_graph()
|