Lines Matching refs:index
50 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
56 module_param_array(index, int, NULL, 0444);
57 MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard.");
715 int index[3];
937 * index addresses 16bit words.
939 static u16 snd_m3_assp_read(struct snd_m3 *chip, u16 region, u16 index)
942 snd_m3_outw(chip, index, DSP_PORT_MEMORY_INDEX);
946 static void snd_m3_assp_write(struct snd_m3 *chip, u16 region, u16 index, u16 data)
949 snd_m3_outw(chip, index, DSP_PORT_MEMORY_INDEX);
982 static void snd_m3_remove_list(struct snd_m3 *chip, struct m3_list *list, int index)
987 if (index != lastindex) {
991 list->mem_addr + index,
1229 s->index[0] = snd_m3_add_list(chip, s->index_list[0],
1231 s->index[1] = snd_m3_add_list(chip, s->index_list[1],
1233 s->index[2] = snd_m3_add_list(chip, s->index_list[2],
1756 snd_m3_remove_list(chip, s->index_list[0], s->index[0]);
1757 snd_m3_remove_list(chip, s->index_list[1], s->index[1]);
1758 snd_m3_remove_list(chip, s->index_list[2], s->index[2]);
2173 static int snd_m3_assp_client_init(struct snd_m3 *chip, struct m3_dma *s, int index)
2191 address = 0x1100 + ((data_bytes/2) * index);
2196 data_bytes, index, address);
2200 s->number = index;
2706 err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE,