HomeSort by relevance Sort by last modified time
    Searched refs:sctx (Results 1 - 25 of 48) sorted by null

1 2

  /external/mesa3d/src/gallium/drivers/radeonsi/
si_cp_dma.c 46 static inline unsigned cp_dma_max_byte_count(struct si_context *sctx)
48 unsigned max = sctx->b.chip_class >= GFX9 ?
61 static void si_emit_cp_dma(struct si_context *sctx, uint64_t dst_va,
65 struct radeon_winsys_cs *cs = sctx->b.gfx.cs;
69 assert(size <= cp_dma_max_byte_count(sctx));
71 if (sctx->b.chip_class >= GFX9)
80 if (sctx->b.chip_class >= GFX9)
90 if (sctx->b.chip_class >= GFX9 && !(flags & CP_DMA_CLEAR) &&
101 if (sctx->b.chip_class >= CIK) {
131 static unsigned get_flush_flags(struct si_context *sctx, enum r600_coherency coher
210 struct si_context *sctx = (struct si_context*)ctx; local
299 struct si_context *sctx = (struct si_context*)ctx; local
    [all...]
si_state_streamout.c 31 static void si_set_streamout_enable(struct si_context *sctx, bool enable);
45 struct si_context *sctx = (struct si_context *)ctx; local
54 u_suballocator_alloc(sctx->b.allocator_zeroed_memory, 4, 4,
82 void si_streamout_buffers_dirty(struct si_context *sctx)
84 if (!sctx->streamout.enabled_mask)
87 si_mark_atom_dirty(sctx, &sctx->streamout.begin_atom);
88 si_set_streamout_enable(sctx, true);
96 struct si_context *sctx = (struct si_context *)ctx; local
97 struct si_buffer_resources *buffers = &sctx->rw_buffers
260 struct si_context *sctx = (struct si_context*)rctx; local
364 struct si_context *sctx = (struct si_context*)rctx; local
    [all...]
si_pipe.c 108 struct si_context *sctx = (struct si_context *)context; local
118 si_release_all_descriptors(sctx);
120 pipe_resource_reference(&sctx->esgs_ring, NULL);
121 pipe_resource_reference(&sctx->gsvs_ring, NULL);
122 pipe_resource_reference(&sctx->tf_ring, NULL);
123 pipe_resource_reference(&sctx->tess_offchip_ring, NULL);
124 pipe_resource_reference(&sctx->null_const_buf.buffer, NULL);
125 r600_resource_reference(&sctx->border_color_buffer, NULL);
126 free(sctx->border_color_table);
127 r600_resource_reference(&sctx->scratch_buffer, NULL)
183 struct si_context *sctx = (struct si_context *)ctx; local
199 struct si_context *sctx = (struct si_context *)ctx; local
222 struct si_context *sctx = (struct si_context *)ctx; local
237 struct si_context *sctx = (struct si_context *)ctx; local
247 struct si_context *sctx = CALLOC_STRUCT(si_context); local
593 struct si_context *sctx = (struct si_context *)ctx; local
    [all...]
si_descriptors.c 135 static bool si_upload_descriptors(struct si_context *sctx,
159 si_mark_atom_dirty(sctx, &sctx->shader_pointers.atom);
165 u_upload_alloc(sctx->b.b.const_uploader, first_slot_offset, upload_size,
166 si_optimal_tcc_alignment(sctx, upload_size),
178 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, desc->buffer,
185 si_mark_atom_dirty(sctx, &sctx->shader_pointers.atom);
190 si_descriptors_begin_new_cs(struct si_context *sctx, struct si_descriptors *desc
578 struct si_context *sctx = (struct si_context *)ctx; local
869 struct si_context *sctx = (struct si_context *)ctx; local
1211 struct si_context *sctx = (struct si_context *)ctx; local
1240 struct si_context *sctx = (struct si_context *)ctx; local
1317 struct si_context *sctx = (struct si_context *)ctx; local
1426 struct si_context *sctx = (struct si_context *)ctx; local
1530 struct si_context *sctx = (struct si_context*)ctx; local
1734 struct si_context *sctx = (struct si_context*)ctx; local
2235 struct si_context *sctx = (struct si_context *)ctx; local
2282 struct si_context *sctx = (struct si_context *)ctx; local
2303 struct si_context *sctx = (struct si_context *)ctx; local
2384 struct si_context *sctx = (struct si_context *)ctx; local
2425 struct si_context *sctx = (struct si_context *)ctx; local
2444 struct si_context *sctx = (struct si_context *)ctx; local
    [all...]
si_state_draw.c 95 static void si_emit_derived_tess_state(struct si_context *sctx,
99 struct radeon_winsys_cs *cs = sctx->b.gfx.cs;
102 /* The TES pointer will only be used for sctx->last_tcs.
105 sctx->tcs_shader.cso ? sctx->tcs_shader.cso : sctx->tes_shader.cso;
106 unsigned tess_uses_primid = sctx->ia_multi_vgt_param_key.u.tess_uses_prim_id;
107 bool has_primid_instancing_bug = sctx->b.chip_class == SI &&
108 sctx->b.screen->info.max_se == 1;
109 unsigned tes_sh_base = sctx->shader_pointers.sh_base[PIPE_SHADER_TESS_EVAL]
1212 struct si_context *sctx = (struct si_context *)ctx; local
1517 struct si_context *sctx = (struct si_context*)pipe; local
    [all...]
si_compute.c 152 struct si_context *sctx = (struct si_context *)ctx; local
172 program->compiler_ctx_state.debug = sctx->debug;
173 program->compiler_ctx_state.is_debug_context = sctx->is_debug;
179 (sctx->debug.debug_message && !sctx->debug.async) ||
180 sctx->is_debug ||
194 u_async_debug_drain(&async_debug, &sctx->debug);
212 si_shader_dump(sctx->screen, &program->shader, &sctx->debug,
214 if (si_shader_binary_upload(sctx->screen, &program->shader) < 0)
226 struct si_context *sctx = (struct si_context*)ctx; local
253 struct si_context *sctx = (struct si_context*)ctx; local
788 struct si_context *sctx = (struct si_context*)ctx; local
907 struct si_context *sctx = (struct si_context*)ctx; local
    [all...]
si_state_shaders.c 1213 struct si_context *sctx = (struct si_context *)ctx; local
1734 struct si_context *sctx = (struct si_context *)ctx; local
1979 struct si_context *sctx = (struct si_context*)ctx; local
2293 struct si_context *sctx = (struct si_context *)ctx; local
2328 struct si_context *sctx = (struct si_context *)ctx; local
2358 struct si_context *sctx = (struct si_context *)ctx; local
2379 struct si_context *sctx = (struct si_context *)ctx; local
2409 struct si_context *sctx = (struct si_context *)ctx; local
2532 struct si_context *sctx = (struct si_context *)ctx; local
    [all...]
si_state.h 223 /* Indices into sctx->descriptors, laid out so that gfx and compute pipelines
299 #define si_pm4_state_changed(sctx, member) \
300 ((sctx)->queued.named.member != (sctx)->emitted.named.member)
302 #define si_pm4_state_enabled_and_changed(sctx, member) \
303 ((sctx)->queued.named.member && si_pm4_state_changed(sctx, member))
305 #define si_pm4_bind_state(sctx, member, value) \
307 (sctx)->queued.named.member = (value); \
308 (sctx)->dirty_states |= 1 << si_pm4_block_idx(member);
    [all...]
si_blit.c 45 struct si_context *sctx = (struct si_context *)ctx; local
47 util_blitter_save_vertex_shader(sctx->blitter, sctx->vs_shader.cso);
48 util_blitter_save_tessctrl_shader(sctx->blitter, sctx->tcs_shader.cso);
49 util_blitter_save_tesseval_shader(sctx->blitter, sctx->tes_shader.cso);
50 util_blitter_save_geometry_shader(sctx->blitter, sctx->gs_shader.cso);
51 util_blitter_save_so_targets(sctx->blitter, sctx->streamout.num_targets
82 struct si_context *sctx = (struct si_context *)ctx; local
449 struct si_context *sctx = (struct si_context *)ctx; local
821 struct si_context *sctx = (struct si_context *)ctx; local
879 struct si_context *sctx = (struct si_context *)ctx; local
1077 struct si_context *sctx = (struct si_context*)ctx; local
1204 struct si_context *sctx = (struct si_context*)ctx; local
1259 struct si_context *sctx = (struct si_context*)ctx; local
    [all...]
si_state_binning.c 67 static struct uvec2 si_get_color_bin_size(struct si_context *sctx,
70 unsigned nr_samples = sctx->framebuffer.nr_samples;
74 for (unsigned i = 0; i < sctx->framebuffer.state.nr_cbufs; i++) {
79 (struct r600_texture*)sctx->framebuffer.state.cbufs[i]->texture;
85 if (sctx->ps_iter_samples >= 2)
189 return si_find_bin_size(sctx->screen, table, sum);
192 static struct uvec2 si_get_depth_bin_size(struct si_context *sctx)
194 struct si_state_dsa *dsa = sctx->queued.named.dsa;
196 if (!sctx->framebuffer.state.zsbuf ||
204 (struct r600_texture*)sctx->framebuffer.state.zsbuf->texture
    [all...]
si_state.c 39 si_init_external_atom(struct si_context *sctx, struct r600_atom *atom,
42 atom->id = list_elem - sctx->atoms.array;
47 void si_init_atom(struct si_context *sctx, struct r600_atom *atom,
52 atom->id = list_elem - sctx->atoms.array;
87 static void si_emit_cb_render_state(struct si_context *sctx, struct r600_atom *atom)
89 struct radeon_winsys_cs *cs = sctx->b.gfx.cs;
90 struct si_state_blend *blend = sctx->queued.named.blend;
93 uint32_t cb_target_mask = sctx->framebuffer.colorbuf_enabled_4bit;
106 sctx->ps_shader.cso &&
107 (sctx->ps_shader.cso->info.colors_written & 0x3) != 0x3
470 struct si_context *sctx = (struct si_context*)ctx; local
666 struct si_context *sctx = (struct si_context *)ctx; local
710 struct si_context *sctx = (struct si_context *)ctx; local
717 struct si_context *sctx = (struct si_context *)ctx; local
740 struct si_context *sctx = (struct si_context *)ctx; local
1006 struct si_context *sctx = (struct si_context *)ctx; local
1068 struct si_context *sctx = (struct si_context *)ctx; local
1101 struct si_context *sctx = (struct si_context *)ctx; local
1177 struct si_context *sctx = (struct si_context *)ctx; local
1283 struct si_context *sctx = (struct si_context *)ctx; local
1317 struct si_context *sctx = (struct si_context *)ctx; local
1332 struct si_context *sctx = (struct si_context*)ctx; local
1354 struct si_context *sctx = (struct si_context*)ctx; local
1366 struct si_context *sctx = (struct si_context*)ctx; local
2716 struct si_context *sctx = (struct si_context *)ctx; local
3412 struct si_context *sctx = (struct si_context *)ctx; local
3832 struct si_context *sctx = (struct si_context*)ctx; local
4096 struct si_context *sctx = (struct si_context *)ctx; local
4159 struct si_context *sctx = (struct si_context *)ctx; local
4351 struct si_context *sctx = (struct si_context *)ctx; local
4379 struct si_context *sctx = (struct si_context *)ctx; local
4390 struct si_context *sctx = (struct si_context *)ctx; local
4425 struct si_context *sctx = (struct si_context *)ctx; local
4446 struct si_context *sctx = (struct si_context *)ctx; local
4460 struct si_context *sctx = (struct si_context *)ctx; local
    [all...]
si_clear.c 193 void vi_dcc_clear_level(struct si_context *sctx,
210 if (sctx->b.chip_class >= GFX9) {
232 si_clear_buffer(&sctx->b.b, dcc_buffer, dcc_offset, clear_size,
344 static void si_do_fast_color_clear(struct si_context *sctx,
348 struct pipe_framebuffer_state *fb = &sctx->framebuffer.state;
356 if (sctx->b.render_cond)
398 if (sctx->b.chip_class == CIK &&
400 sctx->screen->info.drm_major == 2 &&
401 sctx->screen->info.drm_minor < 38) {
408 if (sctx->b.chip_class >= VI &
520 struct si_context *sctx = (struct si_context *)ctx; local
635 struct si_context *sctx = (struct si_context *)ctx; local
653 struct si_context *sctx = (struct si_context *)ctx; local
    [all...]
si_pm4.h 65 void si_pm4_upload_indirect_buffer(struct si_context *sctx,
69 void si_pm4_free_state(struct si_context *sctx,
73 void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state);
74 void si_pm4_reset_emitted(struct si_context *sctx);
si_debug.c 35 static void si_dump_bo_list(struct si_context *sctx,
225 static void si_dump_mmapped_reg(struct si_context *sctx, FILE *f,
228 struct radeon_winsys *ws = sctx->b.ws;
232 ac_dump_reg(f, sctx->b.chip_class, offset, value, ~0);
235 static void si_dump_debug_registers(struct si_context *sctx, FILE *f)
237 if (sctx->screen->info.drm_major == 2 &&
238 sctx->screen->info.drm_minor < 42)
242 si_dump_mmapped_reg(sctx, f, R_008010_GRBM_STATUS);
245 if (sctx->screen->info.drm_major < 3 ||
246 sctx->screen->info.drm_minor < 1)
976 struct si_context *sctx = (struct si_context*)ctx; local
1046 struct si_context *sctx = (struct si_context *)ctx; local
    [all...]
si_pipe.h 633 void cik_init_sdma_functions(struct si_context *sctx);
646 void si_init_blit_functions(struct si_context *sctx);
647 void si_decompress_textures(struct si_context *sctx, unsigned shader_mask);
657 void vi_dcc_clear_level(struct si_context *sctx,
660 void si_init_clear_functions(struct si_context *sctx);
683 void si_copy_buffer(struct si_context *sctx,
687 void cik_prefetch_TC_L2_async(struct si_context *sctx, struct pipe_resource *buf,
689 void cik_emit_prefetch_L2(struct si_context *sctx);
690 void si_init_cp_dma_functions(struct si_context *sctx);
694 void si_log_hw_flush(struct si_context *sctx);
    [all...]
si_pm4.c 109 void si_pm4_free_state(struct si_context *sctx,
116 if (idx != ~0 && sctx->emitted.array[idx] == state) {
117 sctx->emitted.array[idx] = NULL;
124 void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state)
126 struct radeon_winsys_cs *cs = sctx->b.gfx.cs;
129 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, state->bo[i],
138 radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, ib,
149 void si_pm4_reset_emitted(struct si_context *sctx)
    [all...]
cik_sdma.c 75 struct si_context *sctx = (struct si_context *)ctx; local
76 struct radeon_winsys_cs *cs = sctx->b.dma.cs;
95 si_need_dma_space(&sctx->b, ncopy * 5, rdst, NULL);
104 radeon_emit(cs, sctx->b.chip_class >= GFX9 ? csize - 1 : csize);
116 static unsigned encode_tile_info(struct si_context *sctx,
120 struct radeon_info *info = &sctx->screen->info;
138 static bool cik_sdma_copy_texture(struct si_context *sctx,
146 struct radeon_info *info = &sctx->screen->info;
194 if (!si_prepare_for_dma_blit(&sctx->b, rdst, dst_level, dstx, dsty,
224 (sctx->b.chip_class != CIK |
532 struct si_context *sctx = (struct si_context *)ctx; local
    [all...]
si_state_msaa.c 190 void si_init_msaa_functions(struct si_context *sctx)
194 sctx->b.b.get_sample_position = si_get_sample_position;
196 si_get_sample_position(&sctx->b.b, 1, 0, sctx->sample_locations_1x[0]);
199 si_get_sample_position(&sctx->b.b, 2, i, sctx->sample_locations_2x[i]);
201 si_get_sample_position(&sctx->b.b, 4, i, sctx->sample_locations_4x[i]);
203 si_get_sample_position(&sctx->b.b, 8, i, sctx->sample_locations_8x[i])
    [all...]
si_dma.c 84 struct si_context *sctx = (struct si_context *)ctx; local
85 struct radeon_winsys_cs *cs = sctx->b.dma.cs;
104 si_need_dma_space(&sctx->b, ncopy * 4, rdst, NULL);
226 struct si_context *sctx = (struct si_context *)ctx; local
234 if (sctx->b.dma.cs == NULL ||
241 si_dma_copy_buffer(sctx, dst, src, dst_x, src_box->x, src_box->width);
261 !si_prepare_for_dma_blit(&sctx->b, rdst, dst_level, dstx, dsty,
309 si_dma_copy_buffer(sctx, dst, src, dst_offset, src_offset,
312 si_dma_copy_tile(sctx, dst, dst_level, dst_x, dst_y, dst_z,
324 void si_init_dma_functions(struct si_context *sctx)
    [all...]
  /external/mesa3d/src/gallium/drivers/r600/sb/
sb_public.h 38 void r600_sb_context_destroy(void *sctx);
sb_core.cpp 50 sb_context *sctx = new sb_context(); local
52 if (sctx->init(rctx->isa, translate_chip(rctx->b.family),
54 delete sctx;
55 sctx = NULL;
70 return sctx;
73 void r600_sb_context_destroy(void * sctx) {
74 if (sctx) {
75 sb_context *ctx = static_cast<sb_context*>(sctx);
  /external/u-boot/tools/
mxsimage.c 323 struct sb_section_ctx *sctx = ictx->sect_head; local
328 while (sctx) {
329 shdr = &sctx->payload;
336 sctx = sctx->sect;
397 struct sb_section_ctx *sctx = ictx->sect_head; local
399 while (sctx) {
400 cctx = sctx->cmd_head;
421 sctx = sctx->sect
712 struct sb_section_ctx *sctx; local
787 struct sb_section_ctx *sctx = ictx->sect_tail; local
822 struct sb_section_ctx *sctx = ictx->sect_tail; local
866 struct sb_section_ctx *sctx = ictx->sect_tail; local
1039 struct sb_section_ctx *sctx = ictx->sect_tail; local
1137 struct sb_section_ctx *sctx = ictx->sect_tail; local
1239 struct sb_section_ctx *sctx = ictx->sect_tail; local
1356 struct sb_section_ctx *sctx = ictx->sect_head; local
1411 struct sb_section_ctx *sctx = ictx->sect_head; local
1947 struct sb_section_ctx *sctx; local
2137 struct sb_section_ctx *sctx = ictx->sect_head, *s_head; local
2254 struct sb_section_ctx *sctx; local
    [all...]
  /external/ipsec-tools/src/racoon/
proposal.c 320 if (*pp1->sctx.ctx_str && !(*pp2->sctx.ctx_str)) {
325 if (!(*pp1->sctx.ctx_str) && *pp2->sctx.ctx_str) {
331 if (*pp1->sctx.ctx_str && *pp2->sctx.ctx_str) {
332 if (pp1->sctx.ctx_doi == pp2->sctx.ctx_doi)
333 newpp->sctx.ctx_doi = pp1->sctx.ctx_doi
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_interceptors.cc 471 ThreadSignalContext *sctx = SigCtx(thr); local
472 buf->int_signal_send = sctx ? sctx->int_signal_send : 0;
473 buf->in_blocking_func = sctx ?
474 atomic_load(&sctx->in_blocking_func, memory_order_relaxed) :
500 ThreadSignalContext *sctx = SigCtx(thr); local
501 if (sctx) {
502 sctx->int_signal_send = buf->int_signal_send;
503 atomic_store(&sctx->in_blocking_func, buf->in_blocking_func,
836 ThreadSignalContext *sctx = thr->signal_ctx local
1829 ThreadSignalContext *sctx = SigCtx(thr); local
1861 ThreadSignalContext *sctx = SigCtx(thr); local
1968 ThreadSignalContext *sctx = SigCtx(thr); local
1980 ThreadSignalContext *sctx = SigCtx(thr); local
1996 ThreadSignalContext *sctx = SigCtx(thr); local
    [all...]
  /external/boringssl/src/crypto/evp/
p_rsa.c 118 RSA_PKEY_CTX *dctx, *sctx; local
122 sctx = src->data;
124 dctx->nbits = sctx->nbits;
125 if (sctx->pub_exp) {
126 dctx->pub_exp = BN_dup(sctx->pub_exp);
132 dctx->pad_mode = sctx->pad_mode;
133 dctx->md = sctx->md;
134 dctx->mgf1md = sctx->mgf1md;
135 if (sctx->oaep_label) {
137 dctx->oaep_label = BUF_memdup(sctx->oaep_label, sctx->oaep_labellen)
    [all...]

Completed in 800 milliseconds

1 2