/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;
|
/external/kernel-headers/original/linux/ |
usb.h | 50 * with one or more transfer descriptors (TDs) per urb 653 * URB support, for asynchronous request completions 657 * urb->transfer_flags: 660 #define URB_ISO_ASAP 0x0002 /* iso-only, urb->start_frame 662 #define URB_NO_TRANSFER_DMA_MAP 0x0004 /* urb->transfer_dma valid on submit */ 663 #define URB_NO_SETUP_DMA_MAP 0x0008 /* urb->setup_dma valid on submit */ 676 struct urb; 679 typedef void (*usb_complete_t)(struct urb *, struct pt_regs *); 682 * struct urb - USB Request Block 683 * @urb_list: For use by current owner of the URB 844 struct urb struct [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 | 608 struct usbdevfs_urb *urb = calloc(1, sizeof(struct usbdevfs_urb)); local 609 if (!urb) 613 urb->type = USBDEVFS_URB_TYPE_BULK; 615 urb->type = USBDEVFS_URB_TYPE_INTERRUPT; 618 free(urb); 621 urb->endpoint = ep_desc->bEndpointAddress; 625 free(urb); 631 req->private_data = urb; 632 req->endpoint = urb->endpoint; 633 urb->usercontext = req 646 struct usbdevfs_urb *urb = (struct usbdevfs_urb*)req->private_data; local 666 struct usbdevfs_urb *urb = NULL; local 691 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...] |
/external/qemu/ |
usb-linux.c | 111 * we need contigious buffer when we submit control URB. 197 * Async URB state. 203 struct usbdevfs_urb urb; member in struct:AsyncURB 259 dprintf("husb: async. reap urb failed errno %d\n", errno); 266 aurb, aurb->urb.status, aurb->urb.actual_length); 269 switch (aurb->urb.status) { 271 p->len = aurb->urb.actual_length; 272 if (aurb->urb.type == USBDEVFS_URB_TYPE_CONTROL) 303 dprintf("husb: async. discard urb failed errno %d\n", errno) 440 struct usbdevfs_urb *urb; local 553 struct usbdevfs_urb *urb; local [all...] |