cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: "Leisner, Martin" <Martin.Leisner@xerox.com>
Cc: cpufreq@lists.linux.org.uk
Subject: Re: writing a frequency scaling processor module
Date: Tue, 25 Sep 2007 13:02:42 -0400	[thread overview]
Message-ID: <20070925170242.GF2769@redhat.com> (raw)
In-Reply-To: <556445368AFA1C438794ABDA8901891C06460088@USA0300MS03.na.xerox.net>

On Tue, Sep 25, 2007 at 12:48:55PM -0400, Leisner, Martin wrote:
 > Its pretty much written...it could (should) be very simple...
 > in a simple case...
 > 
 > All it really needed was:
 >    1) a method to set the frequency
 >    2) a method to get the frequency
 >    3) a frequency array
 > 
 > I copied some code from the powernow-k7...and banged on it until it worked...
 > 
 > Why does 
 > cpufreq_frequency_table have an index entry on each entry?

When searching through the table for an entry, it's used as
a 'key' to find the match.

	Dave

-- 
http://www.codemonkey.org.uk

      reply	other threads:[~2007-09-25 17:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07 17:04 writing a frequency scaling processor module Leisner, Martin
2007-09-24 23:31 ` Dave Jones
2007-09-25 16:48   ` Leisner, Martin
2007-09-25 17:02     ` Dave Jones [this message]

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=20070925170242.GF2769@redhat.com \
    --to=davej@redhat.com \
    --cc=Martin.Leisner@xerox.com \
    --cc=cpufreq@lists.linux.org.uk \
    /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