Lines Matching refs:index
45 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
51 module_param_array(index, int, NULL, 0444);
52 MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard.");
710 int index[3];
932 * index addresses 16bit words.
934 static u16 snd_m3_assp_read(struct snd_m3 *chip, u16 region, u16 index)
937 snd_m3_outw(chip, index, DSP_PORT_MEMORY_INDEX);
941 static void snd_m3_assp_write(struct snd_m3 *chip, u16 region, u16 index, u16 data)
944 snd_m3_outw(chip, index, DSP_PORT_MEMORY_INDEX);
977 static void snd_m3_remove_list(struct snd_m3 *chip, struct m3_list *list, int index)
982 if (index != lastindex) {
986 list->mem_addr + index,
1224 s->index[0] = snd_m3_add_list(chip, s->index_list[0],
1226 s->index[1] = snd_m3_add_list(chip, s->index_list[1],
1228 s->index[2] = snd_m3_add_list(chip, s->index_list[2],
1751 snd_m3_remove_list(chip, s->index_list[0], s->index[0]);
1752 snd_m3_remove_list(chip, s->index_list[1], s->index[1]);
1753 snd_m3_remove_list(chip, s->index_list[2], s->index[2]);
2165 static int snd_m3_assp_client_init(struct snd_m3 *chip, struct m3_dma *s, int index)
2183 address = 0x1100 + ((data_bytes/2) * index);
2188 data_bytes, index, address);
2192 s->number = index;
2651 err = snd_devm_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE,