Home
last modified time | relevance | path

Searched refs:tx_ch (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/sound/soc/qcom/
H A Dapq8096.c36 u32 rx_ch[SLIM_MAX_RX_PORTS], tx_ch[SLIM_MAX_TX_PORTS]; in msm_snd_hw_params() local
41 &tx_ch_cnt, tx_ch, &rx_ch_cnt, rx_ch); in msm_snd_hw_params()
53 ret = snd_soc_dai_set_channel_map(cpu_dai, tx_ch_cnt, tx_ch, in msm_snd_hw_params()
79 unsigned int tx_ch[SLIM_MAX_TX_PORTS] = {128, 129, 130, 131, 132, 133, in apq8096_init() local
83 snd_soc_dai_set_channel_map(codec_dai, ARRAY_SIZE(tx_ch), in apq8096_init()
84 tx_ch, ARRAY_SIZE(rx_ch), rx_ch); in apq8096_init()
H A Dsdm845.c65 u32 rx_ch[SLIM_MAX_RX_PORTS], tx_ch[SLIM_MAX_TX_PORTS]; in sdm845_slim_snd_hw_params() local
77 &tx_ch_cnt, tx_ch, &rx_ch_cnt, rx_ch); in sdm845_slim_snd_hw_params()
92 tx_ch, 0, NULL); in sdm845_slim_snd_hw_params()
249 unsigned int tx_ch[SLIM_MAX_TX_PORTS] = {128, 129, 130, 131, 132, 133, in sdm845_dai_init() local
300 ARRAY_SIZE(tx_ch), in sdm845_dai_init()
301 tx_ch, in sdm845_dai_init()
/openbmc/linux/drivers/spi/
H A Dspi-img-spfi.c99 struct dma_chan *tx_ch; member
352 dmaengine_slave_config(spfi->tx_ch, &txconf); in img_spfi_start_dma()
354 txdesc = dmaengine_prep_slave_sg(spfi->tx_ch, xfer->tx_sg.sgl, in img_spfi_start_dma()
376 dma_async_issue_pending(spfi->tx_ch); in img_spfi_start_dma()
383 dmaengine_terminate_all(spfi->tx_ch); in img_spfi_start_dma()
402 dmaengine_terminate_all(spfi->tx_ch); in img_spfi_handle_err()
614 spfi->tx_ch = dma_request_chan(spfi->dev, "tx"); in img_spfi_probe()
615 if (IS_ERR(spfi->tx_ch)) { in img_spfi_probe()
616 ret = PTR_ERR(spfi->tx_ch); in img_spfi_probe()
617 spfi->tx_ch = NULL; in img_spfi_probe()
[all …]
/openbmc/linux/drivers/net/wwan/t7xx/
H A Dt7xx_port_proxy.c53 .tx_ch = PORT_CH_UART2_TX,
64 .tx_ch = PORT_CH_MBIM_TX,
74 .tx_ch = PORT_CH_MD_LOG_TX,
85 .tx_ch = PORT_CH_CONTROL_TX,
93 .tx_ch = PORT_CH_AP_CONTROL_TX,
111 if (port_conf->rx_ch == ch || port_conf->tx_ch == ch) in t7xx_proxy_get_port_by_ch()
241 status = FIELD_PREP(CCCI_H_CHN_FLD, port_conf->tx_ch) | in t7xx_port_send_ccci_skb()
287 if (port_conf->tx_ch != PORT_CH_MD_LOG_TX) in t7xx_port_send_skb()
436 if (port_conf->tx_ch == PORT_CH_CONTROL_TX) in t7xx_proxy_init_all_ports()
439 if (port_conf->tx_ch == PORT_CH_AP_CONTROL_TX) in t7xx_proxy_init_all_ports()
H A Dt7xx_port.h91 enum port_ch tx_ch; member
/openbmc/u-boot/drivers/dma/
H A Dkeystone_nav.c186 v = readl(&pktdma->tx_ch[j].cfg_a); in ksnav_tx_disable()
190 writel(v | CPDMA_CHAN_A_TDOWN, &pktdma->tx_ch[j].cfg_a); in ksnav_tx_disable()
193 v = readl(&pktdma->tx_ch[j].cfg_a); in ksnav_tx_disable()
258 writel(0, &pktdma->tx_ch[j].cfg_b); in ksnav_init()
259 writel(CPDMA_CHAN_A_ENABLE, &pktdma->tx_ch[j].cfg_a); in ksnav_init()
H A Dkeystone_nav_cfg.c15 .tx_ch = (void *)CONFIG_KSNAV_NETCP_PDMA_TX_BASE,
/openbmc/linux/drivers/tty/serial/
H A Dstm32-usart.c603 dmaengine_terminate_async(stm32_port->tx_ch); in stm32_usart_tx_dma_terminate()
621 return stm32_usart_dma_pause_resume(stm32_port, stm32_port->tx_ch, in stm32_usart_tx_dma_pause()
629 return stm32_usart_dma_pause_resume(stm32_port, stm32_port->tx_ch, in stm32_usart_tx_dma_resume()
747 desc = dmaengine_prep_slave_single(stm32port->tx_ch, in stm32_usart_transmit_chars_dma()
777 dma_async_issue_pending(stm32port->tx_ch); in stm32_usart_transmit_chars_dma()
835 if (stm32_port->tx_ch) in stm32_usart_transmit_chars()
904 if ((sr & USART_SR_TXE) && !(stm32_port->tx_ch)) { in stm32_usart_interrupt()
991 if (stm32_port->tx_ch) in stm32_usart_flush_buffer()
1112 if (stm32_port->tx_ch) in stm32_usart_shutdown()
1327 if (stm32_port->tx_ch) in stm32_usart_set_termios()
[all …]
H A Dstm32-usart.h195 struct dma_chan *tx_ch; /* dma tx channel */ member
/openbmc/linux/drivers/remoteproc/
H A Dimx_rproc.c106 struct mbox_chan *tx_ch; member
622 if (!priv->tx_ch) { in imx_rproc_kick()
633 err = mbox_send_message(priv->tx_ch, (void *)&mmsg); in imx_rproc_kick()
821 if (priv->tx_ch && priv->rx_ch) in imx_rproc_xtr_mbox_init()
834 priv->tx_ch = mbox_request_channel_byname(cl, "tx"); in imx_rproc_xtr_mbox_init()
835 if (IS_ERR(priv->tx_ch)) in imx_rproc_xtr_mbox_init()
836 return dev_err_probe(cl->dev, PTR_ERR(priv->tx_ch), in imx_rproc_xtr_mbox_init()
841 mbox_free_channel(priv->tx_ch); in imx_rproc_xtr_mbox_init()
853 if (priv->tx_ch) { in imx_rproc_free_mbox()
854 mbox_free_channel(priv->tx_ch); in imx_rproc_free_mbox()
[all …]
H A Dimx_dsp_rproc.c121 struct mbox_chan *tx_ch; member
527 priv->tx_ch = mbox_request_channel_byname(cl, "tx"); in imx_dsp_rproc_mbox_alloc()
528 if (IS_ERR(priv->tx_ch)) { in imx_dsp_rproc_mbox_alloc()
529 ret = PTR_ERR(priv->tx_ch); in imx_dsp_rproc_mbox_alloc()
565 mbox_free_channel(priv->tx_ch); in imx_dsp_rproc_mbox_alloc()
583 mbox_free_channel(priv->tx_ch); in imx_dsp_rproc_free_mbox()
726 if (!priv->tx_ch) { in imx_dsp_rproc_kick()
737 err = mbox_send_message(priv->tx_ch, (void *)&mmsg); in imx_dsp_rproc_kick()
1256 ret = mbox_send_message(priv->tx_ch, (void *)&mmsg); in imx_dsp_suspend()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-qos.c841 int tx_ch, u32 rate_mbps) in am65_cpsw_qos_tx_p0_rate_apply() argument
848 writel(ch_cir, host->port_base + AM65_CPSW_PN_REG_PRI_CIR(tx_ch)); in am65_cpsw_qos_tx_p0_rate_apply()
856 netdev_get_tx_queue(ndev, tx_ch)->tx_maxrate = rate_mbps; in am65_cpsw_qos_tx_p0_rate_apply()
925 int tx_ch; in am65_cpsw_qos_tx_p0_rate_init() local
927 for (tx_ch = 0; tx_ch < common->tx_ch_num; tx_ch++) { in am65_cpsw_qos_tx_p0_rate_init()
928 struct am65_cpsw_tx_chn *tx_chn = &common->tx_chns[tx_ch]; in am65_cpsw_qos_tx_p0_rate_init()
937 host->port_base + AM65_CPSW_PN_REG_PRI_CIR(tx_ch)); in am65_cpsw_qos_tx_p0_rate_init()
/openbmc/u-boot/arch/arm/include/asm/ti-common/
H A Dkeystone_nav.h156 struct tx_chan_regs *tx_ch; member
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c2475 static int _cfg80211_rtw_mgmt_tx(struct adapter *padapter, u8 tx_ch, const u8 *buf, size_t len) in _cfg80211_rtw_mgmt_tx() argument
2489 if (tx_ch != rtw_get_oper_ch(padapter)) { in _cfg80211_rtw_mgmt_tx()
2491 pmlmeext->cur_channel = tx_ch; in _cfg80211_rtw_mgmt_tx()
2492 set_channel_bwmode(padapter, tx_ch, HAL_PRIME_CHNL_OFFSET_DONT_CARE, CHANNEL_WIDTH_20); in _cfg80211_rtw_mgmt_tx()
2551 u8 tx_ch = (u8)ieee80211_frequency_to_channel(chan->center_freq); in cfg80211_rtw_mgmt_tx() local
2582 tx_ret = _cfg80211_rtw_mgmt_tx(padapter, tx_ch, buf, len); in cfg80211_rtw_mgmt_tx()