Searched refs:mck (Results 1 – 12 of 12) sorted by relevance
/arch/avr32/mach-at32ap/ |
D | hsmc.c | 27 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()
|
D | at32ap700x.c | 714 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/ |
D | clock.c | 195 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 …]
|
D | clock.h | 33 extern struct clk mck;
|
D | at91sam9260.c | 206 CLKDEV_CON_DEV_ID("usart", "fffff200.serial", &mck), 229 CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck),
|
D | at91sam9g45.c | 228 CLKDEV_CON_DEV_ID("usart", "ffffee00.serial", &mck), 248 CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck),
|
D | at91sam9x5.c | 219 CLKDEV_CON_DEV_ID("usart", "fffff200.serial", &mck),
|
D | at91sam9261.c | 186 CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck),
|
D | at91sam9rl.c | 195 CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck),
|
D | at91sam9263.c | 205 CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck),
|
D | at91rm9200.c | 207 CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck),
|
/arch/x86/kernel/ |
D | pci-calgary_64.c | 850 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()
|