Lines Matching defs:count
163 * calculated count = (timeout * clock) / prescaler + 1.
164 * The calculated count is divided by 0x1000 to obtain the field value
167 * prescaler to 4096 and the calculated count and access key
179 unsigned short count;
186 count = (wdd->timeout * (clock_f / wdt->prescaler)) /
189 if (count > CDNS_WDT_COUNTER_MAX)
190 count = CDNS_WDT_COUNTER_MAX;
196 count = (count << 2) & CDNS_WDT_CCR_CRV_MASK;
199 data = count | CDNS_WDT_REGISTER_ACCESS_KEY | wdt->ctrl_clksel;