|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/pci.h>#include <linux/string.h>#include <linux/slab.h>#include <linux/init.h>#include <linux/bootmem.h>#include <linux/delay.h>#include <linux/interrupt.h>#include <asm/io.h>#include <asm/irq.h>#include <asm/iommu.h>#include <asm/byteorder.h>#include "celleb_scc.h"#include "celleb_pci.h"Go to the source code of this file.
Macros | |
| #define | PEX_IN(base, off) in_be32((void __iomem *)(base) + (off)) |
| #define | PEX_OUT(base, off, data) out_be32((void __iomem *)(base) + (off), (data)) |
| #define | PCIEX_MMIO_READ(name, ret) |
| #define | PCIEX_MMIO_READ_STR(name) |
| #define | PCIEX_PIO_FUNC(size, name) |
| #define | __le8 u8 |
| #define | cpu_to_le8(x) (x) |
| #define | le8_to_cpu(x) (x) |
| #define | MK_PEXDADRS(bus_no, dev_no, func_no, addr) |
| #define | MK_PEXDCMND_BYTE_EN(addr, size) ((((0x1 << (size))-1) << ((addr) & 0x3)) << PEXDCMND_BYTE_EN_SHIFT) |
| #define | MK_PEXDCMND(cmd, addr, size) ((cmd) | MK_PEXDCMND_BYTE_EN(addr, size)) |
| #define | MK_PEXCADRS_BYTE_EN(off, len) ((((0x1 << (len)) - 1) << ((off) & 0x3)) << PEXCADRS_BYTE_EN_SHIFT) |
| #define | MK_PEXCADRS(cmd, addr, size) ((cmd) | MK_PEXCADRS_BYTE_EN(addr, size) | ((addr) & ~0x3)) |
Variables | |
| struct celleb_phb_spec celleb_pciex_spec | __initdata |
| #define __le8 u8 |
Definition at line 239 of file celleb_scc_pciex.c.
Definition at line 240 of file celleb_scc_pciex.c.
Definition at line 241 of file celleb_scc_pciex.c.
Definition at line 341 of file celleb_scc_pciex.c.
| #define MK_PEXCADRS_BYTE_EN | ( | off, | |
| len | |||
| ) | ((((0x1 << (len)) - 1) << ((off) & 0x3)) << PEXCADRS_BYTE_EN_SHIFT) |
Definition at line 339 of file celleb_scc_pciex.c.
| #define MK_PEXDADRS | ( | bus_no, | |
| dev_no, | |||
| func_no, | |||
| addr | |||
| ) |
Definition at line 299 of file celleb_scc_pciex.c.
Definition at line 307 of file celleb_scc_pciex.c.
| #define MK_PEXDCMND_BYTE_EN | ( | addr, | |
| size | |||
| ) | ((((0x1 << (size))-1) << ((addr) & 0x3)) << PEXDCMND_BYTE_EN_SHIFT) |
Definition at line 305 of file celleb_scc_pciex.c.
| #define PCIEX_MMIO_READ_STR | ( | name | ) |
Definition at line 40 of file celleb_scc_pciex.c.
Definition at line 41 of file celleb_scc_pciex.c.
| struct celleb_phb_spec celleb_pciex_spec __initdata |
Definition at line 537 of file celleb_scc_pciex.c.
1.8.2