Searched refs:bus_hz (Results 1 – 7 of 7) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/xilinx/ |
D | ll_temac_mdio.c | 62 const u32 *bus_hz; in temac_mdio_setup() local 69 bus_hz = of_get_property(np, "clock-frequency", &size); in temac_mdio_setup() 70 if (bus_hz && size >= sizeof(*bus_hz)) { in temac_mdio_setup() 71 clk_div = (*bus_hz) / (2500 * 1000 * 2) - 1; in temac_mdio_setup()
|
/linux-3.4.99/include/linux/mmc/ |
D | dw_mmc.h | 152 u32 bus_hz; member 220 unsigned int bus_hz; /* Bus speed */ member
|
/linux-3.4.99/arch/arm/mach-exynos/ |
D | dev-dwmci.c | 44 .bus_hz = 80 * 1000 * 1000,
|
/linux-3.4.99/drivers/spi/ |
D | spi-atmel.c | 697 unsigned long bus_hz; in atmel_spi_setup() local 729 bus_hz = clk_get_rate(as->clk); in atmel_spi_setup() 731 bus_hz /= 2; in atmel_spi_setup() 738 scbr = DIV_ROUND_UP(bus_hz, spi->max_speed_hz); in atmel_spi_setup() 747 spi->max_speed_hz, scbr, bus_hz/255); in atmel_spi_setup() 800 bus_hz / scbr, bits, spi->mode, spi->chip_select, csr); in atmel_spi_setup()
|
/linux-3.4.99/drivers/mmc/host/ |
D | dw_mmc.c | 620 if (host->bus_hz % slot->clock) in dw_mci_setup_bus() 625 div = ((host->bus_hz / slot->clock) >> 1) + 1; in dw_mci_setup_bus() 627 div = (host->bus_hz / slot->clock) >> 1; in dw_mci_setup_bus() 631 " div = %d)\n", slot->id, host->bus_hz, slot->clock, in dw_mci_setup_bus() 632 div ? ((host->bus_hz / div) >> 1) : host->bus_hz, div); in dw_mci_setup_bus() 1765 mmc->f_min = DIV_ROUND_UP(host->bus_hz, 510); in dw_mci_init_slot() 1766 mmc->f_max = host->bus_hz; in dw_mci_init_slot() 1943 if (!host->pdata->bus_hz) { in dw_mci_probe() 1949 host->bus_hz = host->pdata->bus_hz; in dw_mci_probe()
|
D | dw_mmc-pci.c | 35 .bus_hz = 33 * 1000 * 1000,
|
D | atmel-mci.c | 195 unsigned long bus_hz; member 494 return us * (DIV_ROUND_UP(host->bus_hz, 2000000)); in atmci_ns_to_clocks() 1152 clkdiv = DIV_ROUND_UP(host->bus_hz, clock_min) - 2; in atmci_set_ios() 1156 clock_min, host->bus_hz / (511 + 2)); in atmci_set_ios() 1162 clkdiv = DIV_ROUND_UP(host->bus_hz, 2 * clock_min) - 1; in atmci_set_ios() 1166 clock_min, host->bus_hz / (2 * 256)); in atmci_set_ios() 1890 mmc->f_min = DIV_ROUND_UP(host->bus_hz, 512); in atmci_init_slot() 1891 mmc->f_max = host->bus_hz / 2; in atmci_init_slot() 2121 host->bus_hz = clk_get_rate(host->mck); in atmci_probe()
|