Home
last modified time | relevance | path

Searched refs:clkrt (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/mmc/
H A Ddavinci_mmc.c63 uint clkrt, sysclk2, act_clock; local
72 clkrt = (sysclk2 / (2 * clock)) - 1;
75 act_clock = (sysclk2 / (2 * (clkrt + 1)));
79 clkrt++;
82 if (clkrt > 0xFF)
83 clkrt = 0xFF;
85 set_val(&regs->mmcclk, (clkrt | MMCCLK_CLKEN));
H A Dpxa_mmc_gen.c329 writel(0x7, &regs->clkrt); in pxa_mmc_set_ios()
343 writel(pxa_mmc_clock, &regs->clkrt); in pxa_mmc_set_ios()
/openbmc/linux/drivers/mmc/host/
H A Dpxamci.c56 unsigned int clkrt; member
176 timeout = (unsigned int)clks + (data->timeout_clks << host->clkrt); in pxamci_setup_data()
259 writel(host->clkrt, host->base + MMC_CLKRT); in pxamci_start_cmd()
448 if (host->clkrt == CLKRT_OFF) in pxamci_set_ios()
453 host->clkrt = 7; in pxamci_set_ios()
466 host->clkrt = fls(clk) - 1; in pxamci_set_ios()
474 if (host->clkrt != CLKRT_OFF) { in pxamci_set_ios()
475 host->clkrt = CLKRT_OFF; in pxamci_set_ios()
507 host->clkrt, host->cmdat); in pxamci_set_ios()
654 host->clkrt = CLKRT_OFF; in pxamci_probe()
/openbmc/u-boot/arch/arm/include/asm/arch-pxa/
H A Dregs-mmc.h17 uint32_t clkrt; member