Home
last modified time | relevance | path

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

/external/libdrm/amdgpu/
Damdgpu_gpu_info.c147 r = amdgpu_query_info(dev, AMDGPU_INFO_DEV_INFO, sizeof(dev->dev_info), in amdgpu_query_gpu_info_init()
148 &dev->dev_info); in amdgpu_query_gpu_info_init()
152 dev->info.asic_id = dev->dev_info.device_id; in amdgpu_query_gpu_info_init()
153 dev->info.chip_rev = dev->dev_info.chip_rev; in amdgpu_query_gpu_info_init()
154 dev->info.chip_external_rev = dev->dev_info.external_rev; in amdgpu_query_gpu_info_init()
155 dev->info.family_id = dev->dev_info.family; in amdgpu_query_gpu_info_init()
156 dev->info.max_engine_clk = dev->dev_info.max_engine_clock; in amdgpu_query_gpu_info_init()
157 dev->info.max_memory_clk = dev->dev_info.max_memory_clock; in amdgpu_query_gpu_info_init()
158 dev->info.gpu_counter_freq = dev->dev_info.gpu_counter_freq; in amdgpu_query_gpu_info_init()
159 dev->info.enabled_rb_pipes_mask = dev->dev_info.enabled_rb_pipes_mask; in amdgpu_query_gpu_info_init()
[all …]
Damdgpu_device.c261 amdgpu_vamgr_init(dev->vamgr, dev->dev_info.virtual_address_offset, in amdgpu_device_initialize()
262 dev->dev_info.virtual_address_max, in amdgpu_device_initialize()
263 dev->dev_info.virtual_address_alignment); in amdgpu_device_initialize()
265 max = MIN2(dev->dev_info.virtual_address_max, 0xffffffff); in amdgpu_device_initialize()
267 max - dev->dev_info.virtual_address_offset, in amdgpu_device_initialize()
268 dev->dev_info.virtual_address_alignment, 0); in amdgpu_device_initialize()
276 dev->dev_info.virtual_address_alignment); in amdgpu_device_initialize()
289 max - dev->dev_info.virtual_address_offset); in amdgpu_device_initialize()
Damdgpu_vamgr.c40 *start = dev->dev_info.virtual_address_offset; in amdgpu_va_range_query()
41 *end = dev->dev_info.virtual_address_max; in amdgpu_va_range_query()
Damdgpu_internal.h84 struct drm_amdgpu_info_device dev_info; member
Damdgpu_bo.c504 info->size_local = dev->dev_info.pte_fragment_size; in amdgpu_query_buffer_size_alignment()
505 info->size_remote = dev->dev_info.gart_page_size; in amdgpu_query_buffer_size_alignment()
/external/opencv3/samples/gpu/
Dmulti.cpp61 DeviceInfo dev_info(i); in main() local
62 if (!dev_info.isCompatible()) in main()
65 << dev_info.name() << ", CC " << dev_info.majorVersion() in main()
66 << dev_info.minorVersion() << "\n"; in main()
Ddriver_api_multi.cpp85 DeviceInfo dev_info(i); in main() local
86 if (!dev_info.isCompatible()) in main()
89 << dev_info.name() << ", CC " << dev_info.majorVersion() in main()
90 << dev_info.minorVersion() << "\n"; in main()
Ddriver_api_stereo_multi.cpp115 DeviceInfo dev_info(i); in main() local
116 if (!dev_info.isCompatible()) in main()
119 << dev_info.name() << ", CC " << dev_info.majorVersion() in main()
120 << dev_info.minorVersion() << "\n"; in main()
/external/blktrace/btt/
Doutput.c102 char dev_info[15]; in __output_dip_avg() local
104 __output_avg(odap->ofp, make_dev_hdr(dev_info, 15, dip, 1), in __output_dip_avg()
127 char dev_info[15]; in __output_q2d_histo() local
131 make_dev_hdr(dev_info, 15, dip, 1)); in __output_q2d_histo()
170 char dev_info[15]; in __output_dip_merge_ratio() local
188 make_dev_hdr(dev_info, 15, dip, 1), in __output_dip_merge_ratio()
200 make_dev_hdr(dev_info, 15, dip, 0), in __output_dip_merge_ratio()
263 char dev_info[15]; in __output_dip_prep_ohead() local
269 make_dev_hdr(dev_info, 15, dip, 1), in __output_dip_prep_ohead()
396 char dev_info[15]; in do_output_dip_seek_info() local
[all …]
/external/opencv3/samples/gpu/performance/
Dperformance.cpp192 DeviceInfo dev_info(device); in main() local
193 if (!dev_info.isCompatible()) in main()
195 …'t built for GPU #" << device << " " << dev_info.name() << ", CC " << dev_info.majorVersion() << '… in main()
/external/vulkan-validation-layers/demos/smoke/
DShell.cpp307 VkDeviceCreateInfo dev_info = {}; in create_dev() local
308 dev_info.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO; in create_dev()
323 dev_info.queueCreateInfoCount = 2; in create_dev()
325 dev_info.queueCreateInfoCount = 1; in create_dev()
328 dev_info.pQueueCreateInfos = queue_info.data(); in create_dev()
330 dev_info.enabledLayerCount = static_cast<uint32_t>(device_layers_.size()); in create_dev()
331 dev_info.ppEnabledLayerNames = device_layers_.data(); in create_dev()
332 dev_info.enabledExtensionCount = static_cast<uint32_t>(device_extensions_.size()); in create_dev()
333 dev_info.ppEnabledExtensionNames = device_extensions_.data(); in create_dev()
337 dev_info.pEnabledFeatures = &features; in create_dev()
[all …]
/external/vulkan-validation-layers/tests/
Dvktestbinding.cpp301 VkDeviceCreateInfo dev_info = {}; in init() local
302 dev_info.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO; in init()
303 dev_info.pNext = NULL; in init()
304 dev_info.queueCreateInfoCount = queue_info.size(); in init()
305 dev_info.pQueueCreateInfos = queue_info.data(); in init()
306 dev_info.enabledLayerCount = layers.size(); in init()
307 dev_info.ppEnabledLayerNames = layers.data(); in init()
308 dev_info.enabledExtensionCount = extensions.size(); in init()
309 dev_info.ppEnabledExtensionNames = extensions.data(); in init()
311 init(dev_info); in init()
/external/libpcap/
Dpcap-bt-linux.c382 struct hci_dev_info dev_info; in bt_stats_linux() local
383 struct hci_dev_stats * s = &dev_info.stat; in bt_stats_linux()
384 dev_info.dev_id = handlep->dev_id; in bt_stats_linux()
388 ret = ioctl(handle->fd, HCIGETDEVINFO, (void *)&dev_info); in bt_stats_linux()
/external/blktrace/btreplay/
Dbtreplay.c74 struct dev_info { struct
565 struct dev_info *dip; in add_input_dev()
568 dip = list_entry(p, struct dev_info, head); in add_input_dev()
581 static void rem_input_dev(struct dev_info *dip) in rem_input_dev()
959 static void __find_input_files(struct dev_info *dip) in __find_input_files()
991 __find_input_files(list_entry(p, struct dev_info, head)); in find_input_files()
/external/wpa_supplicant_8/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()
/external/wpa_supplicant_8/src/wps/
Dwps_er.c1812 static void wps_er_ap_learn(struct wps_er_ap *ap, const char *dev_info) in wps_er_ap_learn() argument
1819 info = xml_get_base64_item(dev_info, "NewDeviceInfo", &ret); in wps_er_ap_learn()
1836 char *dev_info = NULL; in wps_er_http_get_dev_info_cb() local
1844 dev_info = os_zalloc(wpabuf_len(reply) + 1); in wps_er_http_get_dev_info_cb()
1845 if (dev_info == NULL) in wps_er_http_get_dev_info_cb()
1847 os_memcpy(dev_info, wpabuf_head(reply), wpabuf_len(reply)); in wps_er_http_get_dev_info_cb()
1858 if (dev_info) { in wps_er_http_get_dev_info_cb()
1859 wps_er_ap_learn(ap, dev_info); in wps_er_http_get_dev_info_cb()
1860 os_free(dev_info); in wps_er_http_get_dev_info_cb()