The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: Mockern@yandex.ru
Cc: linux-kernel@vger.kernel.org
Subject: Re: Question: 20 microseconds  delay
Date: Sat, 03 Mar 2007 15:32:02 +0100	[thread overview]
Message-ID: <45E986E2.3010203@gmail.com> (raw)
In-Reply-To: <45E98415.000002.30135@webmail9.yandex.ru>

Mockern napsal(a):
> Hi,
> 
> I have a question.
> 
> I need to use 20 microsecond delay in my driver.
> What exact jiffies value I should define to get 20 microseconds?

It's subjiffy delay unless you use 50000 HZ :). Use udelay.

regards,
-- 
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E

Hnus <hnus@fi.muni.cz> is an alias for /dev/null

  reply	other threads:[~2007-03-03 14:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-03 14:20 Question: 20 microseconds delay Mockern
2007-03-03 14:32 ` Jiri Slaby [this message]
2007-03-03 14:46   ` Mockern
2007-03-03 14:52     ` Jiri Slaby
2007-03-03 14:33 ` Hans-Jürgen Koch
2007-03-03 14:47   ` Mockern
2007-03-03 21:02     ` Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45E986E2.3010203@gmail.com \
    --to=jirislaby@gmail.com \
    --cc=Mockern@yandex.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox