Home
last modified time | relevance | path

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

/sound/pci/asihpi/
Dhpioctl.c186 if (!pa || !pa->adapter || !pa->adapter->type) { in asihpi_hpi_ioctl()
316 if (!a->adapter->irq_query_and_clear) { in asihpi_isr()
317 pr_err("asihpi_isr ASI%04X:%d no handler\n", a->adapter->type, in asihpi_isr()
318 a->adapter->index); in asihpi_isr()
322 handled = a->adapter->irq_query_and_clear(a->adapter, 0); in asihpi_isr()
354 struct hpi_adapter adapter; in asihpi_adapter_probe() local
357 memset(&adapter, 0, sizeof(adapter)); in asihpi_adapter_probe()
409 adapter.adapter = hpi_find_adapter(adapter_index); in asihpi_adapter_probe()
412 adapter.p_buffer = vmalloc(prealloc_stream_buf); in asihpi_adapter_probe()
413 if (!adapter.p_buffer) { in asihpi_adapter_probe()
[all …]
Dhpimsgx.c576 static u16 adapter_prepare(u16 adapter) in adapter_prepare() argument
587 hm.adapter_index = adapter; in adapter_prepare()
589 memcpy(&rESP_HPI_ADAPTER_OPEN[adapter], &hr, in adapter_prepare()
597 hm.adapter_index = adapter; in adapter_prepare()
602 aDAPTER_INFO[adapter].num_outstreams = hr.u.ax.info.num_outstreams; in adapter_prepare()
603 aDAPTER_INFO[adapter].num_instreams = hr.u.ax.info.num_instreams; in adapter_prepare()
604 aDAPTER_INFO[adapter].type = hr.u.ax.info.adapter_type; in adapter_prepare()
607 for (i = 0; i < aDAPTER_INFO[adapter].num_outstreams; i++) { in adapter_prepare()
610 hm.adapter_index = adapter; in adapter_prepare()
613 memcpy(&rESP_HPI_OSTREAM_OPEN[adapter][i], &hr, in adapter_prepare()
[all …]
Dhpidspcd.c23 short hpi_dsp_code_open(u32 adapter, void *os_data, struct dsp_code *dsp_code, in hpi_dsp_code_open() argument
33 sprintf(fw_name, "asihpi/dsp%04x.bin", adapter); in hpi_dsp_code_open()
49 (header.adapter != adapter) in hpi_dsp_code_open()
Dhpicmn.c24 struct hpi_adapter_obj adapter[HPI_MAX_ADAPTERS]; member
71 if (adapters.adapter[pao->index].type) { in hpi_add_adapter()
74 if (!adapters.adapter[a].type) { in hpi_add_adapter()
87 adapters.adapter[pao->index] = *pao; in hpi_add_adapter()
88 hpios_dsplock_init(&adapters.adapter[pao->index]); in hpi_add_adapter()
104 if (adapters.adapter[pao->index].type) in hpi_delete_adapter()
106 memset(&adapters.adapter[pao->index], 0, sizeof(adapters.adapter[0])); in hpi_delete_adapter()
126 pao = &adapters.adapter[adapter_index]; in hpi_find_adapter()
159 if (adapters.adapter[index].type) { in subsys_get_adapter()
167 phr->u.s.adapter_index = adapters.adapter[index].index; in subsys_get_adapter()
[all …]
Dhpidspcd.h31 u32 adapter; member
64 u32 adapter, void *pci_dev,
Dhpi6000.h40 #define HPI_HIF_PACK_ADAPTER_INFO(adapter, version_major, version_minor) \ argument
41 ((adapter << 16) | (version_major << 8) | version_minor)
Dasihpi.c542 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()
992 err = hpi_outstream_open(card->hpi->adapter->index, 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()
1257 err = hpi_adapter_get_info(asihpi->hpi->adapter->index, in snd_card_asihpi_pcm_new()
2556 hpi_mixer_open(asihpi->hpi->adapter->index, 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()
2804 adapter_index = hpi->adapter->index; in snd_asihpi_probe()
[all …]
Dhpios.h140 struct hpi_adapter_obj *adapter; member
Dhpifunc.c781 u16 adapter; in hpi_outstream_group_add() local
790 if (hpi_handle_indexes(h_stream, &adapter, in hpi_outstream_group_add()
803 if (adapter != hm.adapter_index) in hpi_outstream_group_add()
1136 u16 adapter; in hpi_instream_group_add() local
1146 if (hpi_handle_indexes(h_stream, &adapter, in hpi_instream_group_add()
1161 if (adapter != hm.adapter_index) in hpi_instream_group_add()
/sound/ppc/
Dkeywest.c35 static int keywest_attach_adapter(struct i2c_adapter *adapter) in keywest_attach_adapter() argument
43 if (strncmp(adapter->name, "mac-io", 6)) in keywest_attach_adapter()
49 client = i2c_new_client_device(adapter, &info); in keywest_attach_adapter()
/sound/soc/pxa/
Dmagician.c352 struct i2c_adapter *adapter; in magician_init() local
358 adapter = i2c_get_adapter(0); in magician_init()
359 if (!adapter) in magician_init()
361 client = i2c_new_client_device(adapter, i2c_board_info); in magician_init()
362 i2c_put_adapter(adapter); in magician_init()
/sound/soc/codecs/
Dtlv320aic23-i2c.c24 if (!i2c_check_functionality(i2c->adapter, I2C_FUNC_SMBUS_BYTE_DATA)) in tlv320aic23_i2c_probe()
Dsigmadsp-i2c.c59 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in sigmadsp_read_i2c()
Drl6347a.c94 ret = i2c_transfer(client->adapter, xfer, 2); in rl6347a_hw_read()
Dtas571x.c126 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in tas571x_reg_read()
202 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in tas571x_reg_read_multiword()
Dmax98390.c1024 struct i2c_adapter *adapter = to_i2c_adapter(i2c->dev.parent); in max98390_i2c_probe() local
1026 ret = i2c_check_functionality(adapter, in max98390_i2c_probe()
Dtas5086.c219 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in tas5086_reg_read()
Dadau1701.c240 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in adau1701_reg_read()
Dcx2072x.c558 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in cx2072x_reg_read()
/sound/drivers/
DKconfig133 To use a MOTU MidiTimePiece AV multiport MIDI adapter