Searched refs:wspeed (Results 1 – 1 of 1) sorted by relevance
2603 uint32_t wspeed = 1; /* assume 1 wait state when unknown */ in pcic_calc_speed() local2612 wspeed = mhztons(PCIC_ISA_DEF_SYSCLK) * 3; in pcic_calc_speed()2613 if (speed <= wspeed) in pcic_calc_speed()2614 wspeed = 0; in pcic_calc_speed()2615 else if (speed <= (wspeed += mhztons(bspeed))) in pcic_calc_speed()2616 wspeed = 1; in pcic_calc_speed()2617 else if (speed <= (wspeed += mhztons(bspeed))) in pcic_calc_speed()2618 wspeed = 2; in pcic_calc_speed()2620 wspeed = 3; in pcic_calc_speed()2621 wspeed <<= 6; /* put in right bit positions */ in pcic_calc_speed()[all …]