/linux-2.6.39/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);
|
/linux-2.6.39/arch/arm/mach-at91/ |
D | clock.c | 185 static struct clk mck = { variable 505 clk->parent = &mck; in clk_register() 510 clk->parent = &mck; in clk_register() 611 &mck 738 mck.parent = at91_css_to_clk(mckr & AT91_PMC_CSS); in at91_clock_init() 739 freq = mck.parent->rate_hz; in at91_clock_init() 742 mck.rate_hz = freq / (1 + ((mckr & AT91_PMC_MDIV) >> 8)); /* mdiv */ in at91_clock_init() 744 mck.rate_hz = (mckr & AT91_PMC_MDIV) ? in at91_clock_init() 749 mck.rate_hz = (mckr & AT91_PMC_MDIV) == AT91SAM9_PMC_MDIV_3 ? in at91_clock_init() 752 mck.rate_hz = freq / (1 << ((mckr & AT91_PMC_MDIV) >> 8)); /* mdiv */ in at91_clock_init() [all …]
|
/linux-2.6.39/drivers/ata/ |
D | pata_at91.c | 47 struct clk *mck; member 106 mck_hz = clk_get_rate(info->mck); in set_smc_timing() 276 info->mck = clk_get(NULL, "mck"); in pata_at91_probe() 278 if (IS_ERR(info->mck)) { in pata_at91_probe() 323 clk_put(info->mck); in pata_at91_probe() 341 clk_put(info->mck); in pata_at91_remove()
|
/linux-2.6.39/drivers/ide/ |
D | at91_ide.c | 115 struct clk *mck; in apply_timings() local 127 mck = clk_get(NULL, "mck"); in apply_timings() 128 BUG_ON(IS_ERR(mck)); in apply_timings() 129 mck_hz = clk_get_rate(mck); in apply_timings()
|
/linux-2.6.39/drivers/mmc/host/ |
D | atmel-mci.c | 166 struct clk *mck; member 364 clk_enable(host->mck); in atmci_regs_show() 366 clk_disable(host->mck); in atmci_regs_show() 927 clk_enable(host->mck); in atmci_set_ios() 996 clk_disable(host->mck); in atmci_set_ios() 1779 host->mck = clk_get(&pdev->dev, "mci_clk"); in atmci_probe() 1780 if (IS_ERR(host->mck)) { in atmci_probe() 1781 ret = PTR_ERR(host->mck); in atmci_probe() 1790 clk_enable(host->mck); in atmci_probe() 1792 host->bus_hz = clk_get_rate(host->mck); in atmci_probe() [all …]
|
/linux-2.6.39/include/linux/ |
D | atmel_pwm.h | 28 unsigned long mck; member
|
/linux-2.6.39/drivers/video/backlight/ |
D | atmel-pwm-bl.c | 88 unsigned long pwm_rate = pwmbl->pwmc.mck; in atmel_pwm_bl_init_pwm() 110 "(%lu Hz)\n", pwmbl->pwmc.mck / in atmel_pwm_bl_init_pwm()
|
/linux-2.6.39/drivers/i2c/busses/ |
D | i2c-sh7760.c | 395 unsigned long mck, m1, dff, odff, iclk; in calc_CCR() local 403 mck = mclk->rate; in calc_CCR() 410 iclk = mck / (1 + cdf); in calc_CCR()
|
/linux-2.6.39/drivers/leds/ |
D | leds-atmel-pwm.c | 82 tmp = (led->pwmc.mck / (1 << 5)) / 100; in pwmled_probe()
|
/linux-2.6.39/drivers/misc/ |
D | atmel_pwm.c | 111 ch->mck = clk_get_rate(pwm->clk); in pwm_channel_alloc()
|
/linux-2.6.39/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()
|