Lines Matching refs:dsor
1130 int dsor; in mmc_omap_calc_divisor() local
1135 dsor = func_clk_rate / ios->clock; in mmc_omap_calc_divisor()
1136 if (dsor < 1) in mmc_omap_calc_divisor()
1137 dsor = 1; in mmc_omap_calc_divisor()
1139 if (func_clk_rate / dsor > ios->clock) in mmc_omap_calc_divisor()
1140 dsor++; in mmc_omap_calc_divisor()
1142 if (dsor > 250) in mmc_omap_calc_divisor()
1143 dsor = 250; in mmc_omap_calc_divisor()
1145 slot->fclk_freq = func_clk_rate / dsor; in mmc_omap_calc_divisor()
1148 dsor |= 1 << 15; in mmc_omap_calc_divisor()
1150 return dsor; in mmc_omap_calc_divisor()
1157 int i, dsor; in mmc_omap_set_ios() local
1162 dsor = mmc_omap_calc_divisor(mmc, ios); in mmc_omap_set_ios()
1181 dsor |= 1 << 11; in mmc_omap_set_ios()
1200 OMAP_MMC_WRITE(host, CON, dsor); in mmc_omap_set_ios()
1201 slot->saved_con = dsor; in mmc_omap_set_ios()