Home
last modified time | relevance | path

Searched refs:device_info (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium-trace/catapult/devil/devil/utils/
Dreset_usb.py46 for device_info in lsusb_info:
47 device_serial = lsusb.get_lsusb_serial(device_info)
49 bus = int(device_info.get('bus'))
50 device = int(device_info.get('device'))
67 for device_info in lsusb_info:
68 if int(device_info.get('device')) != 1 and condition(device_info):
69 bus = int(device_info.get('bus'))
70 device = int(device_info.get('device'))
73 serial = lsusb.get_lsusb_serial(device_info)
/external/libxcam/modules/ocl/
Dcl_device.cpp105 CLDevieInfo device_info; in init() local
122 if (!query_device_info (device_id, device_info)) { in init()
133 device_info.max_compute_unit, in init()
134 device_info.max_work_item_dims, in init()
135device_info.max_work_item_sizes[0], device_info.max_work_item_sizes[1], device_info.max_work_item_… in init()
136 device_info.max_work_group_size, in init()
137 device_info.image_pitch_alignment); in init()
160 _device_info = device_info; in init()
/external/tensorflow/tensorflow/core/graph/
Dsubgraph.h53 PruneRewrite(const string* endpoint_name, const DeviceAttributes* device_info) in PruneRewrite() argument
54 : endpoint_name_(endpoint_name), device_info_(device_info) {} in PruneRewrite()
67 const DeviceAttributes& device_info() { return *device_info_; } in device_info() function
104 const DeviceAttributes& device_info, bool use_function_convention,
123 const DeviceAttributes* device_info, int32 arg_index) in ArgFeedRewrite() argument
124 : PruneRewrite(endpoint_name, device_info), arg_index_(arg_index) {} in ArgFeedRewrite()
144 const DeviceAttributes* device_info, int32 retval_index) in RetvalFetchRewrite() argument
145 : PruneRewrite(endpoint_name, device_info), retval_index_(retval_index) {} in RetvalFetchRewrite()
Dsubgraph.cc233 (*out_node)->set_assigned_device_name(device_info().name()); in AddNode()
246 .Attr("send_device", device_info().name()) in AddNode()
247 .Attr("recv_device", device_info().name()) in AddNode()
249 static_cast<int64>(device_info().incarnation())) in AddNode()
253 (*out_node)->set_assigned_device_name(device_info().name()); in AddNode()
272 (*out_node)->set_assigned_device_name(device_info().name()); in AddNode()
284 .Attr("send_device", device_info().name()) in AddNode()
285 .Attr("recv_device", device_info().name()) in AddNode()
287 static_cast<int64>(device_info().incarnation())) in AddNode()
290 (*out_node)->set_assigned_device_name(device_info().name()); in AddNode()
[all …]
Dsubgraph_test.cc347 DeviceAttributes device_info; in BM_SubgraphHelper() local
348 device_info.set_name("/job:a/replica:0/task:0/cpu:0"); in BM_SubgraphHelper()
349 device_info.set_device_type(DeviceType(DEVICE_CPU).type()); in BM_SubgraphHelper()
350 device_info.set_incarnation(0); in BM_SubgraphHelper()
380 subgraph, fed, fetch, targets, device_info, use_function_convention, in BM_SubgraphHelper()
/external/tensorflow/tensorflow/tools/test/
Dsystem_info_lib.py54 config.device_info.add().Pack(gpu)
132 device_info = test_log_pb2.AvailableDeviceInfo()
133 device_info.name = d.name
134 device_info.type = d.device_type
135 device_info.memory_limit = d.memory_limit
136 device_info.physical_description = d.physical_device_desc
137 device_info_list.append(device_info)
/external/u-boot/examples/api/
Dglue.c164 static struct device_info devices[UB_MAX_DEV];
166 struct device_info * ub_dev_get(int i) in ub_dev_get()
179 struct device_info *di; in ub_dev_enum()
182 memset(&devices, 0, sizeof(struct device_info) * UB_MAX_DEV); in ub_dev_enum()
213 struct device_info *di; in ub_dev_open()
229 struct device_info *di; in ub_dev_close()
275 struct device_info *di; in ub_dev_read()
305 struct device_info *di; in ub_dev_recv()
323 struct device_info *di; in ub_dev_send()
Ddemo.c31 struct device_info *di; in main()
295 struct device_info *di = ub_dev_get(handle); in test_dump_di()
/external/libcups/cups/
Dgetdevices.c49 *device_info, /* device-info value */ in cupsGetDevices() local
172 device_info = NULL; in cupsGetDevices()
202 if (device_class && device_id && device_info && device_make_and_model && in cupsGetDevices()
204 (*callback)(device_class, device_id, device_info, in cupsGetDevices()
210 device_info = NULL; in cupsGetDevices()
223 device_info = attr->values[0].string.text; in cupsGetDevices()
239 if (device_class && device_id && device_info && device_make_and_model && in cupsGetDevices()
241 (*callback)(device_class, device_id, device_info, in cupsGetDevices()
Dbackend.c96 const char *device_info, /* I - device-info string or @code NULL@ */ in cupsBackendReport() argument
108 quote_string(device_info); in cupsBackendReport()
Dbackend.h62 const char *device_info,
Dadminutil.h52 const char *device_id, const char *device_info,
/external/u-boot/api/
Dapi.c198 struct device_info *di; in API_dev_enum()
201 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_enum()
231 struct device_info *di; in API_dev_open()
235 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_open()
263 struct device_info *di; in API_dev_close()
267 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_close()
315 struct device_info *di; in API_dev_write()
321 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_write()
382 struct device_info *di; in API_dev_read()
389 di = (struct device_info *)va_arg(ap, uintptr_t); in API_dev_read()
Dapi_private.h16 int dev_enum_storage(struct device_info *);
17 int dev_enum_net(struct device_info *);
Dapi_storage.c98 static int dev_stor_get(int type, int *more, struct device_info *di) in dev_stor_get()
169 static int dev_is_stor(int type, struct device_info *di) in dev_is_stor()
175 static int dev_enum_stor(int type, struct device_info *di) in dev_enum_stor()
275 int dev_enum_storage(struct device_info *di) in dev_enum_storage()
Dapi_net.c56 int dev_enum_net(struct device_info *di) in dev_enum_net()
99 int dev_enum_net(struct device_info *di) in dev_enum_net()
/external/webrtc/webrtc/test/
Dvcm_capturer.cc24 VideoCaptureModule::DeviceInfo* device_info = in Init() local
29 if (device_info->GetDeviceName(0, device_name, sizeof(device_name), in Init()
39 device_info->GetCapability(vcm_->CurrentDeviceName(), 0, capability_); in Init()
40 delete device_info; in Init()
/external/f2fs-tools/lib/
Dlibf2fs_zoned.c29 struct device_info *dev = c.devices + i; in f2fs_get_zoned_model()
64 struct device_info *dev = c.devices + i; in f2fs_get_zone_blocks()
109 struct device_info *dev = c.devices + j; in f2fs_check_zones()
217 struct device_info *dev = c.devices + j; in f2fs_reset_zones()
281 struct device_info *dev = c.devices + i; in f2fs_get_zoned_model()
289 struct device_info *dev = c.devices + i; in f2fs_get_zone_blocks()
/external/webrtc/talk/media/webrtc/
Dfakewebrtcvcmfactory.h42 if (!device_info.GetDeviceById(device_id)) return NULL; in Create()
49 return &device_info; in CreateDeviceInfo()
56 FakeWebRtcDeviceInfo device_info; variable
Dwebrtcvideocapturer_unittest.cc52 factory_->device_info.AddDevice(kTestDeviceName, kTestDeviceId); in WebRtcVideoCapturerTest()
59 factory_->device_info.AddCapability(kTestDeviceId, vga); in WebRtcVideoCapturerTest()
/external/autotest/client/site_tests/camera_V4L2/src/
Dmedia_v4l2_test.cc582 const DeviceInfo* device_info = nullptr; in GetTestProfile() local
589 device_info = characteristics.Find(usb_info.substr(0, 4), in GetTestProfile()
599 if (device_info == nullptr) { in GetTestProfile()
607 } else if (device_info == nullptr) { in GetTestProfile()
617 if (device_info) { in GetTestProfile()
619 !device_info->constant_framerate_unsupported; in GetTestProfile()
620 profile.skip_frames = device_info->frames_to_skip_after_streamon; in GetTestProfile()
621 profile.lens_facing = device_info->lens_facing; in GetTestProfile()
629 device_info->sensor_info_pixel_array_size_width; in GetTestProfile()
631 device_info->sensor_info_pixel_array_size_height; in GetTestProfile()
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_execution_state.cc454 const DeviceAttributes* device_info; in PruneGraph() local
457 &device_info)); in PruneGraph()
459 new subgraph::ArgFeedRewrite(&feed, device_info, i)); in PruneGraph()
460 tensors_and_devices.push_back({ParseTensorName(feed), device_info}); in PruneGraph()
474 const DeviceAttributes* device_info; in PruneGraph() local
477 &device_info)); in PruneGraph()
479 new subgraph::RetvalFetchRewrite(&fetch, device_info, i)); in PruneGraph()
480 tensors_and_devices.push_back({ParseTensorName(fetch), device_info}); in PruneGraph()
492 const DeviceAttributes* device_info = in PruneGraph() local
496 new subgraph::RecvFeedRewrite(&feed, device_info)); in PruneGraph()
[all …]
/external/autotest/client/site_tests/hardware_TouchScreenPowerCycles/
Dhardware_TouchScreenPowerCycles.py59 device_info = f.read()
65 for line in device_info.splitlines():
/external/autotest/client/common_lib/cros/
Dpower_cycle_usb_util.py214 device_info = bus_info.strip(target_bus_token).split(TOKEN_ROOT_DEVICE)
215 for device in device_info:
/external/tensorflow/tensorflow/tools/graph_transforms/
Dsummarize_graph_main.cc237 for (const auto& device_info : device_counts) { in SummarizeGraph() local
238 std::cout << device_info.second << " nodes assigned to device '" in SummarizeGraph()
239 << device_info.first << "'"; in SummarizeGraph()

12