linux-mips
[Top] [All Lists]

Re: about udelay in mips

To: loody <miloody@gmail.com>
Subject: Re: about udelay in mips
From: wu zhangjin <wuzhangjin@gmail.com>
Date: Mon, 17 Jan 2011 00:34:23 +0800
Cc: Linux MIPS Mailing List <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Jfc8klZss2VbcQ24IF1t6Pjw0lq39PWSTxLq89P2wgQ=; b=Jt/7cx3iaLSzvMfvbBXEV9blZcmUXkwRViX0XKx4GS4kzTzzibjIvWjvZ3Ns3QI6/P i8Sq4bGP5Z+4ogWQikQ/Syyd3XAWxqp0mHvkUqPEbnK1sV5iavehqZXKu3l3qQOaWsiq PWqJMdANlyvUGTNXLNphYHvqlYwQb5PXmxng8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=nQh0eHVOr0qGXtp1BR+2j9dLHFC4u0y1D08K7XeFRQt5DH2S/jsny8iAWipM4vErbC rM+DjOr+0rUiR1gKECoulYRyw1QtUwAmw+tZ0dmgogR4UVyUQggLwq2JWaY2kzlcWl1Q Km341Iet0C4JIXYBJxvQX4dA7NXpfcYbRQiwg=
In-reply-to: <AANLkTikpUBtg2zz8tcbcz2rcG-O+fTFwb_pTi88uZe0h@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <AANLkTinvdEPwQ=DmcF8nnTAa0Py_O=+p7x1pobcTNHom@mail.gmail.com> <AANLkTik8hQfd8cvNj=qeq5U=6zpQHw33a9hfK-q8+x1Z@mail.gmail.com> <AANLkTikpUBtg2zz8tcbcz2rcG-O+fTFwb_pTi88uZe0h@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Sun, Jan 16, 2011 at 10:38 PM, loody <miloody@gmail.com> wrote:
[...]
> (us  *   0x000010c7   *   HZ   *   lpj   )) >> 32)
> I cannot figure out why we need to multiply 0x10c7, and what lpj mean?
> Does lpj mean if jiffies increase 1, how many "subu    %0, 1" may need?

Yep, lpj is calculated in init/calibrate.c

> Regards,
> miloody
>
>

<Prev in Thread] Current Thread [Next in Thread>