Lines Matching defs:pkt
917 struct radeon_cs_packet *pkt,
939 struct radeon_cs_packet *pkt)
945 idx = pkt->idx + 1;
946 reg = pkt->reg;
947 for (i = 0; i <= pkt->count; i++, idx++, reg += 4) {
948 r = r600_packet0_check(p, pkt, idx, reg);
1627 struct radeon_cs_packet *pkt)
1640 idx = pkt->idx + 1;
1643 switch (pkt->opcode) {
1650 if (pkt->count != 1) {
1683 if (p->family >= CHIP_RV770 || pkt->count) {
1689 if (pkt->count != 1) {
1696 if (pkt->count) {
1704 if (pkt->count != 3) {
1729 if (pkt->count != 1) {
1741 if (pkt->count < 2) {
1752 if (pkt->count != 5) {
1781 if (pkt->count != 4) {
1850 if (pkt->count != 3) {
1866 if (pkt->count != 2 && pkt->count != 0) {
1870 if (pkt->count) {
1890 if (pkt->count != 4) {
1910 end_reg = 4 * pkt->count + start_reg - 4;
1917 for (i = 0; i < pkt->count; i++) {
1926 end_reg = 4 * pkt->count + start_reg - 4;
1933 for (i = 0; i < pkt->count; i++) {
1941 if (pkt->count % 7) {
1946 end_reg = 4 * pkt->count + start_reg - 4;
1953 for (i = 0; i < (pkt->count / 7); i++) {
2026 end_reg = 4 * pkt->count + start_reg - 4;
2037 end_reg = 4 * pkt->count + start_reg - 4;
2047 end_reg = 4 * pkt->count + start_reg - 4;
2057 end_reg = 4 * pkt->count + start_reg - 4;
2066 if (pkt->count % 3) {
2071 end_reg = 4 * pkt->count + start_reg - 4;
2085 if (pkt->count != 1) {
2127 if (pkt->count) {
2133 if (pkt->count != 4) {
2180 if (pkt->count != 3) {
2206 if (pkt->count != 4) {
2262 DRM_ERROR("Packet3 opcode %x not supported\n", pkt->opcode);
2270 struct radeon_cs_packet pkt;
2292 r = radeon_cs_packet_parse(p, &pkt, p->idx);
2298 p->idx += pkt.count + 2;
2299 switch (pkt.type) {
2301 r = r600_cs_parse_packet0(p, &pkt);
2306 r = r600_packet3_check(p, &pkt);
2309 DRM_ERROR("Unknown packet type %d !\n", pkt.type);