Lines Matching full:hpi
70 "ALSA enable HPI hwdep for AudioScience soundcard ");
112 struct hpi_adapter *hpi; member
155 /* Functions to allow driver to give a buffer to HPI for busmastering */
264 "in file %s, line %d: HPI error %d\n", in handle_error()
542 hpi_handle_error(hpi_adapter_set_property(card->hpi->adapter->index, in snd_card_asihpi_pcm_int_start()
553 hpi_handle_error(hpi_adapter_set_property(card->hpi->adapter->index, in snd_card_asihpi_pcm_int_stop()
900 if (!card->hpi->interrupt_mode && dpcm->respawn_timer) in snd_card_asihpi_timer_function()
990 err = hpi_outstream_open(card->hpi->adapter->index, in snd_card_asihpi_playback_open()
1011 if (!card->hpi->interrupt_mode) { in snd_card_asihpi_playback_open()
1166 card->hpi->adapter->index, substream->number); in snd_card_asihpi_capture_open()
1169 hpi_instream_open(card->hpi->adapter->index, in snd_card_asihpi_capture_open()
1184 if (!card->hpi->interrupt_mode) { in snd_card_asihpi_capture_open()
1255 err = hpi_adapter_get_info(asihpi->hpi->adapter->index, in snd_card_asihpi_pcm_new()
1308 /* Number of strings must match the enumerations for HPI_TUNER_BAND in hpi.h */
1332 /* Number of strings must match the enumerations for HPI_SOURCENODES in hpi.h */
1352 /* Number of strings must match the enumerations for HPI_DESTNODES in hpi.h */
1372 /* Convert HPI control name and location into ALSA control name */
1505 /* HPI currently only supports all or none muting of multichannel volume in snd_asihpi_volume_mute_put()
1506 ALSA Switch element has opposite sense to HPI mute: on==unmuted, off=muted in snd_asihpi_volume_mute_put()
2241 /* HPI channel mode values can be from 1 to 6 in snd_asihpi_cmode_info()
2554 hpi_mixer_open(asihpi->hpi->adapter->index, in snd_card_asihpi_mixer_new()
2577 "Disabled HPI Control(%d)\n", in snd_card_asihpi_mixer_new()
2642 "Untranslated HPI Control (%d) %d %d %d %d %d\n", in snd_card_asihpi_mixer_new()
2685 hpi_handle_error(hpi_adapter_get_info(asihpi->hpi->adapter->index, in snd_asihpi_proc_read()
2692 type, asihpi->hpi->adapter->index, in snd_asihpi_proc_read()
2752 also /proc/asound/hwdep will contain '#-00: asihpi (HPI) for each card'
2759 err = snd_hwdep_new(asihpi->card, "HPI", device, &hw); in snd_asihpi_hpi_new()
2762 strcpy(hw->name, "asihpi (HPI)"); in snd_asihpi_hpi_new()
2778 struct hpi_adapter *hpi; in snd_asihpi_probe() local
2790 /* Should this be enable[hpi->index] ? */ in snd_asihpi_probe()
2796 /* Initialise low-level HPI driver */ in snd_asihpi_probe()
2801 hpi = pci_get_drvdata(pci_dev); in snd_asihpi_probe()
2802 adapter_index = hpi->adapter->index; in snd_asihpi_probe()
2820 asihpi->hpi = hpi; in snd_asihpi_probe()
2821 hpi->snd_card = card; in snd_asihpi_probe()
2841 if (hpi->interrupt_mode) { in snd_asihpi_probe()
2844 hpi->interrupt_callback = snd_card_asihpi_isr; in snd_asihpi_probe()
2913 asihpi->hpi->adapter->type); in snd_asihpi_probe()
2931 struct hpi_adapter *hpi = pci_get_drvdata(pci_dev); in snd_asihpi_remove() local
2934 if (hpi->interrupt_mode) { in snd_asihpi_remove()
2935 hpi->interrupt_callback = NULL; in snd_asihpi_remove()
2936 hpi_handle_error(hpi_adapter_set_property(hpi->adapter->index, in snd_asihpi_remove()
2940 snd_card_free(hpi->snd_card); in snd_asihpi_remove()
2941 hpi->snd_card = NULL; in snd_asihpi_remove()