Home
last modified time | relevance | path

Searched refs:urb (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_urb.c102 brw->urb.vs_start = 0; in check_urb_layout()
103 brw->urb.gs_start = brw->urb.nr_vs_entries * brw->urb.vsize; in check_urb_layout()
104 brw->urb.clip_start = brw->urb.gs_start + brw->urb.nr_gs_entries * brw->urb.vsize; in check_urb_layout()
105 brw->urb.sf_start = brw->urb.clip_start + brw->urb.nr_clip_entries * brw->urb.vsize; in check_urb_layout()
106 brw->urb.cs_start = brw->urb.sf_start + brw->urb.nr_sf_entries * brw->urb.sfsize; in check_urb_layout()
108 return brw->urb.cs_start + brw->urb.nr_cs_entries * in check_urb_layout()
109 brw->urb.csize <= brw->urb.size; in check_urb_layout()
131 if (brw->urb.vsize < vsize || in recalculate_urb_fence()
132 brw->urb.sfsize < sfsize || in recalculate_urb_fence()
133 brw->urb.csize < csize || in recalculate_urb_fence()
[all …]
Dgen6_urb.c54 int total_urb_size = brw->urb.size * 1024; /* in bytes */ in gen6_upload_urb()
57 brw->urb.vs_size = MAX2(brw->vs.prog_data->urb_entry_size, 1); in gen6_upload_urb()
65 brw->urb.gs_size = brw->urb.vs_size; in gen6_upload_urb()
69 nr_vs_entries = (total_urb_size/2) / (brw->urb.vs_size * 128); in gen6_upload_urb()
70 nr_gs_entries = (total_urb_size/2) / (brw->urb.gs_size * 128); in gen6_upload_urb()
72 nr_vs_entries = total_urb_size / (brw->urb.vs_size * 128); in gen6_upload_urb()
77 if (nr_vs_entries > brw->urb.max_vs_entries) in gen6_upload_urb()
78 nr_vs_entries = brw->urb.max_vs_entries; in gen6_upload_urb()
80 if (nr_gs_entries > brw->urb.max_gs_entries) in gen6_upload_urb()
81 nr_gs_entries = brw->urb.max_gs_entries; in gen6_upload_urb()
[all …]
Dgen7_urb.c82 int handle_region_size = (brw->urb.size - 16) * 1024; /* bytes */ in gen7_upload_urb()
85 brw->urb.vs_size = MAX2(brw->vs.prog_data->urb_entry_size, 1); in gen7_upload_urb()
87 int nr_vs_entries = handle_region_size / (brw->urb.vs_size * 64); in gen7_upload_urb()
88 if (nr_vs_entries > brw->urb.max_vs_entries) in gen7_upload_urb()
89 nr_vs_entries = brw->urb.max_vs_entries; in gen7_upload_urb()
92 brw->urb.nr_vs_entries = ROUND_DOWN_TO(nr_vs_entries, 8); in gen7_upload_urb()
95 brw->urb.vs_start = 2; /* skip over push constants */ in gen7_upload_urb()
97 assert(brw->urb.nr_vs_entries % 8 == 0); in gen7_upload_urb()
98 assert(brw->urb.nr_gs_entries % 8 == 0); in gen7_upload_urb()
103 gen7_emit_urb_state(brw, brw->urb.nr_vs_entries, brw->urb.vs_size, in gen7_upload_urb()
[all …]
Dbrw_context.c299 brw->urb.size = 128; in brwCreateContext()
300 brw->urb.max_vs_entries = 640; in brwCreateContext()
301 brw->urb.max_gs_entries = 256; in brwCreateContext()
305 brw->urb.size = 256; in brwCreateContext()
306 brw->urb.max_vs_entries = 1664; in brwCreateContext()
307 brw->urb.max_gs_entries = 640; in brwCreateContext()
314 brw->urb.size = 128; in brwCreateContext()
315 brw->urb.max_vs_entries = 512; in brwCreateContext()
316 brw->urb.max_gs_entries = 192; in brwCreateContext()
321 brw->urb.size = 256; in brwCreateContext()
[all …]
Dbrw_vs_state.c105 switch (brw->urb.nr_vs_entries) { in brw_upload_vs_unit()
117 vs->thread4.nr_urb_entries = brw->urb.nr_vs_entries >> 2; in brw_upload_vs_unit()
123 switch (brw->urb.nr_vs_entries) { in brw_upload_vs_unit()
135 vs->thread4.nr_urb_entries = brw->urb.nr_vs_entries; in brw_upload_vs_unit()
138 vs->thread4.urb_entry_allocation_size = brw->urb.vsize - 1; in brw_upload_vs_unit()
140 vs->thread4.max_threads = CLAMP(brw->urb.nr_vs_entries / 2, in brw_upload_vs_unit()
Dbrw_clip_state.c70 clip->thread4.nr_urb_entries = brw->urb.nr_clip_entries; in brw_upload_clip_unit()
71 clip->thread4.urb_entry_allocation_size = brw->urb.vsize - 1; in brw_upload_clip_unit()
74 if (brw->urb.nr_clip_entries >= 10) { in brw_upload_clip_unit()
78 assert(brw->urb.nr_clip_entries % 2 == 0); in brw_upload_clip_unit()
88 assert(brw->urb.nr_clip_entries >= 5); in brw_upload_clip_unit()
Dbrw_gs_state.c71 gs->thread4.nr_urb_entries = brw->urb.nr_gs_entries; in brw_upload_gs_unit()
72 gs->thread4.urb_entry_allocation_size = brw->urb.vsize - 1; in brw_upload_gs_unit()
74 if (brw->urb.nr_gs_entries >= 8) in brw_upload_gs_unit()
Dbrw_curbe.c159 if (brw->urb.csize == 0) { in brw_upload_cs_urb_state()
163 assert(brw->urb.nr_cs_entries); in brw_upload_cs_urb_state()
164 OUT_BATCH((brw->urb.csize - 1) << 4 | brw->urb.nr_cs_entries); in brw_upload_cs_urb_state()
Dbrw_sf_state.c174 sf->thread4.nr_urb_entries = brw->urb.nr_sf_entries; in upload_sf_unit()
175 sf->thread4.urb_entry_allocation_size = brw->urb.sfsize - 1; in upload_sf_unit()
187 brw->urb.nr_sf_entries) - 1; in upload_sf_unit()
Dbrw_disasm.c1263 format (file, " %d", inst->bits3.urb.offset); in brw_disasm()
1272 inst->bits3.urb.swizzle_control, &space); in brw_disasm()
1274 inst->bits3.urb.allocate, &space); in brw_disasm()
1276 inst->bits3.urb.used, &space); in brw_disasm()
1278 inst->bits3.urb.complete, &space); in brw_disasm()
Dbrw_eu_emit.c532 insn->bits3.urb.opcode = 0; /* ? */ in brw_set_urb_message()
533 insn->bits3.urb.offset = offset; in brw_set_urb_message()
534 insn->bits3.urb.swizzle_control = swizzle_control; in brw_set_urb_message()
535 insn->bits3.urb.allocate = allocate; in brw_set_urb_message()
536 insn->bits3.urb.used = used; /* ? */ in brw_set_urb_message()
537 insn->bits3.urb.complete = complete; in brw_set_urb_message()
Dbrw_context.h852 } urb; member
Dgen6_blorp.cpp282 OUT_BATCH(brw->urb.max_vs_entries << GEN6_URB_VS_ENTRIES_SHIFT); in gen6_blorp_emit_urb_config()
Dbrw_structs.h1353 struct brw_urb_immediate urb; member
/external/libusb/libusb/os/
Dlinux_usbfs.c1325 struct usbfs_urb *urb = tpriv->iso_urbs[i]; in free_iso_urbs() local
1326 if (!urb) in free_iso_urbs()
1328 free(urb); in free_iso_urbs()
1379 struct usbfs_urb *urb = &urbs[i]; in submit_bulk_transfer() local
1380 urb->usercontext = itransfer; in submit_bulk_transfer()
1381 urb->type = urb_type; in submit_bulk_transfer()
1382 urb->endpoint = transfer->endpoint; in submit_bulk_transfer()
1383 urb->buffer = transfer->buffer + (i * MAX_BULK_BUFFER_LENGTH); in submit_bulk_transfer()
1385 urb->flags = USBFS_URB_SHORT_NOT_OK; in submit_bulk_transfer()
1387 urb->buffer_length = transfer->length % MAX_BULK_BUFFER_LENGTH; in submit_bulk_transfer()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DGlobalizationPreferences.java288 UResourceBundle urb = null; in getResourceBundle() local
297 urb = candidate; in getResourceBundle()
310 urb = candidate; in getResourceBundle()
313 if (urb == null) { in getResourceBundle()
315 urb = candidate; in getResourceBundle()
323 if (urb == null) { in getResourceBundle()
327 return urb; in getResourceBundle()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java300 UResourceBundle urb = null; in getResourceBundle() local
309 urb = candidate; in getResourceBundle()
322 urb = candidate; in getResourceBundle()
325 if (urb == null) { in getResourceBundle()
327 urb = candidate; in getResourceBundle()
335 if (urb == null) { in getResourceBundle()
339 return urb; in getResourceBundle()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundle.java283 UResourceBundle urb = irb.get(kwVal); in getFunctionalEquivalent() local
290 if(!fullBase.toString().equals(urb.getLocale().toString())) { in getFunctionalEquivalent()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundle.java287 UResourceBundle urb = irb.get(kwVal); in getFunctionalEquivalent() local
294 if(!fullBase.toString().equals(urb.getLocale().toString())) { in getFunctionalEquivalent()
/external/libusb/
DChangeLog1030 We were forgetting about the remaining urbs when a non-final urb