Searched refs:guid (Results 1 - 101 of 101) sorted by relevance

/linux-4.1.27/fs/efivarfs/
H A Dinode.c84 static void efivarfs_hex_to_guid(const char *str, efi_guid_t *guid) efivarfs_hex_to_guid() argument
86 guid->b[0] = hex_to_bin(str[6]) << 4 | hex_to_bin(str[7]); efivarfs_hex_to_guid()
87 guid->b[1] = hex_to_bin(str[4]) << 4 | hex_to_bin(str[5]); efivarfs_hex_to_guid()
88 guid->b[2] = hex_to_bin(str[2]) << 4 | hex_to_bin(str[3]); efivarfs_hex_to_guid()
89 guid->b[3] = hex_to_bin(str[0]) << 4 | hex_to_bin(str[1]); efivarfs_hex_to_guid()
90 guid->b[4] = hex_to_bin(str[11]) << 4 | hex_to_bin(str[12]); efivarfs_hex_to_guid()
91 guid->b[5] = hex_to_bin(str[9]) << 4 | hex_to_bin(str[10]); efivarfs_hex_to_guid()
92 guid->b[6] = hex_to_bin(str[16]) << 4 | hex_to_bin(str[17]); efivarfs_hex_to_guid()
93 guid->b[7] = hex_to_bin(str[14]) << 4 | hex_to_bin(str[15]); efivarfs_hex_to_guid()
94 guid->b[8] = hex_to_bin(str[19]) << 4 | hex_to_bin(str[20]); efivarfs_hex_to_guid()
95 guid->b[9] = hex_to_bin(str[21]) << 4 | hex_to_bin(str[22]); efivarfs_hex_to_guid()
96 guid->b[10] = hex_to_bin(str[24]) << 4 | hex_to_bin(str[25]); efivarfs_hex_to_guid()
97 guid->b[11] = hex_to_bin(str[26]) << 4 | hex_to_bin(str[27]); efivarfs_hex_to_guid()
98 guid->b[12] = hex_to_bin(str[28]) << 4 | hex_to_bin(str[29]); efivarfs_hex_to_guid()
99 guid->b[13] = hex_to_bin(str[30]) << 4 | hex_to_bin(str[31]); efivarfs_hex_to_guid()
100 guid->b[14] = hex_to_bin(str[32]) << 4 | hex_to_bin(str[33]); efivarfs_hex_to_guid()
101 guid->b[15] = hex_to_bin(str[34]) << 4 | hex_to_bin(str[35]); efivarfs_hex_to_guid()
H A Dsuper.c53 int guid = len - EFI_VARIABLE_GUID_LEN; efivarfs_d_compare() local
59 if (memcmp(str, name->name, guid)) efivarfs_d_compare()
63 return strncasecmp(name->name + guid, str + guid, EFI_VARIABLE_GUID_LEN); efivarfs_d_compare()
/linux-4.1.27/drivers/staging/unisys/visorchannel/
H A Dvisorchannel.h33 * <channel_bytes> and <guid> arguments may be 0 if we are a channel CLIENT.
37 ulong channel_bytes, uuid_le guid);
40 ulong off, uuid_le guid);
43 uuid_le guid);
47 ulong off, uuid_le guid);
69 char *visorchannel_uuid_id(uuid_le *guid, char *s);
H A Dvisorchannel_funcs.c34 uuid_le guid; member in struct:visorchannel
54 struct visorchannel *parent, ulong off, uuid_le guid, visorchannel_create_guts()
91 if (uuid_le_cmp(guid, NULL_UUID_LE) == 0) visorchannel_create_guts()
93 guid = p->chan_hdr.chtype; visorchannel_create_guts()
99 p->guid = guid; visorchannel_create_guts()
114 visorchannel_create(HOSTADDRESS physaddr, ulong channel_bytes, uuid_le guid) visorchannel_create() argument
116 return visorchannel_create_guts(physaddr, channel_bytes, NULL, 0, guid, visorchannel_create()
123 uuid_le guid) visorchannel_create_with_lock()
125 return visorchannel_create_guts(physaddr, channel_bytes, NULL, 0, guid, visorchannel_create_with_lock()
133 uuid_le guid) visorchannel_create_overlapped()
135 return visorchannel_create_guts(0, channel_bytes, parent, off, guid, visorchannel_create_overlapped()
143 uuid_le guid) visorchannel_create_overlapped_with_lock()
145 return visorchannel_create_guts(0, channel_bytes, parent, off, guid, visorchannel_create_overlapped_with_lock()
178 visorchannel_uuid_id(uuid_le *guid, char *s) visorchannel_uuid_id() argument
180 sprintf(s, "%pUL", guid); visorchannel_uuid_id()
188 return visorchannel_uuid_id(&channel->guid, s); visorchannel_id()
209 return channel->guid; visorchannel_get_uuid()
53 visorchannel_create_guts(HOSTADDRESS physaddr, ulong channel_bytes, struct visorchannel *parent, ulong off, uuid_le guid, BOOL needs_lock) visorchannel_create_guts() argument
122 visorchannel_create_with_lock(HOSTADDRESS physaddr, ulong channel_bytes, uuid_le guid) visorchannel_create_with_lock() argument
131 visorchannel_create_overlapped(ulong channel_bytes, struct visorchannel *parent, ulong off, uuid_le guid) visorchannel_create_overlapped() argument
141 visorchannel_create_overlapped_with_lock(ulong channel_bytes, struct visorchannel *parent, ulong off, uuid_le guid) visorchannel_create_overlapped_with_lock() argument
/linux-4.1.27/arch/ia64/kernel/
H A Desi.c40 efi_guid_t guid; member in struct:ia64_esi_desc_entry_point
61 if (efi_guidcmp(config_tables[i].guid, ESI_TABLE_GUID) == 0) { esi_init()
100 int ia64_esi_call (efi_guid_t guid, struct ia64_sal_retval *isrvp, ia64_esi_call() argument
117 if (!efi_guidcmp(guid, esi->guid)) { ia64_esi_call()
152 int ia64_esi_call_phys (efi_guid_t guid, struct ia64_sal_retval *isrvp, ia64_esi_call_phys() argument
169 if (!efi_guidcmp(guid, esi->guid)) { ia64_esi_call_phys()
H A Dmca_drv.c261 if (!efi_guidcmp(sp->guid, SAL_PROC_DEV_ERR_SECT_GUID)) { mca_make_slidx()
263 } else if (!efi_guidcmp(sp->guid, mca_make_slidx()
267 } else if (!efi_guidcmp(sp->guid, mca_make_slidx()
271 } else if (!efi_guidcmp(sp->guid, mca_make_slidx()
275 } else if (!efi_guidcmp(sp->guid, mca_make_slidx()
279 } else if (!efi_guidcmp(sp->guid, mca_make_slidx()
283 } else if (!efi_guidcmp(sp->guid, mca_make_slidx()
287 } else if (!efi_guidcmp(sp->guid, mca_make_slidx()
291 } else if (!efi_guidcmp(sp->guid, mca_make_slidx()
H A Defi.c927 efi_guid_t guid = EFI_GLOBAL_VARIABLE_GUID; efi_uart_console_only() local
941 status = efi.get_variable(name_utf16, &guid, NULL, &size, data); efi_uart_console_only()
/linux-4.1.27/drivers/platform/x86/
H A Ddell-wmi-aio.c180 const char *guid; dell_wmi_aio_init() local
182 guid = dell_wmi_aio_find(); dell_wmi_aio_init()
183 if (!guid) { dell_wmi_aio_init()
192 err = wmi_install_notify_handler(guid, dell_wmi_aio_notify, NULL); dell_wmi_aio_init()
205 const char *guid; dell_wmi_aio_exit() local
207 guid = dell_wmi_aio_find(); dell_wmi_aio_exit()
208 wmi_remove_notify_handler(guid); dell_wmi_aio_exit()
H A Dwmi.c51 char guid[16]; member in struct:guid_block
239 if (memcmp(block->guid, guid_input, 16) == 0) { find_guid()
462 wmi_gtoa(g->guid, guid_string); wmi_dump_wdg()
528 acpi_status wmi_install_notify_handler(const char *guid, wmi_install_notify_handler() argument
536 if (!guid || !handler) wmi_install_notify_handler()
539 wmi_parse_guid(guid, tmp); wmi_install_notify_handler()
546 if (memcmp(block->gblock.guid, guid_input, 16) == 0) { wmi_install_notify_handler()
570 acpi_status wmi_remove_notify_handler(const char *guid) wmi_remove_notify_handler() argument
577 if (!guid) wmi_remove_notify_handler()
580 wmi_parse_guid(guid, tmp); wmi_remove_notify_handler()
587 if (memcmp(block->gblock.guid, guid_input, 16) == 0) { wmi_remove_notify_handler()
673 wmi_gtoa(wblock->gblock.guid, guid_string); modalias_show()
698 wmi_gtoa(wblock->gblock.guid, guid_string); wmi_dev_uevent()
728 wmi_gtoa(gblock->guid, guid_string); wmi_create_device()
755 if (memcmp(wblock->gblock.guid, guid_string, 16) == 0) guid_already_parsed()
807 if (!guid_already_parsed(gblock[i].guid)) { parse_wdg()
891 wmi_gtoa(wblock->gblock.guid, guid_string); acpi_wmi_notify()
H A Dmsi-wmi.c90 const char *guid; member in struct:__anon8305
302 if (!wmi_has_guid(event_wmis[i].guid)) msi_wmi_init()
311 err = wmi_install_notify_handler(event_wmis[i].guid, msi_wmi_init()
341 wmi_remove_notify_handler(event_wmi->guid); msi_wmi_init()
353 wmi_remove_notify_handler(event_wmi->guid); msi_wmi_exit()
H A Dalienware-wmi.c218 char *guid; alienware_update_led() local
226 guid = WMAX_CONTROL_GUID; alienware_update_led()
237 guid = LEGACY_POWER_CONTROL_GUID; alienware_update_led()
240 guid = LEGACY_CONTROL_GUID; alienware_update_led()
246 pr_debug("alienware-wmi: guid %s method %d\n", guid, method_id); alienware_update_led()
248 status = wmi_evaluate_method(guid, 1, method_id, &input, NULL); alienware_update_led()
H A Dtoshiba_acpi.c2976 * Machines with this WMI guid aren't supported due to bugs in toshiba_acpi_init()
/linux-4.1.27/fs/squashfs/
H A Dsquashfs_fs.h278 __le16 guid; member in struct:squashfs_base_inode
287 __le16 guid; member in struct:squashfs_ipc_inode
297 __le16 guid; member in struct:squashfs_lipc_inode
308 __le16 guid; member in struct:squashfs_dev_inode
319 __le16 guid; member in struct:squashfs_ldev_inode
331 __le16 guid; member in struct:squashfs_symlink_inode
343 __le16 guid; member in struct:squashfs_reg_inode
357 __le16 guid; member in struct:squashfs_lreg_inode
374 __le16 guid; member in struct:squashfs_dir_inode
388 __le16 guid; member in struct:squashfs_ldir_inode
H A Dinode.c67 err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->guid), &i_gid); squashfs_new_inode()
/linux-4.1.27/drivers/firmware/efi/
H A Defi.c283 static __init int match_config_table(efi_guid_t *guid, match_config_table() argument
290 for (i = 0; efi_guidcmp(table_types[i].guid, NULL_GUID); i++) { match_config_table()
291 if (!efi_guidcmp(*guid, table_types[i].guid)) { match_config_table()
312 efi_guid_t guid; efi_config_parse_tables() local
317 guid = ((efi_config_table_64_t *)tablep)->guid; efi_config_parse_tables()
328 guid = ((efi_config_table_32_t *)tablep)->guid; efi_config_parse_tables()
332 if (!match_config_table(&guid, table, common_tables)) efi_config_parse_tables()
333 match_config_table(&guid, table, arch_tables); efi_config_parse_tables()
H A Dvars.c715 * @vendor: variable vendor guid
777 * @guid: the EFI variable vendor's guid
782 * name @name and vendor guid @guid. If an entry is found on the list
791 struct efivar_entry *efivar_entry_find(efi_char16_t *name, efi_guid_t guid, efivar_entry_find() argument
805 !efi_guidcmp(guid, entry->var.VendorGuid)) { list_for_each_entry_safe()
H A Defivars.c210 * and guid should remain the same sanity_check()
393 static EFIVAR_ATTR(guid, 0400, efivar_guid_read, NULL);
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_sysfs.c285 u8 *guid; show_guid() local
287 guid = (u8 *) & (dd->ipath_guid); show_guid()
291 guid[0], guid[1], guid[2], guid[3], show_guid()
292 guid[4], guid[5], guid[6], guid[7]); show_guid()
302 unsigned short guid[8]; store_guid() local
308 &guid[0], &guid[1], &guid[2], &guid[3], store_guid()
309 &guid[4], &guid[5], &guid[6], &guid[7]) != 8) store_guid()
315 if (guid[i] > 0xff) store_guid()
317 ng[i] = guid[i]; store_guid()
1079 static DEVICE_ATTR(guid, S_IWUSR | S_IRUGO, show_guid, store_guid);
H A Dipath_eeprom.c704 * the guid from the first chip's flash, to use for all of them.
710 __be64 guid; ipath_get_eeprom_info() local
740 ipath_dbg("nguid %u, so adding %u to device 0 guid, " ipath_get_eeprom_info()
799 guid = *(__be64 *) ifp->if_guid; ipath_get_eeprom_info()
803 guid = *(__be64 *) ifp->if_guid; ipath_get_eeprom_info()
804 dd->ipath_guid = guid; ipath_get_eeprom_info()
/linux-4.1.27/drivers/firmware/google/
H A Dgsmi.c100 efi_guid_t guid; member in struct:gsmi_nvram_var_param
108 u8 guid[GSMI_GUID_SIZE]; member in struct:gsmi_get_next_var_param
312 /* Vendor guid */ gsmi_get_variable()
313 memcpy(&param.guid, vendor, sizeof(param.guid)); gsmi_get_variable()
378 /* guid */ gsmi_get_next_variable()
379 memcpy(&param.guid, vendor, sizeof(param.guid)); gsmi_get_next_variable()
403 /* copy guid to return buffer */ gsmi_get_next_variable()
404 memcpy(vendor, &param.guid, sizeof(param.guid)); gsmi_get_next_variable()
437 /* guid */ gsmi_set_variable()
438 memcpy(&param.guid, vendor, sizeof(param.guid)); gsmi_set_variable()
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
H A Docrdma_main.c56 void ocrdma_get_guid(struct ocrdma_dev *dev, u8 *guid) ocrdma_get_guid() argument
61 guid[0] = mac_addr[0] ^ 2; ocrdma_get_guid()
62 guid[1] = mac_addr[1]; ocrdma_get_guid()
63 guid[2] = mac_addr[2]; ocrdma_get_guid()
64 guid[3] = 0xff; ocrdma_get_guid()
65 guid[4] = 0xfe; ocrdma_get_guid()
66 guid[5] = mac_addr[3]; ocrdma_get_guid()
67 guid[6] = mac_addr[4]; ocrdma_get_guid()
68 guid[7] = mac_addr[5]; ocrdma_get_guid()
H A Docrdma_verbs.h44 void ocrdma_get_guid(struct ocrdma_dev *, u8 *guid);
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_eeprom.c142 * the guid from the first chip's flash, to use for all of them.
148 __be64 guid; qib_get_eeprom_info() local
237 guid = *(__be64 *) ifp->if_guid; qib_get_eeprom_info()
239 guid = *(__be64 *) ifp->if_guid; qib_get_eeprom_info()
240 dd->base_guid = guid; qib_get_eeprom_info()
H A Dqib_ruc.c249 return ppd->guid; get_sguid()
270 __be64 guid; qib_ruc_check_hdr() local
280 guid = get_sguid(ibp, qp->alt_ah_attr.grh.sgid_index); qib_ruc_check_hdr()
281 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) qib_ruc_check_hdr()
311 guid = get_sguid(ibp, qib_ruc_check_hdr()
313 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) qib_ruc_check_hdr()
667 ibp->guids[grh->sgid_index - 1] : ppd_from_ibp(ibp)->guid; qib_make_grh()
H A Dqib_mad.h90 __be16 lid; /* lid where sys guid changed */
H A Dqib_mad.c286 dd->pport[pidx].guid == 0) subn_get_nodeinfo()
289 nip->port_guid = dd->pport[pidx].guid; subn_get_nodeinfo()
297 nip->node_guid = dd->pport->guid; /* Use first-port GUID as node */ subn_get_nodeinfo()
327 __be64 g = ppd->guid; subn_get_guidinfo()
H A Dqib_iba7220.c1540 u64 val, prev_val, guid, ibc; qib_7220_bringup_serdes() local
1633 /* first time through, set port guid */ qib_7220_bringup_serdes()
1634 if (!ppd->guid) qib_7220_bringup_serdes()
1635 ppd->guid = dd->base_guid; qib_7220_bringup_serdes()
1636 guid = be64_to_cpu(ppd->guid); qib_7220_bringup_serdes()
1638 qib_write_kreg(dd, kr_hrtbt_guid, guid); qib_7220_bringup_serdes()
H A Dqib_verbs.c1724 gid->global.interface_id = ppd->guid; qib_query_gid()
2150 ib_qib_sys_image_guid = ppd->guid; qib_register_ib_device()
2154 ibdev->node_guid = ppd->guid; qib_register_ib_device()
H A Dqib_iba7322.c2388 u64 val, guid, ibc; qib_7322_bringup_serdes() local
2490 guid = be64_to_cpu(ppd->guid); qib_7322_bringup_serdes()
2491 if (!guid) { qib_7322_bringup_serdes()
2493 guid = be64_to_cpu(dd->base_guid) + ppd->port - 1; qib_7322_bringup_serdes()
2494 ppd->guid = cpu_to_be64(guid); qib_7322_bringup_serdes()
2497 qib_write_kreg_port(ppd, krp_hrtbt_guid, guid); qib_7322_bringup_serdes()
H A Dqib.h547 __be64 guid; member in struct:qib_pportdata
H A Dqib_iba6120.c1352 /* base and port guid same for single port */ qib_6120_bringup_serdes()
1353 ppd->guid = dd->base_guid; qib_6120_bringup_serdes()
/linux-4.1.27/drivers/target/sbp/
H A Dsbp_target.h143 u64 guid; /* login_owner_EUI_64 */ member in struct:sbp_session
156 u64 guid; member in struct:sbp_nacl
174 u64 guid; member in struct:sbp_tport
H A Dsbp_target.c70 static int read_peer_guid(u64 *guid, const struct sbp_management_request *req) read_peer_guid() argument
89 *guid = (u64)be32_to_cpu(high) << 32 | be32_to_cpu(low); read_peer_guid()
95 struct sbp_tpg *tpg, u64 guid) sbp_session_find_by_guid()
103 if (sess->guid == guid) sbp_session_find_by_guid()
199 u64 guid) sbp_session_create()
221 snprintf(guid_str, sizeof(guid_str), "%016llx", guid); sbp_session_create()
239 sess->guid = guid; sbp_session_create()
300 u64 guid; sbp_management_request_login() local
318 ret = read_peer_guid(&guid, req); sbp_management_request_login()
329 se_lun->unpacked_lun, guid); sbp_management_request_login()
331 sess = sbp_session_find_by_guid(tpg, guid); sbp_management_request_login()
398 sess = sbp_session_create(tpg, guid); sbp_management_request_login()
531 u64 guid; sbp_management_request_reconnect() local
534 ret = read_peer_guid(&guid, req); sbp_management_request_reconnect()
544 pr_notice("mgt_agent RECONNECT from %016llx\n", guid); sbp_management_request_reconnect()
558 if (login->sess->guid != guid) { sbp_management_request_reconnect()
642 sess->guid); session_check_for_reset()
657 pr_info("Reconnect timer expired for node: %016llx\n", sess->guid); session_reconnect_expired()
2048 data[idx++] = tport->guid >> 32; sbp_update_unit_directory()
2049 data[idx++] = tport->guid; sbp_update_unit_directory()
2110 u64 guid = 0; sbp_make_nodeacl() local
2113 if (sbp_parse_wwn(name, &guid) < 0) sbp_make_nodeacl()
2132 nacl->guid = guid; sbp_make_nodeacl()
2133 sbp_format_wwn(nacl->iport_name, SBP_NAMELEN, guid); sbp_make_nodeacl()
2249 u64 guid = 0; sbp_make_tport() local
2251 if (sbp_parse_wwn(name, &guid) < 0) sbp_make_tport()
2260 tport->guid = guid; sbp_make_tport()
2261 sbp_format_wwn(tport->tport_name, SBP_NAMELEN, guid); sbp_make_tport()
94 sbp_session_find_by_guid( struct sbp_tpg *tpg, u64 guid) sbp_session_find_by_guid() argument
197 sbp_session_create( struct sbp_tpg *tpg, u64 guid) sbp_session_create() argument
/linux-4.1.27/arch/ia64/sn/kernel/
H A Dmca.c121 efi_guid_t guid = *(efi_guid_t *)sect_header; sn_salinfo_platform_oemdata() local
126 if (efi_guidcmp(guid, SAL_PLAT_SPECIFIC_ERR_SECT_GUID) == 0) { sn_salinfo_platform_oemdata()
129 } else if (efi_guidcmp(guid, SAL_PLAT_MEM_DEV_ERR_SECT_GUID) == 0) { sn_salinfo_platform_oemdata()
H A Dsetup.c173 if (efi_guidcmp(config_tables[i].guid, SAL_SYSTEM_TABLE_GUID) == early_sn_setup()
/linux-4.1.27/sound/firewire/bebob/
H A Dbebob_proc.c16 u32 guid[2]; member in struct:hw_info
55 info->guid[0], info->guid[1]); proc_read_hw_info()
H A Dbebob_hwdep.c83 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); hwdep_get_info()
84 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); hwdep_get_info()
/linux-4.1.27/sound/firewire/dice/
H A Ddice-hwdep.c81 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); hwdep_get_info()
82 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); hwdep_get_info()
/linux-4.1.27/sound/firewire/oxfw/
H A Doxfw-hwdep.c81 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); hwdep_get_info()
82 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); hwdep_get_info()
/linux-4.1.27/arch/x86/platform/efi/
H A Dquirks.c235 efi_guid_t guid; efi_reuse_config() local
237 guid = ((efi_config_table_64_t *)p)->guid; efi_reuse_config()
239 if (!efi_guidcmp(guid, SMBIOS_TABLE_GUID)) efi_reuse_config()
/linux-4.1.27/include/uapi/sound/
H A Dfirewire.h64 unsigned char guid[8]; member in struct:snd_firewire_get_info
/linux-4.1.27/Documentation/misc-devices/mei/
H A Dmei-amt-version.c93 uuid_le guid; member in struct:mei
111 static bool mei_init(struct mei *me, const uuid_le *guid, mei_init() argument
125 memcpy(&me->guid, guid, sizeof(*guid)); mei_init()
129 memcpy(&data.in_client_uuid, &me->guid, sizeof(me->guid)); mei_init()
/linux-4.1.27/include/drm/
H A Ddrm_dp_mst_helper.h106 * @guid: guid for DP 1.2 branch device. port under this branch can be
132 u8 guid[16]; member in struct:drm_dp_mst_branch
150 u8 guid[16]; member in struct:drm_dp_nak_reply
156 u8 guid[16]; member in struct:drm_dp_link_address_ack_reply
233 u8 guid[16]; member in struct:drm_dp_connection_status_notify
300 u8 guid[16]; member in struct:drm_dp_resource_status_notify
/linux-4.1.27/include/linux/
H A Dhyperv.h993 .guid = { g0, g1, g2, g3, g4, g5, g6, g7, \
1005 .guid = { \
1015 .guid = { \
1025 .guid = { \
1035 .guid = { \
1045 .guid = { \
1055 .guid = { \
1065 .guid = { \
1075 .guid = { \
1085 .guid = { \
1094 .guid = { \
1103 .guid = { \
1113 .guid = { \
1124 .guid = { \
1134 .guid = { \
H A Dacpi.h217 extern acpi_status wmi_evaluate_method(const char *guid, u8 instance,
221 extern acpi_status wmi_query_block(const char *guid, u8 instance,
223 extern acpi_status wmi_set_block(const char *guid, u8 instance,
225 extern acpi_status wmi_install_notify_handler(const char *guid,
227 extern acpi_status wmi_remove_notify_handler(const char *guid);
229 extern bool wmi_has_guid(const char *guid);
H A Defi.h115 efi_guid_t guid; member in struct:__anon11625
593 efi_guid_t guid; member in struct:__anon11642
598 efi_guid_t guid; member in struct:__anon11643
603 efi_guid_t guid; member in struct:__anon11644
608 efi_guid_t guid; member in struct:__anon11645
851 efi_guid_to_str(efi_guid_t *guid, char *out) efi_guid_to_str() argument
853 sprintf(out, "%pUl", guid->b); efi_guid_to_str()
1162 struct efivar_entry *efivar_entry_find(efi_char16_t *name, efi_guid_t guid,
H A Dmod_devicetable.h394 * For Hyper-V devices we use the device guid as the id.
397 __u8 guid[16]; member in struct:hv_vmbus_device_id
H A Dfirewire.h100 unsigned long long guid; member in struct:fw_card
/linux-4.1.27/drivers/media/usb/uvc/
H A Duvc_driver.c47 .guid = UVC_GUID_FORMAT_YUY2,
52 .guid = UVC_GUID_FORMAT_YUY2_ISIGHT,
57 .guid = UVC_GUID_FORMAT_NV12,
62 .guid = UVC_GUID_FORMAT_MJPEG,
67 .guid = UVC_GUID_FORMAT_YV12,
72 .guid = UVC_GUID_FORMAT_I420,
77 .guid = UVC_GUID_FORMAT_M420,
82 .guid = UVC_GUID_FORMAT_UYVY,
87 .guid = UVC_GUID_FORMAT_Y800,
92 .guid = UVC_GUID_FORMAT_Y8,
97 .guid = UVC_GUID_FORMAT_Y10,
102 .guid = UVC_GUID_FORMAT_Y12,
107 .guid = UVC_GUID_FORMAT_Y16,
112 .guid = UVC_GUID_FORMAT_BY8,
117 .guid = UVC_GUID_FORMAT_BA81,
122 .guid = UVC_GUID_FORMAT_GBRG,
127 .guid = UVC_GUID_FORMAT_GRBG,
132 .guid = UVC_GUID_FORMAT_RGGB,
137 .guid = UVC_GUID_FORMAT_RGBP,
142 .guid = UVC_GUID_FORMAT_BGR3,
147 .guid = UVC_GUID_FORMAT_H264,
171 static struct uvc_format_desc *uvc_format_by_guid(const __u8 guid[16]) uvc_format_by_guid() argument
177 if (memcmp(guid, uvc_fmts[i].guid, 16) == 0) uvc_format_by_guid()
H A Duvc_ctrl.c834 const __u8 guid[16]) uvc_entity_match_guid()
838 return memcmp(uvc_camera_guid, guid, 16) == 0; uvc_entity_match_guid()
841 return memcmp(uvc_media_transport_input_guid, guid, 16) == 0; uvc_entity_match_guid()
844 return memcmp(uvc_processing_guid, guid, 16) == 0; uvc_entity_match_guid()
848 guid, 16) == 0; uvc_entity_match_guid()
833 uvc_entity_match_guid(const struct uvc_entity *entity, const __u8 guid[16]) uvc_entity_match_guid() argument
H A Duvcvideo.h224 __u8 guid[16]; member in struct:uvc_format_desc
/linux-4.1.27/drivers/hv/
H A Dhv_util.c392 /* Shutdown guid */
396 /* Time synch guid */
400 /* Heartbeat guid */
404 /* KVP guid */
H A Dvmbus_drv.c89 #define VMBUS_ALIAS_LEN ((sizeof((struct hv_vmbus_device_id *)0)->guid) * 2) print_alias_name()
452 * The alias string will be of the form vmbus:guid where guid is the string
453 * representation of the device guid (each byte of the guid will be
469 static inline bool is_null_guid(const __u8 *guid) is_null_guid() argument
471 if (memcmp(guid, &null_guid, sizeof(uuid_le))) is_null_guid()
482 const __u8 *guid) hv_vmbus_get_id()
484 for (; !is_null_guid(id->guid); id++) hv_vmbus_get_id()
485 if (!memcmp(&id->guid, guid, sizeof(uuid_le))) hv_vmbus_get_id()
480 hv_vmbus_get_id( const struct hv_vmbus_device_id *id, const __u8 *guid) hv_vmbus_get_id() argument
H A Dchannel_mgmt.c396 if (!memcmp(type_guid->b, hp_devs[i].guid, init_vp_index()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
H A Dalias_GUID.c101 /* cache the guid: */ mlx4_ib_update_cache_on_guid_change()
178 * Whenever new GUID is set/unset (guid table change) create event and
224 * Check if guid is not the same as in the cache, mlx4_ib_notify_slaves_on_guid_change()
367 " admin guid after SysAdmin " aliasguid_query_handler()
463 it is the first guid of the first record (hw guid) or invalidate_guid_record()
579 __be64 guid; mlx4_ib_guid_port_init() local
585 /* no request for the 0 entry (hw guid) */ mlx4_ib_guid_port_init()
589 guid = mlx4_get_admin_guid(dev->dev, entry, port); mlx4_ib_guid_port_init()
592 [GUID_REC_SIZE * k] = guid; mlx4_ib_guid_port_init()
593 pr_debug("guid was set, entry=%d, val=0x%llx, port=%d\n", mlx4_ib_guid_port_init()
595 be64_to_cpu(guid), mlx4_ib_guid_port_init()
H A Dmad.c290 /* paravirtualized master's guid is guid 0 -- does not change */ smp_snoop()
407 int mlx4_ib_find_real_gid(struct ib_device *ibdev, u8 port, __be64 guid) mlx4_ib_find_real_gid() argument
413 if (dev->sriov.demux[port - 1].guid_cache[i] == guid) mlx4_ib_find_real_gid()
958 /* re-configure the alias-guid and mcg's */ handle_client_rereg_event()
991 mlx4_ib_warn(&dev->ib_dev, "failed to allocate memory for guid info mads\n"); handle_slaves_guid_change()
1076 /* paravirtualized master's guid is guid 0 -- does not change */ handle_port_mgmt_change_event()
2115 mlx4_ib_warn(&dev->ib_dev, "Failed init alias guid process.\n"); mlx4_ib_init_sriov()
H A Dmlx4_ib.h332 /* alias guid support */
747 int mlx4_ib_find_real_gid(struct ib_device *ibdev, u8 port, __be64 guid);
782 /* alias guid support */
H A Dsysfs.c66 * other - guid value assigned by the administrator.
H A Dmain.c453 /* For any index > 0, return the null guid */ __mlx4_ib_query_gid()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_dp_mst_topology.c62 u8 *guid);
371 memcpy(repmsg->u.link_addr.guid, &raw->msg[idx], 16); drm_dp_sideband_parse_link_address()
540 memcpy(msg->u.nak.guid, &raw->msg[1], 16); drm_dp_sideband_parse_reply()
577 memcpy(msg->u.conn_stat.guid, &raw->msg[idx], 16); drm_dp_sideband_parse_connection_status_notify()
604 memcpy(msg->u.resource_stat.guid, &raw->msg[idx], 16); drm_dp_sideband_parse_resource_status_notify()
1039 static void drm_dp_check_mstb_guid(struct drm_dp_mst_branch *mstb, u8 *guid) drm_dp_check_mstb_guid() argument
1043 memcpy(mstb->guid, guid, 16); drm_dp_check_mstb_guid()
1045 if (!drm_dp_validate_guid(mstb->mgr, mstb->guid)) { drm_dp_check_mstb_guid()
1052 mstb->guid); drm_dp_check_mstb_guid()
1058 mstb->guid, drm_dp_check_mstb_guid()
1241 uint8_t *guid) get_mst_branch_device_by_guid_helper()
1246 if (memcmp(mstb->guid, guid, 16) == 0) get_mst_branch_device_by_guid_helper()
1254 found_mstb = get_mst_branch_device_by_guid_helper(port->mstb, guid); get_mst_branch_device_by_guid_helper()
1265 uint8_t *guid) drm_dp_get_mst_branch_device_by_guid()
1272 mstb = get_mst_branch_device_by_guid_helper(mgr->mst_primary, guid); drm_dp_get_mst_branch_device_by_guid()
1328 u8 *guid) drm_dp_validate_guid()
1332 if (!memcmp(guid, zero_guid, 16)) { drm_dp_validate_guid()
1334 memcpy(&guid[0], &salt, sizeof(u64)); drm_dp_validate_guid()
1335 memcpy(&guid[8], &salt, sizeof(u64)); drm_dp_validate_guid()
1578 drm_dp_check_mstb_guid(mstb, txmsg->reply.u.link_addr.guid); drm_dp_send_link_address()
2125 u8 guid[16]; drm_dp_mst_topology_mgr_resume() local
2143 sret = drm_dp_dpcd_read(mgr->aux, DP_GUID, guid, 16); drm_dp_mst_topology_mgr_resume()
2149 drm_dp_check_mstb_guid(mgr->mst_primary, guid); drm_dp_mst_topology_mgr_resume()
2288 mstb = drm_dp_get_mst_branch_device_by_guid(mgr, msg.u.conn_stat.guid); drm_dp_mst_handle_up_req()
2304 mstb = drm_dp_get_mst_branch_device_by_guid(mgr, msg.u.resource_stat.guid); drm_dp_mst_handle_up_req()
1239 get_mst_branch_device_by_guid_helper( struct drm_dp_mst_branch *mstb, uint8_t *guid) get_mst_branch_device_by_guid_helper() argument
1263 drm_dp_get_mst_branch_device_by_guid( struct drm_dp_mst_topology_mgr *mgr, uint8_t *guid) drm_dp_get_mst_branch_device_by_guid() argument
1327 drm_dp_validate_guid(struct drm_dp_mst_topology_mgr *mgr, u8 *guid) drm_dp_validate_guid() argument
/linux-4.1.27/drivers/staging/fwserial/
H A Dfwserial.h54 * @guid: unique 64-bit guid for this unit device
78 u64 guid; member in struct:fwtty_peer
H A Dfwserial.c1468 seq_printf(m, " sp:%d max:%d guid:%016llx", peer->speed, fwtty_debugfs_show_peer()
1469 peer->max_payload, (unsigned long long) peer->guid); fwtty_debugfs_show_peer()
1516 seq_printf(m, "card: %s guid: %016llx\n", fwtty_debugfs_peers_show()
1518 (unsigned long long) serial->card->guid); fwtty_debugfs_peers_show()
1707 fwtty_info(&peer->unit, "peer (guid:%016llx) connected on %s\n", fwserial_virt_plug_complete()
1708 (unsigned long long)peer->guid, dev_name(port->device)); fwserial_virt_plug_complete()
1989 fwtty_err(card, "unknown card (guid %016llx)\n", __fwserial_peer_by_node_id()
1990 (unsigned long long) card->guid); __fwserial_peer_by_node_id()
2019 fwtty_dbg(card, "peer(%d:%x) guid: %016llx\n", __dump_peer_list()
2020 g, peer->node_id, (unsigned long long) peer->guid); __dump_peer_list()
2077 peer->guid = (u64)parent->config_rom[3] << 32 | parent->config_rom[4]; fwserial_add_peer()
2115 fwtty_info(&peer->unit, "peer added (guid:%016llx)\n", fwserial_add_peer()
2116 (unsigned long long)peer->guid); fwserial_add_peer()
2179 fwtty_info(&peer->unit, "peer removed (guid:%016llx)\n", fwserial_remove_peer()
2180 (unsigned long long)peer->guid); fwserial_remove_peer()
2316 fwtty_notice(&unit, "TTY over FireWire on device %s (guid %016llx)\n", fwserial_create()
2317 dev_name(card->device), (unsigned long long) card->guid); fwserial_create()
2540 * guid values; the loser sends the plug response.
2576 if (peer->serial->card->guid > peer->guid) fwserial_handle_plug_req()
2637 if (peer->serial->card->guid > peer->guid) fwserial_handle_unplug_req()
/linux-4.1.27/scripts/mod/
H A Ddevicetable-offsets.c137 DEVID_FIELD(hv_vmbus_device_id, guid); main()
H A Dfile2alias.c865 * Looks like: vmbus:guid
866 * Each byte of the guid will be represented by two hex characters
874 DEF_FIELD_ADDR(symval, hv_vmbus_device_id, guid); do_vmbus_entry()
875 char guid_name[(sizeof(*guid) + 1) * 2]; do_vmbus_entry()
877 for (i = 0; i < (sizeof(*guid) * 2); i += 2) do_vmbus_entry()
878 sprintf(&guid_name[i], "%02x", TO_NATIVE((*guid)[i/2])); do_vmbus_entry()
/linux-4.1.27/drivers/firewire/
H A Dnet.c174 u64 guid; member in struct:fwnet_peer
447 u64 guid) fwnet_peer_find_by_guid()
452 if (peer->guid == guid) fwnet_peer_find_by_guid()
488 __be64 guid; fwnet_finish_incoming_packet() local
510 guid = cpu_to_be64(dev->card->guid); fwnet_finish_incoming_packet()
1279 __be64 guid = get_unaligned(&ha->uc.uniq_id); fwnet_tx() local
1282 peer = fwnet_peer_find_by_guid(dev, be64_to_cpu(guid)); fwnet_tx()
1410 peer->guid = (u64)device->config_rom[3] << 32 | device->config_rom[4]; fwnet_add_peer()
1487 put_unaligned_be64(card->guid, &ha->uc.uniq_id); fwnet_probe()
446 fwnet_peer_find_by_guid(struct fwnet_device *dev, u64 guid) fwnet_peer_find_by_guid() argument
H A Dcore-card.c126 config_rom[3] = cpu_to_be32(card->guid >> 32); generate_config_rom()
127 config_rom[4] = cpu_to_be32(card->guid); generate_config_rom()
560 u32 max_receive, u32 link_speed, u64 guid) fw_card_add()
566 card->guid = guid; fw_card_add()
559 fw_card_add(struct fw_card *card, u32 max_receive, u32 link_speed, u64 guid) fw_card_add() argument
H A Dcore.h118 u32 max_receive, u32 link_speed, u64 guid);
H A Dsbp2.c169 u64 guid; member in struct:sbp2_target
1013 tgt->guid = (u64)leaf[1] << 32 | leaf[2]; sbp2_get_unit_unique_id()
1160 tgt->guid = (u64)device->config_rom[3] << 32 | device->config_rom[4]; sbp2_probe()
1592 (unsigned long long)lu->tgt->guid, sbp2_sysfs_ieee1394_id_show()
H A Dohci.c3565 u64 guid; pci_probe() local
3700 guid = ((u64) reg_read(ohci, OHCI1394_GUIDHi) << 32) | pci_probe()
3713 err = fw_card_add(&ohci->card, max_receive, link_speed, guid); pci_probe()
3842 reg_write(ohci, OHCI1394_GUIDLo, (u32)ohci->card.guid); pci_resume()
3843 reg_write(ohci, OHCI1394_GUIDHi, (u32)(ohci->card.guid >> 32)); pci_resume()
H A Dcore-device.c482 __ATTR_RO(guid),
/linux-4.1.27/drivers/staging/unisys/include/
H A Duisutils.h178 wait_for_valid_guid(uuid_le __iomem *guid) wait_for_valid_guid() argument
184 (void __iomem *)guid, sizeof(uuid_le)); wait_for_valid_guid()
H A Duisqueue.h332 uuid_le instance_uuid; /* instance guid for device */
346 uuid_le instance_uuid; /* instance guid for device */
/linux-4.1.27/sound/firewire/fireworks/
H A Dfireworks_hwdep.c181 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); hwdep_get_info()
182 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); hwdep_get_info()
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
H A Dchannel.h300 uuid_le guid; spar_check_channel_client() local
302 memcpy_fromio(&guid, spar_check_channel_client()
304 sizeof(guid)); spar_check_channel_client()
306 if (uuid_le_cmp(guid, expected_uuid) != 0) { spar_check_channel_client()
309 &expected_uuid, &guid); spar_check_channel_client()
H A Dcontrolvmchannel.h226 uuid_le dev_inst_uuid; /* instance guid for the device */
/linux-4.1.27/drivers/infiniband/ulp/srpt/
H A Dib_dm_mad.h101 __be64 guid; member in struct:ib_dm_ioc_profile
H A Dib_srpt.c346 iocp->guid = cpu_to_be64(srpt_service_guid); srpt_get_ioc()
2380 " (guid=0x%llx:0x%llx)\n", srpt_cm_req_recv()
3198 * to identify this target. We currently use the guid of the first HCA srpt_add_one()
/linux-4.1.27/block/partitions/
H A Dldm.h173 u8 guid[16]; member in struct:vblk_volu
H A Dldm.c1161 memcpy(volu->guid, buffer + 0x42 + r_size, sizeof(volu->guid)); ldm_parse_vol5()
/linux-4.1.27/drivers/input/serio/
H A Dhyperv-keyboard.c420 .guid = { \
426 /* Keyboard guid */
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Dmain.c695 void mlx4_put_slave_node_guid(struct mlx4_dev *dev, int slave, __be64 guid) mlx4_put_slave_node_guid() argument
702 priv->slave_node_guids[slave] = guid; mlx4_put_slave_node_guid()
2263 void mlx4_set_admin_guid(struct mlx4_dev *dev, __be64 guid, int entry, int port) mlx4_set_admin_guid() argument
2267 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; mlx4_set_admin_guid()
2275 return priv->mfunc.master.vf_admin[entry].vport[port].guid; mlx4_get_admin_guid()
2282 __be64 guid; mlx4_set_random_admin_guid() local
2288 get_random_bytes((char *)&guid, sizeof(guid)); mlx4_set_random_admin_guid()
2289 guid &= ~(cpu_to_be64(1ULL << 56)); mlx4_set_random_admin_guid()
2290 guid |= cpu_to_be64(1ULL << 57); mlx4_set_random_admin_guid()
2291 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; mlx4_set_random_admin_guid()
H A Dcmd.c947 __be64 guid = mlx4_get_admin_guid(dev, slave, mlx4_MAD_IFC_wrapper() local
950 /* set the PF admin guid to the FW/HW burned mlx4_MAD_IFC_wrapper()
953 if (slave == 0 && guid == 0) { mlx4_MAD_IFC_wrapper()
969 memcpy(outsmp->data, &guid, 8); mlx4_MAD_IFC_wrapper()
H A Dmlx4.h502 __be64 guid; member in struct:mlx4_vport_state
H A Deq.c622 * slave's alias-guid is set. This is done in alias_GUID.c mlx4_eq_int()
H A Dfw.c2404 mlx4_err(dev, "Fail to get port %d uplink guid\n", mlx4_get_phys_port_id()
/linux-4.1.27/arch/ia64/include/asm/
H A Dsal.h353 efi_guid_t guid; /* Unique Section ID */ member in struct:sal_log_sec_header
596 guid : 1, member in struct:sal_log_plat_specific_err_info::__anon1539
601 efi_guid_t guid; member in struct:sal_log_plat_specific_err_info
/linux-4.1.27/tools/hv/
H A Dhv_kvp_daemon.c592 * Retrieve an interface name corresponding to the specified guid.
599 static char *kvp_get_if_name(char *guid) kvp_get_if_name() argument
635 if (!strcmp(p, guid)) { kvp_get_if_name()
637 * Found the guid match; return the interface kvp_get_if_name()
1644 * We could not map the guid to an main()
/linux-4.1.27/drivers/net/usb/
H A Dzaurus.c178 dev_dbg(&intf->dev, "MDLM guid\n"); blan_mdlm_bind()
/linux-4.1.27/drivers/firmware/efi/libstub/
H A Dfdt.c337 if (efi_guidcmp(tables[i].guid, fdt_guid) == 0) { get_fdt()
/linux-4.1.27/drivers/hid/
H A Dhid-hyperv.c589 /* Mouse guid */
/linux-4.1.27/include/uapi/linux/
H A Dnvme.h188 __u8 guid[16]; member in struct:nvme_lba_range_type
/linux-4.1.27/arch/ia64/hp/sim/boot/
H A Dfw-emu.c304 efi_tables->guid = SAL_SYSTEM_TABLE_GUID; sys_fw_init()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad_bsg.h210 char guid[BFA_ADAPTER_SYM_NAME_LEN*2]; member in struct:bfa_bsg_ioc_info_s
/linux-4.1.27/drivers/char/ipmi/
H A Dipmi_msghandler.c198 unsigned char guid[16]; member in struct:bmc_device
2206 return memcmp(bmc->guid, id, 16) == 0; __find_bmc_guid()
2210 unsigned char *guid) ipmi_find_bmc_guid()
2214 dev = driver_find_device(drv, NULL, guid, __find_bmc_guid); ipmi_find_bmc_guid()
2359 (long long) bmc->guid[0], guid_show()
2360 (long long) bmc->guid[8]); guid_show()
2362 static DEVICE_ATTR(guid, S_IRUGO, guid_show, NULL);
2450 old_bmc = ipmi_find_bmc_guid(&ipmidriver.driver, bmc->guid); ipmi_bmc_register()
2625 memcpy(intf->bmc->guid, msg->msg.data, 16); guid_handler()
2209 ipmi_find_bmc_guid(struct device_driver *drv, unsigned char *guid) ipmi_find_bmc_guid() argument
/linux-4.1.27/include/linux/mlx4/
H A Ddevice.h1348 void mlx4_set_admin_guid(struct mlx4_dev *dev, __be64 guid, int entry,
1377 void mlx4_put_slave_node_guid(struct mlx4_dev *dev, int slave, __be64 guid);
/linux-4.1.27/drivers/usb/gadget/function/
H A Duvc_configfs.c1549 static char guid[] = { uvcg_uncompressed_make() local
1562 memcpy(h->desc.guidFormat, guid, sizeof(guid)); uvcg_uncompressed_make()
/linux-4.1.27/drivers/net/hyperv/
H A Dnetvsc_drv.c970 /* Network guid */
/linux-4.1.27/drivers/scsi/
H A Dstorvsc_drv.c1723 /* SCSI guid */
1727 /* IDE guid */
/linux-4.1.27/fs/cifs/
H A Dcifssmb.c371 char *guid = pSMBr->u.extended_response.GUID; decode_ext_sec_blob() local
381 if (memcmp(server->server_GUID, guid, SMB1_CLIENT_GUID_SIZE) != 0) { decode_ext_sec_blob()
383 memcpy(server->server_GUID, guid, SMB1_CLIENT_GUID_SIZE); decode_ext_sec_blob()
387 memcpy(server->server_GUID, guid, SMB1_CLIENT_GUID_SIZE); decode_ext_sec_blob()
H A Dsmb2pdu.c506 /* do not validate server guid because not saved at negprot time yet */ smb3_validate_negotiate()
/linux-4.1.27/net/netfilter/
H A Dnf_conntrack_h323_types.c1098 {FNAME("guid") OCTSTR, FIXD, 16, 0, SKIP, 0, NULL},

Completed in 2987 milliseconds