Lines Matching defs:index

162 es1370_create_group_control(multi_dev *multi, int32 *index, int32 parent, 
164 int32 i = *index;
165 (*index)++;
362 uint32 index, i, mode, designations;
374 index = 0;
388 chans[index].channel_id = index;
389 chans[index].kind = (mode == ES1370_USE_PLAY) ? B_MULTI_OUTPUT_CHANNEL : B_MULTI_INPUT_CHANNEL;
390 chans[index].designations = designations | chan_designations[i];
391 chans[index].connectors = 0;
392 index++;
397 multi->output_channel_count = index;
399 multi->input_channel_count = index - multi->output_channel_count;
403 chans[index].channel_id = index;
405 chans[index].kind = B_MULTI_OUTPUT_BUS;
406 chans[index].designations = B_CHANNEL_LEFT | B_CHANNEL_STEREO_BUS;
407 chans[index].connectors = B_CHANNEL_MINI_JACK_STEREO;
408 index++;
410 chans[index].channel_id = index;
411 chans[index].kind = B_MULTI_OUTPUT_BUS;
412 chans[index].designations = B_CHANNEL_RIGHT | B_CHANNEL_STEREO_BUS;
413 chans[index].connectors = B_CHANNEL_MINI_JACK_STEREO;
414 index++;
416 multi->output_bus_channel_count = index - multi->output_channel_count
419 chans[index].channel_id = index;
420 chans[index].kind = B_MULTI_INPUT_BUS;
421 chans[index].designations = B_CHANNEL_LEFT | B_CHANNEL_STEREO_BUS;
422 chans[index].connectors = B_CHANNEL_MINI_JACK_STEREO;
423 index++;
425 chans[index].channel_id = index;
426 chans[index].kind = B_MULTI_INPUT_BUS;
427 chans[index].designations = B_CHANNEL_RIGHT | B_CHANNEL_STEREO_BUS;
428 chans[index].connectors = B_CHANNEL_MINI_JACK_STEREO;
429 index++;
431 multi->input_bus_channel_count = index - multi->output_channel_count