Home
last modified time | relevance | path

Searched refs:device_desc (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/drivers/usb/gadget/
Dg_dnl.c56 static struct usb_device_descriptor device_desc = { variable
57 .bLength = sizeof device_desc,
232 device_desc.iManufacturer = id; in g_dnl_bind()
239 device_desc.iProduct = id; in g_dnl_bind()
241 g_dnl_bind_fixup(&device_desc, cdev->driver->name); in g_dnl_bind()
249 device_desc.iSerialNumber = id; in g_dnl_bind()
258 device_desc.bcdDevice = cpu_to_le16(gcnum); in g_dnl_bind()
262 device_desc.bcdDevice = __constant_cpu_to_le16(0x9999); in g_dnl_bind()
278 .dev = &device_desc,
Dether.c340 device_desc = { variable
341 .bLength = sizeof device_desc,
900 if (index >= device_desc.bNumConfigurations) in config_buf()
908 if (device_desc.bNumConfigurations == 2 && index == 0) { in config_buf()
1276 device_desc.bMaxPacketSize0 = gadget->ep0->maxpacket; in eth_setup()
1277 value = min(wLength, (u16) sizeof device_desc); in eth_setup()
1278 memcpy(req->buf, &device_desc, value); in eth_setup()
2056 device_desc.bcdDevice = cpu_to_le16(0x0300 + gcnum); in eth_bind()
2077 device_desc.idVendor = in eth_bind()
2079 device_desc.idProduct = in eth_bind()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dpartition_assignment.cc42 int64 ThreadsPerBlockLimit(const se::DeviceDescription& device_desc) { in ThreadsPerBlockLimit() argument
43 int64 threads_per_block = device_desc.threads_per_block_limit(); in ThreadsPerBlockLimit()
52 threads_per_block = device_desc.threads_per_warp(); in ThreadsPerBlockLimit()
63 const Shape& shape, const se::DeviceDescription& device_desc, in CalculateLaunchDimensions() argument
84 int64 threads_per_block = ThreadsPerBlockLimit(device_desc); in CalculateLaunchDimensions()
Dpartition_assignment.h61 int64 ThreadsPerBlockLimit(const se::DeviceDescription& device_desc);
64 const Shape& shape, const se::DeviceDescription& device_desc,
Dir_emitter_context.h35 const se::DeviceDescription* device_desc, in IrEmitterContext() argument
39 device_desc_(device_desc), in IrEmitterContext()
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py1281 def compute_capability_from_device_desc(device_desc): argument
1288 match = re.search(r"compute capability: (\d+)\.(\d+)", device_desc)