Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
pinctrl-kirkwood.c File Reference
#include <linux/err.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/pinctrl/pinctrl.h>
#include "pinctrl-mvebu.h"

Go to the source code of this file.

Macros

#define V(f6180, f6190, f6192, f6281, f6282)
 

Enumerations

enum  kirkwood_variant {
  VARIANT_MV88F6180 = V(1, 0, 0, 0, 0), VARIANT_MV88F6190 = V(0, 1, 0, 0, 0), VARIANT_MV88F6192 = V(0, 0, 1, 0, 0), VARIANT_MV88F6281 = V(0, 0, 0, 1, 0),
  VARIANT_MV88F6282 = V(0, 0, 0, 0, 1)
}
 

Functions

 module_platform_driver (kirkwood_pinctrl_driver)
 
 MODULE_AUTHOR ("Sebastian Hesselbarth <[email protected]>")
 
 MODULE_DESCRIPTION ("Marvell Kirkwood pinctrl driver")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define V (   f6180,
  f6190,
  f6192,
  f6281,
  f6282 
)
Value:
((f6180 << 0) | (f6190 << 1) | (f6192 << 2) | \
(f6281 << 3) | (f6282 << 4))

Definition at line 24 of file pinctrl-kirkwood.c.

Enumeration Type Documentation

Enumerator:
VARIANT_MV88F6180 
VARIANT_MV88F6190 
VARIANT_MV88F6192 
VARIANT_MV88F6281 
VARIANT_MV88F6282 

Definition at line 28 of file pinctrl-kirkwood.c.

Function Documentation

MODULE_AUTHOR ( "Sebastian Hesselbarth <[email protected]>"  )
MODULE_DESCRIPTION ( "Marvell Kirkwood pinctrl driver )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( kirkwood_pinctrl_driver  )