Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mmc/host/
H A Dcb710-mmc.c32 u32 divider_idx; in cb710_mmc_select_clock_divider() local
44 for (divider_idx = 0; divider_idx < CB710_MAX_DIVIDER_IDX; ++divider_idx) { in cb710_mmc_select_clock_divider()
45 if (hz >= src_hz >> cb710_clock_divider_log2[divider_idx]) in cb710_mmc_select_clock_divider()
50 divider_idx |= 0x8; in cb710_mmc_select_clock_divider()
51 else if (divider_idx == 0) in cb710_mmc_select_clock_divider()
52 divider_idx = 1; in cb710_mmc_select_clock_divider()
54 cb710_pci_update_config_reg(pdev, 0x40, ~0xF0000000, divider_idx << 28); in cb710_mmc_select_clock_divider()
58 src_hz >> cb710_clock_divider_log2[divider_idx & 7], in cb710_mmc_select_clock_divider()
59 hz, src_freq_idx, divider_idx & 7, divider_idx & 8); in cb710_mmc_select_clock_divider()