Home
last modified time | relevance | path

Searched refs:ch_reg (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/dma/
Dtegra210-adma.c715 struct tegra_adma_chan_regs *ch_reg; in tegra_adma_runtime_suspend() local
725 ch_reg = &tdc->ch_regs; in tegra_adma_runtime_suspend()
726 ch_reg->cmd = tdma_ch_read(tdc, ADMA_CH_CMD); in tegra_adma_runtime_suspend()
728 if (!ch_reg->cmd) in tegra_adma_runtime_suspend()
730 ch_reg->tc = tdma_ch_read(tdc, ADMA_CH_TC); in tegra_adma_runtime_suspend()
731 ch_reg->src_addr = tdma_ch_read(tdc, ADMA_CH_LOWER_SRC_ADDR); in tegra_adma_runtime_suspend()
732 ch_reg->trg_addr = tdma_ch_read(tdc, ADMA_CH_LOWER_TRG_ADDR); in tegra_adma_runtime_suspend()
733 ch_reg->ctrl = tdma_ch_read(tdc, ADMA_CH_CTRL); in tegra_adma_runtime_suspend()
734 ch_reg->fifo_ctrl = tdma_ch_read(tdc, ADMA_CH_FIFO_CTRL); in tegra_adma_runtime_suspend()
735 ch_reg->config = tdma_ch_read(tdc, ADMA_CH_CONFIG); in tegra_adma_runtime_suspend()
[all …]
Dtegra20-apb-dma.c1580 struct tegra_dma_channel_regs *ch_reg = &tdc->channel_reg; in tegra_dma_runtime_suspend() local
1586 ch_reg->csr = tdc_read(tdc, TEGRA_APBDMA_CHAN_CSR); in tegra_dma_runtime_suspend()
1587 ch_reg->ahb_ptr = tdc_read(tdc, TEGRA_APBDMA_CHAN_AHBPTR); in tegra_dma_runtime_suspend()
1588 ch_reg->apb_ptr = tdc_read(tdc, TEGRA_APBDMA_CHAN_APBPTR); in tegra_dma_runtime_suspend()
1589 ch_reg->ahb_seq = tdc_read(tdc, TEGRA_APBDMA_CHAN_AHBSEQ); in tegra_dma_runtime_suspend()
1590 ch_reg->apb_seq = tdc_read(tdc, TEGRA_APBDMA_CHAN_APBSEQ); in tegra_dma_runtime_suspend()
1592 ch_reg->wcount = tdc_read(tdc, in tegra_dma_runtime_suspend()
1618 struct tegra_dma_channel_regs *ch_reg = &tdc->channel_reg; in tegra_dma_runtime_resume() local
1626 ch_reg->wcount); in tegra_dma_runtime_resume()
1627 tdc_write(tdc, TEGRA_APBDMA_CHAN_APBSEQ, ch_reg->apb_seq); in tegra_dma_runtime_resume()
[all …]
/Linux-v5.4/sound/soc/dwc/
Ddwc-i2s.c212 u32 ch_reg; in dw_i2s_config() local
218 for (ch_reg = 0; ch_reg < (config->chan_nr / 2); ch_reg++) { in dw_i2s_config()
220 i2s_write_reg(dev->i2s_base, TCR(ch_reg), in dw_i2s_config()
222 i2s_write_reg(dev->i2s_base, TFCR(ch_reg), in dw_i2s_config()
224 i2s_write_reg(dev->i2s_base, TER(ch_reg), 1); in dw_i2s_config()
226 i2s_write_reg(dev->i2s_base, RCR(ch_reg), in dw_i2s_config()
228 i2s_write_reg(dev->i2s_base, RFCR(ch_reg), in dw_i2s_config()
230 i2s_write_reg(dev->i2s_base, RER(ch_reg), 1); in dw_i2s_config()
/Linux-v5.4/sound/soc/amd/
Dacp-pcm-dma.c361 u32 val, ch_reg, imr_reg, res_reg; in acp_dma_cap_channel_enable() local
365 ch_reg = mmACP_I2SMICSP_RER1; in acp_dma_cap_channel_enable()
371 ch_reg = mmACP_I2SMICSP_RER0; in acp_dma_cap_channel_enable()
379 acp_reg_write(0x0, acp_mmio, ch_reg); in acp_dma_cap_channel_enable()
387 acp_reg_write(0x1, acp_mmio, ch_reg); in acp_dma_cap_channel_enable()
393 u32 val, ch_reg, imr_reg; in acp_dma_cap_channel_disable() local
398 ch_reg = mmACP_I2SMICSP_RER1; in acp_dma_cap_channel_disable()
403 ch_reg = mmACP_I2SMICSP_RER0; in acp_dma_cap_channel_disable()
410 acp_reg_write(0x0, acp_mmio, ch_reg); in acp_dma_cap_channel_disable()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ioctl.h52 struct ch_reg { struct
Dcxgb3_main.c2301 struct ch_reg edata; in cxgb_extension_ioctl()
2334 struct ch_reg edata; in cxgb_extension_ioctl()
2336 memset(&edata, 0, sizeof(struct ch_reg)); in cxgb_extension_ioctl()