Lines Matching defs:ptr
74 uint32_t *ptr;
89 err = drm_tegra_pushbuf_begin(pushbuf, 32, &ptr);
93 *ptr++ = HOST1X_OPCODE_SETCL(0, HOST1X_CLASS_GR2D, 0);
95 *ptr++ = HOST1X_OPCODE_MASK(0x9, 0x9);
96 *ptr++ = 0x0000003a;
97 *ptr++ = 0x00000000;
99 *ptr++ = HOST1X_OPCODE_MASK(0x1e, 0x7);
100 *ptr++ = 0x00000000;
101 *ptr++ = (2 << 16) | (1 << 6) | (1 << 2);
102 *ptr++ = 0x000000cc;
104 *ptr++ = HOST1X_OPCODE_MASK(0x2b, 0x9);
107 err = drm_tegra_pushbuf_relocate(pushbuf, &ptr, map, 0, 0, 0);
113 *ptr++ = fb->pitch;
115 *ptr++ = HOST1X_OPCODE_NONINCR(0x35, 1);
116 *ptr++ = color;
118 *ptr++ = HOST1X_OPCODE_NONINCR(0x46, 1);
119 *ptr++ = 0x00000000;
121 *ptr++ = HOST1X_OPCODE_MASK(0x38, 0x5);
122 *ptr++ = height << 16 | width;
123 *ptr++ = y << 16 | x;
125 err = drm_tegra_pushbuf_end(pushbuf, ptr);