Home
last modified time | relevance | path

Searched refs:src_count (Results 1 - 25 of 59) sorted by relevance

123

/third_party/mesa3d/src/panfrost/bifrost/
H A Dbi_builder.h.py100 % for src in range(src_count(ops[opcode])):
195 ["bi_index src{}".format(i) for i in range(src_count(op))] +
207 ["src{}".format(i) for i in range(src_count(op))] +
212 modifier_lists, signature = signature, arguments = arguments, src_count =
213 src_count, typesize = typesize, should_skip = should_skip))
H A Dbi_printer.c.py206 % for src in range(src_count(ops[opcode])):
237 print(Template(COPYRIGHT + TEMPLATE).render(ops = ir_instructions, modifiers = modifier_lists, src_count = src_count))
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dir2.c68 if (instr->src_count == 3) in alu_vector_prio()
74 return instr->src_count == 2 ? 2 : 3; in alu_vector_prio()
85 if (instr->src_count > 1) in alu_scalar_prio()
131 if (s->instr_s || s->instr->src_count == 3) in insert()
198 ins->src_count = 1; in scalarize_case1()
324 /* TODO can still insert scalar if src_count=3, if smart about it */ in sched_next()
325 if (!instr_v || instr_v->src_count < 3) { in sched_next()
345 * TODO: if we are smart we can still insert if instr_v->src_count==3 in sched_next()
347 if (!instr_s && instr_v->src_count < 3) { in sched_next()
352 /* at this point, src_count shoul in sched_next()
[all...]
H A Dir2_assemble.c223 tex->use_reg_lod = instr->src_count == 2; in fill_instr()
257 src2 = instr_v->src[instr_v->src_count > 1]; in fill_instr()
258 src3 = instr_v->src_count == 3 ? &instr_v->src[2] : NULL; in fill_instr()
267 if (instr_v->src_count == 1 && in fill_instr()
308 if (instr_s->src_count == 1) { in fill_instr()
314 assert(instr_s->src_count == 2); in fill_instr()
H A Dir2_nir.c344 instr->src_count = in instr_create_alu()
382 instr->src_count = 1; in ir2_instr_create_fetch()
468 instr->src_count = 3; in emit_alu()
485 instr->src_count = 3; in emit_alu()
630 instr->src_count = 1; in emit_intrinsic()
755 instr->src_count = 2; in emit_tex()
938 instr->src_count = 1; in emit_if()
953 instr->src_count = 2; in emit_if()
968 instr->src_count = 1; in emit_if()
983 instr->src_count in emit_if()
[all...]
H A Dir2_private.h95 uint8_t src_count; member
259 for (struct ir2_src *it = instr->src; it != &instr->src[instr->src_count]; \
/kernel/linux/linux-5.10/crypto/
H A Dxor.c27 xor_blocks(unsigned int src_count, unsigned int bytes, void *dest, void **srcs) in xor_blocks() argument
32 if (src_count == 1) { in xor_blocks()
38 if (src_count == 2) { in xor_blocks()
44 if (src_count == 3) { in xor_blocks()
/kernel/linux/linux-6.6/crypto/
H A Dxor.c27 xor_blocks(unsigned int src_count, unsigned int bytes, void *dest, void **srcs) in xor_blocks() argument
32 if (src_count == 1) { in xor_blocks()
38 if (src_count == 2) { in xor_blocks()
44 if (src_count == 3) { in xor_blocks()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs.c1402 unsigned src_count; in generate_fs_twiddle() local
1406 src_count = num_fs * src_channels; in generate_fs_twiddle()
1457 src_count *= 2; in generate_fs_twiddle()
1467 * src_count = 8 -> 0 2 1 3 4 6 5 7 in generate_fs_twiddle()
1468 * src_count = 16 -> 0 1 4 5 2 3 6 7 8 9 12 13 10 11 14 15 in generate_fs_twiddle()
1472 for (i = 0; i < src_count; ++i) { in generate_fs_twiddle()
1484 lp_bld_quad_twiddle(gallivm, type, src, src_count, dst); in generate_fs_twiddle()
1487 memcpy(dst, src, sizeof(LLVMValueRef) * src_count); in generate_fs_twiddle()
1505 for (i = 0; i < src_count; ++i) { in generate_fs_twiddle()
1510 return src_count; in generate_fs_twiddle()
1524 fs_twiddle_transpose(struct gallivm_state *gallivm, struct lp_type type, LLVMValueRef *src, unsigned src_count, LLVMValueRef *dst) fs_twiddle_transpose() argument
1649 store_unswizzled_block(struct gallivm_state *gallivm, LLVMValueRef base_ptr, LLVMValueRef stride, unsigned block_width, unsigned block_height, LLVMValueRef* src, struct lp_type src_type, unsigned src_count, unsigned src_alignment) store_unswizzled_block() argument
2266 convert_alpha(struct gallivm_state *gallivm, struct lp_type row_type, struct lp_type alpha_type, const unsigned block_size, const unsigned block_height, const unsigned src_count, const unsigned dst_channels, const bool pad_inline, LLVMValueRef* src_alpha) convert_alpha() argument
2408 unsigned src_count; generate_unswizzled_blend() local
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_program_pair.c146 unsigned int src_count = rc_presubtract_src_reg_count( in pair_foreach_source_callback() local
148 for(i = 0; i < src_count; i++) { in pair_foreach_source_callback()
157 unsigned int src_count = rc_presubtract_src_reg_count( in pair_foreach_source_callback() local
159 for(i = 0; i < src_count; i++) { in pair_foreach_source_callback()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_quad.c174 unsigned src_count, in lp_bld_quad_twiddle()
183 assert((src_count % 2) == 0); in lp_bld_quad_twiddle()
194 for (i = 0; i < src_count; i += 2) { in lp_bld_quad_twiddle()
171 lp_bld_quad_twiddle(struct gallivm_state *gallivm, struct lp_type lp_dst_type, const LLVMValueRef* src, unsigned src_count, LLVMValueRef* dst) lp_bld_quad_twiddle() argument
H A Dlp_bld_quad.h98 unsigned src_count,
/kernel/linux/linux-5.10/drivers/dma/
H A Dmv_xor.c886 int src_count = MV_XOR_NUM_SRC_TEST; in mv_chan_xor_self_test() local
888 for (src_idx = 0; src_idx < src_count; src_idx++) { in mv_chan_xor_self_test()
905 for (src_idx = 0; src_idx < src_count; src_idx++) { in mv_chan_xor_self_test()
911 for (src_idx = 0; src_idx < src_count; src_idx++) in mv_chan_xor_self_test()
925 unmap = dmaengine_get_unmap_data(dma_chan->device->dev, src_count + 1, in mv_chan_xor_self_test()
933 for (i = 0; i < src_count; i++) { in mv_chan_xor_self_test()
945 unmap->addr[src_count] = dma_map_page(dma_chan->device->dev, dest, 0, PAGE_SIZE, in mv_chan_xor_self_test()
947 dest_dma = unmap->addr[src_count]; in mv_chan_xor_self_test()
948 ret = dma_mapping_error(dma_chan->device->dev, unmap->addr[src_count]); in mv_chan_xor_self_test()
957 src_count, PAGE_SIZ in mv_chan_xor_self_test()
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Dmv_xor.c886 int src_count = MV_XOR_NUM_SRC_TEST; in mv_chan_xor_self_test() local
888 for (src_idx = 0; src_idx < src_count; src_idx++) { in mv_chan_xor_self_test()
905 for (src_idx = 0; src_idx < src_count; src_idx++) { in mv_chan_xor_self_test()
911 for (src_idx = 0; src_idx < src_count; src_idx++) in mv_chan_xor_self_test()
925 unmap = dmaengine_get_unmap_data(dma_chan->device->dev, src_count + 1, in mv_chan_xor_self_test()
933 for (i = 0; i < src_count; i++) { in mv_chan_xor_self_test()
945 unmap->addr[src_count] = dma_map_page(dma_chan->device->dev, dest, 0, PAGE_SIZE, in mv_chan_xor_self_test()
947 dest_dma = unmap->addr[src_count]; in mv_chan_xor_self_test()
948 ret = dma_mapping_error(dma_chan->device->dev, unmap->addr[src_count]); in mv_chan_xor_self_test()
957 src_count, PAGE_SIZ in mv_chan_xor_self_test()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dasync_tx.h100 #define async_tx_find_channel(dep, type, dst, dst_count, src, src_count, len) \
120 int dst_count, struct page **src, int src_count, in async_tx_find_channel()
118 async_tx_find_channel(struct async_submit_ctl *submit, enum dma_transaction_type tx_type, struct page **dst, int dst_count, struct page **src, int src_count, size_t len) async_tx_find_channel() argument
/kernel/linux/linux-6.6/include/linux/
H A Dasync_tx.h100 #define async_tx_find_channel(dep, type, dst, dst_count, src, src_count, len) \
120 int dst_count, struct page **src, int src_count, in async_tx_find_channel()
118 async_tx_find_channel(struct async_submit_ctl *submit, enum dma_transaction_type tx_type, struct page **dst, int dst_count, struct page **src, int src_count, size_t len) async_tx_find_channel() argument
/kernel/linux/linux-5.10/drivers/dma/ti/
H A Dk3-psil-priv.h20 * @src_count: Number of entries in the src array
32 int src_count; member
H A Dk3-psil.c56 for (i = 0; i < soc_ep_map->src_count; i++) { in psil_get_ep_config()
H A Dk3-psil-j7200.c172 .src_count = ARRAY_SIZE(j7200_src_ep_map),
H A Dk3-psil-am654.c172 .src_count = ARRAY_SIZE(am654_src_ep_map),
/kernel/linux/linux-6.6/drivers/dma/ti/
H A Dk3-psil-priv.h20 * @src_count: Number of entries in the src array
32 int src_count; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dasync_tx.h22 #define async_tx_find_channel(dep, type, dst, dst_count, src, src_count, len) \
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dasync_tx.h22 #define async_tx_find_channel(dep, type, dst, dst_count, src, src_count, len) \
/third_party/ffmpeg/libavcodec/
H A Dvmdvideo.c141 int src_count, int src_size, int dest_len) in rle_unpack()
151 if (src_count & 1) { in rle_unpack()
179 } while (used < src_count); in rle_unpack()
140 rle_unpack(const unsigned char *src, unsigned char *dest, int src_count, int src_size, int dest_len) rle_unpack() argument
/third_party/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_bc_parser.cpp304 for (int k = 0; k < n->bc.op_ptr->src_count; ++k) { in decode_alu_group()
383 unsigned src_count = n->bc.op_ptr->src_count; in prepare_alu_group() local
391 n->src.resize(src_count); in prepare_alu_group()
461 } else if ((n->bc.op_ptr->src_count == 3 || n->bc.write_mask) && !(flags & AF_LDS)) { in prepare_alu_group()
475 for (unsigned s = 0; s < src_count; ++s) { in prepare_alu_group()

Completed in 17 milliseconds

123