Home
last modified time | relevance | path

Searched refs:dev_info (Results 1 – 25 of 37) sorted by relevance

12

/third_party/libdrm/amdgpu/
Damdgpu_gpu_info.c144 r = amdgpu_query_info(dev, AMDGPU_INFO_DEV_INFO, sizeof(dev->dev_info), in amdgpu_query_gpu_info_init()
145 &dev->dev_info); in amdgpu_query_gpu_info_init()
149 dev->info.asic_id = dev->dev_info.device_id; in amdgpu_query_gpu_info_init()
150 dev->info.chip_rev = dev->dev_info.chip_rev; in amdgpu_query_gpu_info_init()
151 dev->info.chip_external_rev = dev->dev_info.external_rev; in amdgpu_query_gpu_info_init()
152 dev->info.family_id = dev->dev_info.family; in amdgpu_query_gpu_info_init()
153 dev->info.max_engine_clk = dev->dev_info.max_engine_clock; in amdgpu_query_gpu_info_init()
154 dev->info.max_memory_clk = dev->dev_info.max_memory_clock; in amdgpu_query_gpu_info_init()
155 dev->info.gpu_counter_freq = dev->dev_info.gpu_counter_freq; in amdgpu_query_gpu_info_init()
156 dev->info.enabled_rb_pipes_mask = dev->dev_info.enabled_rb_pipes_mask; in amdgpu_query_gpu_info_init()
[all …]
Damdgpu_device.c241 start = dev->dev_info.virtual_address_offset; in amdgpu_device_initialize()
242 max = MIN2(dev->dev_info.virtual_address_max, 0x100000000ULL); in amdgpu_device_initialize()
244 dev->dev_info.virtual_address_alignment); in amdgpu_device_initialize()
247 max = MAX2(dev->dev_info.virtual_address_max, 0x100000000ULL); in amdgpu_device_initialize()
249 dev->dev_info.virtual_address_alignment); in amdgpu_device_initialize()
251 start = dev->dev_info.high_va_offset; in amdgpu_device_initialize()
252 max = MIN2(dev->dev_info.high_va_max, (start & ~0xffffffffULL) + in amdgpu_device_initialize()
255 dev->dev_info.virtual_address_alignment); in amdgpu_device_initialize()
258 max = MAX2(dev->dev_info.high_va_max, (start & ~0xffffffffULL) + in amdgpu_device_initialize()
261 dev->dev_info.virtual_address_alignment); in amdgpu_device_initialize()
Damdgpu_vamgr.c39 *start = dev->dev_info.virtual_address_offset; in amdgpu_va_range_query()
40 *end = dev->dev_info.virtual_address_max; in amdgpu_va_range_query()
Damdgpu_internal.h82 struct drm_amdgpu_info_device dev_info; member
Damdgpu_bo.c510 info->size_local = dev->dev_info.pte_fragment_size; in amdgpu_query_buffer_size_alignment()
511 info->size_remote = dev->dev_info.gart_page_size; in amdgpu_query_buffer_size_alignment()
/third_party/libdrm/tests/amdgpu/
Dvm_tests.c218 struct drm_amdgpu_info_device dev_info; in amdgpu_vm_mapping_test() local
233 sizeof(dev_info), &dev_info); in amdgpu_vm_mapping_test()
236 addr = dev_info.virtual_address_offset; in amdgpu_vm_mapping_test()
240 addr = dev_info.virtual_address_max - size; in amdgpu_vm_mapping_test()
244 if (dev_info.high_va_offset) { in amdgpu_vm_mapping_test()
245 addr = dev_info.high_va_offset; in amdgpu_vm_mapping_test()
249 addr = dev_info.high_va_max - size; in amdgpu_vm_mapping_test()
/third_party/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi_cmds.c146 struct acpi_device_info *dev_info; in acpi_traverse() local
172 status = acpi_get_object_info(new_child, &dev_info); in acpi_traverse()
191 ind, (char *)&dev_info->name, str_obj_result, in acpi_traverse()
195 kfree(dev_info); in acpi_traverse()
198 prk_info("%s%4.4s: path '%s'", ind, (char *)&dev_info->name, in acpi_traverse()
204 kfree(dev_info); in acpi_traverse()
213 struct acpi_device_info *dev_info; in acpi_traverse_from_root() local
220 status = acpi_get_object_info(parent, &dev_info); in acpi_traverse_from_root()
223 prk_info("start from %4.4s", (char *)&dev_info->name); in acpi_traverse_from_root()
245 struct acpi_device_info *dev_info; in acpi_init() local
[all …]
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_config.c78 struct usbdev_info **dev_info = g_fconfig_usbdev_info; in fconfig_find_usbdev_info() local
81 for (i = 0; dev_info[i] != NULL; i++) in fconfig_find_usbdev_info()
83 if (strcmp(dev_info[i]->name, name) == 0) in fconfig_find_usbdev_info()
85 return dev_info[i]; in fconfig_find_usbdev_info()
526 struct usbdev_info *dev_info = NULL; in fconfig_do_make_function() local
549 dev_info = fconfig_find_usbdev_info(func_name); in fconfig_do_make_function()
550 if (dev_info == NULL) in fconfig_do_make_function()
556 func_inst->dev_info = dev_info; in fconfig_do_make_function()
561 if (dev_info->type != DEV_GENERIC) in fconfig_do_make_function()
564 func_inst->minor = dev_info->type; in fconfig_do_make_function()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/usb/host/
Dxhci-mem.c707 in_slot_ctx->dev_info = out_slot_ctx->dev_info; in xhci_slot_copy()
744 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_setup_addressable_virt_dev()
769 slot_ctx->dev_info |= route; in xhci_setup_addressable_virt_dev()
773 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()
776 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()
779 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()
782 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()
806 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_setup_addressable_virt_dev()
Ddwc2.c118 dev_info(dev, "%s: Timeout!\n", __func__); in dwc_otg_flush_tx_fifo()
137 dev_info(dev, "%s: Timeout!\n", __func__); in dwc_otg_flush_rx_fifo()
155 dev_info(dev, "%s: Timeout!\n", __func__); in dwc_otg_core_reset()
162 dev_info(dev, "%s: Timeout!\n", __func__); in dwc_otg_core_reset()
301 dev_info("%s: Timeout!\n", __func__); in dwc_otg_core_host_init()
1171 dev_info(dev, "Core Release: %x.%03x\n", in dwc2_init_common()
1176 dev_info(dev, "SNPSID invalid (not DWC2 OTG device): %08x\n", in dwc2_init_common()
Dxhci.c541 slot_ctx->dev_info &= ~(cpu_to_le32(LAST_CTX_MASK)); in xhci_set_configuration()
542 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(max_ep_flag + 1) | 0); in xhci_set_configuration()
1444 slot_ctx->dev_info |= cpu_to_le32(DEV_HUB); in xhci_update_hub_device()
1451 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_update_hub_device()
1453 slot_ctx->dev_info &= cpu_to_le32(~DEV_MTT); in xhci_update_hub_device()
/third_party/libusb/libusb/os/
Dwindows_winusb.c199 HDEVINFO *dev_info, SP_DEVINFO_DATA *dev_info_data, const char *enumerator, unsigned _index) in get_devinfo_data() argument
202 *dev_info = pSetupDiGetClassDevsA(NULL, enumerator, NULL, DIGCF_PRESENT|DIGCF_ALLCLASSES); in get_devinfo_data()
203 if (*dev_info == INVALID_HANDLE_VALUE) { in get_devinfo_data()
211 if (!pSetupDiEnumDeviceInfo(*dev_info, _index, dev_info_data)) { in get_devinfo_data()
216 pSetupDiDestroyDeviceInfoList(*dev_info); in get_devinfo_data()
217 *dev_info = INVALID_HANDLE_VALUE; in get_devinfo_data()
236 static int get_interface_details(struct libusb_context *ctx, HDEVINFO dev_info, in get_interface_details() argument
246 if (!pSetupDiEnumDeviceInfo(dev_info, *_index, dev_info_data)) { in get_interface_details()
260 if (pSetupDiEnumDeviceInterfaces(dev_info, dev_info_data, guid, 0, &dev_interface_data)) in get_interface_details()
273 if (!pSetupDiGetDeviceInterfaceDetailA(dev_info, &dev_interface_data, NULL, 0, &size, NULL)) { in get_interface_details()
[all …]
/third_party/uboot/u-boot-2020.01/include/linux/
Dcompat.h25 #ifdef dev_info
26 #undef dev_info
39 #define dev_info(dev, fmt, args...) \ macro
/third_party/uboot/u-boot-2020.01/drivers/usb/cdns3/
Ddrd.c264 dev_info(cdns->dev, "DRD version v0 (%08x)\n", in cdns3_drd_init()
272 dev_info(cdns->dev, "DRD version v1 (ID: %08x, rev: %08x)\n", in cdns3_drd_init()
/third_party/uboot/u-boot-2020.01/include/dm/
Ddevice.h984 #ifdef dev_info
985 #undef dev_info
1021 #define dev_info(dev, fmt, ...) \ macro
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_group.c289 const u8 *dev_info = NULL; in wifi_display_add_dev_info_descr() local
314 dev_info = pos; in wifi_display_add_dev_info_descr()
331 if (dev_info == NULL) in wifi_display_add_dev_info_descr()
340 wpabuf_put_data(buf, dev_info, 2); /* WFD Device Info */ in wifi_display_add_dev_info_descr()
341 wpabuf_put_data(buf, dev_info + 4, 2); /* WFD Device Max Throughput */ in wifi_display_add_dev_info_descr()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_group.c289 const u8 *dev_info = NULL; in wifi_display_add_dev_info_descr() local
314 dev_info = pos; in wifi_display_add_dev_info_descr()
331 if (dev_info == NULL) in wifi_display_add_dev_info_descr()
340 wpabuf_put_data(buf, dev_info, 2); /* WFD Device Info */ in wifi_display_add_dev_info_descr()
341 wpabuf_put_data(buf, dev_info + 4, 2); /* WFD Device Max Throughput */ in wifi_display_add_dev_info_descr()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Dusbd_config.h126 struct usbdev_info *dev_info; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_er.c1811 static void wps_er_ap_learn(struct wps_er_ap *ap, const char *dev_info) in wps_er_ap_learn() argument
1818 info = xml_get_base64_item(dev_info, "NewDeviceInfo", &ret); in wps_er_ap_learn()
1835 char *dev_info = NULL; in wps_er_http_get_dev_info_cb() local
1843 dev_info = os_zalloc(wpabuf_len(reply) + 1); in wps_er_http_get_dev_info_cb()
1844 if (dev_info == NULL) in wps_er_http_get_dev_info_cb()
1846 os_memcpy(dev_info, wpabuf_head(reply), wpabuf_len(reply)); in wps_er_http_get_dev_info_cb()
1857 if (dev_info) { in wps_er_http_get_dev_info_cb()
1858 wps_er_ap_learn(ap, dev_info); in wps_er_http_get_dev_info_cb()
1859 os_free(dev_info); in wps_er_http_get_dev_info_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_er.c1811 static void wps_er_ap_learn(struct wps_er_ap *ap, const char *dev_info) in wps_er_ap_learn() argument
1818 info = xml_get_base64_item(dev_info, "NewDeviceInfo", &ret); in wps_er_ap_learn()
1835 char *dev_info = NULL; in wps_er_http_get_dev_info_cb() local
1843 dev_info = os_zalloc(wpabuf_len(reply) + 1); in wps_er_http_get_dev_info_cb()
1844 if (dev_info == NULL) in wps_er_http_get_dev_info_cb()
1846 os_memcpy(dev_info, wpabuf_head(reply), wpabuf_len(reply)); in wps_er_http_get_dev_info_cb()
1857 if (dev_info) { in wps_er_http_get_dev_info_cb()
1858 wps_er_ap_learn(ap, dev_info); in wps_er_http_get_dev_info_cb()
1859 os_free(dev_info); in wps_er_http_get_dev_info_cb()
/third_party/uboot/u-boot-2020.01/drivers/soc/ti/
Dk3-navss-ringacc.c1035 dev_info(dev, "Ring Accelerator probed rings:%u, gp-rings[%u,%u] sci-dev-id:%u\n", in k3_nav_ringacc_probe()
1040 dev_info(dev, "dma-ring-reset-quirk: %s\n", in k3_nav_ringacc_probe()
1042 dev_info(dev, "RA Proxy rev. %08x, num_proxies:%u\n", in k3_nav_ringacc_probe()
/third_party/ffmpeg/libavutil/
Dhwcontext_vulkan.c985 VkDeviceCreateInfo dev_info = { in vulkan_device_create_internal() local
1012 if ((err = search_queue_families(ctx, &dev_info))) in vulkan_device_create_internal()
1015 if ((err = check_extensions(ctx, 1, opts, &dev_info.ppEnabledExtensionNames, in vulkan_device_create_internal()
1016 &dev_info.enabledExtensionCount, 0))) { in vulkan_device_create_internal()
1023 ret = vkCreateDevice(hwctx->phys_dev, &dev_info, hwctx->alloc, in vulkan_device_create_internal()
1033 for (int i = 0; i < dev_info.enabledExtensionCount; i++) in vulkan_device_create_internal()
1034 av_free((void *)dev_info.ppEnabledExtensionNames[i]); in vulkan_device_create_internal()
1035 av_free((void *)dev_info.ppEnabledExtensionNames); in vulkan_device_create_internal()
1045 hwctx->enabled_dev_extensions = dev_info.ppEnabledExtensionNames; in vulkan_device_create_internal()
1046 hwctx->nb_enabled_dev_extensions = dev_info.enabledExtensionCount; in vulkan_device_create_internal()
/third_party/uboot/u-boot-2020.01/drivers/net/ti/
Dam65-cpsw-nuss.c347 dev_info(dev, "K3 CPSW: rflow_id_base: %u\n", in am65_cpsw_start()
762 dev_info(dev, "K3 CPSW: nuss_ver: 0x%08X cpsw_ver: 0x%08X ale_ver: 0x%08X Ports:%u mdio_freq:%u\n", in am65_cpsw_probe_cpsw()
/third_party/uboot/u-boot-2020.01/drivers/dma/ti/
Dk3-udma.c609 dev_info(ud->dev, "chan%d: already have %d pair allocated\n", in udma_get_chan_pair()
1132 dev_info(dev, in udma_probe()
1185 dev_info(dev, in udma_probe()
1189 dev_info(dev, "Number of rflows: %u\n", ud->rflow_cnt); in udma_probe()
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/
Dpinctrl-stmfx.c382 dev_info(dev, "STMFX id: %#x, fw version: %x.%02x\n", in stmfx_chip_init()

12