Lines Matching refs:index
142 for (uint32 index = 0; index < GEODE_MAX_STREAMS; index++) {
143 if (controller->streams[index]
144 && (intr & controller->streams[index]->status) != 0) {
146 controller->streams[index]);
278 uint32 index;
330 for (index = 0; index < stream->num_buffers; index++) {
331 stream->buffers[index] = buffer + (index * bufferSize);
332 stream->physical_buffers[index] = bufferPhysicalAddress
333 + (index * bufferSize);
364 for (index = 0; index < stream->num_buffers; index++, bufferDescriptors++) {
365 bufferDescriptors->address = stream->physical_buffers[index];
372 for (index = 0; index < sizeof(kRates) / sizeof(kRates[0]); index++) {
373 if (kRates[index].multi_rate == stream->sample_rate) {
374 stream->rate = kRates[index].rate;
456 int index;
459 for (index = 0; index < GEODE_MAX_STREAMS; index++) {
460 if (controller->streams[index] && controller->streams[index]->running)
461 geode_stream_stop(controller->streams[index]);