Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/devfreq/event/
Drockchip-dfi.c63 void __iomem *dfi_regs = info->regs; in rockchip_dfi_start_hardware_counter() local
73 writel_relaxed(CLR_DDRMON_CTRL, dfi_regs + DDRMON_CTRL); in rockchip_dfi_start_hardware_counter()
77 writel_relaxed(LPDDR3_EN, dfi_regs + DDRMON_CTRL); in rockchip_dfi_start_hardware_counter()
79 writel_relaxed(LPDDR4_EN, dfi_regs + DDRMON_CTRL); in rockchip_dfi_start_hardware_counter()
82 writel_relaxed(SOFTWARE_EN, dfi_regs + DDRMON_CTRL); in rockchip_dfi_start_hardware_counter()
88 void __iomem *dfi_regs = info->regs; in rockchip_dfi_stop_hardware_counter() local
90 writel_relaxed(SOFTWARE_DIS, dfi_regs + DDRMON_CTRL); in rockchip_dfi_stop_hardware_counter()
98 void __iomem *dfi_regs = info->regs; in rockchip_dfi_get_busier_ch() local
104 info->ch_usage[i].access = readl_relaxed(dfi_regs + in rockchip_dfi_get_busier_ch()
106 info->ch_usage[i].total = readl_relaxed(dfi_regs + in rockchip_dfi_get_busier_ch()