Home
last modified time | relevance | path

Searched refs:adapter (Results 1 – 15 of 15) sorted by relevance

/sound/pci/asihpi/
Dhpimsgx.c578 static u16 adapter_prepare(u16 adapter) in adapter_prepare() argument
589 hm.adapter_index = adapter; in adapter_prepare()
591 memcpy(&rESP_HPI_ADAPTER_OPEN[adapter], &hr, in adapter_prepare()
599 hm.adapter_index = adapter; in adapter_prepare()
604 aDAPTER_INFO[adapter].num_outstreams = hr.u.ax.info.num_outstreams; in adapter_prepare()
605 aDAPTER_INFO[adapter].num_instreams = hr.u.ax.info.num_instreams; in adapter_prepare()
606 aDAPTER_INFO[adapter].type = hr.u.ax.info.adapter_type; in adapter_prepare()
609 for (i = 0; i < aDAPTER_INFO[adapter].num_outstreams; i++) { in adapter_prepare()
612 hm.adapter_index = adapter; in adapter_prepare()
615 memcpy(&rESP_HPI_OSTREAM_OPEN[adapter][i], &hr, in adapter_prepare()
[all …]
Dhpioctl.c187 if (!pa || !pa->adapter || !pa->adapter->type) { in asihpi_hpi_ioctl()
318 struct hpi_adapter adapter; in asihpi_adapter_probe() local
321 memset(&adapter, 0, sizeof(adapter)); in asihpi_adapter_probe()
373 adapter.adapter = hpi_find_adapter(adapter_index); in asihpi_adapter_probe()
376 adapter.p_buffer = vmalloc(prealloc_stream_buf); in asihpi_adapter_probe()
377 if (!adapter.p_buffer) { in asihpi_adapter_probe()
388 hm.adapter_index = adapter.adapter->index; in asihpi_adapter_probe()
397 adapters[adapter_index] = adapter; in asihpi_adapter_probe()
402 adapter.adapter->type, adapter_index); in asihpi_adapter_probe()
414 if (adapter.p_buffer) { in asihpi_adapter_probe()
[all …]
Dhpidspcd.c37 short hpi_dsp_code_open(u32 adapter, void *os_data, struct dsp_code *dsp_code, in hpi_dsp_code_open() argument
47 sprintf(fw_name, "asihpi/dsp%04x.bin", adapter); in hpi_dsp_code_open()
63 (header.adapter != adapter) in hpi_dsp_code_open()
Dhpicmn.c35 struct hpi_adapter_obj adapter[HPI_MAX_ADAPTERS]; member
80 if (adapters.adapter[pao->index].type) { in hpi_add_adapter()
83 if (!adapters.adapter[a].type) { in hpi_add_adapter()
96 adapters.adapter[pao->index] = *pao; in hpi_add_adapter()
97 hpios_dsplock_init(&adapters.adapter[pao->index]); in hpi_add_adapter()
113 if (adapters.adapter[pao->index].type) in hpi_delete_adapter()
115 memset(&adapters.adapter[pao->index], 0, sizeof(adapters.adapter[0])); in hpi_delete_adapter()
134 pao = &adapters.adapter[adapter_index]; in hpi_find_adapter()
168 if (adapters.adapter[index].type) { in subsys_get_adapter()
176 phr->u.s.adapter_index = adapters.adapter[index].index; in subsys_get_adapter()
[all …]
Dhpidspcd.h42 u32 adapter; member
75 u32 adapter, void *pci_dev,
Dhpi6000.h51 #define HPI_HIF_PACK_ADAPTER_INFO(adapter, version_major, version_minor) \ argument
52 ((adapter << 16) | (version_major << 8) | version_minor)
Dhpios.h155 struct hpi_adapter_obj *adapter; member
Dasihpi.c986 err = hpi_outstream_open(card->hpi->adapter->index, in snd_card_asihpi_playback_open()
1163 card->hpi->adapter->index, substream->number); in snd_card_asihpi_capture_open()
1166 hpi_instream_open(card->hpi->adapter->index, in snd_card_asihpi_capture_open()
1245 err = hpi_adapter_get_info(asihpi->hpi->adapter->index, in snd_card_asihpi_pcm_new()
2564 hpi_mixer_open(asihpi->hpi->adapter->index, in snd_card_asihpi_mixer_new()
2696 hpi_handle_error(hpi_adapter_get_info(asihpi->hpi->adapter->index, in snd_asihpi_proc_read()
2703 type, asihpi->hpi->adapter->index, in snd_asihpi_proc_read()
2820 adapter_index = hpi->adapter->index; in snd_asihpi_probe()
2848 asihpi->hpi->adapter->type, adapter_index); in snd_asihpi_probe()
2930 asihpi->hpi->adapter->type); in snd_asihpi_probe()
Dhpifunc.c780 u16 adapter; in hpi_outstream_group_add() local
789 if (hpi_handle_indexes(h_stream, &adapter, in hpi_outstream_group_add()
802 if (adapter != hm.adapter_index) in hpi_outstream_group_add()
1135 u16 adapter; in hpi_instream_group_add() local
1145 if (hpi_handle_indexes(h_stream, &adapter, in hpi_instream_group_add()
1160 if (adapter != hm.adapter_index) in hpi_instream_group_add()
/sound/ppc/
Dkeywest.c47 static int keywest_attach_adapter(struct i2c_adapter *adapter) in keywest_attach_adapter() argument
54 if (strncmp(adapter->name, "mac-io", 6)) in keywest_attach_adapter()
60 keywest_ctx->client = i2c_new_device(adapter, &info); in keywest_attach_adapter()
/sound/soc/pxa/
Dmagician.c482 struct i2c_adapter *adapter; in magician_init() local
488 adapter = i2c_get_adapter(0); in magician_init()
489 if (!adapter) in magician_init()
491 client = i2c_new_device(adapter, i2c_board_info); in magician_init()
492 i2c_put_adapter(adapter); in magician_init()
DKconfig184 tristate "SoC Audio support Raumfeld audio adapter"
/sound/soc/codecs/
Dsta529.c390 if (!i2c_check_functionality(i2c->adapter, I2C_FUNC_SMBUS_BYTE_DATA)) in sta529_i2c_probe()
Dtlv320aic23.c627 if (!i2c_check_functionality(i2c->adapter, I2C_FUNC_SMBUS_BYTE_DATA)) in tlv320aic23_codec_probe()
/sound/drivers/
DKconfig116 To use a MOTU MidiTimePiece AV multiport MIDI adapter