Home
last modified time | relevance | path

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

12345

/drivers/media/common/
Duvc.c16 .guid = UVC_GUID_FORMAT_YUY2,
20 .guid = UVC_GUID_FORMAT_YUY2_ISIGHT,
24 .guid = UVC_GUID_FORMAT_NV12,
28 .guid = UVC_GUID_FORMAT_MJPEG,
32 .guid = UVC_GUID_FORMAT_YV12,
36 .guid = UVC_GUID_FORMAT_I420,
40 .guid = UVC_GUID_FORMAT_M420,
44 .guid = UVC_GUID_FORMAT_UYVY,
48 .guid = UVC_GUID_FORMAT_Y800,
52 .guid = UVC_GUID_FORMAT_Y8,
[all …]
/drivers/infiniband/hw/mlx5/
Dib_virt.c152 u64 guid) in set_vf_node_guid() argument
165 in->node_guid = guid; in set_vf_node_guid()
168 vfs_ctx[vf].node_guid = guid; in set_vf_node_guid()
176 u64 guid) in set_vf_port_guid() argument
189 in->port_guid = guid; in set_vf_port_guid()
192 vfs_ctx[vf].port_guid = guid; in set_vf_port_guid()
200 u64 guid, int type) in mlx5_ib_set_vf_guid() argument
203 return set_vf_node_guid(device, vf, port, guid); in mlx5_ib_set_vf_guid()
205 return set_vf_port_guid(device, vf, port, guid); in mlx5_ib_set_vf_guid()
218 node_guid->guid = in mlx5_ib_get_vf_guid()
[all …]
/drivers/platform/x86/
Dwmi.c45 guid_t guid; member
56 static_assert(sizeof(typeof_member(struct guid_block, guid)) == 16);
128 if (guid_equal(&wblock->gblock.guid, &guid_input)) { in find_guid()
139 static bool guid_parse_and_compare(const char *string, const guid_t *guid) in guid_parse_and_compare() argument
146 return guid_equal(&guid_input, guid); in guid_parse_and_compare()
159 if (guid_parse_and_compare(id->guid_string, &wblock->gblock.guid)) in find_guid_context()
560 pr_info("%pUL:\n", &g->guid); in wmi_dump_wdg()
627 acpi_status wmi_install_notify_handler(const char *guid, in wmi_install_notify_handler() argument
635 if (!guid || !handler) in wmi_install_notify_handler()
638 if (guid_parse(guid, &guid_input)) in wmi_install_notify_handler()
[all …]
Dhuawei-wmi.c760 static int huawei_wmi_input_setup(struct device *dev, const char *guid) in huawei_wmi_input_setup() argument
783 status = wmi_install_notify_handler(guid, huawei_wmi_input_notify, idev); in huawei_wmi_input_setup()
790 static void huawei_wmi_input_exit(struct device *dev, const char *guid) in huawei_wmi_input_exit() argument
792 wmi_remove_notify_handler(guid); in huawei_wmi_input_exit()
805 const struct wmi_device_id *guid = huawei_wmi_events_id_table; in huawei_wmi_probe() local
811 while (*guid->guid_string) { in huawei_wmi_probe()
812 if (wmi_has_guid(guid->guid_string)) { in huawei_wmi_probe()
813 err = huawei_wmi_input_setup(&pdev->dev, guid->guid_string); in huawei_wmi_probe()
815 dev_err(&pdev->dev, "Failed to setup input on %s\n", guid->guid_string); in huawei_wmi_probe()
820 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/acpi/
Dprmt.c55 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 …]
Dproperty.c220 const union acpi_object *guid; in acpi_enumerate_nondev_subnodes() local
223 guid = &desc->package.elements[i]; in acpi_enumerate_nondev_subnodes()
230 if (guid->type != ACPI_TYPE_BUFFER || in acpi_enumerate_nondev_subnodes()
231 guid->buffer.length != 16 || in acpi_enumerate_nondev_subnodes()
235 if (!guid_equal((guid_t *)guid->buffer.pointer, &ads_guid)) in acpi_enumerate_nondev_subnodes()
322 static bool acpi_is_property_guid(const guid_t *guid) in acpi_is_property_guid() argument
327 if (guid_equal(guid, &prp_guids[i])) in acpi_is_property_guid()
335 acpi_data_add_props(struct acpi_device_data *data, const guid_t *guid, in acpi_data_add_props() argument
343 props->guid = guid; in acpi_data_add_props()
413 props->guid = &buffer_prop_guid; in acpi_data_add_buffer_props()
[all …]
/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/firmware/efi/
Defi.c198 efi_guid_t guid; in generic_ops_supported() local
204 status = efi.get_next_variable(&name_size, &name, &guid); in generic_ops_supported()
259 efi_guid_t guid; in efivar_ssdt_load() local
274 status = efi.get_next_variable(&name_size, name, &guid); in efivar_ssdt_load()
293 pr_info("loading SSDT from variable %s-%pUl\n", efivar_ssdt, &guid); in efivar_ssdt_load()
295 status = efi.get_variable(name, &guid, NULL, &data_size, NULL); in efivar_ssdt_load()
303 status = efi.get_variable(name, &guid, NULL, &data_size, data); in efivar_ssdt_load()
606 static __init int match_config_table(const efi_guid_t *guid, in match_config_table() argument
612 for (i = 0; efi_guidcmp(table_types[i].guid, NULL_GUID); i++) { in match_config_table()
613 if (efi_guidcmp(*guid, table_types[i].guid)) in match_config_table()
[all …]
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()
/drivers/virt/coco/efi_secret/
Defi_secret.c69 efi_guid_t guid; member
80 efi_guid_t guid; member
130 e->guid = NULL_GUID; in efi_secret_unlink()
225 if (efi_guidcmp(h->guid, EFI_SECRET_TABLE_HEADER_GUID)) { in efi_secret_securityfs_setup()
274 if (efi_guidcmp(e->guid, NULL_GUID)) { in efi_secret_securityfs_setup()
275 efi_guid_to_str(&e->guid, guid_str); in efi_secret_securityfs_setup()
/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/hwtracing/coresight/
Dcoresight-platform.c348 const guid_t *guid) in acpi_guid_matches() argument
351 guid_equal((guid_t *)obj->buffer.pointer, guid); in acpi_guid_matches()
366 const union acpi_object *graphid, *guid, *links; in is_acpi_coresight_graph() local
373 guid = &obj->package.elements[1]; in is_acpi_coresight_graph()
380 return is_acpi_coresight_graph_guid(guid); in is_acpi_coresight_graph()
515 const union acpi_object *guid, *package; in acpi_get_dsd_graph() local
517 guid = &dsd->package.elements[i]; in acpi_get_dsd_graph()
521 if (!is_acpi_guid(guid) || package->type != ACPI_TYPE_PACKAGE) in acpi_get_dsd_graph()
524 if (!is_acpi_dsd_graph_guid(guid)) in acpi_get_dsd_graph()
/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/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.c30 efi_guid_t guid; in read_efi_var() local
60 guid = HFI1_EFIVAR_GUID; in read_efi_var()
65 &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/net/wireless/intel/iwlwifi/fw/
Dacpi.h175 const guid_t *guid, u8 *value);
178 const guid_t *guid, u32 *value);
243 const guid_t *guid, u8 *value) in iwl_acpi_get_dsm_u8() argument
249 const guid_t *guid, u32 *value) in iwl_acpi_get_dsm_u32() argument
/drivers/hv/
Dchannel_mgmt.c151 guid_t guid; member
182 static bool is_unsupported_vmbus_devs(const guid_t *guid) in is_unsupported_vmbus_devs() argument
187 if (guid_equal(guid, &vmbus_unsupported_devs[i].guid)) in is_unsupported_vmbus_devs()
194 const guid_t *guid = &channel->offermsg.offer.if_type; in hv_get_dev_type() local
197 if (is_hvsock_channel(channel) || is_unsupported_vmbus_devs(guid)) in hv_get_dev_type()
201 if (guid_equal(guid, &vmbus_devs[i].guid)) in hv_get_dev_type()
204 pr_info("Unknown GUID: %pUl\n", guid); in hv_get_dev_type()
1000 const guid_t *guid = &offer->offer.if_type; in vmbus_is_valid_offer() local
1010 if (guid_equal(guid, &vmbus_devs[i].guid)) in vmbus_is_valid_offer()
Dvmbus_drv.c662 hv_vmbus_dev_match(const struct hv_vmbus_device_id *id, const guid_t *guid) in hv_vmbus_dev_match() argument
667 for (; !guid_is_null(&id->guid); id++) in hv_vmbus_dev_match()
668 if (guid_equal(&id->guid, guid)) in hv_vmbus_dev_match()
675 hv_vmbus_dynid_match(struct hv_driver *drv, const guid_t *guid) in hv_vmbus_dynid_match() argument
682 if (guid_equal(&dynid->id.guid, guid)) { in hv_vmbus_dynid_match()
701 const guid_t *guid = &dev->dev_type; in hv_vmbus_get_id() local
709 id = hv_vmbus_dynid_match(drv, guid); in hv_vmbus_get_id()
711 id = hv_vmbus_dev_match(drv->id_table, guid); in hv_vmbus_get_id()
721 static int vmbus_add_dynid(struct hv_driver *drv, guid_t *guid) in vmbus_add_dynid() argument
729 dynid->id.guid = *guid; in vmbus_add_dynid()
[all …]
/drivers/platform/x86/intel/
Dsdsi.c101 u32 guid; member
114 u32 guid; member
531 return sysfs_emit(buf, "0x%x\n", priv->guid); in guid_show()
533 static DEVICE_ATTR_RO(guid);
549 switch (table->guid) { in sdsi_get_layout()
559 dev_err(priv->dev, "Unrecognized GUID 0x%x\n", table->guid); in sdsi_get_layout()
639 priv->guid = disc_table.guid; in sdsi_probe()
/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_typed(port_handle, &guid, 0, in usb_acpi_port_lpm_incapable()
/drivers/platform/x86/intel/pmt/
Dtelemetry.c47 u32 guid = readl(entry->disc_table + TELEM_GUID_OFFSET); in pmt_telem_region_overlaps() local
53 (guid == TELEM_CLIENT_FIXED_BLOCK_GUID)) in pmt_telem_region_overlaps()
70 header->guid = readl(disc_table + TELEM_GUID_OFFSET); in pmt_telem_header_decode()
Dclass.c82 if (entry->guid == GUID_SPR_PUNIT) in intel_pmt_read()
126 return sprintf(buf, "0x%x\n", entry->guid); in guid_show()
128 static DEVICE_ATTR_RO(guid);
232 entry->guid = header->guid; in intel_pmt_populate_entry()

12345