Home
last modified time | relevance | path

Searched refs:mck (Results 1 – 12 of 12) sorted by relevance

/arch/avr32/mach-at32ap/
Dhsmc.c27 struct clk *mck; member
57 mul = (clk_get_rate(hsmc->mck) / 10000) << 16; in smc_set_timing()
220 struct clk *pclk, *mck; in hsmc_probe() local
232 mck = clk_get(&pdev->dev, "mck"); in hsmc_probe()
233 if (IS_ERR(mck)) { in hsmc_probe()
234 ret = PTR_ERR(mck); in hsmc_probe()
244 clk_enable(mck); in hsmc_probe()
247 hsmc->mck = mck; in hsmc_probe()
260 clk_disable(mck); in hsmc_probe()
264 clk_put(mck); in hsmc_probe()
Dat32ap700x.c714 DEV_CLK(mck, smc0, hsb, 0);
792 DEV_CLK(mck, pio0, pba, 10);
799 DEV_CLK(mck, pio1, pba, 11);
806 DEV_CLK(mck, pio2, pba, 12);
813 DEV_CLK(mck, pio3, pba, 13);
820 DEV_CLK(mck, pio4, pba, 14);
/arch/arm/mach-at91/
Dclock.c195 struct clk mck = { variable
226 return &mck; in at91_css_to_clk()
521 clk->parent = &mck; in clk_register()
525 clk->parent = &mck; in clk_register()
624 &mck
753 mck.parent = at91_css_to_clk(mckr & AT91_PMC_CSS); in at91_pmc_init()
754 freq = mck.parent->rate_hz; in at91_pmc_init()
757 mck.rate_hz = freq / (1 + ((mckr & AT91_PMC_MDIV) >> 8)); /* mdiv */ in at91_pmc_init()
759 mck.rate_hz = (mckr & AT91_PMC_MDIV) ? in at91_pmc_init()
764 mck.rate_hz = (mckr & AT91_PMC_MDIV) == AT91SAM9_PMC_MDIV_3 ? in at91_pmc_init()
[all …]
Dclock.h33 extern struct clk mck;
Dat91sam9260.c206 CLKDEV_CON_DEV_ID("usart", "fffff200.serial", &mck),
229 CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck),
Dat91sam9g45.c228 CLKDEV_CON_DEV_ID("usart", "ffffee00.serial", &mck),
248 CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck),
Dat91sam9x5.c219 CLKDEV_CON_DEV_ID("usart", "fffff200.serial", &mck),
Dat91sam9261.c186 CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck),
Dat91sam9rl.c195 CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck),
Dat91sam9263.c205 CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck),
Dat91rm9200.c207 CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck),
/arch/x86/kernel/
Dpci-calgary_64.c850 u32 csr, csmr, plssr, mck, rcstat; in calioc2_dump_error_regs() local
868 mck = be32_to_cpu(readl(target)); in calioc2_dump_error_regs()
874 csr, plssr, csmr, mck); in calioc2_dump_error_regs()