Searched refs:clkd (Results 1 – 2 of 2) sorted by relevance
895 u32 l = 0, clkd = 0, div, extclk = 0, clkg = 0; in omap2_mcspi_setup_transfer() local911 clkd = omap2_mcspi_calc_divisor(speed_hz); in omap2_mcspi_setup_transfer()912 speed_hz = OMAP2_MCSPI_MAX_FREQ >> clkd; in omap2_mcspi_setup_transfer()917 clkd = (div - 1) & 0xf; in omap2_mcspi_setup_transfer()949 l |= clkd << 2; in omap2_mcspi_setup_transfer()
1305 uint32_t reg, clkd, dto = 0; in set_data_timeout() local1308 clkd = (reg & CLKD_MASK) >> CLKD_SHIFT; in set_data_timeout()1309 if (clkd == 0) in set_data_timeout()1310 clkd = 1; in set_data_timeout()1312 cycle_ns = 1000000000 / (host->clk_rate / clkd); in set_data_timeout()