Home
last modified time | relevance | path

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

123

/drivers/staging/unisys/visorbus/
Dvisorchannel.c41 uuid_le guid; member
83 visorchannel_uuid_id(uuid_le *guid, char *s) in visorchannel_uuid_id() argument
85 sprintf(s, "%pUL", guid); in visorchannel_uuid_id()
92 return visorchannel_uuid_id(&channel->guid, s); in visorchannel_id()
124 return channel->guid; in visorchannel_get_uuid()
392 gfp_t gfp, uuid_le guid, bool needs_lock) in visorchannel_create_guts() argument
418 if (uuid_le_cmp(guid, spar_video_guid)) { in visorchannel_create_guts()
441 if (uuid_le_cmp(guid, NULL_UUID_LE) == 0) in visorchannel_create_guts()
442 guid = channel->chan_hdr.chtype; in visorchannel_create_guts()
451 if (uuid_le_cmp(guid, spar_video_guid)) { in visorchannel_create_guts()
[all …]
Dvisorbus_private.h67 gfp_t gfp, uuid_le guid);
70 gfp_t gfp, uuid_le guid);
83 char *visorchannel_uuid_id(uuid_le *guid, char *s);
Dvisorbus_main.c46 uuid_le guid; in modalias_show() local
49 guid = visorchannel_get_uuid(vdev->visorchannel); in modalias_show()
50 return snprintf(buf, PAGE_SIZE, "visorbus:%pUl\n", &guid); in modalias_show()
83 uuid_le guid; in visorbus_uevent() local
86 guid = visorchannel_get_uuid(dev->visorchannel); in visorbus_uevent()
88 if (add_uevent_var(env, "MODALIAS=visorbus:%pUl", &guid)) in visorbus_uevent()
122 (uuid_le_cmp(drv->channel_types[i].guid, NULL_UUID_LE) != 0) || in visorbus_match()
125 if (uuid_le_cmp(drv->channel_types[i].guid, in visorbus_match()
814 if (memcmp(&visordrv->channel_types[i].guid, in fix_vbus_dev_info()
816 sizeof(visordrv->channel_types[i].guid)) == 0) { in fix_vbus_dev_info()
/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.c52 char guid[16]; member
133 if (memcmp(block->guid, &guid_input, 16) == 0) { in find_guid()
354 pr_info("%pUL:\n", g->guid); in wmi_dump_wdg()
418 acpi_status wmi_install_notify_handler(const char *guid, in wmi_install_notify_handler() argument
426 if (!guid || !handler) in wmi_install_notify_handler()
429 if (uuid_le_to_bin(guid, &guid_input)) in wmi_install_notify_handler()
436 if (memcmp(block->gblock.guid, &guid_input, 16) == 0) { in wmi_install_notify_handler()
460 acpi_status wmi_remove_notify_handler(const char *guid) in wmi_remove_notify_handler() argument
467 if (!guid) in wmi_remove_notify_handler()
470 if (uuid_le_to_bin(guid, &guid_input)) 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.c277 char *guid; in alienware_update_led() local
285 guid = WMAX_CONTROL_GUID; in alienware_update_led()
296 guid = LEGACY_POWER_CONTROL_GUID; in alienware_update_led()
299 guid = LEGACY_CONTROL_GUID; in alienware_update_led()
305 pr_debug("alienware-wmi: guid %s method %d\n", guid, method_id); in alienware_update_led()
307 status = wmi_evaluate_method(guid, 1, method_id, &input, NULL); in alienware_update_led()
/drivers/infiniband/hw/mlx5/
Dib_virt.c149 static int set_vf_node_guid(struct ib_device *device, int vf, u8 port, u64 guid) in set_vf_node_guid() argument
161 in->node_guid = guid; in set_vf_node_guid()
167 static int set_vf_port_guid(struct ib_device *device, int vf, u8 port, u64 guid) in set_vf_port_guid() argument
179 in->port_guid = guid; in set_vf_port_guid()
186 u64 guid, int type) in mlx5_ib_set_vf_guid() argument
189 return set_vf_node_guid(device, vf, port, guid); in mlx5_ib_set_vf_guid()
191 return set_vf_port_guid(device, vf, port, guid); in mlx5_ib_set_vf_guid()
/drivers/firmware/efi/
Dcapsule.c87 int efi_capsule_supported(efi_guid_t guid, u32 flags, size_t size, int *reset) in efi_capsule_supported() argument
98 memcpy(&capsule.guid, &guid, sizeof(efi_guid_t)); in efi_capsule_supported()
220 efi_guid_t guid = capsule->guid; in efi_capsule_update() local
227 rv = efi_capsule_supported(guid, flags, imagesize, &reset_type); in efi_capsule_update()
Defi.c444 static __init int match_config_table(efi_guid_t *guid, in match_config_table() argument
451 for (i = 0; efi_guidcmp(table_types[i].guid, NULL_GUID); i++) { in match_config_table()
452 if (!efi_guidcmp(*guid, table_types[i].guid)) { in match_config_table()
474 efi_guid_t guid; in efi_config_parse_tables() local
479 guid = ((efi_config_table_64_t *)tablep)->guid; in efi_config_parse_tables()
490 guid = ((efi_config_table_32_t *)tablep)->guid; in efi_config_parse_tables()
494 if (!match_config_table(&guid, table, common_tables)) in efi_config_parse_tables()
495 match_config_table(&guid, table, arch_tables); in efi_config_parse_tables()
Defibc.c35 efi_guid_t guid = LINUX_EFI_LOADER_ENTRY_GUID; in efibc_set_variable() local
52 memcpy(&entry->var.VendorGuid, &guid, sizeof(guid)); in efibc_set_variable()
/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()
/drivers/target/sbp/
Dsbp_target.c65 static int read_peer_guid(u64 *guid, const struct sbp_management_request *req) in read_peer_guid() argument
84 *guid = (u64)be32_to_cpu(high) << 32 | be32_to_cpu(low); in read_peer_guid()
90 struct sbp_tpg *tpg, u64 guid) in sbp_session_find_by_guid() argument
98 if (sess->guid == guid) in sbp_session_find_by_guid()
194 u64 guid) in sbp_session_create() argument
200 snprintf(guid_str, sizeof(guid_str), "%016llx", guid); in sbp_session_create()
210 sess->guid = guid; in sbp_session_create()
281 u64 guid; in sbp_management_request_login() local
297 ret = read_peer_guid(&guid, req); in sbp_management_request_login()
308 unpacked_lun, guid); in sbp_management_request_login()
[all …]
Dsbp_target.h143 u64 guid; /* login_owner_EUI_64 */ member
165 u64 guid; member
/drivers/infiniband/hw/hfi1/
Defivar.c69 efi_guid_t guid; in read_efi_var() local
99 guid = HFI1_EFIVAR_GUID; in read_efi_var()
104 &guid, in read_efi_var()
/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 …]
/drivers/staging/unisys/include/
Dchannel.h245 uuid_le guid; in spar_check_channel_client() local
247 memcpy_fromio(&guid, in spar_check_channel_client()
249 sizeof(guid)); in spar_check_channel_client()
251 if (uuid_le_cmp(guid, expected_uuid) != 0) { in spar_check_channel_client()
254 &expected_uuid, &guid); in spar_check_channel_client()
/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()
/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()
283 ibp->rvp.gid_prefix, guid)) in qib_ruc_check_hdr()
313 guid = get_sguid(ibp, in qib_ruc_check_hdr()
316 ibp->rvp.gid_prefix, guid)) in qib_ruc_check_hdr()
676 ibp->guids[grh->sgid_index - 1] : ppd_from_ibp(ibp)->guid; in qib_make_grh()
/drivers/infiniband/hw/qedr/
Dmain.c851 u8 guid[8], mac_addr[6]; in qedr_mac_address_change() local
856 guid[0] = mac_addr[0] ^ 2; in qedr_mac_address_change()
857 guid[1] = mac_addr[1]; in qedr_mac_address_change()
858 guid[2] = mac_addr[2]; in qedr_mac_address_change()
859 guid[3] = 0xff; in qedr_mac_address_change()
860 guid[4] = 0xfe; in qedr_mac_address_change()
861 guid[5] = mac_addr[3]; in qedr_mac_address_change()
862 guid[6] = mac_addr[4]; in qedr_mac_address_change()
863 guid[7] = mac_addr[5]; in qedr_mac_address_change()
865 memcpy(&sgid->raw[8], guid, sizeof(guid)); in qedr_mac_address_change()
/drivers/hv/
Dchannel_mgmt.c143 uuid_le guid; member
173 static bool is_unsupported_vmbus_devs(const uuid_le *guid) in is_unsupported_vmbus_devs() argument
178 if (!uuid_le_cmp(*guid, vmbus_unsupported_devs[i].guid)) in is_unsupported_vmbus_devs()
185 const uuid_le *guid = &channel->offermsg.offer.if_type; in hv_get_dev_type() local
188 if (is_hvsock_channel(channel) || is_unsupported_vmbus_devs(guid)) in hv_get_dev_type()
192 if (!uuid_le_cmp(*guid, vmbus_devs[i].guid)) in hv_get_dev_type()
195 pr_info("Unknown GUID: %pUl\n", guid); in hv_get_dev_type()
/drivers/gpu/drm/
Ddrm_dp_mst_topology.c62 u8 *guid);
378 memcpy(repmsg->u.link_addr.guid, &raw->msg[idx], 16); in drm_dp_sideband_parse_link_address()
547 memcpy(msg->u.nak.guid, &raw->msg[1], 16); in drm_dp_sideband_parse_reply()
584 memcpy(msg->u.conn_stat.guid, &raw->msg[idx], 16); in drm_dp_sideband_parse_connection_status_notify()
611 memcpy(msg->u.resource_stat.guid, &raw->msg[idx], 16); in drm_dp_sideband_parse_resource_status_notify()
1052 static void drm_dp_check_mstb_guid(struct drm_dp_mst_branch *mstb, u8 *guid) in drm_dp_check_mstb_guid() argument
1056 memcpy(mstb->guid, guid, 16); in drm_dp_check_mstb_guid()
1058 if (!drm_dp_validate_guid(mstb->mgr, mstb->guid)) { in drm_dp_check_mstb_guid()
1065 mstb->guid); in drm_dp_check_mstb_guid()
1071 mstb->guid, in drm_dp_check_mstb_guid()
[all …]
/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()
1298 __be64 guid = get_unaligned(&ha->uc.uniq_id); in fwnet_tx() local
1301 peer = fwnet_peer_find_by_guid(dev, be64_to_cpu(guid)); in fwnet_tx()
1429 peer->guid = (u64)device->config_rom[3] << 32 | device->config_rom[4]; in fwnet_add_peer()
1506 put_unaligned_be64(card->guid, &ha->uc.uniq_id); in fwnet_probe()

123