/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
gen6_urb.c | 35 * When the GS is not in use, we assign the entire URB space to the VS. When 36 * the GS is in use, we split the URB space evenly between the VS and the GS. 39 * URB size / 2 URB size / 2 46 * Sandybridge GT1 has 32kB of URB space, while GT2 has 64kB. 54 int total_urb_size = brw->urb.size * 1024; /* in bytes */ 57 brw->urb.vs_size = MAX2(brw->vs.prog_data->urb_entry_size, 1); 60 * the SF and Clipper expect), so we can simply make the GS URB entry size 65 brw->urb.gs_size = brw->urb.vs_size [all...] |
brw_urb.c | 47 * Manages the division of the URB space between the various fixed-function 77 * Each unit will take the number of URB entries we give it (based on the 102 brw->urb.vs_start = 0; 103 brw->urb.gs_start = brw->urb.nr_vs_entries * brw->urb.vsize; 104 brw->urb.clip_start = brw->urb.gs_start + brw->urb.nr_gs_entries * brw->urb.vsize [all...] |
gen7_urb.c | 31 * The following diagram shows how we partition the URB: 33 * 8kB 8kB Rest of the URB space 41 * Notably, push constants must be stored at the beginning of the URB 48 * Ivybridge GT1 has 128kB of URB space. 49 * Ivybridge GT2 has 256kB of URB space. 81 /* Total space for entries is URB size - 16kB for push constants */ 82 int handle_region_size = (brw->urb.size - 16) * 1024; /* bytes */ 85 brw->urb.vs_size = MAX2(brw->vs.prog_data->urb_entry_size, 1); 87 int nr_vs_entries = handle_region_size / (brw->urb.vs_size * 64); 88 if (nr_vs_entries > brw->urb.max_vs_entries [all...] |
brw_context.c | 299 brw->urb.size = 128; 300 brw->urb.max_vs_entries = 640; 301 brw->urb.max_gs_entries = 256; 305 brw->urb.size = 256; 306 brw->urb.max_vs_entries = 1664; 307 brw->urb.max_gs_entries = 640; 314 brw->urb.size = 128; 315 brw->urb.max_vs_entries = 512; 316 brw->urb.max_gs_entries = 192; 321 brw->urb.size = 256 [all...] |
brw_vs_state.c | 62 * and those dwords will be written to the second URB handle when we 105 switch (brw->urb.nr_vs_entries) { 117 vs->thread4.nr_urb_entries = brw->urb.nr_vs_entries >> 2; 123 switch (brw->urb.nr_vs_entries) { 135 vs->thread4.nr_urb_entries = brw->urb.nr_vs_entries; 138 vs->thread4.urb_entry_allocation_size = brw->urb.vsize - 1; 140 vs->thread4.max_threads = CLAMP(brw->urb.nr_vs_entries / 2,
|
brw_gs_state.c | 71 gs->thread4.nr_urb_entries = brw->urb.nr_gs_entries; 72 gs->thread4.urb_entry_allocation_size = brw->urb.vsize - 1; 74 if (brw->urb.nr_gs_entries >= 8)
|
brw_clip_state.c | 70 clip->thread4.nr_urb_entries = brw->urb.nr_clip_entries; 71 clip->thread4.urb_entry_allocation_size = brw->urb.vsize - 1; 72 /* If we have enough clip URB entries to run two threads, do so. 74 if (brw->urb.nr_clip_entries >= 10) { 75 /* Half of the URB entries go to each thread, and it has to be an 78 assert(brw->urb.nr_clip_entries % 2 == 0); 88 assert(brw->urb.nr_clip_entries >= 5);
|
brw_curbe.c | 142 /* Define the number of curbes within CS's urb allocation. Multiple 143 * urb entries -> multiple curbes. These will be used by 153 * urb entries detailed here are housed in the CS range from the 159 if (brw->urb.csize == 0) { 163 assert(brw->urb.nr_cs_entries); 164 OUT_BATCH((brw->urb.csize - 1) << 4 | brw->urb.nr_cs_entries); 327 * URB), it shouldn't be shortcircuited if identical to the 328 * previous time - because eg. the urb destination may have 329 * changed, or the urb contents different to last time [all...] |
brw_sf_state.c | 128 * Compute the offset within the URB (expressed in 256-bit register 174 sf->thread4.nr_urb_entries = brw->urb.nr_sf_entries; 175 sf->thread4.urb_entry_allocation_size = brw->urb.sfsize - 1; 187 brw->urb.nr_sf_entries) - 1;
|
brw_disasm.c | 309 [BRW_SFID_URB] = "urb", 318 [BRW_SFID_URB] = "urb", [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen6_urb.c | 35 * When the GS is not in use, we assign the entire URB space to the VS. When 36 * the GS is in use, we split the URB space evenly between the VS and the GS. 39 * URB size / 2 URB size / 2 46 * Sandybridge GT1 has 32kB of URB space, while GT2 has 64kB. 54 int total_urb_size = brw->urb.size * 1024; /* in bytes */ 57 brw->urb.vs_size = MAX2(brw->vs.prog_data->urb_entry_size, 1); 60 * the SF and Clipper expect), so we can simply make the GS URB entry size 65 brw->urb.gs_size = brw->urb.vs_size [all...] |
brw_urb.c | 47 * Manages the division of the URB space between the various fixed-function 77 * Each unit will take the number of URB entries we give it (based on the 102 brw->urb.vs_start = 0; 103 brw->urb.gs_start = brw->urb.nr_vs_entries * brw->urb.vsize; 104 brw->urb.clip_start = brw->urb.gs_start + brw->urb.nr_gs_entries * brw->urb.vsize [all...] |
gen7_urb.c | 31 * The following diagram shows how we partition the URB: 33 * 8kB 8kB Rest of the URB space 41 * Notably, push constants must be stored at the beginning of the URB 48 * Ivybridge GT1 has 128kB of URB space. 49 * Ivybridge GT2 has 256kB of URB space. 81 /* Total space for entries is URB size - 16kB for push constants */ 82 int handle_region_size = (brw->urb.size - 16) * 1024; /* bytes */ 85 brw->urb.vs_size = MAX2(brw->vs.prog_data->urb_entry_size, 1); 87 int nr_vs_entries = handle_region_size / (brw->urb.vs_size * 64); 88 if (nr_vs_entries > brw->urb.max_vs_entries [all...] |
brw_context.c | 299 brw->urb.size = 128; 300 brw->urb.max_vs_entries = 640; 301 brw->urb.max_gs_entries = 256; 305 brw->urb.size = 256; 306 brw->urb.max_vs_entries = 1664; 307 brw->urb.max_gs_entries = 640; 314 brw->urb.size = 128; 315 brw->urb.max_vs_entries = 512; 316 brw->urb.max_gs_entries = 192; 321 brw->urb.size = 256 [all...] |
brw_vs_state.c | 62 * and those dwords will be written to the second URB handle when we 105 switch (brw->urb.nr_vs_entries) { 117 vs->thread4.nr_urb_entries = brw->urb.nr_vs_entries >> 2; 123 switch (brw->urb.nr_vs_entries) { 135 vs->thread4.nr_urb_entries = brw->urb.nr_vs_entries; 138 vs->thread4.urb_entry_allocation_size = brw->urb.vsize - 1; 140 vs->thread4.max_threads = CLAMP(brw->urb.nr_vs_entries / 2,
|
brw_gs_state.c | 71 gs->thread4.nr_urb_entries = brw->urb.nr_gs_entries; 72 gs->thread4.urb_entry_allocation_size = brw->urb.vsize - 1; 74 if (brw->urb.nr_gs_entries >= 8)
|
brw_clip_state.c | 70 clip->thread4.nr_urb_entries = brw->urb.nr_clip_entries; 71 clip->thread4.urb_entry_allocation_size = brw->urb.vsize - 1; 72 /* If we have enough clip URB entries to run two threads, do so. 74 if (brw->urb.nr_clip_entries >= 10) { 75 /* Half of the URB entries go to each thread, and it has to be an 78 assert(brw->urb.nr_clip_entries % 2 == 0); 88 assert(brw->urb.nr_clip_entries >= 5);
|
brw_curbe.c | 142 /* Define the number of curbes within CS's urb allocation. Multiple 143 * urb entries -> multiple curbes. These will be used by 153 * urb entries detailed here are housed in the CS range from the 159 if (brw->urb.csize == 0) { 163 assert(brw->urb.nr_cs_entries); 164 OUT_BATCH((brw->urb.csize - 1) << 4 | brw->urb.nr_cs_entries); 327 * URB), it shouldn't be shortcircuited if identical to the 328 * previous time - because eg. the urb destination may have 329 * changed, or the urb contents different to last time [all...] |
brw_sf_state.c | 128 * Compute the offset within the URB (expressed in 256-bit register 174 sf->thread4.nr_urb_entries = brw->urb.nr_sf_entries; 175 sf->thread4.urb_entry_allocation_size = brw->urb.sfsize - 1; 187 brw->urb.nr_sf_entries) - 1;
|
brw_disasm.c | 309 [BRW_SFID_URB] = "urb", 318 [BRW_SFID_URB] = "urb", [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
usbdlib.h | 12 #define UsbBuildInterruptOrBulkTransferRequest(urb,length, pipeHandle, transferBuffer, transferBufferMDL, transferBufferLength, transferFlags, link) \ 14 (urb)->UrbHeader.Function = URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER; \ 15 (urb)->UrbHeader.Length = (length); \ 16 (urb)->UrbBulkOrInterruptTransfer.PipeHandle = (pipeHandle); \ 17 (urb)->UrbBulkOrInterruptTransfer.TransferBufferLength = (transferBufferLength); \ 18 (urb)->UrbBulkOrInterruptTransfer.TransferBufferMDL = (transferBufferMDL); \ 19 (urb)->UrbBulkOrInterruptTransfer.TransferBuffer = (transferBuffer); \ 20 (urb)->UrbBulkOrInterruptTransfer.TransferFlags = (transferFlags); \ 21 (urb)->UrbBulkOrInterruptTransfer.UrbLink = (link); \ 24 #define UsbBuildGetDescriptorRequest(urb, length, descriptorType, descriptorIndex, languageId, transferBuffer, transferBufferMDL, transferB (…) [all...] |
/external/libusb/libusb/os/ |
linux_usbfs.c | 75 /* Linux 2.6.32 adds support for a bulk continuation URB flag. this basically 115 /* submission failed after the first URB, so await cancellation/completion 122 /* completed multi-URB transfer in non-final URB */ 215 /* bulk continuation URB flag available from Linux 2.6.32 */ 1325 struct usbfs_urb *urb = tpriv->iso_urbs[i]; local 1379 struct usbfs_urb *urb = &urbs[i]; local 1504 struct usbfs_urb *urb; local 1615 struct usbfs_urb *urb; local 2064 struct usbfs_urb *urb; local [all...] |
/external/chromium_org/third_party/libusb/src/libusb/os/ |
linux_usbfs.c | 84 /* Linux 2.6.32 adds support for a bulk continuation URB flag. this basically 101 /* Linux 2.6.31 fixes support for the zero length packet URB flag. This 153 /* submission failed after the first URB, so await cancellation/completion 160 /* completed multi-URB transfer in non-final URB */ 369 /* bulk continuation URB flag available from Linux 2.6.32 */ 381 /* zero length packet URB flag fixed since Linux 2.6.31 */ 1648 struct usbfs_urb *urb; local 1679 struct usbfs_urb *urb = tpriv->iso_urbs[i]; local 1776 struct usbfs_urb *urb = &urbs[i]; local 1913 struct usbfs_urb *urb; local 2016 struct usbfs_urb *urb; local 2453 struct usbfs_urb *urb; local [all...] |
/system/core/libusbhost/ |
usbhost.c | 614 struct usbdevfs_urb *urb = calloc(1, sizeof(struct usbdevfs_urb)); local 615 if (!urb) 619 urb->type = USBDEVFS_URB_TYPE_BULK; 621 urb->type = USBDEVFS_URB_TYPE_INTERRUPT; 624 free(urb); 627 urb->endpoint = ep_desc->bEndpointAddress; 631 free(urb); 637 req->private_data = urb; 638 req->endpoint = urb->endpoint; 639 urb->usercontext = req 652 struct usbdevfs_urb *urb = (struct usbdevfs_urb*)req->private_data; local 672 struct usbdevfs_urb *urb = NULL; local 697 struct usbdevfs_urb *urb = ((struct usbdevfs_urb*)req->private_data); local [all...] |
/system/core/adb/ |
usb_linux.c | 313 struct usbdevfs_urb *urb = &h->urb_out; local 318 memset(urb, 0, sizeof(*urb)); 319 urb->type = USBDEVFS_URB_TYPE_BULK; 320 urb->endpoint = h->ep_out; 321 urb->status = -1; 322 urb->buffer = (void*) data; 323 urb->buffer_length = len; 333 res = ioctl(h->desc, USBDEVFS_SUBMITURB, urb); 352 if(urb->status == 0) 366 struct usbdevfs_urb *urb = &h->urb_in; local [all...] |