Lines Matching refs:data

652 		/* Indirect buffer data must be an even number of
654 * pad the data with a Type-2 CCE packet.
657 u32 *data = (u32 *)
660 data[dwords++] = cpu_to_le32(R128_CCE_PACKET2);
705 u32 *data;
722 data = (u32 *) ((char *)dev->agp_buffer_map->handle
725 data[0] = cpu_to_le32(CCE_PACKET3(R128_3D_RNDR_GEN_INDX_PRIM,
728 data[1] = cpu_to_le32(offset);
729 data[2] = cpu_to_le32(R128_MAX_VB_VERTS);
730 data[3] = cpu_to_le32(format);
731 data[4] = cpu_to_le32((prim | R128_CCE_VC_CNTL_PRIM_WALK_IND |
736 data[dwords - 1] &= 0x0000ffff;
738 data[dwords - 1] &= 0xffff0000;
786 u32 *data;
816 * This ensures no pixel data gets mixed up with the texture
817 * data from the host data blit, otherwise part of the texture
846 data = (u32 *) ((char *)dev->agp_buffer_map->handle + buf->offset);
848 data[0] = cpu_to_le32(CCE_PACKET3(R128_CNTL_HOSTDATA_BLT, dwords + 6));
849 data[1] = cpu_to_le32((R128_GMC_DST_PITCH_OFFSET_CNTL |
858 data[2] = cpu_to_le32((blit->pitch << 21) | (blit->offset >> 5));
859 data[3] = cpu_to_le32(0xffffffff);
860 data[4] = cpu_to_le32(0xffffffff);
861 data[5] = cpu_to_le32((blit->y << 16) | blit->x);
862 data[6] = cpu_to_le32((blit->height << 16) | blit->width);
863 data[7] = cpu_to_le32(dwords);
870 * the texture data is written out to memory before rendering
1203 static int r128_cce_clear(struct drm_device *dev, void *data, struct drm_file *file_priv)
1207 drm_r128_clear_t *clear = data;
1271 static int r128_cce_flip(struct drm_device *dev, void *data, struct drm_file *file_priv)
1291 static int r128_cce_swap(struct drm_device *dev, void *data, struct drm_file *file_priv)
1314 static int r128_cce_vertex(struct drm_device *dev, void *data, struct drm_file *file_priv)
1320 drm_r128_vertex_t *vertex = data;
1366 static int r128_cce_indices(struct drm_device *dev, void *data, struct drm_file *file_priv)
1372 drm_r128_indices_t *elts = data;
1431 static int r128_cce_blit(struct drm_device *dev, void *data, struct drm_file *file_priv)
1435 drm_r128_blit_t *blit = data;
1459 int r128_cce_depth(struct drm_device *dev, void *data, struct drm_file *file_priv)
1462 drm_r128_depth_t *depth = data;
1491 int r128_cce_stipple(struct drm_device *dev, void *data, struct drm_file *file_priv)
1494 drm_r128_stipple_t *stipple = data;
1512 static int r128_cce_indirect(struct drm_device *dev, void *data, struct drm_file *file_priv)
1518 drm_r128_indirect_t *indirect = data;
1581 int r128_getparam(struct drm_device *dev, void *data, struct drm_file *file_priv)
1584 drm_r128_getparam_t *param = data;