Home
last modified time | relevance | path

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

123

/third_party/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()
130 if (brw->urb.vsize < vsize || in brw_calculate_urb_fence()
131 brw->urb.sfsize < sfsize || in brw_calculate_urb_fence()
132 brw->urb.csize < csize || in brw_calculate_urb_fence()
[all …]
Dgfx6_urb.c54 int total_urb_size = brw->urb.size * 1024; /* in bytes */ in gfx6_upload_urb()
67 if (nr_vs_entries > devinfo->urb.max_entries[MESA_SHADER_VERTEX]) in gfx6_upload_urb()
68 nr_vs_entries = devinfo->urb.max_entries[MESA_SHADER_VERTEX]; in gfx6_upload_urb()
70 if (nr_gs_entries > devinfo->urb.max_entries[MESA_SHADER_GEOMETRY]) in gfx6_upload_urb()
71 nr_gs_entries = devinfo->urb.max_entries[MESA_SHADER_GEOMETRY]; in gfx6_upload_urb()
74 brw->urb.nr_vs_entries = ROUND_DOWN_TO(nr_vs_entries, 4); in gfx6_upload_urb()
75 brw->urb.nr_gs_entries = ROUND_DOWN_TO(nr_gs_entries, 4); in gfx6_upload_urb()
77 assert(brw->urb.nr_vs_entries >= in gfx6_upload_urb()
78 devinfo->urb.min_entries[MESA_SHADER_VERTEX]); in gfx6_upload_urb()
79 assert(brw->urb.nr_vs_entries % 4 == 0); in gfx6_upload_urb()
[all …]
Dgfx7_urb.c232 if (brw->urb.vsize == entry_size[MESA_SHADER_VERTEX] && in gfx7_upload_urb()
233 brw->urb.gs_present == gs_present && in gfx7_upload_urb()
234 brw->urb.gsize == entry_size[MESA_SHADER_GEOMETRY] && in gfx7_upload_urb()
235 brw->urb.tess_present == tess_present && in gfx7_upload_urb()
236 brw->urb.hsize == entry_size[MESA_SHADER_TESS_CTRL] && in gfx7_upload_urb()
237 brw->urb.dsize == entry_size[MESA_SHADER_TESS_EVAL]) { in gfx7_upload_urb()
240 brw->urb.vsize = entry_size[MESA_SHADER_VERTEX]; in gfx7_upload_urb()
241 brw->urb.gs_present = gs_present; in gfx7_upload_urb()
242 brw->urb.gsize = entry_size[MESA_SHADER_GEOMETRY]; in gfx7_upload_urb()
243 brw->urb.tess_present = tess_present; in gfx7_upload_urb()
[all …]
Dgfx4_blorp_exec.h57 vs.URBEntryAllocationSize = brw->urb.vsize - 1; in blorp_emit_vs_state()
59 vs.NumberofURBEntries = brw->urb.nr_vs_entries >> 2; in blorp_emit_vs_state()
61 vs.NumberofURBEntries = brw->urb.nr_vs_entries; in blorp_emit_vs_state()
89 sf.URBEntryAllocationSize = brw->urb.sfsize - 1; in blorp_emit_sf_state()
90 sf.NumberofURBEntries = brw->urb.nr_sf_entries; in blorp_emit_sf_state()
93 sf.MaximumNumberofThreads = MIN2(48, brw->urb.nr_sf_entries) - 1; in blorp_emit_sf_state()
95 sf.MaximumNumberofThreads = MIN2(24, brw->urb.nr_sf_entries) - 1; in blorp_emit_sf_state()
Dgfx7_l3_state.c200 if (brw->urb.size != sz) { in update_urb_size()
201 brw->urb.size = sz; in update_urb_size()
208 brw->urb.vsize = 0; in update_urb_size()
209 brw->urb.gsize = 0; in update_urb_size()
210 brw->urb.hsize = 0; in update_urb_size()
211 brw->urb.dsize = 0; in update_urb_size()
DgenX_blorp_exec.c408 brw->urb.vsize = 0; in genX()
409 brw->urb.gs_present = false; in genX()
410 brw->urb.gsize = 0; in genX()
411 brw->urb.tess_present = false; in genX()
412 brw->urb.hsize = 0; in genX()
413 brw->urb.dsize = 0; in genX()
Dbrw_curbe.c172 if (brw->urb.csize == 0) { in brw_upload_cs_urb_state()
176 assert(brw->urb.nr_cs_entries); in brw_upload_cs_urb_state()
177 OUT_BATCH((brw->urb.csize - 1) << 4 | brw->urb.nr_cs_entries); in brw_upload_cs_urb_state()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c60 static int usb_start_wait_urb(struct urb *, usb_timeout_t, uint16_t *);
68 static int usb_unlink_urb_sub(struct urb *, uint8_t);
393 usb_submit_urb(struct urb *urb, uint16_t mem_flags) in usb_submit_urb() argument
400 if (urb == NULL) in usb_submit_urb()
407 if (urb->endpoint == NULL) { in usb_submit_urb()
418 if (urb->kill_count != 0) { in usb_submit_urb()
423 uhe = urb->endpoint; in usb_submit_urb()
434 TAILQ_INSERT_TAIL(&uhe->bsd_urb_list, urb, bsd_urb_list); in usb_submit_urb()
437 urb->status = -EINPROGRESS; in usb_submit_urb()
444 urb->status = -EINVAL; in usb_submit_urb()
[all …]
/third_party/mesa3d/src/intel/tools/tests/gen9/
Dsend.asm2 urb MsgDesc: 1 SIMD8 write mlen 5 rlen 0 { align1 1Q EOT };
4 urb MsgDesc: 0 SIMD8 write mlen 9 rlen 0 { align1 1Q };
6 urb MsgDesc: 2 SIMD8 write mlen 5 rlen 0 { align1 1Q EOT };
10 urb MsgDesc: 1 SIMD8 write mlen 9 rlen 0 { align1 1Q EOT };
18 urb MsgDesc: 2 SIMD8 read mlen 1 rlen 4 { align1 1Q };
20 urb MsgDesc: 1 SIMD8 write per-slot mlen 10 rlen 0 { align1 1Q };
22 urb MsgDesc: 1 SIMD8 write per-slot mlen 10 rlen 0 { align1 1Q EOT };
28 urb MsgDesc: 3 SIMD8 write per-slot mlen 6 rlen 0 { align1 1Q };
30 urb MsgDesc: 2 SIMD8 write mlen 5 rlen 0 { align1 1Q };
32 urb MsgDesc: 1 SIMD8 write masked mlen 6 rlen 0 { align1 1Q };
[all …]
/third_party/mesa3d/src/intel/tools/tests/gen8/
Dsend.asm2 urb MsgDesc: 1 SIMD8 write mlen 5 rlen 0 { align1 1Q EOT };
4 urb MsgDesc: 0 SIMD8 write mlen 9 rlen 0 { align1 1Q };
6 urb MsgDesc: 2 SIMD8 write mlen 5 rlen 0 { align1 1Q EOT };
10 urb MsgDesc: 1 SIMD8 write mlen 9 rlen 0 { align1 1Q EOT };
22 urb MsgDesc: 2 SIMD8 read mlen 1 rlen 4 { align1 1Q };
24 urb MsgDesc: 1 SIMD8 write per-slot mlen 10 rlen 0 { align1 1Q };
26 urb MsgDesc: 1 SIMD8 write per-slot mlen 10 rlen 0 { align1 1Q EOT };
28 urb MsgDesc: 3 SIMD8 write per-slot mlen 6 rlen 0 { align1 1Q };
30 urb MsgDesc: 2 SIMD8 write mlen 5 rlen 0 { align1 1Q };
32 urb MsgDesc: 1 SIMD8 write masked mlen 6 rlen 0 { align1 1Q };
[all …]
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dusb.h43 struct urb;
46 typedef void (usb_complete_t)(struct urb *);
236 struct urb { struct
237 TAILQ_ENTRY(urb) bsd_urb_list;
286 int usb_submit_urb(struct urb *urb, uint16_t mem_flags); argument
287 int usb_unlink_urb(struct urb *urb);
301 struct urb *usb_alloc_urb(uint16_t iso_packets, uint16_t mem_flags);
311 void usb_free_urb(struct urb *urb);
312 void usb_init_urb(struct urb *urb);
313 void usb_kill_urb(struct urb *urb);
[all …]
/third_party/libusb/libusb/os/
Dlinux_usbfs.c1838 struct usbfs_urb *urb; in discard_urbs() local
1842 urb = tpriv->iso_urbs[i]; in discard_urbs()
1844 urb = &tpriv->urbs[i]; in discard_urbs()
1846 if (ioctl(hpriv->fd, IOCTL_USBFS_DISCARDURB, urb) == 0) in discard_urbs()
1869 struct usbfs_urb *urb = tpriv->iso_urbs[i]; in free_iso_urbs() local
1871 if (!urb) in free_iso_urbs()
1873 free(urb); in free_iso_urbs()
1956 struct usbfs_urb *urb = &urbs[i]; in submit_bulk_transfer() local
1958 urb->usercontext = itransfer; in submit_bulk_transfer()
1961 urb->type = USBFS_URB_TYPE_BULK; in submit_bulk_transfer()
[all …]
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
Dst_tusb.h36 int (*submit_urb) (struct urb *urb);
37 int (*unlink_urb) (struct urb *urb);
82 int (*urb_enqueue) (struct usb_hcd *hcd, struct urb *urb,
84 int (*urb_dequeue) (struct usb_hcd *hcd, struct urb *urb);
/third_party/mesa3d/src/intel/tools/tests/gen7.5/
Dsend.asm2urb MsgDesc: 0 write HWord interleave complete mlen 5 rlen 0 { align16 1Q EOT };
4urb MsgDesc: 0 write HWord interleave complete mlen 3 rlen 0 { align16 1Q EOT };
10urb MsgDesc: 2 read OWord per-slot interleave mlen 1 rlen 1 { align16 1Q };
12urb MsgDesc: 3 write OWord per-slot interleave mlen 2 rlen 0 { align16 1Q };
14urb MsgDesc: 2 write OWord per-slot interleave mlen 2 rlen 0 { align16 1Q };
16urb MsgDesc: 1 write OWord per-slot interleave mlen 2 rlen 0 { align16 1Q };
18urb MsgDesc: 0 write OWord per-slot interleave mlen 2 rlen 0 { align16 1Q };
20urb MsgDesc: 1 read OWord per-slot interleave mlen 1 rlen 1 { align16 1Q };
22urb MsgDesc: 0 read OWord per-slot interleave mlen 1 rlen 1 { align16 1Q };
26urb MsgDesc: 0 read OWord interleave complete mlen 1 rlen 0 { align16 1Q };
[all …]
/third_party/mesa3d/src/intel/dev/
Dintel_device_info.c103 .urb = {
125 .urb = {
145 .urb = {
168 .urb = {
198 .urb = {
238 .urb = {
267 .urb = {
296 .urb = {
330 .urb = {
358 .urb = {
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dgen4_blorp_exec.h55 vs.URBEntryAllocationSize = batch->ice->urb.vsize - 1; in blorp_emit_vs_state()
57 vs.NumberofURBEntries = batch->ice->urb.nr_vs_entries >> 2; in blorp_emit_vs_state()
59 vs.NumberofURBEntries = batch->ice->urb.nr_vs_entries; in blorp_emit_vs_state()
85 sf.URBEntryAllocationSize = batch->ice->urb.sfsize - 1; in blorp_emit_sf_state()
86 sf.NumberofURBEntries = batch->ice->urb.nr_sf_entries; in blorp_emit_sf_state()
89 sf.MaximumNumberofThreads = MIN2(48, batch->ice->urb.nr_sf_entries) - 1; in blorp_emit_sf_state()
91 sf.MaximumNumberofThreads = MIN2(24, batch->ice->urb.nr_sf_entries) - 1; in blorp_emit_sf_state()
Dcrocus_state.c686 ice->urb.vs_start = 0; in check_urb_layout()
687 ice->urb.gs_start = ice->urb.nr_vs_entries * ice->urb.vsize; in check_urb_layout()
688 ice->urb.clip_start = ice->urb.gs_start + ice->urb.nr_gs_entries * ice->urb.vsize; in check_urb_layout()
689 ice->urb.sf_start = ice->urb.clip_start + ice->urb.nr_clip_entries * ice->urb.vsize; in check_urb_layout()
690 ice->urb.cs_start = ice->urb.sf_start + ice->urb.nr_sf_entries * ice->urb.sfsize; in check_urb_layout()
692 return ice->urb.cs_start + ice->urb.nr_cs_entries * in check_urb_layout()
693 ice->urb.csize <= ice->urb.size; in check_urb_layout()
712 if (ice->urb.vsize < vsize || in crocus_calculate_urb_fence()
713 ice->urb.sfsize < sfsize || in crocus_calculate_urb_fence()
714 ice->urb.csize < csize || in crocus_calculate_urb_fence()
[all …]
Dcrocus_blorp.c380 ice->urb.vsize = 0; in crocus_blorp_exec()
381 ice->urb.gs_present = false; in crocus_blorp_exec()
382 ice->urb.gsize = 0; in crocus_blorp_exec()
383 ice->urb.tess_present = false; in crocus_blorp_exec()
384 ice->urb.hsize = 0; in crocus_blorp_exec()
385 ice->urb.dsize = 0; in crocus_blorp_exec()
/third_party/mesa3d/src/intel/tools/tests/gen4/
Dsend.asm8urb MsgDesc: 0 urb_write interleave used complete mlen 5 rlen 0 { align16 EOT };
10urb MsgDesc: 0 urb_write interleave used complete mlen 4 rlen 0 { align16 EOT };
16urb MsgDesc: 0 urb_write interleave used complete mlen 8 rlen 0 { align16 EOT };
30 urb MsgDesc: 0 urb_write interleave used mlen 13 rlen 0 { align16 };
32urb MsgDesc: 6 urb_write interleave used complete mlen 5 rlen 0 { align16 EOT };
34urb MsgDesc: 0 urb_write interleave used complete mlen 6 rlen 0 { align16 EOT };
50urb MsgDesc: 0 urb_write interleave used complete mlen 7 rlen 0 { align16 EOT };
54urb MsgDesc: 6 urb_write interleave used complete mlen 8 rlen 0 { align16 EOT };
60urb MsgDesc: 6 urb_write interleave used complete mlen 4 rlen 0 { align16 EOT };
66urb MsgDesc: 0 urb_write interleave used complete mlen 11 rlen 0 { align16 EOT };
[all …]
/third_party/mesa3d/src/intel/tools/tests/gen4.5/
Dsend.asm8urb MsgDesc: 0 urb_write interleave used complete mlen 5 rlen 0 { align16 EOT };
10urb MsgDesc: 0 urb_write interleave used complete mlen 4 rlen 0 { align16 EOT };
16urb MsgDesc: 0 urb_write interleave used complete mlen 8 rlen 0 { align16 EOT };
30 urb MsgDesc: 0 urb_write interleave used mlen 13 rlen 0 { align16 };
32urb MsgDesc: 6 urb_write interleave used complete mlen 5 rlen 0 { align16 EOT };
34urb MsgDesc: 0 urb_write interleave used complete mlen 6 rlen 0 { align16 EOT };
50urb MsgDesc: 0 urb_write interleave used complete mlen 7 rlen 0 { align16 EOT };
54urb MsgDesc: 6 urb_write interleave used complete mlen 8 rlen 0 { align16 EOT };
60urb MsgDesc: 6 urb_write interleave used complete mlen 4 rlen 0 { align16 EOT };
64urb MsgDesc: 0 urb_write interleave used complete mlen 11 rlen 0 { align16 EOT };
[all …]
/third_party/mesa3d/src/intel/common/
Dintel_urb_config.c121 192 : devinfo->urb.min_entries[MESA_SHADER_VERTEX], in intel_get_urb_config()
136 devinfo->urb.min_entries[MESA_SHADER_TESS_EVAL] : 0, in intel_get_urb_config()
166 DIV_ROUND_UP(devinfo->urb.max_entries[i] * entry_size_bytes[i], in intel_get_urb_config()
213 entries[i] = MIN2(entries[i], devinfo->urb.max_entries[i]); in intel_get_urb_config()
/third_party/mesa3d/src/intel/tools/tests/gen6/
Dsend.asm2urb MsgDesc: 0 urb_write interleave used complete mlen 3 rlen 0 { align16 1Q EOT };
4urb MsgDesc: 0 urb_write interleave used complete mlen 5 rlen 0 { align16 1Q EOT };
14urb MsgDesc: 0 urb_write interleave used complete mlen 7 rlen 0 { align16 1Q EOT };
26 urb MsgDesc: 0 ff_sync allocate mlen 1 rlen 1 { align16 1Q };
28urb MsgDesc: 0 urb_write interleave allocate used complete mlen 5 rlen 1 { align16 1Q };
30urb MsgDesc: 0 urb_write interleave complete mlen 1 rlen 0 { align16 1Q EOT };
32urb MsgDesc: 0 urb_write interleave allocate used complete mlen 3 rlen 1 { align16 1Q };
34 urb MsgDesc: 0 urb_write interleave used mlen 15 rlen 0 { align16 1Q };
36urb MsgDesc: 7 urb_write interleave used complete mlen 3 rlen 0 { align16 1Q EOT };
74urb MsgDesc: 0 urb_write interleave used complete mlen 9 rlen 0 { align16 1Q EOT };
[all …]
/third_party/mesa3d/src/intel/tools/tests/gen7/
Dsend.asm2urb MsgDesc: 0 write HWord interleave complete mlen 3 rlen 0 { align16 1Q EOT };
4urb MsgDesc: 0 write HWord interleave complete mlen 5 rlen 0 { align16 1Q EOT };
10urb MsgDesc: 2 read OWord per-slot interleave mlen 1 rlen 1 { align16 1Q };
12urb MsgDesc: 3 write OWord per-slot interleave mlen 2 rlen 0 { align16 1Q };
14urb MsgDesc: 2 write OWord per-slot interleave mlen 2 rlen 0 { align16 1Q };
16urb MsgDesc: 1 write OWord per-slot interleave mlen 2 rlen 0 { align16 1Q };
18urb MsgDesc: 0 write OWord per-slot interleave mlen 2 rlen 0 { align16 1Q };
20urb MsgDesc: 1 read OWord per-slot interleave mlen 1 rlen 1 { align16 1Q };
22urb MsgDesc: 0 read OWord per-slot interleave mlen 1 rlen 1 { align16 1Q };
26urb MsgDesc: 0 read OWord interleave complete mlen 1 rlen 0 { align16 1Q };
[all …]
/third_party/mesa3d/src/intel/tools/tests/gen5/
Dsend.asm10urb MsgDesc: 0 urb_write interleave used complete mlen 5 rlen 0 { align16 EOT };
22urb MsgDesc: 0 urb_write interleave used complete mlen 4 rlen 0 { align16 EOT };
32urb MsgDesc: 0 urb_write interleave used complete mlen 6 rlen 0 { align16 EOT };
50 urb MsgDesc: 0 urb_write interleave used mlen 13 rlen 0 { align16 };
52urb MsgDesc: 6 urb_write interleave used complete mlen 8 rlen 0 { align16 EOT };
84urb MsgDesc: 0 urb_write interleave used complete mlen 8 rlen 0 { align16 EOT };
86urb MsgDesc: 0 urb_write interleave used complete mlen 11 rlen 0 { align16 EOT };
126urb MsgDesc: 0 urb_write interleave used complete mlen 7 rlen 0 { align16 EOT };
180urb MsgDesc: 0 urb_write interleave used complete mlen 13 rlen 0 { align16 EOT };
182urb MsgDesc: 0 urb_write interleave used complete mlen 12 rlen 0 { align16 EOT };
[all …]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java284 UResourceBundle urb = null; in getResourceBundle() local
293 urb = candidate; in getResourceBundle()
306 urb = candidate; in getResourceBundle()
309 if (urb == null) { in getResourceBundle()
311 urb = candidate; in getResourceBundle()
319 if (urb == null) { in getResourceBundle()
323 return urb; in getResourceBundle()

123