Lines Matching defs:prescaler
171 unsigned int prescaler;
178 /* CPM2 doesn't have primary prescaler */
182 prescaler = gtm->clock / frequency;
188 if (prescaler > max_prescaler)
191 if (prescaler > max_prescaler / 16) {
193 prescaler /= 16;
196 if (prescaler <= 256) {
198 sps = prescaler - 1;
201 sps = prescaler / 256 - 1;
367 /* CPM2 doesn't have primary prescaler */