Home
last modified time | relevance | path

Searched refs:emu_reg_offset (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/freedreno/afuc/
Demu-regs.c71 if (n == emu_reg_offset(&PACKET_TABLE_WRITE)) { in emu_set_control_reg()
78 } else if (n == emu_reg_offset(&REG_WRITE)) { in emu_set_control_reg()
112 if (n == emu_reg_offset(&NRT_DATA)) { in emu_set_pipe_reg()
338 emu_reg_offset(struct emu_reg *reg) in emu_reg_offset() function
348 return reg->accessor->get(emu, emu_reg_offset(reg)); in emu_get_reg32()
354 uint64_t val = reg->accessor->get(emu, emu_reg_offset(reg) + 1); in emu_get_reg64()
356 val |= reg->accessor->get(emu, emu_reg_offset(reg)); in emu_get_reg64()
363 reg->accessor->set(emu, emu_reg_offset(reg), val); in emu_set_reg32()
369 reg->accessor->set(emu, emu_reg_offset(reg), val); in emu_set_reg64()
370 reg->accessor->set(emu, emu_reg_offset(reg) + 1, val >> 32); in emu_set_reg64()
Demu-ds.c57 if (n == emu_reg_offset(&DRAW_STATE_SET)) { in emu_set_draw_state_reg()
73 } else if (n == emu_reg_offset(&DRAW_STATE_SEL)) { in emu_set_draw_state_reg()
Demu.h275 unsigned emu_reg_offset(struct emu_reg *reg);