Searched refs:pl172 (Results 1 – 2 of 2) sorted by relevance
63 struct pl172_data *pl172 = amba_get_drvdata(adev); in pl172_timing_prop() local68 cycles = DIV_ROUND_UP(val * pl172->rate, NSEC_PER_MSEC) - start; in pl172_timing_prop()76 writel(cycles, pl172->base + reg_offset); in pl172_timing_prop()80 readl(pl172->base + reg_offset)); in pl172_timing_prop()88 struct pl172_data *pl172 = amba_get_drvdata(adev); in pl172_setup_static() local128 writel(cfg, pl172->base + MPMC_STATIC_CFG(cs)); in pl172_setup_static()202 struct pl172_data *pl172; in pl172_probe() local218 pl172 = devm_kzalloc(dev, sizeof(*pl172), GFP_KERNEL); in pl172_probe()219 if (!pl172) in pl172_probe()222 pl172->clk = devm_clk_get(dev, "mpmcclk"); in pl172_probe()[all …]
10 obj-$(CONFIG_ARM_PL172_MPMC) += pl172.o