Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
cpufreq-set.c File Reference
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <limits.h>
#include <string.h>
#include <ctype.h>
#include <getopt.h>
#include "cpufreq.h"
#include "helpers/helpers.h"

Go to the source code of this file.

Data Structures

struct  freq_units
 

Macros

#define NORM_FREQ_LEN   32
 

Functions

int cmd_freq_set (int argc, char **argv)
 

Variables

struct freq_units def_units []
 

Macro Definition Documentation

#define NORM_FREQ_LEN   32

Definition at line 21 of file cpufreq-set.c.

Function Documentation

int cmd_freq_set ( int  argc,
char **  argv 
)

Definition at line 192 of file cpufreq-set.c.

Variable Documentation

struct freq_units def_units[]
Initial value:
= {
{"hz", -3},
{"khz", 0},
{"mhz", 3},
{"ghz", 6},
{"thz", 9},
{NULL, 0}
}

Definition at line 48 of file cpufreq-set.c.