Searched refs:diff1 (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/drivers/mtd/nand/ |
D | s3c2410.c | 427 unsigned int diff0, diff1, diff2; in s3c2410_nand_correct_data() local 433 diff1 = read_ecc[1] ^ calc_ecc[1]; in s3c2410_nand_correct_data() 440 diff0, diff1, diff2); in s3c2410_nand_correct_data() 442 if (diff0 == 0 && diff1 == 0 && diff2 == 0) in s3c2410_nand_correct_data() 457 ((diff1 ^ (diff1 >> 1)) & 0x55) == 0x55 && in s3c2410_nand_correct_data() 468 ((diff1 << 0) & 0x80) | in s3c2410_nand_correct_data() 469 ((diff1 << 1) & 0x40) | in s3c2410_nand_correct_data() 470 ((diff1 << 2) & 0x20) | in s3c2410_nand_correct_data() 471 ((diff1 << 3) & 0x10) | in s3c2410_nand_correct_data() 488 diff0 |= (diff1 << 8); in s3c2410_nand_correct_data()
|
/linux-2.6.39/arch/arm/mach-at91/ |
D | clock.c | 562 int diff1; in at91_pll_calc() local 586 diff1 = out_freq - input * mul1; in at91_pll_calc() 587 if (diff1 < 0) in at91_pll_calc() 588 diff1 = -diff1; in at91_pll_calc() 589 if (diff > diff1) { in at91_pll_calc() 590 diff = diff1; in at91_pll_calc()
|
/linux-2.6.39/drivers/scsi/megaraid/ |
D | megaraid_sas_fp.c | 478 u64 diff0, diff1; in megasas_get_best_arm() local 487 diff1 = ABS_DIFF(block, lbInfo->last_accessed_block[1]); in megasas_get_best_arm() 488 bestArm = (diff0 <= diff1 ? 0 : 1); in megasas_get_best_arm()
|
/linux-2.6.39/drivers/gpu/drm/i915/ |
D | i915_dma.c | 1438 unsigned long now = jiffies_to_msecs(jiffies), diff1; in i915_chipset_val() local 1441 diff1 = now - dev_priv->last_time1; in i915_chipset_val() 1466 diff = div_u64(diff, diff1); in i915_chipset_val() 1634 struct timespec now, diff1; in i915_update_gfx_val() local 1640 diff1 = timespec_sub(now, dev_priv->last_time2); in i915_update_gfx_val() 1643 diffms = diff1.tv_sec * 1000 + diff1.tv_nsec / 1000000; in i915_update_gfx_val()
|
/linux-2.6.39/sound/oss/ |
D | sb_ess.c | 345 int diff1, diff2; in ess_calc_best_speed() local 348 div1 = ess_calc_div (clock1, rev1, &speed1, &diff1); in ess_calc_best_speed() 351 if (diff1 < diff2) { in ess_calc_best_speed()
|
D | ad1848.c | 834 int diff1, diff2; in ad1848_set_speed() local 836 diff1 = arg - speed_table[i - 1].speed; in ad1848_set_speed() 839 if (diff1 < diff2) in ad1848_set_speed()
|
/linux-2.6.39/drivers/video/aty/ |
D | atyfb_base.c | 2469 int diff1, diff2; in aty_init() local 2470 diff1 = 510 * 14 / pll_ref_div - par->pll_limits.pll_max; in aty_init() 2472 if (diff1 < 0) in aty_init() 2473 diff1 = -diff1; in aty_init() 2476 if (diff2 < diff1) { in aty_init()
|
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/phy/ |
D | wlc_phy_lcn.c | 5191 u32 msb1, msb2, val1, val2, diff1, diff2; in wlc_lcnphy_rx_signal_power() local 5196 diff1 = (power - val1); in wlc_lcnphy_rx_signal_power() 5198 if (diff1 < diff2) in wlc_lcnphy_rx_signal_power()
|