Lines Matching refs:waddr
32 enum v3d_qpu_waddr waddr) in v3d_qpu_magic_waddr_name() argument
35 if (devinfo->ver < 40 && waddr == V3D_QPU_WADDR_TMU) in v3d_qpu_magic_waddr_name()
82 return waddr_magic[waddr]; in v3d_qpu_magic_waddr_name()
530 v3d_qpu_magic_waddr_is_sfu(enum v3d_qpu_waddr waddr) in v3d_qpu_magic_waddr_is_sfu() argument
532 switch (waddr) { in v3d_qpu_magic_waddr_is_sfu()
547 enum v3d_qpu_waddr waddr) in v3d_qpu_magic_waddr_is_tmu() argument
550 return ((waddr >= V3D_QPU_WADDR_TMUD && in v3d_qpu_magic_waddr_is_tmu()
551 waddr <= V3D_QPU_WADDR_TMUAU) || in v3d_qpu_magic_waddr_is_tmu()
552 (waddr >= V3D_QPU_WADDR_TMUC && in v3d_qpu_magic_waddr_is_tmu()
553 waddr <= V3D_QPU_WADDR_TMUHSLOD)); in v3d_qpu_magic_waddr_is_tmu()
555 return ((waddr >= V3D_QPU_WADDR_TMU && in v3d_qpu_magic_waddr_is_tmu()
556 waddr <= V3D_QPU_WADDR_TMUAU) || in v3d_qpu_magic_waddr_is_tmu()
557 (waddr >= V3D_QPU_WADDR_TMUC && in v3d_qpu_magic_waddr_is_tmu()
558 waddr <= V3D_QPU_WADDR_TMUHSLOD)); in v3d_qpu_magic_waddr_is_tmu()
571 v3d_qpu_magic_waddr_is_tlb(enum v3d_qpu_waddr waddr) in v3d_qpu_magic_waddr_is_tlb() argument
573 return (waddr == V3D_QPU_WADDR_TLB || in v3d_qpu_magic_waddr_is_tlb()
574 waddr == V3D_QPU_WADDR_TLBU); in v3d_qpu_magic_waddr_is_tlb()
578 v3d_qpu_magic_waddr_is_vpm(enum v3d_qpu_waddr waddr) in v3d_qpu_magic_waddr_is_vpm() argument
580 return (waddr == V3D_QPU_WADDR_VPM || in v3d_qpu_magic_waddr_is_vpm()
581 waddr == V3D_QPU_WADDR_VPMU); in v3d_qpu_magic_waddr_is_vpm()
585 v3d_qpu_magic_waddr_is_tsy(enum v3d_qpu_waddr waddr) in v3d_qpu_magic_waddr_is_tsy() argument
587 return (waddr == V3D_QPU_WADDR_SYNC || in v3d_qpu_magic_waddr_is_tsy()
588 waddr == V3D_QPU_WADDR_SYNCB || in v3d_qpu_magic_waddr_is_tsy()
589 waddr == V3D_QPU_WADDR_SYNCU); in v3d_qpu_magic_waddr_is_tsy()
593 v3d_qpu_magic_waddr_loads_unif(enum v3d_qpu_waddr waddr) in v3d_qpu_magic_waddr_loads_unif() argument
595 switch (waddr) { in v3d_qpu_magic_waddr_loads_unif()
647 v3d_qpu_magic_waddr_is_tlb(inst->alu.add.waddr)) { in v3d_qpu_uses_tlb()
652 v3d_qpu_magic_waddr_is_tlb(inst->alu.mul.waddr)) { in v3d_qpu_uses_tlb()
668 v3d_qpu_magic_waddr_is_sfu(inst->alu.add.waddr)) { in v3d_qpu_uses_sfu()
673 v3d_qpu_magic_waddr_is_sfu(inst->alu.mul.waddr)) { in v3d_qpu_uses_sfu()
706 v3d_qpu_magic_waddr_is_tmu(devinfo, inst->alu.add.waddr)) || in v3d_qpu_writes_tmu()
708 v3d_qpu_magic_waddr_is_tmu(devinfo, inst->alu.mul.waddr)))); in v3d_qpu_writes_tmu()
717 inst->alu.add.waddr != V3D_QPU_WADDR_TMUC) && in v3d_qpu_writes_tmu_not_tmuc()
719 inst->alu.mul.waddr != V3D_QPU_WADDR_TMUC); in v3d_qpu_writes_tmu_not_tmuc()
744 v3d_qpu_magic_waddr_is_vpm(inst->alu.add.waddr)) { in v3d_qpu_writes_vpm()
749 v3d_qpu_magic_waddr_is_vpm(inst->alu.mul.waddr)) { in v3d_qpu_writes_vpm()
767 inst->alu.add.waddr == V3D_QPU_WADDR_UNIFA) { in v3d_qpu_writes_unifa()
773 inst->alu.mul.waddr == V3D_QPU_WADDR_UNIFA) { in v3d_qpu_writes_unifa()
805 uint32_t waddr) in qpu_writes_magic_waddr_explicitly() argument
808 if (inst->alu.add.magic_write && inst->alu.add.waddr == waddr) in qpu_writes_magic_waddr_explicitly()
811 if (inst->alu.mul.magic_write && inst->alu.mul.waddr == waddr) in qpu_writes_magic_waddr_explicitly()
816 inst->sig_magic && inst->sig_addr == waddr) { in qpu_writes_magic_waddr_explicitly()
839 (inst->alu.add.waddr == V3D_QPU_WADDR_R4 || in v3d_qpu_writes_r4()
840 v3d_qpu_magic_waddr_is_sfu(inst->alu.add.waddr))) { in v3d_qpu_writes_r4()
845 (inst->alu.mul.waddr == V3D_QPU_WADDR_R4 || in v3d_qpu_writes_r4()
846 v3d_qpu_magic_waddr_is_sfu(inst->alu.mul.waddr))) { in v3d_qpu_writes_r4()