Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
core.c File Reference
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/sh_pfc.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/bitops.h>
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/pinctrl/machine.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   "sh_pfc " KBUILD_MODNAME ": " fmt
 

Functions

int sh_pfc_read_bit (struct pinmux_data_reg *dr, unsigned long in_pos)
 
 EXPORT_SYMBOL_GPL (sh_pfc_read_bit)
 
void sh_pfc_write_bit (struct pinmux_data_reg *dr, unsigned long in_pos, unsigned long value)
 
 EXPORT_SYMBOL_GPL (sh_pfc_write_bit)
 
int sh_pfc_get_data_reg (struct sh_pfc *pfc, unsigned gpio, struct pinmux_data_reg **drp, int *bitp)
 
 EXPORT_SYMBOL_GPL (sh_pfc_get_data_reg)
 
int sh_pfc_gpio_to_enum (struct sh_pfc *pfc, unsigned gpio, int pos, pinmux_enum_t *enum_idp)
 
 EXPORT_SYMBOL_GPL (sh_pfc_gpio_to_enum)
 
int sh_pfc_config_gpio (struct sh_pfc *pfc, unsigned gpio, int pinmux_type, int cfg_mode)
 
 EXPORT_SYMBOL_GPL (sh_pfc_config_gpio)
 
int register_sh_pfc (struct sh_pfc *pfc)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    "sh_pfc " KBUILD_MODNAME ": " fmt

Definition at line 11 of file core.c.

Function Documentation

EXPORT_SYMBOL_GPL ( sh_pfc_read_bit  )
EXPORT_SYMBOL_GPL ( sh_pfc_write_bit  )
EXPORT_SYMBOL_GPL ( sh_pfc_get_data_reg  )
EXPORT_SYMBOL_GPL ( sh_pfc_gpio_to_enum  )
EXPORT_SYMBOL_GPL ( sh_pfc_config_gpio  )
int register_sh_pfc ( struct sh_pfc pfc)

Definition at line 505 of file core.c.

int sh_pfc_config_gpio ( struct sh_pfc pfc,
unsigned  gpio,
int  pinmux_type,
int  cfg_mode 
)

Definition at line 392 of file core.c.

int sh_pfc_get_data_reg ( struct sh_pfc pfc,
unsigned  gpio,
struct pinmux_data_reg **  drp,
int bitp 
)

Definition at line 298 of file core.c.

int sh_pfc_gpio_to_enum ( struct sh_pfc pfc,
unsigned  gpio,
int  pos,
pinmux_enum_t enum_idp 
)

Definition at line 361 of file core.c.

int sh_pfc_read_bit ( struct pinmux_data_reg dr,
unsigned long  in_pos 
)

Definition at line 144 of file core.c.

void sh_pfc_write_bit ( struct pinmux_data_reg dr,
unsigned long  in_pos,
unsigned long  value 
)

Definition at line 157 of file core.c.