Home
last modified time | relevance | path

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

/linux-4.4.14/fs/efivarfs/
Dinode.c84 static void efivarfs_hex_to_guid(const char *str, efi_guid_t *guid) in efivarfs_hex_to_guid() argument
86 guid->b[0] = hex_to_bin(str[6]) << 4 | hex_to_bin(str[7]); in efivarfs_hex_to_guid()
87 guid->b[1] = hex_to_bin(str[4]) << 4 | hex_to_bin(str[5]); in efivarfs_hex_to_guid()
88 guid->b[2] = hex_to_bin(str[2]) << 4 | hex_to_bin(str[3]); in efivarfs_hex_to_guid()
89 guid->b[3] = hex_to_bin(str[0]) << 4 | hex_to_bin(str[1]); in efivarfs_hex_to_guid()
90 guid->b[4] = hex_to_bin(str[11]) << 4 | hex_to_bin(str[12]); in efivarfs_hex_to_guid()
91 guid->b[5] = hex_to_bin(str[9]) << 4 | hex_to_bin(str[10]); in efivarfs_hex_to_guid()
92 guid->b[6] = hex_to_bin(str[16]) << 4 | hex_to_bin(str[17]); in efivarfs_hex_to_guid()
93 guid->b[7] = hex_to_bin(str[14]) << 4 | hex_to_bin(str[15]); in efivarfs_hex_to_guid()
94 guid->b[8] = hex_to_bin(str[19]) << 4 | hex_to_bin(str[20]); in efivarfs_hex_to_guid()
[all …]
Dsuper.c53 int guid = len - EFI_VARIABLE_GUID_LEN; in efivarfs_d_compare() local
59 if (memcmp(str, name->name, guid)) in efivarfs_d_compare()
63 return strncasecmp(name->name + guid, str + guid, EFI_VARIABLE_GUID_LEN); in efivarfs_d_compare()
/linux-4.4.14/drivers/platform/x86/
Ddell-wmi-aio.c180 const char *guid; in dell_wmi_aio_init() local
182 guid = dell_wmi_aio_find(); in dell_wmi_aio_init()
183 if (!guid) { in dell_wmi_aio_init()
192 err = wmi_install_notify_handler(guid, dell_wmi_aio_notify, NULL); in dell_wmi_aio_init()
205 const char *guid; in dell_wmi_aio_exit() local
207 guid = dell_wmi_aio_find(); in dell_wmi_aio_exit()
208 wmi_remove_notify_handler(guid); in dell_wmi_aio_exit()
Dwmi.c51 char guid[16]; member
211 if (memcmp(block->guid, guid_input, 16) == 0) { in find_guid()
432 pr_info("%pUL:\n", g->guid); in wmi_dump_wdg()
496 acpi_status wmi_install_notify_handler(const char *guid, in wmi_install_notify_handler() argument
504 if (!guid || !handler) in wmi_install_notify_handler()
507 wmi_parse_guid(guid, tmp); in wmi_install_notify_handler()
514 if (memcmp(block->gblock.guid, guid_input, 16) == 0) { in wmi_install_notify_handler()
538 acpi_status wmi_remove_notify_handler(const char *guid) in wmi_remove_notify_handler() argument
545 if (!guid) in wmi_remove_notify_handler()
548 wmi_parse_guid(guid, tmp); in wmi_remove_notify_handler()
[all …]
Dmsi-wmi.c91 const char *guid; member
303 if (!wmi_has_guid(event_wmis[i].guid)) in msi_wmi_init()
312 err = wmi_install_notify_handler(event_wmis[i].guid, in msi_wmi_init()
343 wmi_remove_notify_handler(event_wmi->guid); in msi_wmi_init()
355 wmi_remove_notify_handler(event_wmi->guid); in msi_wmi_exit()
Dalienware-wmi.c218 char *guid; in alienware_update_led() local
226 guid = WMAX_CONTROL_GUID; in alienware_update_led()
237 guid = LEGACY_POWER_CONTROL_GUID; in alienware_update_led()
240 guid = LEGACY_CONTROL_GUID; in alienware_update_led()
246 pr_debug("alienware-wmi: guid %s method %d\n", guid, method_id); in alienware_update_led()
248 status = wmi_evaluate_method(guid, 1, method_id, &input, NULL); in alienware_update_led()
/linux-4.4.14/arch/ia64/kernel/
Desi.c40 efi_guid_t guid; member
61 if (efi_guidcmp(config_tables[i].guid, ESI_TABLE_GUID) == 0) { in esi_init()
100 int ia64_esi_call (efi_guid_t guid, struct ia64_sal_retval *isrvp, in ia64_esi_call() argument
117 if (!efi_guidcmp(guid, esi->guid)) { in ia64_esi_call()
152 int ia64_esi_call_phys (efi_guid_t guid, struct ia64_sal_retval *isrvp, in ia64_esi_call_phys() argument
169 if (!efi_guidcmp(guid, esi->guid)) { in ia64_esi_call_phys()
Dmca_drv.c261 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()
Defi.c926 efi_guid_t guid = EFI_GLOBAL_VARIABLE_GUID; in efi_uart_console_only() local
940 status = efi.get_variable(name_utf16, &guid, NULL, &size, data); in efi_uart_console_only()
/linux-4.4.14/fs/squashfs/
Dsquashfs_fs.h278 __le16 guid; member
287 __le16 guid; member
297 __le16 guid; member
308 __le16 guid; member
319 __le16 guid; member
331 __le16 guid; member
343 __le16 guid; member
357 __le16 guid; member
374 __le16 guid; member
388 __le16 guid; member
Dinode.c67 err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->guid), &i_gid); in squashfs_new_inode()
/linux-4.4.14/drivers/staging/unisys/visorbus/
Dvisorchannel.c42 uuid_le guid; member
65 uuid_le guid, bool needs_lock) in visorchannel_create_guts() argument
90 if (uuid_le_cmp(guid, spar_video_guid)) { in visorchannel_create_guts()
113 if (uuid_le_cmp(guid, NULL_UUID_LE) == 0) in visorchannel_create_guts()
114 guid = channel->chan_hdr.chtype; in visorchannel_create_guts()
123 if (uuid_le_cmp(guid, spar_video_guid)) { in visorchannel_create_guts()
139 channel->guid = guid; in visorchannel_create_guts()
149 gfp_t gfp, uuid_le guid) in visorchannel_create() argument
151 return visorchannel_create_guts(physaddr, channel_bytes, gfp, 0, guid, in visorchannel_create()
158 gfp_t gfp, uuid_le guid) in visorchannel_create_with_lock() argument
[all …]
Dvisorbus_main.c83 uuid_le guid; in modalias_show() local
86 guid = visorchannel_get_uuid(vdev->visorchannel); in modalias_show()
87 return snprintf(buf, PAGE_SIZE, "visorbus:%pUl\n", &guid); in modalias_show()
167 uuid_le guid; in visorbus_uevent() local
170 guid = visorchannel_get_uuid(dev->visorchannel); in visorbus_uevent()
172 if (add_uevent_var(env, "MODALIAS=visorbus:%pUl", &guid)) in visorbus_uevent()
203 (uuid_le_cmp(drv->channel_types[i].guid, NULL_UUID_LE) != 0) || in visorbus_match()
206 if (uuid_le_cmp(drv->channel_types[i].guid, in visorbus_match()
1172 if (memcmp(&visordrv->channel_types[i].guid, in fix_vbus_dev_info()
1174 sizeof(visordrv->channel_types[i].guid)) == 0) { in fix_vbus_dev_info()
[all …]
/linux-4.4.14/include/linux/
Dhyperv.h1012 .guid = { g0, g1, g2, g3, g4, g5, g6, g7, \
1024 .guid = { \
1034 .guid = { \
1044 .guid = { \
1054 .guid = { \
1064 .guid = { \
1074 .guid = { \
1084 .guid = { \
1094 .guid = { \
1104 .guid = { \
[all …]
Dacpi.h259 extern acpi_status wmi_evaluate_method(const char *guid, u8 instance,
263 extern acpi_status wmi_query_block(const char *guid, u8 instance,
265 extern acpi_status wmi_set_block(const char *guid, u8 instance,
267 extern acpi_status wmi_install_notify_handler(const char *guid,
269 extern acpi_status wmi_remove_notify_handler(const char *guid);
271 extern bool wmi_has_guid(const char *guid);
Defi.h119 efi_guid_t guid; member
603 efi_guid_t guid; member
608 efi_guid_t guid; member
613 efi_guid_t guid; member
618 efi_guid_t guid; member
872 efi_guid_to_str(efi_guid_t *guid, char *out) in efi_guid_to_str() argument
874 sprintf(out, "%pUl", guid->b); in efi_guid_to_str()
1199 struct efivar_entry *efivar_entry_find(efi_char16_t *name, efi_guid_t guid,
Dmod_devicetable.h407 __u8 guid[16]; member
Dfirewire.h100 unsigned long long guid; member
Dnvme.h248 __u8 guid[16]; member
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_sysfs.c285 u8 *guid; in show_guid() local
287 guid = (u8 *) & (dd->ipath_guid); in show_guid()
291 guid[0], guid[1], guid[2], guid[3], in show_guid()
292 guid[4], guid[5], guid[6], guid[7]); in show_guid()
302 unsigned short guid[8]; in store_guid() local
308 &guid[0], &guid[1], &guid[2], &guid[3], in store_guid()
309 &guid[4], &guid[5], &guid[6], &guid[7]) != 8) in store_guid()
315 if (guid[i] > 0xff) in store_guid()
317 ng[i] = guid[i]; in store_guid()
1078 static DEVICE_ATTR(guid, S_IWUSR | S_IRUGO, show_guid, store_guid);
Dipath_eeprom.c710 __be64 guid; in ipath_get_eeprom_info() local
799 guid = *(__be64 *) ifp->if_guid; in ipath_get_eeprom_info()
803 guid = *(__be64 *) ifp->if_guid; in ipath_get_eeprom_info()
804 dd->ipath_guid = guid; in ipath_get_eeprom_info()
/linux-4.4.14/drivers/firmware/efi/
Defi.c374 static __init int match_config_table(efi_guid_t *guid, in match_config_table() argument
381 for (i = 0; efi_guidcmp(table_types[i].guid, NULL_GUID); i++) { in match_config_table()
382 if (!efi_guidcmp(*guid, table_types[i].guid)) { in match_config_table()
403 efi_guid_t guid; in efi_config_parse_tables() local
408 guid = ((efi_config_table_64_t *)tablep)->guid; in efi_config_parse_tables()
419 guid = ((efi_config_table_32_t *)tablep)->guid; in efi_config_parse_tables()
423 if (!match_config_table(&guid, table, common_tables)) in efi_config_parse_tables()
424 match_config_table(&guid, table, arch_tables); in efi_config_parse_tables()
Dvars.c791 struct efivar_entry *efivar_entry_find(efi_char16_t *name, efi_guid_t guid, in efivar_entry_find() argument
805 !efi_guidcmp(guid, entry->var.VendorGuid)) { in efivar_entry_find()
Defivars.c393 static EFIVAR_ATTR(guid, 0400, efivar_guid_read, NULL);
/linux-4.4.14/drivers/infiniband/hw/ocrdma/
Docrdma_main.c68 void ocrdma_get_guid(struct ocrdma_dev *dev, u8 *guid) in ocrdma_get_guid() argument
73 guid[0] = mac_addr[0] ^ 2; in ocrdma_get_guid()
74 guid[1] = mac_addr[1]; in ocrdma_get_guid()
75 guid[2] = mac_addr[2]; in ocrdma_get_guid()
76 guid[3] = 0xff; in ocrdma_get_guid()
77 guid[4] = 0xfe; in ocrdma_get_guid()
78 guid[5] = mac_addr[3]; in ocrdma_get_guid()
79 guid[6] = mac_addr[4]; in ocrdma_get_guid()
80 guid[7] = mac_addr[5]; in ocrdma_get_guid()
Docrdma_verbs.h63 void ocrdma_get_guid(struct ocrdma_dev *, u8 *guid);
/linux-4.4.14/arch/x86/platform/efi/
Dquirks.c235 efi_guid_t guid; in efi_reuse_config() local
237 guid = ((efi_config_table_64_t *)p)->guid; in efi_reuse_config()
239 if (!efi_guidcmp(guid, SMBIOS_TABLE_GUID)) in efi_reuse_config()
/linux-4.4.14/Documentation/misc-devices/mei/
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-4.4.14/arch/ia64/sn/kernel/
Dmca.c121 efi_guid_t guid = *(efi_guid_t *)sect_header; in sn_salinfo_platform_oemdata() local
126 if (efi_guidcmp(guid, SAL_PLAT_SPECIFIC_ERR_SECT_GUID) == 0) { in sn_salinfo_platform_oemdata()
129 } else if (efi_guidcmp(guid, SAL_PLAT_MEM_DEV_ERR_SECT_GUID) == 0) { in sn_salinfo_platform_oemdata()
Dsetup.c173 if (efi_guidcmp(config_tables[i].guid, SAL_SYSTEM_TABLE_GUID) == in early_sn_setup()
/linux-4.4.14/drivers/staging/unisys/include/
Dvisorbus.h60 const uuid_le guid; member
189 gfp_t gfp, uuid_le guid);
192 gfp_t gfp, uuid_le guid);
217 char *visorchannel_uuid_id(uuid_le *guid, char *s);
Dchannel.h262 uuid_le guid; in spar_check_channel_client() local
264 memcpy_fromio(&guid, in spar_check_channel_client()
266 sizeof(guid)); in spar_check_channel_client()
268 if (uuid_le_cmp(guid, expected_uuid) != 0) { in spar_check_channel_client()
271 &expected_uuid, &guid); in spar_check_channel_client()
/linux-4.4.14/drivers/target/sbp/
Dsbp_target.c67 static int read_peer_guid(u64 *guid, const struct sbp_management_request *req) in read_peer_guid() argument
86 *guid = (u64)be32_to_cpu(high) << 32 | be32_to_cpu(low); in read_peer_guid()
92 struct sbp_tpg *tpg, u64 guid) in sbp_session_find_by_guid() argument
100 if (sess->guid == guid) in sbp_session_find_by_guid()
196 u64 guid) in sbp_session_create() argument
218 snprintf(guid_str, sizeof(guid_str), "%016llx", guid); in sbp_session_create()
236 sess->guid = guid; in sbp_session_create()
298 u64 guid; in sbp_management_request_login() local
314 ret = read_peer_guid(&guid, req); in sbp_management_request_login()
325 unpacked_lun, guid); in sbp_management_request_login()
[all …]
Dsbp_target.h143 u64 guid; /* login_owner_EUI_64 */ member
165 u64 guid; member
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_eeprom.c148 __be64 guid; in qib_get_eeprom_info() local
237 guid = *(__be64 *) ifp->if_guid; in qib_get_eeprom_info()
239 guid = *(__be64 *) ifp->if_guid; in qib_get_eeprom_info()
240 dd->base_guid = guid; in qib_get_eeprom_info()
Dqib_ruc.c250 return ppd->guid; in get_sguid()
271 __be64 guid; in qib_ruc_check_hdr() local
281 guid = get_sguid(ibp, qp->alt_ah_attr.grh.sgid_index); in qib_ruc_check_hdr()
282 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) in qib_ruc_check_hdr()
312 guid = get_sguid(ibp, in qib_ruc_check_hdr()
314 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) in qib_ruc_check_hdr()
668 ibp->guids[grh->sgid_index - 1] : ppd_from_ibp(ibp)->guid; in qib_make_grh()
Dqib_mad.c287 dd->pport[pidx].guid == 0) in subn_get_nodeinfo()
290 nip->port_guid = dd->pport[pidx].guid; in subn_get_nodeinfo()
298 nip->node_guid = dd->pport->guid; /* Use first-port GUID as node */ in subn_get_nodeinfo()
328 __be64 g = ppd->guid; in subn_get_guidinfo()
Dqib_iba7220.c1540 u64 val, prev_val, guid, ibc; in qib_7220_bringup_serdes() local
1634 if (!ppd->guid) in qib_7220_bringup_serdes()
1635 ppd->guid = dd->base_guid; in qib_7220_bringup_serdes()
1636 guid = be64_to_cpu(ppd->guid); in qib_7220_bringup_serdes()
1638 qib_write_kreg(dd, kr_hrtbt_guid, guid); in qib_7220_bringup_serdes()
Dqib_verbs.c1743 gid->global.interface_id = ppd->guid; in qib_query_gid()
2187 ib_qib_sys_image_guid = ppd->guid; in qib_register_ib_device()
2191 ibdev->node_guid = ppd->guid; in qib_register_ib_device()
Dqib_iba7322.c2388 u64 val, guid, ibc; in qib_7322_bringup_serdes() local
2490 guid = be64_to_cpu(ppd->guid); in qib_7322_bringup_serdes()
2491 if (!guid) { in qib_7322_bringup_serdes()
2493 guid = be64_to_cpu(dd->base_guid) + ppd->port - 1; in qib_7322_bringup_serdes()
2494 ppd->guid = cpu_to_be64(guid); in qib_7322_bringup_serdes()
2497 qib_write_kreg_port(ppd, krp_hrtbt_guid, guid); in qib_7322_bringup_serdes()
Dqib.h547 __be64 guid; member
Dqib_iba6120.c1353 ppd->guid = dd->base_guid; in qib_6120_bringup_serdes()
/linux-4.4.14/drivers/firmware/google/
Dgsmi.c100 efi_guid_t guid; member
108 u8 guid[GSMI_GUID_SIZE]; member
313 memcpy(&param.guid, vendor, sizeof(param.guid)); in gsmi_get_variable()
379 memcpy(&param.guid, vendor, sizeof(param.guid)); in gsmi_get_next_variable()
404 memcpy(vendor, &param.guid, sizeof(param.guid)); in gsmi_get_next_variable()
438 memcpy(&param.guid, vendor, sizeof(param.guid)); in gsmi_set_variable()
/linux-4.4.14/include/drm/
Ddrm_dp_mst_helper.h132 u8 guid[16]; member
150 u8 guid[16]; member
156 u8 guid[16]; member
233 u8 guid[16]; member
300 u8 guid[16]; member
/linux-4.4.14/drivers/media/usb/uvc/
Duvc_driver.c48 .guid = UVC_GUID_FORMAT_YUY2,
53 .guid = UVC_GUID_FORMAT_YUY2_ISIGHT,
58 .guid = UVC_GUID_FORMAT_NV12,
63 .guid = UVC_GUID_FORMAT_MJPEG,
68 .guid = UVC_GUID_FORMAT_YV12,
73 .guid = UVC_GUID_FORMAT_I420,
78 .guid = UVC_GUID_FORMAT_M420,
83 .guid = UVC_GUID_FORMAT_UYVY,
88 .guid = UVC_GUID_FORMAT_Y800,
93 .guid = UVC_GUID_FORMAT_Y8,
[all …]
Duvc_ctrl.c834 const __u8 guid[16]) in uvc_entity_match_guid()
838 return memcmp(uvc_camera_guid, guid, 16) == 0; in uvc_entity_match_guid()
841 return memcmp(uvc_media_transport_input_guid, guid, 16) == 0; in uvc_entity_match_guid()
844 return memcmp(uvc_processing_guid, guid, 16) == 0; in uvc_entity_match_guid()
848 guid, 16) == 0; in uvc_entity_match_guid()
Duvcvideo.h224 __u8 guid[16]; member
/linux-4.4.14/sound/firewire/bebob/
Dbebob_proc.c16 u32 guid[2]; member
55 info->guid[0], info->guid[1]); in proc_read_hw_info()
Dbebob_hwdep.c83 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info()
84 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_dp_mst_topology.c62 u8 *guid);
371 memcpy(repmsg->u.link_addr.guid, &raw->msg[idx], 16); in drm_dp_sideband_parse_link_address()
540 memcpy(msg->u.nak.guid, &raw->msg[1], 16); in drm_dp_sideband_parse_reply()
577 memcpy(msg->u.conn_stat.guid, &raw->msg[idx], 16); in drm_dp_sideband_parse_connection_status_notify()
604 memcpy(msg->u.resource_stat.guid, &raw->msg[idx], 16); in drm_dp_sideband_parse_resource_status_notify()
1039 static void drm_dp_check_mstb_guid(struct drm_dp_mst_branch *mstb, u8 *guid) in drm_dp_check_mstb_guid() argument
1043 memcpy(mstb->guid, guid, 16); in drm_dp_check_mstb_guid()
1045 if (!drm_dp_validate_guid(mstb->mgr, mstb->guid)) { in drm_dp_check_mstb_guid()
1052 mstb->guid); in drm_dp_check_mstb_guid()
1058 mstb->guid, in drm_dp_check_mstb_guid()
[all …]
/linux-4.4.14/drivers/firewire/
Dcore-card.c126 config_rom[3] = cpu_to_be32(card->guid >> 32); in generate_config_rom()
127 config_rom[4] = cpu_to_be32(card->guid); in generate_config_rom()
560 u32 max_receive, u32 link_speed, u64 guid) in fw_card_add() argument
566 card->guid = guid; in fw_card_add()
Dnet.c174 u64 guid; member
447 u64 guid) in fwnet_peer_find_by_guid() argument
452 if (peer->guid == guid) in fwnet_peer_find_by_guid()
488 __be64 guid; in fwnet_finish_incoming_packet() local
510 guid = cpu_to_be64(dev->card->guid); in fwnet_finish_incoming_packet()
1279 __be64 guid = get_unaligned(&ha->uc.uniq_id); in fwnet_tx() local
1282 peer = fwnet_peer_find_by_guid(dev, be64_to_cpu(guid)); in fwnet_tx()
1410 peer->guid = (u64)device->config_rom[3] << 32 | device->config_rom[4]; in fwnet_add_peer()
1487 put_unaligned_be64(card->guid, &ha->uc.uniq_id); in fwnet_probe()
Dcore.h118 u32 max_receive, u32 link_speed, u64 guid);
Dsbp2.c169 u64 guid; member
1013 tgt->guid = (u64)leaf[1] << 32 | leaf[2]; in sbp2_get_unit_unique_id()
1160 tgt->guid = (u64)device->config_rom[3] << 32 | device->config_rom[4]; in sbp2_probe()
1592 (unsigned long long)lu->tgt->guid, in sbp2_sysfs_ieee1394_id_show()
Dohci.c3565 u64 guid; in pci_probe() local
3700 guid = ((u64) reg_read(ohci, OHCI1394_GUIDHi) << 32) | in pci_probe()
3713 err = fw_card_add(&ohci->card, max_receive, link_speed, guid); in pci_probe()
3842 reg_write(ohci, OHCI1394_GUIDLo, (u32)ohci->card.guid); in pci_resume()
3843 reg_write(ohci, OHCI1394_GUIDHi, (u32)(ohci->card.guid >> 32)); in pci_resume()
Dcore-device.c482 __ATTR_RO(guid),
/linux-4.4.14/sound/firewire/oxfw/
Doxfw-hwdep.c81 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info()
82 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-hwdep.c89 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info()
90 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
/linux-4.4.14/sound/firewire/dice/
Ddice-hwdep.c81 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info()
82 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
/linux-4.4.14/sound/firewire/tascam/
Dtascam-hwdep.c90 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info()
91 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
/linux-4.4.14/Documentation/ABI/stable/
Dsysfs-firmware-efi-vars17 directory has a name of the form "<key>-<vendor guid>"
36 guid: The vendor GUID of the variable. This
Dsysfs-bus-firewire14 guid
/linux-4.4.14/drivers/staging/unisys/visorinput/
Dvisorinput.c400 uuid_le guid; in visorinput_probe() local
403 guid = visorchannel_get_uuid(dev->visorchannel); in visorinput_probe()
404 if (uuid_le_cmp(guid, spar_mouse_channel_protocol_uuid) == 0) in visorinput_probe()
406 else if (uuid_le_cmp(guid, spar_keyboard_channel_protocol_uuid) == 0) in visorinput_probe()
/linux-4.4.14/include/uapi/sound/
Dfirewire.h73 unsigned char guid[8]; member
/linux-4.4.14/drivers/hv/
Dvmbus_drv.c116 #define VMBUS_ALIAS_LEN ((sizeof((struct hv_vmbus_device_id *)0)->guid) * 2)
534 static inline bool is_null_guid(const __u8 *guid) in is_null_guid() argument
536 if (memcmp(guid, &null_guid, sizeof(uuid_le))) in is_null_guid()
547 const __u8 *guid) in hv_vmbus_get_id() argument
549 for (; !is_null_guid(id->guid); id++) in hv_vmbus_get_id()
550 if (!memcmp(&id->guid, guid, sizeof(uuid_le))) in hv_vmbus_get_id()
Dchannel_mgmt.c408 if (!memcmp(type_guid->b, hp_devs[i].guid, in init_vp_index()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Druc.c269 return cpu_to_be64(ppd->guid); in get_sguid()
290 __be64 guid; in hfi1_ruc_check_hdr() local
301 guid = get_sguid(ibp, qp->alt_ah_attr.grh.sgid_index); in hfi1_ruc_check_hdr()
302 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) in hfi1_ruc_check_hdr()
332 guid = get_sguid(ibp, in hfi1_ruc_check_hdr()
334 if (!gid_ok(&hdr->u.l.grh.dgid, ibp->gid_prefix, guid)) in hfi1_ruc_check_hdr()
691 cpu_to_be64(ppd_from_ibp(ibp)->guid); in hfi1_make_grh()
Dverbs.c1596 gid->global.interface_id = cpu_to_be64(ppd->guid); in query_gid()
1994 ib_hfi1_sys_image_guid = cpu_to_be64(ppd->guid); in hfi1_register_ib_device()
1998 ibdev->node_guid = cpu_to_be64(ppd->guid); in hfi1_register_ib_device()
Dmad.c325 if (am || pidx >= dd->num_pports || dd->pport[pidx].guid == 0) { in __subn_get_opa_nodeinfo()
330 ni->port_guid = cpu_to_be64(dd->pport[pidx].guid); in __subn_get_opa_nodeinfo()
338 ni->node_guid = cpu_to_be64(dd->pport->guid); in __subn_get_opa_nodeinfo()
362 dd->pport[pidx].guid == 0) in subn_get_nodeinfo()
365 nip->port_guid = cpu_to_be64(dd->pport[pidx].guid); in subn_get_nodeinfo()
374 nip->node_guid = cpu_to_be64(dd->pport->guid); in subn_get_nodeinfo()
Dhfi.h561 u64 guid; member
Dchip.c5862 u64 guid; in bringup_serdes() local
5868 guid = ppd->guid; in bringup_serdes()
5869 if (!guid) { in bringup_serdes()
5871 guid = dd->base_guid + ppd->port - 1; in bringup_serdes()
5872 ppd->guid = guid; in bringup_serdes()
Ddiag.c1113 link_info.node_guid = cpu_to_be64(ppd->guid); in hfi1_ioctl()
/linux-4.4.14/drivers/infiniband/ulp/srpt/
Dib_dm_mad.h101 __be64 guid; member
Dib_srpt.c343 iocp->guid = cpu_to_be64(srpt_service_guid); in srpt_get_ioc()
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_hwdep.c181 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info()
182 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
/linux-4.4.14/drivers/staging/fwserial/
Dfwserial.c1469 peer->max_payload, (unsigned long long) peer->guid); in fwtty_debugfs_show_peer()
1518 (unsigned long long) serial->card->guid); in fwtty_debugfs_peers_show()
1708 (unsigned long long)peer->guid, dev_name(port->device)); in fwserial_virt_plug_complete()
1990 (unsigned long long) card->guid); in __fwserial_peer_by_node_id()
2020 g, peer->node_id, (unsigned long long) peer->guid); in __dump_peer_list()
2077 peer->guid = (u64)parent->config_rom[3] << 32 | parent->config_rom[4]; in fwserial_add_peer()
2116 (unsigned long long)peer->guid); in fwserial_add_peer()
2180 (unsigned long long)peer->guid); in fwserial_remove_peer()
2317 dev_name(card->device), (unsigned long long) card->guid); in fwserial_create()
2576 if (peer->serial->card->guid > peer->guid) in fwserial_handle_plug_req()
[all …]
Dfwserial.h78 u64 guid; member
/linux-4.4.14/block/partitions/
Dldm.h173 u8 guid[16]; member
Dldm.c1161 memcpy(volu->guid, buffer + 0x42 + r_size, sizeof(volu->guid)); in ldm_parse_vol5()
/linux-4.4.14/arch/ia64/include/asm/
Dsal.h353 efi_guid_t guid; /* Unique Section ID */ member
596 guid : 1, member
601 efi_guid_t guid; member
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dalias_GUID.c584 __be64 guid; in mlx4_ib_guid_port_init() local
594 guid = mlx4_get_admin_guid(dev->dev, entry, port); in mlx4_ib_guid_port_init()
597 [GUID_REC_SIZE * k] = guid; in mlx4_ib_guid_port_init()
600 be64_to_cpu(guid), in mlx4_ib_guid_port_init()
Dmlx4_ib.h797 int mlx4_ib_find_real_gid(struct ib_device *ibdev, u8 port, __be64 guid);
Dmad.c401 int mlx4_ib_find_real_gid(struct ib_device *ibdev, u8 port, __be64 guid) in mlx4_ib_find_real_gid() argument
407 if (dev->sriov.demux[port - 1].guid_cache[i] == guid) in mlx4_ib_find_real_gid()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmain.c718 void mlx4_put_slave_node_guid(struct mlx4_dev *dev, int slave, __be64 guid) in mlx4_put_slave_node_guid() argument
725 priv->slave_node_guids[slave] = guid; in mlx4_put_slave_node_guid()
2404 void mlx4_set_admin_guid(struct mlx4_dev *dev, __be64 guid, int entry, int port) in mlx4_set_admin_guid() argument
2408 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; in mlx4_set_admin_guid()
2416 return priv->mfunc.master.vf_admin[entry].vport[port].guid; in mlx4_get_admin_guid()
2423 __be64 guid; in mlx4_set_random_admin_guid() local
2429 get_random_bytes((char *)&guid, sizeof(guid)); in mlx4_set_random_admin_guid()
2430 guid &= ~(cpu_to_be64(1ULL << 56)); in mlx4_set_random_admin_guid()
2431 guid |= cpu_to_be64(1ULL << 57); in mlx4_set_random_admin_guid()
2432 priv->mfunc.master.vf_admin[entry].vport[port].guid = guid; in mlx4_set_random_admin_guid()
Dcmd.c963 __be64 guid = mlx4_get_admin_guid(dev, slave, in mlx4_MAD_IFC_wrapper() local
969 if (slave == 0 && guid == 0) { in mlx4_MAD_IFC_wrapper()
985 memcpy(outsmp->data, &guid, 8); in mlx4_MAD_IFC_wrapper()
Dmlx4.h513 __be64 guid; member
/linux-4.4.14/drivers/firmware/efi/libstub/
Dfdt.c328 if (efi_guidcmp(tables[i].guid, fdt_guid) == 0) { in get_fdt()
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-firmware-efi-esrt46 Description: This is the entry's guid, and will match the directory name.
/linux-4.4.14/scripts/mod/
Dfile2alias.c916 DEF_FIELD_ADDR(symval, hv_vmbus_device_id, guid); in do_vmbus_entry()
917 char guid_name[(sizeof(*guid) + 1) * 2]; in do_vmbus_entry()
919 for (i = 0; i < (sizeof(*guid) * 2); i += 2) in do_vmbus_entry()
920 sprintf(&guid_name[i], "%02x", TO_NATIVE((*guid)[i/2])); in do_vmbus_entry()
Ddevicetable-offsets.c139 DEVID_FIELD(hv_vmbus_device_id, guid); in main()
/linux-4.4.14/drivers/input/serio/
Dhyperv-keyboard.c420 .guid = { \
/linux-4.4.14/drivers/char/ipmi/
Dipmi_msghandler.c198 unsigned char guid[16]; member
2212 return memcmp(bmc->guid, id, 16) == 0; in __find_bmc_guid()
2216 unsigned char *guid) in ipmi_find_bmc_guid() argument
2220 dev = driver_find_device(drv, NULL, guid, __find_bmc_guid); in ipmi_find_bmc_guid()
2365 (long long) bmc->guid[0], in guid_show()
2366 (long long) bmc->guid[8]); in guid_show()
2368 static DEVICE_ATTR(guid, S_IRUGO, guid_show, NULL);
2456 old_bmc = ipmi_find_bmc_guid(&ipmidriver.driver, bmc->guid); in ipmi_bmc_register()
2631 memcpy(intf->bmc->guid, msg->msg.data, 16); in guid_handler()
/linux-4.4.14/arch/ia64/hp/sim/boot/
Dfw-emu.c304 efi_tables->guid = SAL_SYSTEM_TABLE_GUID; in sys_fw_init()
/linux-4.4.14/tools/hv/
Dhv_kvp_daemon.c597 static char *kvp_get_if_name(char *guid) in kvp_get_if_name() argument
633 if (!strcmp(p, guid)) { in kvp_get_if_name()
/linux-4.4.14/include/linux/mlx4/
Ddevice.h1387 void mlx4_set_admin_guid(struct mlx4_dev *dev, __be64 guid, int entry,
1416 void mlx4_put_slave_node_guid(struct mlx4_dev *dev, int slave, __be64 guid);
/linux-4.4.14/drivers/scsi/bfa/
Dbfad_bsg.h210 char guid[BFA_ADAPTER_SYM_NAME_LEN*2]; member
/linux-4.4.14/drivers/usb/gadget/function/
Duvc_configfs.c1476 static char guid[] = { in uvcg_uncompressed_make() local
1489 memcpy(h->desc.guidFormat, guid, sizeof(guid)); in uvcg_uncompressed_make()
/linux-4.4.14/fs/cifs/
Dcifssmb.c371 char *guid = pSMBr->u.extended_response.GUID; in decode_ext_sec_blob() local
381 if (memcmp(server->server_GUID, guid, SMB1_CLIENT_GUID_SIZE) != 0) { in decode_ext_sec_blob()
383 memcpy(server->server_GUID, guid, SMB1_CLIENT_GUID_SIZE); in decode_ext_sec_blob()
387 memcpy(server->server_GUID, guid, SMB1_CLIENT_GUID_SIZE); in decode_ext_sec_blob()