Lines Matching refs:cdw
795 cs->buf[cs->cdw++] = value;
800 assert(cs->cdw+num <= RADEON_MAX_CMDBUF_DWORDS);
801 memcpy(&cs->buf[cs->cdw], ptr, num * sizeof(ptr[0]));
802 cs->cdw += num;
808 assert(cs->cdw+2+num <= RADEON_MAX_CMDBUF_DWORDS);
809 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CONFIG_REG, num, 0);
810 cs->buf[cs->cdw++] = (reg - R600_CONFIG_REG_OFFSET) >> 2;
816 assert(cs->cdw+2+num <= RADEON_MAX_CMDBUF_DWORDS);
817 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CONTEXT_REG, num, 0);
818 cs->buf[cs->cdw++] = (reg - R600_CONTEXT_REG_OFFSET) >> 2;
825 cs->buf[cs->cdw - 2] |= RADEON_CP_PACKET3_COMPUTE_MODE;
831 assert(cs->cdw+2+num <= RADEON_MAX_CMDBUF_DWORDS);
832 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CTL_CONST, num, 0);
833 cs->buf[cs->cdw++] = (reg - R600_CTL_CONST_OFFSET) >> 2;