Home
last modified time | relevance | path

Searched refs:clkd (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/spi/
Dspi-omap2-mcspi.c879 u32 l = 0, clkd = 0, div, extclk = 0, clkg = 0; in omap2_mcspi_setup_transfer() local
895 clkd = omap2_mcspi_calc_divisor(speed_hz); in omap2_mcspi_setup_transfer()
896 speed_hz = OMAP2_MCSPI_MAX_FREQ >> clkd; in omap2_mcspi_setup_transfer()
901 clkd = (div - 1) & 0xf; in omap2_mcspi_setup_transfer()
933 l |= clkd << 2; in omap2_mcspi_setup_transfer()
/Linux-v4.19/drivers/mmc/host/
Domap_hsmmc.c1430 uint32_t reg, clkd, dto = 0; in set_data_timeout() local
1433 clkd = (reg & CLKD_MASK) >> CLKD_SHIFT; in set_data_timeout()
1434 if (clkd == 0) in set_data_timeout()
1435 clkd = 1; in set_data_timeout()
1437 cycle_ns = 1000000000 / (host->clk_rate / clkd); in set_data_timeout()