Lines Matching defs:div
209 u32 div = (params->frequency + 479500) / 125;
218 buf[0] = (div >> 8) & 0x7f;
219 buf[1] = div & 0xff;
220 buf[2] = ((div & 0x18000) >> 10) | 0x95;
242 u32 div;
246 div = (params->frequency + 35937500 + 31250) / 62500;
248 data[0] = (div >> 8) & 0x7f;
249 data[1] = div & 0xff;
250 data[2] = 0x85 | ((div >> 10) & 0x60);
270 u32 div;
280 div = (36125000 + params->frequency) / 166666;
294 data[0] = (div >> 8) & 0x7f;
295 data[1] = div & 0xff;
296 data[2] = ((div >> 10) & 0x60) | cfg;
318 u32 div;
322 div = params->frequency / 125;
323 data[0] = (div >> 8) & 0x7f;
324 data[1] = div & 0xff;
341 u32 div;
345 div = params->frequency / 1000;
346 data[0] = (div >> 8) & 0x7f;
347 data[1] = div & 0xff;
350 if (div < 1450)
352 else if (div < 1850)
354 else if (div < 2000)