Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
board-kzm9g.c File Reference
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/gpio_keys.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/i2c.h>
#include <linux/i2c/pcf857x.h>
#include <linux/input.h>
#include <linux/mmc/host.h>
#include <linux/mmc/sh_mmcif.h>
#include <linux/mmc/sh_mobile_sdhi.h>
#include <linux/mfd/tmio.h>
#include <linux/platform_device.h>
#include <linux/regulator/fixed.h>
#include <linux/regulator/machine.h>
#include <linux/smsc911x.h>
#include <linux/usb/r8a66597.h>
#include <linux/usb/renesas_usbhs.h>
#include <linux/videodev2.h>
#include <sound/sh_fsi.h>
#include <sound/simple_card.h>
#include <mach/irqs.h>
#include <mach/sh73a0.h>
#include <mach/common.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/hardware/gic.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <video/sh_mobile_lcdc.h>

Go to the source code of this file.

Data Structures

struct  usbhs_private
 

Macros

#define GPIO_PCF8575_BASE   (GPIO_NR)
 
#define GPIO_PCF8575_PORT10   (GPIO_NR + 8)
 
#define GPIO_PCF8575_PORT11   (GPIO_NR + 9)
 
#define GPIO_PCF8575_PORT12   (GPIO_NR + 10)
 
#define GPIO_PCF8575_PORT13   (GPIO_NR + 11)
 
#define GPIO_PCF8575_PORT14   (GPIO_NR + 12)
 
#define GPIO_PCF8575_PORT15   (GPIO_NR + 13)
 
#define GPIO_PCF8575_PORT16   (GPIO_NR + 14)
 
#define IRQ15   intcs_evt2irq(0x03e0)
 
#define USB_PHY_MODE   (1 << 4)
 
#define USB_PHY_INT_EN   ((1 << 3) | (1 << 2))
 
#define USB_PHY_ON   (1 << 1)
 
#define USB_PHY_OFF   (1 << 0)
 
#define USB_PHY_INT_CLR   (USB_PHY_ON | USB_PHY_OFF)
 
#define usbhs_get_priv(pdev)   container_of(renesas_usbhs_get_info(pdev), struct usbhs_private, info)
 
#define GPIO_KEY(c, g, d)   { .code = c, .gpio = g, .desc = d, .active_low = 1 }
 
#define RESCNT2   IOMEM(0xe6188020)
 

Functions

 device_initcall (as3711_enable_lcdc_backlight)
 

Variables

 smp = smp_ops(sh73a0_smp_ops)
 
 map_io = sh73a0_map_io
 
 init_early = sh73a0_add_early_devices
 
 nr_irqs = NR_IRQS_LEGACY
 
 init_irq = sh73a0_init_irq
 
 handle_irq = gic_handle_irq
 
 init_machine = kzm_init
 
 init_late = shmobile_init_late
 
 timer = &shmobile_timer
 
 restart = kzm9g_restart
 
 dt_compat = kzm9g_boards_compat_dt
 

Macro Definition Documentation

#define GPIO_KEY (   c,
  g,
  d 
)    { .code = c, .gpio = g, .desc = d, .active_low = 1 }

Definition at line 470 of file board-kzm9g.c.

#define GPIO_PCF8575_BASE   (GPIO_NR)

Definition at line 53 of file board-kzm9g.c.

#define GPIO_PCF8575_PORT10   (GPIO_NR + 8)

Definition at line 54 of file board-kzm9g.c.

#define GPIO_PCF8575_PORT11   (GPIO_NR + 9)

Definition at line 55 of file board-kzm9g.c.

#define GPIO_PCF8575_PORT12   (GPIO_NR + 10)

Definition at line 56 of file board-kzm9g.c.

#define GPIO_PCF8575_PORT13   (GPIO_NR + 11)

Definition at line 57 of file board-kzm9g.c.

#define GPIO_PCF8575_PORT14   (GPIO_NR + 12)

Definition at line 58 of file board-kzm9g.c.

#define GPIO_PCF8575_PORT15   (GPIO_NR + 13)

Definition at line 59 of file board-kzm9g.c.

#define GPIO_PCF8575_PORT16   (GPIO_NR + 14)

Definition at line 60 of file board-kzm9g.c.

#define IRQ15   intcs_evt2irq(0x03e0)

Definition at line 141 of file board-kzm9g.c.

#define RESCNT2   IOMEM(0xe6188020)
#define USB_PHY_INT_CLR   (USB_PHY_ON | USB_PHY_OFF)

Definition at line 146 of file board-kzm9g.c.

#define USB_PHY_INT_EN   ((1 << 3) | (1 << 2))

Definition at line 143 of file board-kzm9g.c.

#define USB_PHY_MODE   (1 << 4)

Definition at line 142 of file board-kzm9g.c.

#define USB_PHY_OFF   (1 << 0)

Definition at line 145 of file board-kzm9g.c.

#define USB_PHY_ON   (1 << 1)

Definition at line 144 of file board-kzm9g.c.

#define usbhs_get_priv (   pdev)    container_of(renesas_usbhs_get_info(pdev), struct usbhs_private, info)

Definition at line 148 of file board-kzm9g.c.

Function Documentation

device_initcall ( as3711_enable_lcdc_backlight  )

Variable Documentation

dt_compat = kzm9g_boards_compat_dt

Definition at line 788 of file board-kzm9g.c.

handle_irq = gic_handle_irq

Definition at line 783 of file board-kzm9g.c.

Definition at line 780 of file board-kzm9g.c.

init_irq = sh73a0_init_irq

Definition at line 782 of file board-kzm9g.c.

init_late = shmobile_init_late

Definition at line 785 of file board-kzm9g.c.

init_machine = kzm_init

Definition at line 784 of file board-kzm9g.c.

map_io = sh73a0_map_io

Definition at line 779 of file board-kzm9g.c.

nr_irqs = NR_IRQS_LEGACY

Definition at line 781 of file board-kzm9g.c.

restart = kzm9g_restart

Definition at line 787 of file board-kzm9g.c.

Definition at line 778 of file board-kzm9g.c.

Definition at line 786 of file board-kzm9g.c.