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()
902 if (!card->hpi->interrupt_mode && dpcm->respawn_timer) in snd_card_asihpi_timer_function()
992 err = hpi_outstream_open(card->hpi->adapter->index, in snd_card_asihpi_playback_open()
1013 if (!card->hpi->interrupt_mode) { in snd_card_asihpi_playback_open()
1168 card->hpi->adapter->index, substream->number); in snd_card_asihpi_capture_open()
1171 hpi_instream_open(card->hpi->adapter->index, in snd_card_asihpi_capture_open()
1186 if (!card->hpi->interrupt_mode) { in snd_card_asihpi_capture_open()
1257 err = hpi_adapter_get_info(asihpi->hpi->adapter->index, in snd_card_asihpi_pcm_new()
1310 /* Number of strings must match the enumerations for HPI_TUNER_BAND in hpi.h */
1334 /* Number of strings must match the enumerations for HPI_SOURCENODES in hpi.h */
1354 /* Number of strings must match the enumerations for HPI_DESTNODES in hpi.h */
1374 /* Convert HPI control name and location into ALSA control name */
1507 /* HPI currently only supports all or none muting of multichannel volume in snd_asihpi_volume_mute_put()
1508 ALSA Switch element has opposite sense to HPI mute: on==unmuted, off=muted in snd_asihpi_volume_mute_put()
2243 /* HPI channel mode values can be from 1 to 6 in snd_asihpi_cmode_info()
2556 hpi_mixer_open(asihpi->hpi->adapter->index, in snd_card_asihpi_mixer_new()
2579 "Disabled HPI Control(%d)\n", in snd_card_asihpi_mixer_new()
2644 "Untranslated HPI Control (%d) %d %d %d %d %d\n", in snd_card_asihpi_mixer_new()
2687 hpi_handle_error(hpi_adapter_get_info(asihpi->hpi->adapter->index, in snd_asihpi_proc_read()
2694 type, asihpi->hpi->adapter->index, in snd_asihpi_proc_read()
2754 also /proc/asound/hwdep will contain '#-00: asihpi (HPI) for each card'
2761 err = snd_hwdep_new(asihpi->card, "HPI", device, &hw); in snd_asihpi_hpi_new()
2764 strcpy(hw->name, "asihpi (HPI)"); in snd_asihpi_hpi_new()
2780 struct hpi_adapter *hpi; in snd_asihpi_probe() local
2792 /* Should this be enable[hpi->index] ? */ in snd_asihpi_probe()
2798 /* Initialise low-level HPI driver */ in snd_asihpi_probe()
2803 hpi = pci_get_drvdata(pci_dev); in snd_asihpi_probe()
2804 adapter_index = hpi->adapter->index; in snd_asihpi_probe()
2822 asihpi->hpi = hpi; in snd_asihpi_probe()
2823 hpi->snd_card = card; in snd_asihpi_probe()
2843 if (hpi->interrupt_mode) { in snd_asihpi_probe()
2846 hpi->interrupt_callback = snd_card_asihpi_isr; in snd_asihpi_probe()
2915 asihpi->hpi->adapter->type); in snd_asihpi_probe()
2933 struct hpi_adapter *hpi = pci_get_drvdata(pci_dev); in snd_asihpi_remove() local
2936 if (hpi->interrupt_mode) { in snd_asihpi_remove()
2937 hpi->interrupt_callback = NULL; in snd_asihpi_remove()
2938 hpi_handle_error(hpi_adapter_set_property(hpi->adapter->index, in snd_asihpi_remove()
2942 snd_card_free(hpi->snd_card); in snd_asihpi_remove()
2943 hpi->snd_card = NULL; in snd_asihpi_remove()