Searched refs:ch_reg (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/sound/soc/dwc/
H A Ddesignware_i2s.c221 u32 ccr, xfer_resolution, ch_reg, irq; dw_i2s_hw_params() local
263 for (ch_reg = 0; ch_reg < (config->chan_nr / 2); ch_reg++) { dw_i2s_hw_params()
265 i2s_write_reg(dev->i2s_base, TCR(ch_reg), dw_i2s_hw_params()
267 i2s_write_reg(dev->i2s_base, TFCR(ch_reg), 0x02); dw_i2s_hw_params()
268 irq = i2s_read_reg(dev->i2s_base, IMR(ch_reg)); dw_i2s_hw_params()
269 i2s_write_reg(dev->i2s_base, IMR(ch_reg), irq & ~0x30); dw_i2s_hw_params()
270 i2s_write_reg(dev->i2s_base, TER(ch_reg), 1); dw_i2s_hw_params()
272 i2s_write_reg(dev->i2s_base, RCR(ch_reg), dw_i2s_hw_params()
274 i2s_write_reg(dev->i2s_base, RFCR(ch_reg), 0x07); dw_i2s_hw_params()
275 irq = i2s_read_reg(dev->i2s_base, IMR(ch_reg)); dw_i2s_hw_params()
276 i2s_write_reg(dev->i2s_base, IMR(ch_reg), irq & ~0x03); dw_i2s_hw_params()
277 i2s_write_reg(dev->i2s_base, RER(ch_reg), 1); dw_i2s_hw_params()
/linux-4.4.14/drivers/dma/
H A Dtegra20-apb-dma.c1553 struct tegra_dma_channel_regs *ch_reg = &tdc->channel_reg; tegra_dma_pm_suspend() local
1555 ch_reg->csr = tdc_read(tdc, TEGRA_APBDMA_CHAN_CSR); tegra_dma_pm_suspend()
1556 ch_reg->ahb_ptr = tdc_read(tdc, TEGRA_APBDMA_CHAN_AHBPTR); tegra_dma_pm_suspend()
1557 ch_reg->apb_ptr = tdc_read(tdc, TEGRA_APBDMA_CHAN_APBPTR); tegra_dma_pm_suspend()
1558 ch_reg->ahb_seq = tdc_read(tdc, TEGRA_APBDMA_CHAN_AHBSEQ); tegra_dma_pm_suspend()
1559 ch_reg->apb_seq = tdc_read(tdc, TEGRA_APBDMA_CHAN_APBSEQ); tegra_dma_pm_suspend()
1584 struct tegra_dma_channel_regs *ch_reg = &tdc->channel_reg; tegra_dma_pm_resume() local
1586 tdc_write(tdc, TEGRA_APBDMA_CHAN_APBSEQ, ch_reg->apb_seq); tegra_dma_pm_resume()
1587 tdc_write(tdc, TEGRA_APBDMA_CHAN_APBPTR, ch_reg->apb_ptr); tegra_dma_pm_resume()
1588 tdc_write(tdc, TEGRA_APBDMA_CHAN_AHBSEQ, ch_reg->ahb_seq); tegra_dma_pm_resume()
1589 tdc_write(tdc, TEGRA_APBDMA_CHAN_AHBPTR, ch_reg->ahb_ptr); tegra_dma_pm_resume()
1591 (ch_reg->csr & ~TEGRA_APBDMA_CSR_ENB)); tegra_dma_pm_resume()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_ioctl.h52 struct ch_reg { struct
H A Dcxgb3_main.c2283 struct ch_reg edata;
2314 struct ch_reg edata;
2316 memset(&edata, 0, sizeof(struct ch_reg));

Completed in 161 milliseconds