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,
990 err = hpi_outstream_open(card->hpi->adapter->index,
1166 card->hpi->adapter->index, substream->number);
1169 hpi_instream_open(card->hpi->adapter->index,
1255 err = hpi_adapter_get_info(asihpi->hpi->adapter->index,
1367 dev_info(&asihpi->pci->dev, "added %s(%d)\n", ctl->name, ctl->index);
1382 snd_control->index = 0;
2106 snd_control.index = subidx;
2354 (clkcache->s[i].index == srcindex))
2382 h_control, clkcache->s[item].index));
2484 clkcache->s[i].index = 0;
2492 /* already will have picked up index 0 above */
2500 clkcache->s[i].index = j;
2554 hpi_mixer_open(asihpi->hpi->adapter->index,
2685 hpi_handle_error(hpi_adapter_get_info(asihpi->hpi->adapter->index,
2692 type, asihpi->hpi->adapter->index,
2751 /* results in /dev/snd/hwC#D0 file for each card with index #
2790 /* Should this be enable[hpi->index] ? */
2802 adapter_index = hpi->adapter->index;
2803 /* first try to give the card the same index as its hardware index */
2807 /* if that fails, try the default index==next available */
2808 err = snd_card_new(&pci_dev->dev, index[dev], id[dev],
2813 dev_warn(&pci_dev->dev, "Adapter index %d->ALSA index %d\n",
2936 hpi_handle_error(hpi_adapter_set_property(hpi->adapter->index,