Lines Matching refs:ax45mp_priv
52 struct ax45mp_priv { struct
57 static struct ax45mp_priv ax45mp_priv; argument
62 return readl(ax45mp_priv.l2c_base + AX45MP_L2C_REG_STATUS_OFFSET); in ax45mp_cpu_l2c_get_cctl_status()
68 unsigned long line_size = ax45mp_priv.ax45mp_cache_line_size; in ax45mp_cpu_cache_operation()
69 void __iomem *base = ax45mp_priv.l2c_base; in ax45mp_cpu_cache_operation()
113 line_size = ax45mp_priv.ax45mp_cache_line_size; in ax45mp_dma_cache_inv()
135 line_size = ax45mp_priv.ax45mp_cache_line_size; in ax45mp_dma_cache_wback()
153 ret = of_property_read_u32(np, "cache-line-size", &ax45mp_priv.ax45mp_cache_line_size); in ax45mp_get_l2_line_size()
159 if (ax45mp_priv.ax45mp_cache_line_size != AX45MP_CACHE_LINE_SIZE) { in ax45mp_get_l2_line_size()
161 ax45mp_priv.ax45mp_cache_line_size); in ax45mp_get_l2_line_size()
203 ax45mp_priv.l2c_base = ioremap(res.start, resource_size(&res)); in ax45mp_cache_init()
204 if (!ax45mp_priv.l2c_base) in ax45mp_cache_init()
209 iounmap(ax45mp_priv.l2c_base); in ax45mp_cache_init()