Searched refs:CM_DIV_FRAC_BITS (Results 1 – 1 of 1) sorted by relevance
44 # define CM_DIV_FRAC_BITS 12 macro45 # define CM_DIV_FRAC_MASK GENMASK(CM_DIV_FRAC_BITS - 1, 0)943 GENMASK(CM_DIV_FRAC_BITS - data->frac_bits, 0) >> 1; in bcm2835_clock_choose_div()944 u64 temp = (u64)parent_rate << CM_DIV_FRAC_BITS; in bcm2835_clock_choose_div()954 mindiv = 2 << CM_DIV_FRAC_BITS; in bcm2835_clock_choose_div()956 maxdiv = (BIT(data->int_bits) - 1) << CM_DIV_FRAC_BITS; in bcm2835_clock_choose_div()959 mindiv = 1 << CM_DIV_FRAC_BITS; in bcm2835_clock_choose_div()961 maxdiv = GENMASK(data->int_bits + CM_DIV_FRAC_BITS - 1, in bcm2835_clock_choose_div()962 CM_DIV_FRAC_BITS - data->frac_bits); in bcm2835_clock_choose_div()986 div >>= CM_DIV_FRAC_BITS - data->frac_bits; in bcm2835_clock_rate_from_divisor()[all …]