Lines Matching full:hpi
61 "ALSA enable HPI hwdep for AudioScience soundcard ");
103 struct hpi_adapter *hpi; member
146 /* Functions to allow driver to give a buffer to HPI for busmastering */
254 pr_warn("in file %s, line %d: HPI error %d\n", in handle_error()
535 hpi_handle_error(hpi_adapter_set_property(card->hpi->adapter->index, in snd_card_asihpi_pcm_int_start()
546 hpi_handle_error(hpi_adapter_set_property(card->hpi->adapter->index, in snd_card_asihpi_pcm_int_stop()
894 if (!card->hpi->interrupt_mode && dpcm->respawn_timer) in snd_card_asihpi_timer_function()
982 err = hpi_outstream_open(card->hpi->adapter->index, in snd_card_asihpi_playback_open()
1003 if (!card->hpi->interrupt_mode) { in snd_card_asihpi_playback_open()
1154 card->hpi->adapter->index, substream->number); in snd_card_asihpi_capture_open()
1157 hpi_instream_open(card->hpi->adapter->index, in snd_card_asihpi_capture_open()
1172 if (!card->hpi->interrupt_mode) { in snd_card_asihpi_capture_open()
1243 err = hpi_adapter_get_info(asihpi->hpi->adapter->index, in snd_card_asihpi_pcm_new()
1296 /* Number of strings must match the enumerations for HPI_TUNER_BAND in hpi.h */
1320 /* Number of strings must match the enumerations for HPI_SOURCENODES in hpi.h */
1340 /* Number of strings must match the enumerations for HPI_DESTNODES in hpi.h */
1360 /* Convert HPI control name and location into ALSA control name */
1491 /* HPI currently only supports all or none muting of multichannel volume in snd_asihpi_volume_mute_put()
1492 ALSA Switch element has opposite sense to HPI mute: on==unmuted, off=muted in snd_asihpi_volume_mute_put()
2226 /* HPI channel mode values can be from 1 to 6 in snd_asihpi_cmode_info()
2539 hpi_mixer_open(asihpi->hpi->adapter->index, in snd_card_asihpi_mixer_new()
2562 "Disabled HPI Control(%d)\n", in snd_card_asihpi_mixer_new()
2627 "Untranslated HPI Control (%d) %d %d %d %d %d\n", in snd_card_asihpi_mixer_new()
2670 hpi_handle_error(hpi_adapter_get_info(asihpi->hpi->adapter->index, in snd_asihpi_proc_read()
2677 type, asihpi->hpi->adapter->index, in snd_asihpi_proc_read()
2737 also /proc/asound/hwdep will contain '#-00: asihpi (HPI) for each card'
2744 err = snd_hwdep_new(asihpi->card, "HPI", device, &hw); in snd_asihpi_hpi_new()
2747 strcpy(hw->name, "asihpi (HPI)"); in snd_asihpi_hpi_new()
2763 struct hpi_adapter *hpi; in snd_asihpi_probe() local
2775 /* Should this be enable[hpi->index] ? */ in snd_asihpi_probe()
2781 /* Initialise low-level HPI driver */ in snd_asihpi_probe()
2786 hpi = pci_get_drvdata(pci_dev); in snd_asihpi_probe()
2787 adapter_index = hpi->adapter->index; in snd_asihpi_probe()
2805 asihpi->hpi = hpi; in snd_asihpi_probe()
2806 hpi->snd_card = card; in snd_asihpi_probe()
2826 if (hpi->interrupt_mode) { in snd_asihpi_probe()
2829 hpi->interrupt_callback = snd_card_asihpi_isr; in snd_asihpi_probe()
2898 asihpi->hpi->adapter->type); in snd_asihpi_probe()
2916 struct hpi_adapter *hpi = pci_get_drvdata(pci_dev); in snd_asihpi_remove() local
2919 if (hpi->interrupt_mode) { in snd_asihpi_remove()
2920 hpi->interrupt_callback = NULL; in snd_asihpi_remove()
2921 hpi_handle_error(hpi_adapter_set_property(hpi->adapter->index, in snd_asihpi_remove()
2925 snd_card_free(hpi->snd_card); in snd_asihpi_remove()
2926 hpi->snd_card = NULL; in snd_asihpi_remove()