Lines Matching refs:ch_stride
83 unsigned int ch_stride = TEGRA_ADMAIF_CHANNEL_REG_STRIDE; in tegra_admaif_wr_reg() local
89 unsigned int rx_max = rx_base + (num_ch * ch_stride); in tegra_admaif_wr_reg()
90 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_wr_reg()
93 reg = (reg - rx_base) % ch_stride; in tegra_admaif_wr_reg()
100 reg = (reg - tx_base) % ch_stride; in tegra_admaif_wr_reg()
117 unsigned int ch_stride = TEGRA_ADMAIF_CHANNEL_REG_STRIDE; in tegra_admaif_rd_reg() local
123 unsigned int rx_max = rx_base + (num_ch * ch_stride); in tegra_admaif_rd_reg()
124 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_rd_reg()
127 reg = (reg - rx_base) % ch_stride; in tegra_admaif_rd_reg()
136 reg = (reg - tx_base) % ch_stride; in tegra_admaif_rd_reg()
161 unsigned int ch_stride = TEGRA_ADMAIF_CHANNEL_REG_STRIDE; in tegra_admaif_volatile_reg() local
167 unsigned int rx_max = rx_base + (num_ch * ch_stride); in tegra_admaif_volatile_reg()
168 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_volatile_reg()
171 reg = (reg - rx_base) % ch_stride; in tegra_admaif_volatile_reg()
178 reg = (reg - tx_base) % ch_stride; in tegra_admaif_volatile_reg()