Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
s3c2412-iotiming.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/cpufreq.h>
#include <linux/seq_file.h>
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/amba/pl093.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <mach/regs-s3c2412-mem.h>
#include <plat/cpu.h>
#include <plat/cpu-freq-core.h>
#include <plat/clock.h>

Go to the source code of this file.

Macros

#define print_ns(x)   ((x) / 10), ((x) % 10)
 

Functions

void s3c2412_iotiming_debugfs (struct seq_file *seq, struct s3c_cpufreq_config *cfg, union s3c_iobank *iob)
 
int s3c2412_iotiming_calc (struct s3c_cpufreq_config *cfg, struct s3c_iotimings *iot)
 
void s3c2412_iotiming_set (struct s3c_cpufreq_config *cfg, struct s3c_iotimings *iot)
 
int s3c2412_iotiming_get (struct s3c_cpufreq_config *cfg, struct s3c_iotimings *timings)
 
void s3c2412_cpufreq_setrefresh (struct s3c_cpufreq_config *cfg)
 

Macro Definition Documentation

#define print_ns (   x)    ((x) / 10), ((x) % 10)

Definition at line 37 of file s3c2412-iotiming.c.

Function Documentation

void s3c2412_cpufreq_setrefresh ( struct s3c_cpufreq_config cfg)

Definition at line 265 of file s3c2412-iotiming.c.

int s3c2412_iotiming_calc ( struct s3c_cpufreq_config cfg,
struct s3c_iotimings iot 
)

s3c2412_iotiming_calc - calculate all the bank divisor settings. : The current frequency configuration. : The bank timing information.

Calculate the timing information for all the banks that are configured as IO, using s3c2412_calc_bank().

Definition at line 144 of file s3c2412-iotiming.c.

void s3c2412_iotiming_debugfs ( struct seq_file seq,
struct s3c_cpufreq_config cfg,
union s3c_iobank iob 
)

s3c2412_iotiming_debugfs - debugfs show io bank timing information : The seq_file to write output to using seq_printf(). : The current configuration. : The IO bank information to decode.

Definition at line 119 of file s3c2412-iotiming.c.

int s3c2412_iotiming_get ( struct s3c_cpufreq_config cfg,
struct s3c_iotimings timings 
)

Definition at line 234 of file s3c2412-iotiming.c.

void s3c2412_iotiming_set ( struct s3c_cpufreq_config cfg,
struct s3c_iotimings iot 
)

s3c2412_iotiming_set - set the timing information : The current frequency configuration. : The bank timing information.

Set the IO bank information from the details calculated earlier from calling s3c2412_iotiming_calc().

Definition at line 177 of file s3c2412-iotiming.c.