Lines Matching defs:clkdiv
291 u32 clkdiv = 0;
295 clkdiv = 0;
298 clkdiv = (host->clock_in / dev->clock) - 2;
301 tmp_clock = host->clock_in / (clkdiv + 2);
303 clkdiv++;
304 tmp_clock = host->clock_in / (clkdiv + 2);
307 if (clkdiv > SDI_CLKCR_CLKDIV_MASK)
308 clkdiv = SDI_CLKCR_CLKDIV_MASK;
310 tmp_clock = host->clock_in / (clkdiv + 2);
313 sdi_clkcr |= clkdiv;