Home
last modified time | relevance | path

Searched refs:rx (Results 1 – 22 of 22) sorted by relevance

/sound/soc/mediatek/common/
Dmtk-btcvsd.c136 struct mtk_btcvsd_snd_stream *rx; member
212 bt->tx->state, bt->rx->state, bt->irq_disabled); in mtk_btcvsd_snd_set_state()
217 bt->rx->state == BT_SCO_STATE_IDLE) { in mtk_btcvsd_snd_set_state()
247 memset(bt->rx, 0, sizeof(*bt->rx)); in mtk_btcvsd_snd_rx_init()
250 bt->rx->packet_size = BTCVSD_RX_PACKET_SIZE; in mtk_btcvsd_snd_rx_init()
251 bt->rx->buf_size = BTCVSD_RX_BUF_SIZE; in mtk_btcvsd_snd_rx_init()
252 bt->rx->timeout = 0; in mtk_btcvsd_snd_rx_init()
253 bt->rx->rw_cnt = 0; in mtk_btcvsd_snd_rx_init()
254 bt->rx->stream = SNDRV_PCM_STREAM_CAPTURE; in mtk_btcvsd_snd_rx_init()
268 ts->time_stamp_us = bt->rx->time_stamp; in get_rx_time_stamp()
[all …]
/sound/firewire/dice/
Ddice-proc.c107 } rx; in dice_proc_read() member
198 quadlets = min_t(u32, tx_rx_header.size, sizeof(buf.rx) / 4); in dice_proc_read()
200 if (dice_proc_read_mem(dice, &buf.rx, sections[4] + 2 + in dice_proc_read()
205 snd_iprintf(buffer, " iso channel: %d\n", (int)buf.rx.iso); in dice_proc_read()
206 snd_iprintf(buffer, " sequence start: %u\n", buf.rx.seq_start); in dice_proc_read()
208 buf.rx.number_audio); in dice_proc_read()
209 snd_iprintf(buffer, " midi ports: %u\n", buf.rx.number_midi); in dice_proc_read()
211 dice_proc_fixup_string(buf.rx.names, RX_NAMES_SIZE); in dice_proc_read()
212 snd_iprintf(buffer, " names: %s\n", buf.rx.names); in dice_proc_read()
216 buf.rx.ac3_caps); in dice_proc_read()
[all …]
/sound/soc/intel/common/
Dsst-ipc.c66 reply->header = msg->rx.header; in tx_wait_done()
68 memcpy(reply->data, msg->rx.data, msg->rx.size); in tx_wait_done()
95 msg->rx.header = 0; in ipc_tx_message()
96 msg->rx.size = reply ? reply->size : 0; in ipc_tx_message()
129 ipc->msg[i].rx.data = kzalloc(ipc->rx_data_max_size, GFP_KERNEL); in msg_empty_list_init()
130 if (ipc->msg[i].rx.data == NULL) { in msg_empty_list_init()
144 kfree(ipc->msg[i-1].rx.data); in msg_empty_list_init()
311 kfree(ipc->msg[i].rx.data); in sst_ipc_fini()
Dsst-ipc.h29 struct sst_ipc_message rx; member
/sound/firewire/
Damdtp-stream.c108 s->ctx_data.rx.syt_override = -1; in amdtp_stream_init()
273 s->ctx_data.rx.transfer_delay = in amdtp_stream_set_parameters()
279 s->ctx_data.rx.transfer_delay += in amdtp_stream_set_parameters()
340 data_blocks = s->ctx_data.rx.data_block_state; in calculate_data_blocks()
342 phase = s->ctx_data.rx.data_block_state; in calculate_data_blocks()
361 s->ctx_data.rx.data_block_state = phase; in calculate_data_blocks()
373 if (s->ctx_data.rx.last_syt_offset < TICKS_PER_CYCLE) { in calculate_syt()
375 syt_offset = s->ctx_data.rx.last_syt_offset + in calculate_syt()
376 s->ctx_data.rx.syt_offset_state; in calculate_syt()
388 phase = s->ctx_data.rx.syt_offset_state; in calculate_syt()
[all …]
Damdtp-stream.h145 } rx; member
Damdtp-am824.c86 s->ctx_data.rx.fdf = AMDTP_FDF_AM824 | s->sfc; in amdtp_am824_set_parameters()
/sound/soc/meson/
Daxg-card.c20 u32 rx; member
216 be->codec_masks[i].rx, in axg_card_tdm_dai_init()
339 u32 tx, rx; in axg_card_parse_cpu_tdm_slots() local
359 for (i = 0, rx = 0; i < AXG_TDM_NUM_LANES; i++) { in axg_card_parse_cpu_tdm_slots()
362 rx = max(rx, be->rx_mask[i]); in axg_card_parse_cpu_tdm_slots()
366 if (!rx) in axg_card_parse_cpu_tdm_slots()
370 if (!tx && !rx) { in axg_card_parse_cpu_tdm_slots()
381 be->slots = fls(max(tx, rx)); in axg_card_parse_cpu_tdm_slots()
382 } else if (be->slots < fls(max(tx, rx)) || be->slots > 32) { in axg_card_parse_cpu_tdm_slots()
413 &codec_mask->rx); in axg_card_parse_codecs_masks()
Daxg-tdm-interface.c42 struct axg_tdm_stream *rx = (struct axg_tdm_stream *) in axg_tdm_set_tdm_slots() local
89 if (rx) { in axg_tdm_set_tdm_slots()
90 rx->mask = rx_mask; in axg_tdm_set_tdm_slots()
/sound/soc/samsung/
Ddmaengine.c18 const char *tx, const char *rx, in samsung_asoc_dma_platform_register() argument
32 pcm_conf->chan_names[SNDRV_PCM_STREAM_CAPTURE] = rx; in samsung_asoc_dma_platform_register()
Ddma.h16 const char *tx, const char *rx,
/sound/soc/ti/
Domap-mcbsp.c422 int rx = !tx; in omap_mcbsp_start() local
446 rx &= 1; in omap_mcbsp_start()
448 MCBSP_WRITE(mcbsp, SPCR1, w | rx); in omap_mcbsp_start()
470 w &= ~(rx ? RDISABLE : 0); in omap_mcbsp_start()
481 int rx = !tx; in omap_mcbsp_stop() local
496 rx &= 1; in omap_mcbsp_stop()
499 w |= (rx ? RDISABLE : 0); in omap_mcbsp_stop()
503 MCBSP_WRITE(mcbsp, SPCR1, w & ~rx); in omap_mcbsp_stop()
/sound/soc/codecs/
Dwcd9335.h443 #define WCD9335_CDC_RX_PATH_CTL(rx) WCD9335_REG(0x0b, (0x041 + rx * 0x14)) argument
450 #define WCD9335_CDC_RX_PATH_MIX_CTL(rx) WCD9335_REG(0x0b, (0x46 + rx * 0x14)) argument
DMakefile182 snd-soc-spdif-rx-objs := spdif_receiver.o
463 obj-$(CONFIG_SND_SOC_SPDIF) += snd-soc-spdif-rx.o snd-soc-spdif-tx.o
/sound/firewire/tascam/
Damdtp-tascam.c251 s->ctx_data.rx.fdf = 0x00; in amdtp_tscm_init()
253 s->ctx_data.rx.syt_override = 0x0000; in amdtp_tscm_init()
/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.c243 msg->rx.header = header; in sst_byt_process_reply()
245 msg->rx.size = sst_byt_header_data(header); in sst_byt_process_reply()
246 sst_dsp_inbox_read(byt->dsp, msg->rx.data, msg->rx.size); in sst_byt_process_reply()
/sound/soc/fsl/
Dfsl_esai.c686 bool tx = true, rx = false, enabled[2]; in fsl_esai_hw_reset() local
695 enabled[rx] = rfcr & ESAI_xFCR_xFEN; in fsl_esai_hw_reset()
699 fsl_esai_trigger_stop(esai_priv, rx); in fsl_esai_hw_reset()
726 if (enabled[rx]) in fsl_esai_hw_reset()
727 fsl_esai_trigger_start(esai_priv, rx); in fsl_esai_hw_reset()
/sound/soc/bcm/
Dbcm2835-i2s.c154 bool tx, bool rx) in bcm2835_i2s_clear_fifos() argument
165 off |= rx ? BCM2835_I2S_RXON : 0; in bcm2835_i2s_clear_fifos()
168 clr |= rx ? BCM2835_I2S_RXCLR : 0; in bcm2835_i2s_clear_fifos()
/sound/firewire/motu/
Damdtp-motu.c483 s->ctx_data.rx.fdf = MOTU_FDF_AM824; in amdtp_motu_init()
485 s->ctx_data.rx.syt_override = 0xffff; in amdtp_motu_init()
/sound/soc/intel/skylake/
Dskl-sst-ipc.c450 msg->rx.header = *ipc_header; in skl_ipc_process_reply()
455 sst_dsp_inbox_read(ipc->dsp, msg->rx.data, msg->rx.size); in skl_ipc_process_reply()
/sound/soc/intel/haswell/
Dsst-haswell-ipc.c555 msg->rx.header = header; in hsw_process_reply()
566 sst_dsp_inbox_read(hsw->dsp, msg->rx.data, in hsw_process_reply()
567 msg->rx.size); in hsw_process_reply()
571 sst_dsp_outbox_read(hsw->dsp, msg->rx.data, in hsw_process_reply()
572 msg->rx.size); in hsw_process_reply()
/sound/firewire/digi00x/
Damdtp-dot.c130 s->ctx_data.rx.fdf = AMDTP_FDF_AM824 | s->sfc; in amdtp_dot_set_parameters()