Lines Matching refs:index
54 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* index 0-MAX */
59 module_param_array(index, int, NULL, 0444);
60 MODULE_PARM_DESC(index, "ALSA index value for AudioScience soundcard.");
98 int index;
542 hpi_handle_error(hpi_adapter_set_property(card->hpi->adapter->index,
553 hpi_handle_error(hpi_adapter_set_property(card->hpi->adapter->index,
992 err = hpi_outstream_open(card->hpi->adapter->index,
1168 card->hpi->adapter->index, substream->number);
1171 hpi_instream_open(card->hpi->adapter->index,
1257 err = hpi_adapter_get_info(asihpi->hpi->adapter->index,
1369 dev_info(&asihpi->pci->dev, "added %s(%d)\n", ctl->name, ctl->index);
1384 snd_control->index = 0;
2108 snd_control.index = subidx;
2356 (clkcache->s[i].index == srcindex))
2384 h_control, clkcache->s[item].index));
2486 clkcache->s[i].index = 0;
2494 /* already will have picked up index 0 above */
2502 clkcache->s[i].index = j;
2556 hpi_mixer_open(asihpi->hpi->adapter->index,
2687 hpi_handle_error(hpi_adapter_get_info(asihpi->hpi->adapter->index,
2694 type, asihpi->hpi->adapter->index,
2753 /* results in /dev/snd/hwC#D0 file for each card with index #
2792 /* Should this be enable[hpi->index] ? */
2804 adapter_index = hpi->adapter->index;
2805 /* first try to give the card the same index as its hardware index */
2809 /* if that fails, try the default index==next available */
2810 err = snd_card_new(&pci_dev->dev, index[dev], id[dev],
2815 dev_warn(&pci_dev->dev, "Adapter index %d->ALSA index %d\n",
2938 hpi_handle_error(hpi_adapter_set_property(hpi->adapter->index,