Searched refs:hsmc (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/arch/avr32/mach-at32ap/
H A Dhsmc.c20 #include "hsmc.h"
24 struct hsmc { struct
30 static struct hsmc *hsmc; variable in typeref:struct:hsmc
57 mul = (clk_get_rate(hsmc->mck) / 10000) << 16; smc_set_timing()
143 if (!hsmc) smc_set_configuration()
207 hsmc_writel(hsmc, SETUP0 + offset, setup); smc_set_configuration()
208 hsmc_writel(hsmc, PULSE0 + offset, pulse); smc_set_configuration()
209 hsmc_writel(hsmc, CYCLE0 + offset, cycle); smc_set_configuration()
210 hsmc_writel(hsmc, MODE0 + offset, mode); smc_set_configuration()
211 hsmc_readl(hsmc, MODE0); /* I/O barrier */ smc_set_configuration()
223 if (hsmc) hsmc_probe()
239 hsmc = kzalloc(sizeof(struct hsmc), GFP_KERNEL); hsmc_probe()
240 if (!hsmc) hsmc_probe()
246 hsmc->pclk = pclk; hsmc_probe()
247 hsmc->mck = mck; hsmc_probe()
248 hsmc->regs = ioremap(regs->start, resource_size(regs)); hsmc_probe()
249 if (!hsmc->regs) hsmc_probe()
255 platform_set_drvdata(pdev, hsmc); hsmc_probe()
262 kfree(hsmc); hsmc_probe()
267 hsmc = NULL; hsmc_probe()
/linux-4.4.14/drivers/mtd/nand/
H A Datmel_nand.c2154 0, "hsmc", host); atmel_nand_probe()

Completed in 231 milliseconds