Searched refs:pl172 (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/memory/ |
H A D | pl172.c | 63 struct pl172_data *pl172 = amba_get_drvdata(adev); pl172_timing_prop() local 68 cycles = DIV_ROUND_UP(val * pl172->rate, NSEC_PER_MSEC) - start; pl172_timing_prop() 76 writel(cycles, pl172->base + reg_offset); pl172_timing_prop() 80 readl(pl172->base + reg_offset)); pl172_timing_prop() 88 struct pl172_data *pl172 = amba_get_drvdata(adev); pl172_setup_static() local 128 writel(cfg, pl172->base + MPMC_STATIC_CFG(cs)); pl172_setup_static() 202 struct pl172_data *pl172; pl172_probe() local 218 pl172 = devm_kzalloc(dev, sizeof(*pl172), GFP_KERNEL); pl172_probe() 219 if (!pl172) pl172_probe() 222 pl172->clk = devm_clk_get(dev, "mpmcclk"); pl172_probe() 223 if (IS_ERR(pl172->clk)) { pl172_probe() 225 return PTR_ERR(pl172->clk); pl172_probe() 228 ret = clk_prepare_enable(pl172->clk); pl172_probe() 234 pl172->rate = clk_get_rate(pl172->clk) / MSEC_PER_SEC; pl172_probe() 235 if (!pl172->rate) { pl172_probe() 247 pl172->base = devm_ioremap(dev, adev->res.start, pl172_probe() 249 if (!pl172->base) { pl172_probe() 255 amba_set_drvdata(adev, pl172); pl172_probe() 275 clk_disable_unprepare(pl172->clk); 281 struct pl172_data *pl172 = amba_get_drvdata(adev); pl172_remove() local 283 clk_disable_unprepare(pl172->clk); pl172_remove() 311 .name = "memory-pl172",
|
/linux-4.4.14/arch/arm/mach-u300/ |
H A D | core.c | 368 clk = clk_get_sys("pl172", NULL); u300_init_irq_dt()
|
/linux-4.4.14/drivers/clk/ |
H A D | clk-u300.c | 931 clk_register_clkdev(clk, NULL, "pl172"); of_u300_syscon_clk_init()
|
Completed in 171 milliseconds