Lines Matching refs:index
309 * \param index Index within the data to write to.
313 pvr_pds_write_constant32(uint32_t *data_block, uint32_t index, uint32_t dword0)
316 assert(index <= (PVR_ROGUE_PDSINST_REGS32_CONST32_UPPER -
319 data_block[index + 0] = dword0;
321 PVR_PDS_PRINT_DATA("WriteConstant32", (uint64_t)dword0, index);
328 * \param index Index within the data to write to.
333 uint32_t index,
338 assert((index & 1) == 0);
341 assert((index >> 1) <= (PVR_ROGUE_PDSINST_REGS64_CONST64_UPPER -
344 data_block[index + 0] = dword0;
345 data_block[index + 1] = dword1;
349 index);
357 * \param index Index within the data to write to.
362 pvr_pds_write_wide_constant(uint32_t *data_block, uint32_t index, uint64_t word)
365 assert((index & 1) == 0);
368 assert((index >> 1) <= (PVR_ROGUE_PDSINST_REGS64_CONST64_UPPER -
371 data_block[index + 0] = L32(word);
372 data_block[index + 1] = H32(word);
374 PVR_PDS_PRINT_DATA("WriteWideConstant", word, index);
378 uint32_t index,
384 assert((index & 1) == 0);
390 assert((index >> 1) <= (PVR_ROGUE_PDSINST_REGS64_CONST64_UPPER -
393 data_block[index + 0] = L32(address);
394 data_block[index + 1] = H32(address);
396 PVR_PDS_PRINT_DATA("WriteDMAAddress", address, index);
806 /* The condition for index value is:
807 * index * stride + size <= bufferSize (all in unit of byte)
812 /* index can be any value -> no need to use DDMADT. */
815 /* No index works -> no need to issue DDMAD instruction.
820 /* index * stride + size <= bufferSize
823 * index <= (bufferSize - size) / stride
825 * where maximum index is:
830 /* No index works -> no need to issue DDMAD instruction.
844 * index < max_index + 1.
1082 /* If it's current state stream, then index = 0 always. */
1223 /* Get an 64 bits temp such that cmp current index with
1403 * src0 = stride src1 = index src2 = baseaddr src3 =
1514 * src0 = stride src1 = index src2 = baseaddr src3 =
1657 /* Send remapped index number to vi0. */
4081 * register index.
4302 for (uint32_t index = 0; index < program->num_buffers; index++) {
4303 if (program->dev_address_for_buffer_data[index] != 0) {
4313 program->dev_address_for_buffer_data[index],
4314 program->pds_buffer_data_size[index],
4324 PTDst += program->pds_buffer_data_size[index];
4466 * index block is 128-bit aligned. This is the client driver's responsibility.