Lines Matching refs:index
229 int index, words, i; in install_resident_loader() local
271 index = code[0]; in install_resident_loader()
274 index += 3; in install_resident_loader()
277 words = code[index++]; in install_resident_loader()
280 address = ((u32)code[index] << 16) + code[index + 1]; in install_resident_loader()
281 index += 2; in install_resident_loader()
297 data = ((u32)code[index] << 16) + code[index + 1]; in install_resident_loader()
302 index += 2; in install_resident_loader()
333 int index, words, i; in load_dsp() local
378 index = code[0]; in load_dsp()
383 index++; in load_dsp()
386 block_type = code[index]; in load_dsp()
390 index++; in load_dsp()
393 mem_type = code[index++]; in load_dsp()
396 words = code[index++]; in load_dsp()
401 address = ((u32)code[index] << 16) + code[index + 1]; in load_dsp()
402 index += 2; in load_dsp()
417 for (i = 0; i < words; i++, index+=2) { in load_dsp()
418 data = ((u32)code[index] << 16) + code[index + 1]; in load_dsp()
513 static int set_nominal_level(struct echoaudio *chip, u16 index, char consumer) in set_nominal_level() argument
515 if (snd_BUG_ON(index >= num_busses_out(chip) + num_busses_in(chip))) in set_nominal_level()
522 chip->nominal_level[index] = consumer; in set_nominal_level()
525 chip->comm_page->nominal_level_mask |= cpu_to_le32(1 << index); in set_nominal_level()
527 chip->comm_page->nominal_level_mask &= ~cpu_to_le32(1 << index); in set_nominal_level()
1071 pipe->index = pipe_index; in allocate_pipes()
1091 DE_ACT(("free_pipes: Pipe %d\n", pipe->index)); in free_pipes()
1092 if (snd_BUG_ON(!is_pipe_allocated(chip, pipe->index))) in free_pipes()
1098 channel_mask |= 1 << (pipe->index + i); in free_pipes()
1115 chip->comm_page->sglist_addr[pipe->index].addr = in sglist_init()