Lines Matching refs:rx_base
25 #define CH_RX_REG(reg, id) CH_REG(admaif->soc_data->rx_base, reg, id)
27 #define REG_DEFAULTS(id, rx_ctrl, tx_ctrl, tx_base, rx_base) \ argument
28 { CH_REG(rx_base, TEGRA_ADMAIF_RX_INT_MASK, id), 0x00000001 }, \
29 { CH_REG(rx_base, TEGRA_ADMAIF_CH_ACIF_RX_CTRL, id), 0x00007700 }, \
30 { CH_REG(rx_base, TEGRA_ADMAIF_RX_FIFO_CTRL, id), rx_ctrl }, \
85 unsigned int rx_base = admaif->soc_data->rx_base; in tegra_admaif_wr_reg() local
89 unsigned int rx_max = rx_base + (num_ch * ch_stride); in tegra_admaif_wr_reg()
92 if ((reg >= rx_base) && (reg < rx_max)) { in tegra_admaif_wr_reg()
93 reg = (reg - rx_base) % ch_stride; in tegra_admaif_wr_reg()
119 unsigned int rx_base = admaif->soc_data->rx_base; in tegra_admaif_rd_reg() local
123 unsigned int rx_max = rx_base + (num_ch * ch_stride); in tegra_admaif_rd_reg()
126 if ((reg >= rx_base) && (reg < rx_max)) { in tegra_admaif_rd_reg()
127 reg = (reg - rx_base) % ch_stride; in tegra_admaif_rd_reg()
163 unsigned int rx_base = admaif->soc_data->rx_base; in tegra_admaif_volatile_reg() local
167 unsigned int rx_max = rx_base + (num_ch * ch_stride); in tegra_admaif_volatile_reg()
170 if ((reg >= rx_base) && (reg < rx_max)) { in tegra_admaif_volatile_reg()
171 reg = (reg - rx_base) % ch_stride; in tegra_admaif_volatile_reg()
718 .rx_base = TEGRA210_ADMAIF_RX_BASE,
728 .rx_base = TEGRA186_ADMAIF_RX_BASE,