Home
last modified time | relevance | path

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

12345

/drivers/infiniband/hw/mlx5/
Dib_virt.c153 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 …]
/drivers/acpi/
Dprmt.c56 guid_t guid; member
65 guid_t guid; member
112 guid_copy(&tm->guid, (guid_t *) module_info->module_guid); in acpi_parse_prmt()
141 guid_copy(&th->guid, (guid_t *)handler_info->handler_guid); in acpi_parse_prmt()
153 static void *find_guid_info(const guid_t *guid, u8 mode) in find_guid_info() argument
162 if (guid_equal(guid, &cur_handler->guid)) { in find_guid_info()
175 static struct prm_module_info *find_prm_module(const guid_t *guid) in find_prm_module() argument
177 return (struct prm_module_info *)find_guid_info(guid, GET_MODULE); in find_prm_module()
180 static struct prm_handler_info *find_prm_handler(const guid_t *guid) in find_prm_handler() argument
182 return (struct prm_handler_info *) find_guid_info(guid, GET_HANDLER); in find_prm_handler()
[all …]
Dproperty.c215 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; in acpi_extract_properties() local
[all …]
/drivers/platform/x86/
Dwmi.c42 guid_t guid; member
133 if (guid_equal(&block->guid, &guid_input)) { in find_guid()
142 static bool guid_parse_and_compare(const char *string, const guid_t *guid) in guid_parse_and_compare() argument
149 return guid_equal(&guid_input, guid); in guid_parse_and_compare()
164 if (guid_parse_and_compare(id->guid_string, &wblock->gblock.guid)) in find_guid_context()
476 pr_info("%pUL:\n", &g->guid); in wmi_dump_wdg()
542 acpi_status wmi_install_notify_handler(const char *guid, in wmi_install_notify_handler() argument
549 if (!guid || !handler) in wmi_install_notify_handler()
552 if (guid_parse(guid, &guid_input)) in wmi_install_notify_handler()
558 if (guid_equal(&block->gblock.guid, &guid_input)) { in wmi_install_notify_handler()
[all …]
Dhuawei-wmi.c762 const char *guid, in huawei_wmi_input_setup() argument
785 status = wmi_install_notify_handler(guid, huawei_wmi_input_notify, *idev); in huawei_wmi_input_setup()
792 static void huawei_wmi_input_exit(struct device *dev, const char *guid) in huawei_wmi_input_exit() argument
794 wmi_remove_notify_handler(guid); in huawei_wmi_input_exit()
807 const struct wmi_device_id *guid = huawei_wmi_events_id_table; in huawei_wmi_probe() local
813 while (*guid->guid_string) { in huawei_wmi_probe()
816 if (wmi_has_guid(guid->guid_string)) { in huawei_wmi_probe()
817 err = huawei_wmi_input_setup(&pdev->dev, guid->guid_string, &idev); in huawei_wmi_probe()
819 dev_err(&pdev->dev, "Failed to setup input on %s\n", guid->guid_string); in huawei_wmi_probe()
825 guid++; in huawei_wmi_probe()
[all …]
Dmsi-wmi.c78 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()
/drivers/platform/x86/dell/
Ddell-wmi-aio.c165 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()
/drivers/visorbus/
Dvisorchannel.c34 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()
/drivers/firmware/efi/
Dcapsule.c86 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()
Defi.c535 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()
Defibc.c27 efi_guid_t guid = LINUX_EFI_LOADER_ENTRY_GUID; in efibc_set_variable() local
44 memcpy(&entry->var.VendorGuid, &guid, sizeof(guid)); in efibc_set_variable()
/drivers/infiniband/hw/ocrdma/
Docrdma_main.c65 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()
/drivers/infiniband/hw/qib/
Dqib_ruc.c64 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()
Dqib_eeprom.c148 __be64 guid; in qib_get_eeprom_info() local
232 guid = *(__be64 *) ifp->if_guid; in qib_get_eeprom_info()
234 guid = *(__be64 *) ifp->if_guid; in qib_get_eeprom_info()
235 dd->base_guid = guid; in qib_get_eeprom_info()
/drivers/target/sbp/
Dsbp_target.c53 static int read_peer_guid(u64 *guid, const struct sbp_management_request *req) in read_peer_guid() argument
72 *guid = (u64)be32_to_cpu(high) << 32 | be32_to_cpu(low); in read_peer_guid()
78 struct sbp_tpg *tpg, u64 guid) in sbp_session_find_by_guid() argument
86 if (sess->guid == guid) in sbp_session_find_by_guid()
182 u64 guid) in sbp_session_create() argument
188 snprintf(guid_str, sizeof(guid_str), "%016llx", guid); in sbp_session_create()
197 sess->guid = guid; in sbp_session_create()
267 u64 guid; in sbp_management_request_login() local
283 ret = read_peer_guid(&guid, req); in sbp_management_request_login()
294 unpacked_lun, guid); in sbp_management_request_login()
[all …]
/drivers/platform/mellanox/
Dmlxbf-bootctl.c284 static bool mlxbf_bootctl_guid_match(const guid_t *guid, in mlxbf_bootctl_guid_match() argument
292 return guid_equal(guid, &id); in mlxbf_bootctl_guid_match()
298 guid_t guid; in mlxbf_bootctl_probe() local
303 guid_parse(mlxbf_bootctl_svc_uuid_str, &guid); in mlxbf_bootctl_probe()
304 if (!mlxbf_bootctl_guid_match(&guid, &res)) in mlxbf_bootctl_probe()
/drivers/hwtracing/coresight/
Dcoresight-platform.c372 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()
/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.h156 const guid_t *guid, u8 *value);
159 const guid_t *guid, u32 *value);
222 const guid_t *guid, u8 *value) in iwl_acpi_get_dsm_u8() argument
228 const guid_t *guid, u32 *value) in iwl_acpi_get_dsm_u32() argument
/drivers/iio/accel/
Dbmc150-accel-i2c.c59 guid_t guid; in bmc150_acpi_set_angle_dsm() local
64 guid_parse(BMC150_DSM_GUID, &guid); in bmc150_acpi_set_angle_dsm()
66 if (!acpi_check_dsm(adev->handle, &guid, 0, BIT(DUAL250E_SET_ANGLE_FN_INDEX))) in bmc150_acpi_set_angle_dsm()
80 obj = acpi_evaluate_dsm(adev->handle, &guid, 0, DUAL250E_SET_ANGLE_FN_INDEX, &args_obj); in bmc150_acpi_set_angle_dsm()
/drivers/infiniband/hw/hfi1/
Defivar.c28 efi_guid_t guid; in read_efi_var() local
58 guid = HFI1_EFIVAR_GUID; in read_efi_var()
63 &guid, in read_efi_var()
/drivers/firmware/google/
Dgsmi.c104 efi_guid_t guid; member
112 u8 guid[GSMI_GUID_SIZE]; member
331 memcpy(&param.guid, vendor, sizeof(param.guid)); in gsmi_get_variable()
398 memcpy(&param.guid, vendor, sizeof(param.guid)); in gsmi_get_next_variable()
423 memcpy(vendor, &param.guid, sizeof(param.guid)); in gsmi_get_next_variable()
457 memcpy(&param.guid, vendor, sizeof(param.guid)); in gsmi_set_variable()
/drivers/platform/x86/intel/pmt/
Dtelemetry.c40 u32 guid = readl(entry->disc_table + TELEM_GUID_OFFSET); in pmt_telem_region_overlaps() local
42 if (guid != TELEM_CLIENT_FIXED_BLOCK_GUID) in pmt_telem_region_overlaps()
58 header->guid = readl(disc_table + TELEM_GUID_OFFSET); in pmt_telem_header_decode()
Dclass.c90 if (entry->guid == GUID_SPR_PUNIT) in intel_pmt_read()
134 return sprintf(buf, "0x%x\n", entry->guid); in guid_show()
136 static DEVICE_ATTR_RO(guid);
241 entry->guid = header->guid; in intel_pmt_populate_entry()
/drivers/hv/
Dchannel_mgmt.c150 guid_t guid; member
180 static bool is_unsupported_vmbus_devs(const guid_t *guid) in is_unsupported_vmbus_devs() argument
185 if (guid_equal(guid, &vmbus_unsupported_devs[i].guid)) in is_unsupported_vmbus_devs()
192 const guid_t *guid = &channel->offermsg.offer.if_type; in hv_get_dev_type() local
195 if (is_hvsock_channel(channel) || is_unsupported_vmbus_devs(guid)) in hv_get_dev_type()
199 if (guid_equal(guid, &vmbus_devs[i].guid)) in hv_get_dev_type()
202 pr_info("Unknown GUID: %pUl\n", guid); in hv_get_dev_type()
998 static bool vmbus_is_valid_device(const guid_t *guid) in vmbus_is_valid_device() argument
1006 if (guid_equal(guid, &vmbus_devs[i].guid)) in vmbus_is_valid_device()
/drivers/usb/core/
Dusb-acpi.c64 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(port_handle, &guid, 0, in usb_acpi_port_lpm_incapable()

12345