Searched refs:TCC_NUM_SETTINGS (Results 1 – 1 of 1) sorted by relevance
65 #define TCC_NUM_SETTINGS 8 macro69 #define TCC_SPEED_PERCENT(x) ((10000 * (x)) / TCC_NUM_SETTINGS)158 sc->set_count = TCC_NUM_SETTINGS; in p4tcc_attach()202 sc->lowest_val = TCC_NUM_SETTINGS - sc->set_count + 1; in p4tcc_attach()247 val = TCC_NUM_SETTINGS; in p4tcc_settings()272 val = set->freq * TCC_NUM_SETTINGS / 10000; in p4tcc_set()273 if (val * 10000 != set->freq * TCC_NUM_SETTINGS || in p4tcc_set()274 val < sc->lowest_val || val > TCC_NUM_SETTINGS) in p4tcc_set()283 mask = (TCC_NUM_SETTINGS - 1) << TCC_REG_OFFSET; in p4tcc_set()285 if (val < TCC_NUM_SETTINGS) in p4tcc_set()[all …]