Lines Matching refs:ddr_reg
179 r = readl(db->ddr_reg[0] + (DMC_MON_G12_CTRL0 + (i << 2))); in g12_dump_reg()
182 r = readl(db->ddr_reg[0] + DMC_MON_G12_ALL_REQ_CNT); in g12_dump_reg()
184 r = readl(db->ddr_reg[0] + DMC_MON_G12_ALL_GRANT_CNT); in g12_dump_reg()
186 r = readl(db->ddr_reg[0] + DMC_MON_G12_ONE_GRANT_CNT); in g12_dump_reg()
188 r = readl(db->ddr_reg[0] + DMC_MON_G12_SEC_GRANT_CNT); in g12_dump_reg()
190 r = readl(db->ddr_reg[0] + DMC_MON_G12_THD_GRANT_CNT); in g12_dump_reg()
192 r = readl(db->ddr_reg[0] + DMC_MON_G12_FOR_GRANT_CNT); in g12_dump_reg()
194 r = readl(db->ddr_reg[0] + DMC_MON_G12_TIMER); in g12_dump_reg()
204 writel(clock_count, info->ddr_reg[0] + DMC_MON_G12_TIMER); in dmc_g12_counter_enable()
206 val = readl(info->ddr_reg[0] + DMC_MON_G12_CTRL0); in dmc_g12_counter_enable()
213 writel(val, info->ddr_reg[0] + DMC_MON_G12_CTRL0); in dmc_g12_counter_enable()
232 writel(0, info->ddr_reg[0] + rp[channel]); in dmc_g12_config_fiter()
233 writel(0, info->ddr_reg[0] + rs[channel]); in dmc_g12_config_fiter()
241 val = readl(info->ddr_reg[0] + rp[channel]); in dmc_g12_config_fiter()
243 writel(val, info->ddr_reg[0] + rp[channel]); in dmc_g12_config_fiter()
245 writel(val, info->ddr_reg[0] + rs[channel]); in dmc_g12_config_fiter()
248 writel(val, info->ddr_reg[0] + rp[channel]); in dmc_g12_config_fiter()
249 val = readl(info->ddr_reg[0] + rs[channel]); in dmc_g12_config_fiter()
251 writel(val, info->ddr_reg[0] + rs[channel]); in dmc_g12_config_fiter()
268 writel(0, info->ddr_reg[0] + DMC_MON_G12_CTRL0); in dmc_g12_counter_disable()
269 writel(0, info->ddr_reg[0] + DMC_MON_G12_TIMER); in dmc_g12_counter_disable()
271 writel(0, info->ddr_reg[0] + DMC_MON_G12_ALL_REQ_CNT); in dmc_g12_counter_disable()
272 writel(0, info->ddr_reg[0] + DMC_MON_G12_ALL_GRANT_CNT); in dmc_g12_counter_disable()
273 writel(0, info->ddr_reg[0] + DMC_MON_G12_ONE_GRANT_CNT); in dmc_g12_counter_disable()
274 writel(0, info->ddr_reg[0] + DMC_MON_G12_SEC_GRANT_CNT); in dmc_g12_counter_disable()
275 writel(0, info->ddr_reg[0] + DMC_MON_G12_THD_GRANT_CNT); in dmc_g12_counter_disable()
276 writel(0, info->ddr_reg[0] + DMC_MON_G12_FOR_GRANT_CNT); in dmc_g12_counter_disable()
289 counter->all_cnt = readl(info->ddr_reg[0] + DMC_MON_G12_ALL_GRANT_CNT); in dmc_g12_get_counters()
290 counter->all_req = readl(info->ddr_reg[0] + DMC_MON_G12_ALL_REQ_CNT); in dmc_g12_get_counters()
294 counter->channel_cnt[i] = readl(info->ddr_reg[0] + reg); in dmc_g12_get_counters()
304 val = readl(info->ddr_reg[0] + DMC_MON_G12_CTRL0); in dmc_g12_irq_handler()
308 writel(val, info->ddr_reg[0] + DMC_MON_G12_CTRL0); in dmc_g12_irq_handler()