Searched refs:deviation (Results 1 - 13 of 13) sorted by relevance

/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgv100.c116 u32 deviation; /* absolute diff between TPC# and average_tpcs, averaged across GPCs */ local
117 u32 norm_tpc_deviation; /* deviation/max_tpc_per_gpc */
192 deviation = 0;
199 deviation += diff;
202 deviation /= gr->gpc_nr;
204 norm_tpc_deviation = deviation / max_tpc_gpc;
/linux-master/drivers/clk/st/
H A Dclkgen-fsyn.c646 static int clk_fs660c32_get_pe(int m, int si, unsigned long *deviation, argument
672 if (new_deviation < *deviation) {
677 *deviation = new_deviation;
688 /* initial condition to say: "infinite deviation" */
689 unsigned long deviation = ~0; local
695 for (si = 0; (si <= 8) && deviation; si++) {
698 r1 = clk_fs660c32_get_pe(0, si, &deviation,
700 r2 = clk_fs660c32_get_pe(31, si, &deviation,
707 /* Try to find best deviation */
708 for (m = 1; (m < 31) && deviation;
[all...]
H A Dclkgen-pll.c319 unsigned long deviation = ~0; local
335 for (i = 1; i <= 7 && deviation; i++) {
348 if (!new_deviation || new_deviation < deviation) {
351 deviation = new_deviation;
355 if (deviation == ~0) /* No solution found */
481 unsigned long deviation = ~0; local
489 for (i = 1; i <= 7 && deviation; i++) {
501 for (; n >= 8 && deviation; n--) {
507 if (!new_deviation || new_deviation < deviation) {
510 deviation
[all...]
/linux-master/arch/alpha/kernel/
H A Dtime.c316 const unsigned int deviation = 10000000;
332 if (cc < cpu_hz[index].min - deviation
333 || cc > cpu_hz[index].max + deviation)
311 const unsigned int deviation = 10000000; local
/linux-master/drivers/iio/adc/
H A Dqcom-spmi-iadc.c432 u8 deviation; local
444 ret = iadc_read(iadc, IADC_NOMINAL_RSENSE, &deviation);
452 sign = (deviation & IADC_NOMINAL_RSENSE_SIGN_MASK) ? -1 : 1;
454 deviation &= ~IADC_NOMINAL_RSENSE_SIGN_MASK;
458 int_sense += sign * deviation * IADC_INT_RSENSE_DEVIATION;
/linux-master/drivers/staging/pi433/
H A Drf69.h24 int rf69_set_deviation(struct spi_device *spi, u32 deviation);
H A Drf69.c226 int rf69_set_deviation(struct spi_device *spi, u32 deviation) argument
243 * frequency deviation must exceed 600 Hz but not exceed
247 if (deviation < 600 || (deviation + (bit_rate / 2)) > 500000) {
249 "set_deviation: illegal input param: %u\n", deviation);
258 f_reg = deviation * factor;
/linux-master/drivers/media/pci/ngene/
H A Dngene-cards.c944 static s16 osc_deviation(void *priv, s16 deviation, int flag) argument
952 data = (u16) deviation;
953 dev_info(pdev, "write deviation %d\n",
954 deviation);
959 dev_info(pdev, "read deviation %d\n",
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_dpll_mgr.c1458 u64 min_deviation; /* current minimal deviation */
1473 u64 deviation; local
1475 deviation = div64_u64(10000 * abs_diff(dco_freq, central_freq),
1478 /* positive deviation */
1480 if (deviation < SKL_DCO_MAX_PDEVIATION &&
1481 deviation < ctx->min_deviation) {
1482 ctx->min_deviation = deviation;
1487 /* negative deviation */
1488 } else if (deviation < SKL_DCO_MAX_NDEVIATION &&
1489 deviation < ct
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Ddrxd_hard.c1628 /* Compute clock deviation in ppm */
2623 /* Handle clock deviation */
2627 /* deviation in kHz */
2628 s32 deviation = (devA / (1000000L)); local
2636 deviation += (devB / 2);
2641 deviation);
/linux-master/drivers/tty/serial/
H A Dsamsung_tty.c1381 int calc_deviation, deviation = (1 << 30) - 1; local
1424 if (calc_deviation < deviation) {
1434 deviation = calc_deviation;
H A Dsh-sci.c2331 * smallest deviation from the desired baud rate.
2338 * F: Absolute value of clock frequency deviation
2468 * that gives us the smallest deviation from the desired baud rate.
2575 /* Calculate deviation from intended rate at the
2579 int deviation = DIV_ROUND_CLOSEST(min_err * last_stop * local
2583 if (abs(deviation) >= 2) {
2588 int shift = clamp(deviation / 2, -8, 7);
/linux-master/drivers/media/dvb-frontends/drx39xyj/
H A Ddrx_driver.h1536 * setting for deviation mode in audio demodulator.
1685 enum drx_cfg_aud_deviation deviation; member in struct:drx_aud_data
1833 /*< Oscillator clock deviation. (ppm) */

Completed in 223 milliseconds