Home
last modified time | relevance | path

Searched refs:dwords (Results 1 – 25 of 73) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_ringbuffer.c24 struct util_ringbuffer *util_ringbuffer_create( unsigned dwords ) in util_ringbuffer_create() argument
30 assert(util_is_power_of_two(dwords)); in util_ringbuffer_create()
32 ring->buf = MALLOC( dwords * sizeof(unsigned) ); in util_ringbuffer_create()
36 ring->mask = dwords - 1; in util_ringbuffer_create()
83 assert(packet->dwords <= ring->mask); in util_ringbuffer_enqueue()
87 while (util_ringbuffer_space(ring) < packet->dwords) in util_ringbuffer_enqueue()
92 for (i = 0; i < packet->dwords; i++) { in util_ringbuffer_enqueue()
139 if (ring_packet->dwords > ring->mask + 1 - util_ringbuffer_space(ring) || in util_ringbuffer_dequeue()
140 ring_packet->dwords > max_dwords) { in util_ringbuffer_dequeue()
148 for (i = 0; i < ring_packet->dwords; i++) { in util_ringbuffer_dequeue()
Du_ringbuffer.h11 unsigned dwords:8; member
17 struct util_ringbuffer *util_ringbuffer_create( unsigned dwords );
/external/mesa3d/src/gallium/auxiliary/util/
Du_ringbuffer.c24 struct util_ringbuffer *util_ringbuffer_create( unsigned dwords ) in util_ringbuffer_create() argument
30 assert(util_is_power_of_two(dwords)); in util_ringbuffer_create()
32 ring->buf = MALLOC( dwords * sizeof(unsigned) ); in util_ringbuffer_create()
36 ring->mask = dwords - 1; in util_ringbuffer_create()
83 assert(packet->dwords <= ring->mask); in util_ringbuffer_enqueue()
87 while (util_ringbuffer_space(ring) < packet->dwords) in util_ringbuffer_enqueue()
92 for (i = 0; i < packet->dwords; i++) { in util_ringbuffer_enqueue()
139 if (ring_packet->dwords > ring->mask + 1 - util_ringbuffer_space(ring) || in util_ringbuffer_dequeue()
140 ring_packet->dwords > max_dwords) { in util_ringbuffer_dequeue()
148 for (i = 0; i < ring_packet->dwords; i++) { in util_ringbuffer_dequeue()
Du_ringbuffer.h11 unsigned dwords:8; member
17 struct util_ringbuffer *util_ringbuffer_create( unsigned dwords );
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
Dradeon_common.c438 int dwords; in radeon_print_state_atom() local
443 dwords = (*state->check) (radeon->glCtx, state); in radeon_print_state_atom()
445 fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size); in radeon_print_state_atom()
448 if (dwords > state->cmd_size) in radeon_print_state_atom()
449 dwords = state->cmd_size; in radeon_print_state_atom()
450 for (i = 0; i < dwords;) { in radeon_print_state_atom()
457 for (j = 0; j < count && i < dwords; j++) { in radeon_print_state_atom()
473 GLuint dwords = 0; in radeonCountStateEmitSize() local
482 dwords += atom_size; in radeonCountStateEmitSize()
491 dwords += atom_size; in radeonCountStateEmitSize()
[all …]
Dr200_state_init.c296 BEGIN_BATCH_NO_AUTOSTATE(dwords); \
347 uint32_t dwords = atom->check(ctx, atom); in mtl_emit() local
349 BEGIN_BATCH_NO_AUTOSTATE(dwords); in mtl_emit()
359 uint32_t dwords = atom->check(ctx, atom); in lit_emit() local
361 BEGIN_BATCH_NO_AUTOSTATE(dwords); in lit_emit()
371 uint32_t dwords = atom->check(ctx, atom); in ptp_emit() local
373 BEGIN_BATCH_NO_AUTOSTATE(dwords); in ptp_emit()
383 uint32_t dwords = atom->check(ctx, atom); in veclinear_emit() local
392 uint32_t dwords = atom->check(ctx, atom); in scl_emit() local
394 BEGIN_BATCH_NO_AUTOSTATE(dwords); in scl_emit()
[all …]
Dradeon_queryobj.c208 int dwords; in radeon_emit_queryobj() local
210 dwords = (*atom->check) (ctx, atom); in radeon_emit_queryobj()
212 BEGIN_BATCH_NO_AUTOSTATE(dwords); in radeon_emit_queryobj()
213 OUT_BATCH_TABLE(atom->cmd, dwords); in radeon_emit_queryobj()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common.c438 int dwords; in radeon_print_state_atom() local
443 dwords = (*state->check) (radeon->glCtx, state); in radeon_print_state_atom()
445 fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size); in radeon_print_state_atom()
448 if (dwords > state->cmd_size) in radeon_print_state_atom()
449 dwords = state->cmd_size; in radeon_print_state_atom()
450 for (i = 0; i < dwords;) { in radeon_print_state_atom()
457 for (j = 0; j < count && i < dwords; j++) { in radeon_print_state_atom()
473 GLuint dwords = 0; in radeonCountStateEmitSize() local
482 dwords += atom_size; in radeonCountStateEmitSize()
491 dwords += atom_size; in radeonCountStateEmitSize()
[all …]
Dradeon_state_init.c264 uint32_t dwords = atom->check(ctx, atom); in scl_emit() local
266 BEGIN_BATCH_NO_AUTOSTATE(dwords); in scl_emit()
276 uint32_t dwords = atom->check(ctx, atom); in vec_emit() local
278 BEGIN_BATCH_NO_AUTOSTATE(dwords); in vec_emit()
288 uint32_t dwords = atom->check(ctx, atom); in lit_emit() local
290 BEGIN_BATCH_NO_AUTOSTATE(dwords); in lit_emit()
300 uint32_t dwords; in check_always_ctx() local
309 dwords = 10; in check_always_ctx()
311 dwords += 6; in check_always_ctx()
313 dwords += 8; in check_always_ctx()
[all …]
Dradeon_queryobj.c208 int dwords; in radeon_emit_queryobj() local
210 dwords = (*atom->check) (ctx, atom); in radeon_emit_queryobj()
212 BEGIN_BATCH_NO_AUTOSTATE(dwords); in radeon_emit_queryobj()
213 OUT_BATCH_TABLE(atom->cmd, dwords); in radeon_emit_queryobj()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
Dradeon_common.c438 int dwords; in radeon_print_state_atom() local
443 dwords = (*state->check) (radeon->glCtx, state); in radeon_print_state_atom()
445 fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size); in radeon_print_state_atom()
448 if (dwords > state->cmd_size) in radeon_print_state_atom()
449 dwords = state->cmd_size; in radeon_print_state_atom()
450 for (i = 0; i < dwords;) { in radeon_print_state_atom()
457 for (j = 0; j < count && i < dwords; j++) { in radeon_print_state_atom()
473 GLuint dwords = 0; in radeonCountStateEmitSize() local
482 dwords += atom_size; in radeonCountStateEmitSize()
491 dwords += atom_size; in radeonCountStateEmitSize()
[all …]
Dradeon_state_init.c264 uint32_t dwords = atom->check(ctx, atom); in scl_emit() local
266 BEGIN_BATCH_NO_AUTOSTATE(dwords); in scl_emit()
276 uint32_t dwords = atom->check(ctx, atom); in vec_emit() local
278 BEGIN_BATCH_NO_AUTOSTATE(dwords); in vec_emit()
288 uint32_t dwords = atom->check(ctx, atom); in lit_emit() local
290 BEGIN_BATCH_NO_AUTOSTATE(dwords); in lit_emit()
300 uint32_t dwords; in check_always_ctx() local
309 dwords = 10; in check_always_ctx()
311 dwords += 6; in check_always_ctx()
313 dwords += 8; in check_always_ctx()
[all …]
Dradeon_queryobj.c208 int dwords; in radeon_emit_queryobj() local
210 dwords = (*atom->check) (ctx, atom); in radeon_emit_queryobj()
212 BEGIN_BATCH_NO_AUTOSTATE(dwords); in radeon_emit_queryobj()
213 OUT_BATCH_TABLE(atom->cmd, dwords); in radeon_emit_queryobj()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common.c438 int dwords; in radeon_print_state_atom() local
443 dwords = (*state->check) (radeon->glCtx, state); in radeon_print_state_atom()
445 fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size); in radeon_print_state_atom()
448 if (dwords > state->cmd_size) in radeon_print_state_atom()
449 dwords = state->cmd_size; in radeon_print_state_atom()
450 for (i = 0; i < dwords;) { in radeon_print_state_atom()
457 for (j = 0; j < count && i < dwords; j++) { in radeon_print_state_atom()
473 GLuint dwords = 0; in radeonCountStateEmitSize() local
482 dwords += atom_size; in radeonCountStateEmitSize()
491 dwords += atom_size; in radeonCountStateEmitSize()
[all …]
Dr200_state_init.c296 BEGIN_BATCH_NO_AUTOSTATE(dwords); \
347 uint32_t dwords = atom->check(ctx, atom); in mtl_emit() local
349 BEGIN_BATCH_NO_AUTOSTATE(dwords); in mtl_emit()
359 uint32_t dwords = atom->check(ctx, atom); in lit_emit() local
361 BEGIN_BATCH_NO_AUTOSTATE(dwords); in lit_emit()
371 uint32_t dwords = atom->check(ctx, atom); in ptp_emit() local
373 BEGIN_BATCH_NO_AUTOSTATE(dwords); in ptp_emit()
383 uint32_t dwords = atom->check(ctx, atom); in veclinear_emit() local
392 uint32_t dwords = atom->check(ctx, atom); in scl_emit() local
394 BEGIN_BATCH_NO_AUTOSTATE(dwords); in scl_emit()
[all …]
Dradeon_queryobj.c208 int dwords; in radeon_emit_queryobj() local
210 dwords = (*atom->check) (ctx, atom); in radeon_emit_queryobj()
212 BEGIN_BATCH_NO_AUTOSTATE(dwords); in radeon_emit_queryobj()
213 OUT_BATCH_TABLE(atom->cmd, dwords); in radeon_emit_queryobj()
/external/compiler-rt/lib/builtins/
Dmuldi3.c23 dwords r; in __muldsi3()
48 dwords x; in ARM_EABI_FNALIAS()
50 dwords y; in ARM_EABI_FNALIAS()
52 dwords r; in ARM_EABI_FNALIAS()
Dcmpdi2.c25 dwords x; in __cmpdi2()
27 dwords y; in __cmpdi2()
Dashldi3.c27 dwords input; in ARM_EABI_FNALIAS()
28 dwords result; in ARM_EABI_FNALIAS()
Dashrdi3.c27 dwords input; in ARM_EABI_FNALIAS()
28 dwords result; in ARM_EABI_FNALIAS()
/external/mesa3d/src/gallium/drivers/i915/
Di915_batch.h35 #define BEGIN_BATCH(dwords) \ argument
36 (i915_winsys_batchbuffer_check(i915->batch, dwords))
Di915_batchbuffer.h44 size_t dwords) in i915_winsys_batchbuffer_check() argument
46 return dwords * 4 <= i915_winsys_batchbuffer_space(batch); in i915_winsys_batchbuffer_check()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
Di915_batch.h35 #define BEGIN_BATCH(dwords) \ argument
36 (i915_winsys_batchbuffer_check(i915->batch, dwords))
Di915_batchbuffer.h44 size_t dwords) in i915_winsys_batchbuffer_check() argument
46 return dwords * 4 <= i915_winsys_batchbuffer_space(batch); in i915_winsys_batchbuffer_check()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi.c107 const unsigned *dwords, in svga_shader_emit_dwords() argument
113 memcpy( emit->ptr, dwords, nr * sizeof *dwords ); in svga_shader_emit_dwords()
114 emit->ptr += nr * sizeof *dwords; in svga_shader_emit_dwords()

123