Home
last modified time | relevance | path

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

/sound/pci/asihpi/
Dhpioctl.c187 if (!pa || !pa->adapter || !pa->adapter->type) { in asihpi_hpi_ioctl()
317 if (!a->adapter->irq_query_and_clear) { in asihpi_isr()
318 pr_err("asihpi_isr ASI%04X:%d no handler\n", a->adapter->type, in asihpi_isr()
319 a->adapter->index); in asihpi_isr()
323 handled = a->adapter->irq_query_and_clear(a->adapter, 0); in asihpi_isr()
346 struct hpi_adapter adapter; in asihpi_adapter_probe() local
349 memset(&adapter, 0, sizeof(adapter)); in asihpi_adapter_probe()
401 adapter.adapter = hpi_find_adapter(adapter_index); in asihpi_adapter_probe()
404 adapter.p_buffer = vmalloc(prealloc_stream_buf); in asihpi_adapter_probe()
405 if (!adapter.p_buffer) { in asihpi_adapter_probe()
[all …]
Dhpimsgx.c587 static u16 adapter_prepare(u16 adapter) in adapter_prepare() argument
598 hm.adapter_index = adapter; in adapter_prepare()
600 memcpy(&rESP_HPI_ADAPTER_OPEN[adapter], &hr, in adapter_prepare()
608 hm.adapter_index = adapter; in adapter_prepare()
613 aDAPTER_INFO[adapter].num_outstreams = hr.u.ax.info.num_outstreams; in adapter_prepare()
614 aDAPTER_INFO[adapter].num_instreams = hr.u.ax.info.num_instreams; in adapter_prepare()
615 aDAPTER_INFO[adapter].type = hr.u.ax.info.adapter_type; in adapter_prepare()
618 for (i = 0; i < aDAPTER_INFO[adapter].num_outstreams; i++) { in adapter_prepare()
621 hm.adapter_index = adapter; in adapter_prepare()
624 memcpy(&rESP_HPI_OSTREAM_OPEN[adapter][i], &hr, in adapter_prepare()
[all …]
Dhpidspcd.c34 short hpi_dsp_code_open(u32 adapter, void *os_data, struct dsp_code *dsp_code, in hpi_dsp_code_open() argument
44 sprintf(fw_name, "asihpi/dsp%04x.bin", adapter); in hpi_dsp_code_open()
60 (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.h151 struct hpi_adapter_obj *adapter; member
Dasihpi.c571 hpi_handle_error(hpi_adapter_set_property(card->hpi->adapter->index, in snd_card_asihpi_pcm_int_start()
586 hpi_handle_error(hpi_adapter_set_property(card->hpi->adapter->index, in snd_card_asihpi_pcm_int_stop()
1051 err = hpi_outstream_open(card->hpi->adapter->index, in snd_card_asihpi_playback_open()
1235 card->hpi->adapter->index, substream->number); in snd_card_asihpi_capture_open()
1238 hpi_instream_open(card->hpi->adapter->index, in snd_card_asihpi_capture_open()
1326 err = hpi_adapter_get_info(asihpi->hpi->adapter->index, in snd_card_asihpi_pcm_new()
2630 hpi_mixer_open(asihpi->hpi->adapter->index, in snd_card_asihpi_mixer_new()
2761 hpi_handle_error(hpi_adapter_get_info(asihpi->hpi->adapter->index, in snd_asihpi_proc_read()
2768 type, asihpi->hpi->adapter->index, in snd_asihpi_proc_read()
2880 adapter_index = hpi->adapter->index; in snd_asihpi_probe()
[all …]
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.c53 static int keywest_attach_adapter(struct i2c_adapter *adapter) in keywest_attach_adapter() argument
60 if (strncmp(adapter->name, "mac-io", 6)) in keywest_attach_adapter()
66 keywest_ctx->client = i2c_new_device(adapter, &info); in keywest_attach_adapter()
/sound/soc/pxa/
Dmagician.c453 struct i2c_adapter *adapter; in magician_init() local
459 adapter = i2c_get_adapter(0); in magician_init()
460 if (!adapter) in magician_init()
462 client = i2c_new_device(adapter, i2c_board_info); in magician_init()
463 i2c_put_adapter(adapter); in magician_init()
DKconfig163 tristate "SoC Audio support Raumfeld audio adapter"
/sound/soc/codecs/
Dtlv320aic23-i2c.c27 if (!i2c_check_functionality(i2c->adapter, I2C_FUNC_SMBUS_BYTE_DATA)) in tlv320aic23_i2c_probe()
Dsigmadsp-i2c.c60 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in sigmadsp_read_i2c()
Drl6347a.c97 ret = i2c_transfer(client->adapter, xfer, 2); in rl6347a_hw_read()
Dtas571x.c127 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in tas571x_reg_read()
203 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in tas571x_reg_read_multiword()
Dtas5086.c228 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in tas5086_reg_read()
Dadau1701.c241 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in adau1701_reg_read()
/sound/drivers/
DKconfig116 To use a MOTU MidiTimePiece AV multiport MIDI adapter