aemif 395 arch/arm/mach-davinci/board-dm355-evm.c struct clk *aemif; aemif 408 arch/arm/mach-davinci/board-dm355-evm.c aemif = clk_get(&dm355evm_dm9000.dev, "aemif"); aemif 409 arch/arm/mach-davinci/board-dm355-evm.c if (!WARN(IS_ERR(aemif), "unable to get AEMIF clock\n")) aemif 410 arch/arm/mach-davinci/board-dm355-evm.c clk_prepare_enable(aemif); aemif 234 arch/arm/mach-davinci/board-dm355-leopard.c struct clk *aemif; aemif 247 arch/arm/mach-davinci/board-dm355-leopard.c aemif = clk_get(&dm355leopard_dm9000.dev, "aemif"); aemif 248 arch/arm/mach-davinci/board-dm355-leopard.c if (!WARN(IS_ERR(aemif), "unable to get AEMIF clock\n")) aemif 249 arch/arm/mach-davinci/board-dm355-leopard.c clk_prepare_enable(aemif); aemif 26 drivers/clk/davinci/psc-da830.c LPSC(3, 0, aemif, pll0_sysclk3, aemif_clkdev, LPSC_ALWAYS_ENABLED), aemif 50 drivers/clk/davinci/psc-dm355.c LPSC(14, 0, aemif, pll1_sysclk2, aemif_clkdev, 0), aemif 53 drivers/clk/davinci/psc-dm365.c LPSC(14, 0, aemif, pll1_sysclk4, aemif_clkdev, 0), aemif 44 drivers/clk/davinci/psc-dm644x.c LPSC(14, 0, aemif, pll1_sysclk5, aemif_clkdev, 0), aemif 46 drivers/clk/davinci/psc-dm646x.c LPSC(21, 0, aemif, pll1_sysclk3, aemif_clkdev, LPSC_ALWAYS_ENABLED), aemif 176 drivers/memory/ti-aemif.c struct aemif_device *aemif = platform_get_drvdata(pdev); aemif 177 drivers/memory/ti-aemif.c struct aemif_cs_data *data = &aemif->cs_data[csnum]; aemif 179 drivers/memory/ti-aemif.c unsigned long clk_rate = aemif->clk_rate; aemif 183 drivers/memory/ti-aemif.c offset = A1CR_OFFSET + (data->cs - aemif->cs_offset) * 4; aemif 209 drivers/memory/ti-aemif.c val = readl(aemif->base + offset); aemif 212 drivers/memory/ti-aemif.c writel(val, aemif->base + offset); aemif 233 drivers/memory/ti-aemif.c struct aemif_device *aemif = platform_get_drvdata(pdev); aemif 234 drivers/memory/ti-aemif.c struct aemif_cs_data *data = &aemif->cs_data[csnum]; aemif 235 drivers/memory/ti-aemif.c unsigned long clk_rate = aemif->clk_rate; aemif 238 drivers/memory/ti-aemif.c offset = A1CR_OFFSET + (data->cs - aemif->cs_offset) * 4; aemif 239 drivers/memory/ti-aemif.c val = readl(aemif->base + offset); aemif 264 drivers/memory/ti-aemif.c struct aemif_device *aemif = platform_get_drvdata(pdev); aemif 274 drivers/memory/ti-aemif.c if (cs - aemif->cs_offset >= NUM_CS || cs < aemif->cs_offset) { aemif 279 drivers/memory/ti-aemif.c if (aemif->num_cs >= NUM_CS) { aemif 284 drivers/memory/ti-aemif.c data = &aemif->cs_data[aemif->num_cs]; aemif 288 drivers/memory/ti-aemif.c aemif_get_hw_params(pdev, aemif->num_cs++); aemif 335 drivers/memory/ti-aemif.c struct aemif_device *aemif; aemif 339 drivers/memory/ti-aemif.c aemif = devm_kzalloc(dev, sizeof(*aemif), GFP_KERNEL); aemif 340 drivers/memory/ti-aemif.c if (!aemif) aemif 346 drivers/memory/ti-aemif.c platform_set_drvdata(pdev, aemif); aemif 348 drivers/memory/ti-aemif.c aemif->clk = devm_clk_get(dev, NULL); aemif 349 drivers/memory/ti-aemif.c if (IS_ERR(aemif->clk)) { aemif 351 drivers/memory/ti-aemif.c return PTR_ERR(aemif->clk); aemif 354 drivers/memory/ti-aemif.c ret = clk_prepare_enable(aemif->clk); aemif 358 drivers/memory/ti-aemif.c aemif->clk_rate = clk_get_rate(aemif->clk) / MSEC_PER_SEC; aemif 361 drivers/memory/ti-aemif.c aemif->cs_offset = 2; aemif 363 drivers/memory/ti-aemif.c aemif->cs_offset = pdata->cs_offset; aemif 366 drivers/memory/ti-aemif.c aemif->base = devm_ioremap_resource(dev, res); aemif 367 drivers/memory/ti-aemif.c if (IS_ERR(aemif->base)) { aemif 368 drivers/memory/ti-aemif.c ret = PTR_ERR(aemif->base); aemif 385 drivers/memory/ti-aemif.c for (i = 0; i < pdata->num_abus_data; i++, aemif->num_cs++) { aemif 386 drivers/memory/ti-aemif.c aemif->cs_data[i].cs = pdata->abus_data[i].cs; aemif 391 drivers/memory/ti-aemif.c for (i = 0; i < aemif->num_cs; i++) { aemif 395 drivers/memory/ti-aemif.c aemif->cs_data[i].cs); aemif 424 drivers/memory/ti-aemif.c clk_disable_unprepare(aemif->clk); aemif 430 drivers/memory/ti-aemif.c struct aemif_device *aemif = platform_get_drvdata(pdev); aemif 432 drivers/memory/ti-aemif.c clk_disable_unprepare(aemif->clk);