Searched refs:divider_idx (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/mmc/host/
H A Dcb710-mmc.c33 u32 divider_idx; cb710_mmc_select_clock_divider() local
45 for (divider_idx = 0; divider_idx < CB710_MAX_DIVIDER_IDX; ++divider_idx) { cb710_mmc_select_clock_divider()
46 if (hz >= src_hz >> cb710_clock_divider_log2[divider_idx]) cb710_mmc_select_clock_divider()
51 divider_idx |= 0x8; cb710_mmc_select_clock_divider()
52 else if (divider_idx == 0) cb710_mmc_select_clock_divider()
53 divider_idx = 1; cb710_mmc_select_clock_divider()
55 cb710_pci_update_config_reg(pdev, 0x40, ~0xF0000000, divider_idx << 28); cb710_mmc_select_clock_divider()
58 "clock set to %d Hz, wanted %d Hz; src_freq_idx = %d, divider_idx = %d|%d\n", cb710_mmc_select_clock_divider()
59 src_hz >> cb710_clock_divider_log2[divider_idx & 7], cb710_mmc_select_clock_divider()
60 hz, src_freq_idx, divider_idx & 7, divider_idx & 8); cb710_mmc_select_clock_divider() local

Completed in 122 milliseconds