Lines Matching refs:tu_cs
31 tu_cs_init(struct tu_cs *cs,
37 tu_cs_init_external(struct tu_cs *cs, uint32_t *start, uint32_t *end);
40 tu_cs_finish(struct tu_cs *cs);
43 tu_cs_begin(struct tu_cs *cs);
46 tu_cs_end(struct tu_cs *cs);
49 tu_cs_begin_sub_stream(struct tu_cs *cs, uint32_t size, struct tu_cs *sub_cs);
52 tu_cs_alloc(struct tu_cs *cs,
58 tu_cs_end_sub_stream(struct tu_cs *cs, struct tu_cs *sub_cs);
61 tu_cs_end_draw_state(struct tu_cs *cs, struct tu_cs *sub_cs) in tu_cs_end_draw_state()
71 tu_cs_reserve_space(struct tu_cs *cs, uint32_t reserved_size);
74 tu_cs_draw_state(struct tu_cs *sub_cs, struct tu_cs *cs, uint32_t size) in tu_cs_draw_state()
91 tu_cs_reset(struct tu_cs *cs);
94 tu_cs_add_entries(struct tu_cs *cs, struct tu_cs *target);
101 tu_cs_get_size(const struct tu_cs *cs) in tu_cs_get_size()
111 tu_cs_is_empty(const struct tu_cs *cs) in tu_cs_is_empty()
121 tu_cs_discard_entries(struct tu_cs *cs) in tu_cs_discard_entries()
131 tu_cs_get_call_size(const struct tu_cs *cs) in tu_cs_get_call_size()
142 tu_cs_sanity_check(const struct tu_cs *cs) in tu_cs_sanity_check()
153 tu_cs_emit(struct tu_cs *cs, uint32_t value) in tu_cs_emit()
164 tu_cs_emit_array(struct tu_cs *cs, const uint32_t *values, uint32_t length) in tu_cs_emit_array()
188 tu_cs_get_space(const struct tu_cs *cs) in tu_cs_get_space()
194 tu_cs_reserve(struct tu_cs *cs, uint32_t reserved_size) in tu_cs_reserve()
217 tu_cs_emit_pkt4(struct tu_cs *cs, uint16_t regindx, uint16_t cnt) in tu_cs_emit_pkt4()
229 tu_cs_emit_pkt7(struct tu_cs *cs, uint8_t opcode, uint16_t cnt) in tu_cs_emit_pkt7()
238 tu_cs_emit_wfi(struct tu_cs *cs) in tu_cs_emit_wfi()
244 tu_cs_emit_qw(struct tu_cs *cs, uint64_t value) in tu_cs_emit_qw()
251 tu_cs_emit_write_reg(struct tu_cs *cs, uint16_t reg, uint32_t value) in tu_cs_emit_write_reg()
261 tu_cs_emit_ib(struct tu_cs *cs, const struct tu_cs_entry *entry) in tu_cs_emit_ib()
275 tu_cs_emit_state_ib(struct tu_cs *cs, struct tu_draw_state state) in tu_cs_emit_state_ib()
289 tu_cs_emit_call(struct tu_cs *cs, const struct tu_cs *target) in tu_cs_emit_call()
300 tu_cond_exec_start(struct tu_cs *cs, uint32_t cond_flags) in tu_cond_exec_start()
320 tu_cond_exec_end(struct tu_cs *cs) in tu_cond_exec_end()