Lines Matching defs:constant

240  * Gets the next constant address and moves the next constant pointer along.
242 * \param next_constant Pointer to the next constant address.
245 * \return The address of the next constant.
251 uint32_t constant;
253 /* Work out starting constant number. For even number of constants, start on
257 constant = *next_constant;
259 constant = (*next_constant + 1) & ~1;
262 *count += constant + num_constants - *next_constant;
264 /* Move the next constant pointer. */
265 *next_constant = constant + num_constants;
267 assert((constant + num_constants) <= PVR_PDS_CONSTANTS_BLOCK_SIZE);
269 return constant;
306 * Write a 32-bit constant indexed by the long range.
310 * \param dword The 32-bit constant to write.
325 * Write a 64-bit constant indexed by the long range.
329 * \param dword0 Lower half of the 64 bit constant.
330 * \param dword1 Upper half of the 64 bit constant.
353 * Write a 64-bit constant from a single wide word indexed by the long-range
358 * \param word The 64-bit constant to write.
400 * External API to append a 64-bit constant to an existing data segment
404 * \param constant_value Value to write to constant.
406 * \returns The address of the next constant.
412 /* Calculate next constant from current data size. */
414 uint32_t constant = pvr_pds_get_constants(&next_constant, 2, data_size);
417 pvr_pds_write_wide_constant(constants, constant, constant_value);
419 return constant;
647 /* Allocate constant for PDS vertex shader where constant is divided into
650 uint32_t constant;
658 constant = *next_constant;
665 constant = *next_constant;
669 constant = *next_constant;
678 return constant;
1322 /* Write the address to the constant. */
1377 /* Write the 32-Bit SRC3 word to a 64-bit constant as per
1448 /* Write the address to the constant. */
1501 /* Write the 32-Bit SRC3 word to a 64-bit constant as per
1774 /* For the constant value to load into ptemp (SW fence). */
1896 /* Write the constant for the coefficient register write. */
1905 /* Write the constant for the coefficient register write. */
2263 /* Load negate constant into temp for CMP. */
2453 /* Encode the fence constant src0. Fence barrier is initialized to
2462 /* Write the constant for the coefficient register write. */
2480 /* Write the constant for the coefficient register write. */
2875 /* Allocate 3 constant spaces for each kick. The 64-bit constants
2916 /* Allocate 3 constant spaces for each DMA and 2 for a USC kick. The
3096 /* Load into first constant in common store. */
3141 /* Load into first constant in common store. */
3204 /* Load into first constant in common store. */
3264 /* Allocate 3 constant spaces for each kick. The 64-bit constants
3353 /* Allocate 3 constant spaces for each kick. The 64-bit constants
3421 uint32_t constant = 0;
3444 constant = pvr_pds_get_constants(&next_constant, 2, &data_size);
3445 pvr_pds_write_wide_constant(constants, constant + 0, 0); /* 64-bit
3493 uint32_t constant[PVR_PDS_MAX_NUM_DOUTW_CONSTANTS];
3505 constant[const_pair] =
3518 constant[const_pair],
3565 /* SRC0 */ constant[const_pair] >> 1); /* DOUTW 64-bit Src0. */
3590 * \param start_next_constant Next constant in data segment. Non-zero if another
3602 uint32_t constant = 0;
3627 constant = pvr_pds_get_constants(&next_constant, 2, &dummy_count);
3630 constant + 0,
3656 /* SRC0 */ (constant + start_next_constant) >> 1); /* DOUTU
3788 /* Append a 64-bit constant with value 1. Used to increment ptemp.
3907 /* Copy the fence constant value (64-bit). */
3912 /* Encode the fence constant src0 (offset measured from start of data
3993 uint32_t constant;
4027 constant = pvr_pds_get_constants(&next_constant, 2, &data_size);
4048 constant,
4057 /* SRC0 */ constant >> 1); /* DOUT Issue word 0 64-bit */
4114 uint32_t constant;
4153 constant = pvr_pds_get_constants(next_constant, 2, total_data_size);
4177 /* Write it to the constant. */
4179 constant,
4189 *buffer++ = pvr_pds_inst_encode_ld(0, constant >> 1);
4208 constant = pvr_pds_get_constants(next_constant, 2, total_data_size);
4236 /* Write it to the constant. */
4238 constant,
4249 *buffer++ = pvr_pds_inst_encode_st(0, constant >> 1);