Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
machvec.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Macros

#define platform_setup   machvec_setup
 
#define platform_cpu_init   machvec_noop
 
#define platform_irq_init   machvec_noop
 
#define platform_send_ipi   ia64_send_ipi /* default to architected version */
 
#define platform_timer_interrupt   machvec_timer_interrupt
 
#define platform_global_tlb_purge   ia64_global_tlb_purge /* default to architected version */
 
#define platform_tlb_migrate_finish   machvec_noop_mm
 
#define platform_kernel_launch_event   machvec_noop
 
#define platform_dma_init   swiotlb_dma_init
 
#define platform_dma_get_ops   dma_get_ops
 
#define platform_dma_get_required_mask   ia64_dma_get_required_mask
 
#define platform_irq_to_vector   __ia64_irq_to_vector
 
#define platform_local_vector_to_irq   __ia64_local_vector_to_irq
 
#define platform_pci_get_legacy_mem   ia64_pci_get_legacy_mem
 
#define platform_pci_legacy_read   ia64_pci_legacy_read
 
#define platform_pci_legacy_write   ia64_pci_legacy_write
 
#define platform_inb   __ia64_inb
 
#define platform_inw   __ia64_inw
 
#define platform_inl   __ia64_inl
 
#define platform_outb   __ia64_outb
 
#define platform_outw   __ia64_outw
 
#define platform_outl   __ia64_outl
 
#define platform_mmiowb   __ia64_mmiowb
 
#define platform_readb   __ia64_readb
 
#define platform_readw   __ia64_readw
 
#define platform_readl   __ia64_readl
 
#define platform_readq   __ia64_readq
 
#define platform_readb_relaxed   __ia64_readb_relaxed
 
#define platform_readw_relaxed   __ia64_readw_relaxed
 
#define platform_readl_relaxed   __ia64_readl_relaxed
 
#define platform_readq_relaxed   __ia64_readq_relaxed
 
#define platform_migrate   machvec_noop_task
 
#define platform_setup_msi_irq   ((ia64_mv_setup_msi_irq_t*)NULL)
 
#define platform_teardown_msi_irq   ((ia64_mv_teardown_msi_irq_t*)NULL)
 
#define platform_pci_fixup_bus   machvec_noop_bus
 

Typedefs

typedef void ia64_mv_setup_t (char **)
 
typedef void ia64_mv_cpu_init_t (void)
 
typedef void ia64_mv_irq_init_t (void)
 
typedef void ia64_mv_send_ipi_t (int, int, int, int)
 
typedef void ia64_mv_timer_interrupt_t (int, void *)
 
typedef void ia64_mv_global_tlb_purge_t (struct mm_struct *, unsigned long, unsigned long, unsigned long)
 
typedef void ia64_mv_tlb_migrate_finish_t (struct mm_struct *)
 
typedef u8 ia64_mv_irq_to_vector (int)
 
typedef unsigned int ia64_mv_local_vector_to_irq (u8)
 
typedef charia64_mv_pci_get_legacy_mem_t (struct pci_bus *)
 
typedef int ia64_mv_pci_legacy_read_t (struct pci_bus *, u16 port, u32 *val, u8 size)
 
typedef int ia64_mv_pci_legacy_write_t (struct pci_bus *, u16 port, u32 val, u8 size)
 
typedef void ia64_mv_migrate_t (struct task_struct *task)
 
typedef void ia64_mv_pci_fixup_bus_t (struct pci_bus *)
 
typedef void ia64_mv_kernel_launch_event_t (void)
 
typedef void ia64_mv_dma_init (void)
 
typedef u64 ia64_mv_dma_get_required_mask (struct device *)
 
typedef struct dma_map_opsia64_mv_dma_get_ops (struct device *)
 
typedef unsigned int ia64_mv_inb_t (unsigned long)
 
typedef unsigned int ia64_mv_inw_t (unsigned long)
 
typedef unsigned int ia64_mv_inl_t (unsigned long)
 
typedef void ia64_mv_outb_t (unsigned char, unsigned long)
 
typedef void ia64_mv_outw_t (unsigned short, unsigned long)
 
typedef void ia64_mv_outl_t (unsigned int, unsigned long)
 
typedef void ia64_mv_mmiowb_t (void)
 
typedef unsigned char ia64_mv_readb_t (const volatile void __iomem *)
 
typedef unsigned short ia64_mv_readw_t (const volatile void __iomem *)
 
typedef unsigned int ia64_mv_readl_t (const volatile void __iomem *)
 
typedef unsigned long ia64_mv_readq_t (const volatile void __iomem *)
 
typedef unsigned char ia64_mv_readb_relaxed_t (const volatile void __iomem *)
 
typedef unsigned short ia64_mv_readw_relaxed_t (const volatile void __iomem *)
 
typedef unsigned int ia64_mv_readl_relaxed_t (const volatile void __iomem *)
 
typedef unsigned long ia64_mv_readq_relaxed_t (const volatile void __iomem *)
 
typedef int ia64_mv_setup_msi_irq_t (struct pci_dev *pdev, struct msi_desc *)
 
typedef void ia64_mv_teardown_msi_irq_t (unsigned int irq)
 

Functions

void machvec_setup (char **)
 
void machvec_timer_interrupt (int, void *)
 
void machvec_tlb_migrate_finish (struct mm_struct *)
 
void swiotlb_dma_init (void)
 
struct dma_map_opsdma_get_ops (struct device *)
 
int ia64_pci_legacy_read (struct pci_bus *bus, u16 port, u32 *val, u8 size)
 
int ia64_pci_legacy_write (struct pci_bus *bus, u16 port, u32 val, u8 size)
 

Macro Definition Documentation

#define platform_cpu_init   machvec_noop

Definition at line 264 of file machvec.h.

#define platform_dma_get_ops   dma_get_ops

Definition at line 289 of file machvec.h.

#define platform_dma_get_required_mask   ia64_dma_get_required_mask

Definition at line 292 of file machvec.h.

#define platform_dma_init   swiotlb_dma_init

Definition at line 286 of file machvec.h.

#define platform_global_tlb_purge   ia64_global_tlb_purge /* default to architected version */

Definition at line 277 of file machvec.h.

#define platform_inb   __ia64_inb

Definition at line 312 of file machvec.h.

#define platform_inl   __ia64_inl

Definition at line 318 of file machvec.h.

#define platform_inw   __ia64_inw

Definition at line 315 of file machvec.h.

#define platform_irq_init   machvec_noop

Definition at line 267 of file machvec.h.

#define platform_irq_to_vector   __ia64_irq_to_vector

Definition at line 295 of file machvec.h.

#define platform_kernel_launch_event   machvec_noop

Definition at line 283 of file machvec.h.

#define platform_local_vector_to_irq   __ia64_local_vector_to_irq

Definition at line 298 of file machvec.h.

#define platform_migrate   machvec_noop_task

Definition at line 357 of file machvec.h.

#define platform_mmiowb   __ia64_mmiowb

Definition at line 330 of file machvec.h.

#define platform_outb   __ia64_outb

Definition at line 321 of file machvec.h.

#define platform_outl   __ia64_outl

Definition at line 327 of file machvec.h.

#define platform_outw   __ia64_outw

Definition at line 324 of file machvec.h.

#define platform_pci_fixup_bus   machvec_noop_bus

Definition at line 366 of file machvec.h.

#define platform_pci_get_legacy_mem   ia64_pci_get_legacy_mem

Definition at line 301 of file machvec.h.

#define platform_pci_legacy_read   ia64_pci_legacy_read

Definition at line 304 of file machvec.h.

#define platform_pci_legacy_write   ia64_pci_legacy_write

Definition at line 308 of file machvec.h.

#define platform_readb   __ia64_readb

Definition at line 333 of file machvec.h.

#define platform_readb_relaxed   __ia64_readb_relaxed

Definition at line 345 of file machvec.h.

#define platform_readl   __ia64_readl

Definition at line 339 of file machvec.h.

#define platform_readl_relaxed   __ia64_readl_relaxed

Definition at line 351 of file machvec.h.

#define platform_readq   __ia64_readq

Definition at line 342 of file machvec.h.

#define platform_readq_relaxed   __ia64_readq_relaxed

Definition at line 354 of file machvec.h.

#define platform_readw   __ia64_readw

Definition at line 336 of file machvec.h.

#define platform_readw_relaxed   __ia64_readw_relaxed

Definition at line 348 of file machvec.h.

#define platform_send_ipi   ia64_send_ipi /* default to architected version */

Definition at line 271 of file machvec.h.

#define platform_setup   machvec_setup

Definition at line 261 of file machvec.h.

#define platform_setup_msi_irq   ((ia64_mv_setup_msi_irq_t*)NULL)

Definition at line 360 of file machvec.h.

#define platform_teardown_msi_irq   ((ia64_mv_teardown_msi_irq_t*)NULL)

Definition at line 363 of file machvec.h.

#define platform_timer_interrupt   machvec_timer_interrupt

Definition at line 274 of file machvec.h.

#define platform_tlb_migrate_finish   machvec_noop_mm

Definition at line 280 of file machvec.h.

Typedef Documentation

typedef void ia64_mv_cpu_init_t(void)

Definition at line 28 of file machvec.h.

typedef struct dma_map_ops* ia64_mv_dma_get_ops(struct device *)
read

Definition at line 48 of file machvec.h.

typedef u64 ia64_mv_dma_get_required_mask(struct device *)

Definition at line 47 of file machvec.h.

typedef void ia64_mv_dma_init(void)

Definition at line 46 of file machvec.h.

typedef void ia64_mv_global_tlb_purge_t(struct mm_struct *, unsigned long, unsigned long, unsigned long)

Definition at line 32 of file machvec.h.

typedef unsigned int ia64_mv_inb_t(unsigned long)

Definition at line 59 of file machvec.h.

typedef unsigned int ia64_mv_inl_t(unsigned long)

Definition at line 61 of file machvec.h.

typedef unsigned int ia64_mv_inw_t(unsigned long)

Definition at line 60 of file machvec.h.

typedef void ia64_mv_irq_init_t(void)

Definition at line 29 of file machvec.h.

typedef u8 ia64_mv_irq_to_vector(int)

Definition at line 34 of file machvec.h.

typedef void ia64_mv_kernel_launch_event_t(void)

Definition at line 43 of file machvec.h.

typedef unsigned int ia64_mv_local_vector_to_irq(u8)

Definition at line 35 of file machvec.h.

typedef void ia64_mv_migrate_t(struct task_struct *task)

Definition at line 41 of file machvec.h.

typedef void ia64_mv_mmiowb_t(void)

Definition at line 65 of file machvec.h.

typedef void ia64_mv_outb_t(unsigned char, unsigned long)

Definition at line 62 of file machvec.h.

typedef void ia64_mv_outl_t(unsigned int, unsigned long)

Definition at line 64 of file machvec.h.

typedef void ia64_mv_outw_t(unsigned short, unsigned long)

Definition at line 63 of file machvec.h.

typedef void ia64_mv_pci_fixup_bus_t(struct pci_bus *)

Definition at line 42 of file machvec.h.

typedef char* ia64_mv_pci_get_legacy_mem_t(struct pci_bus *)

Definition at line 36 of file machvec.h.

typedef int ia64_mv_pci_legacy_read_t(struct pci_bus *, u16 port, u32 *val, u8 size)

Definition at line 37 of file machvec.h.

typedef int ia64_mv_pci_legacy_write_t(struct pci_bus *, u16 port, u32 val, u8 size)

Definition at line 39 of file machvec.h.

typedef unsigned char ia64_mv_readb_relaxed_t(const volatile void __iomem *)

Definition at line 70 of file machvec.h.

typedef unsigned char ia64_mv_readb_t(const volatile void __iomem *)

Definition at line 66 of file machvec.h.

typedef unsigned int ia64_mv_readl_relaxed_t(const volatile void __iomem *)

Definition at line 72 of file machvec.h.

typedef unsigned int ia64_mv_readl_t(const volatile void __iomem *)

Definition at line 68 of file machvec.h.

typedef unsigned long ia64_mv_readq_relaxed_t(const volatile void __iomem *)

Definition at line 73 of file machvec.h.

typedef unsigned long ia64_mv_readq_t(const volatile void __iomem *)

Definition at line 69 of file machvec.h.

typedef unsigned short ia64_mv_readw_relaxed_t(const volatile void __iomem *)

Definition at line 71 of file machvec.h.

typedef unsigned short ia64_mv_readw_t(const volatile void __iomem *)

Definition at line 67 of file machvec.h.

typedef void ia64_mv_send_ipi_t(int, int, int, int)

Definition at line 30 of file machvec.h.

typedef int ia64_mv_setup_msi_irq_t(struct pci_dev *pdev, struct msi_desc *)

Definition at line 75 of file machvec.h.

typedef void ia64_mv_setup_t(char **)

Definition at line 27 of file machvec.h.

typedef void ia64_mv_teardown_msi_irq_t(unsigned int irq)

Definition at line 76 of file machvec.h.

typedef void ia64_mv_timer_interrupt_t(int, void *)

Definition at line 31 of file machvec.h.

typedef void ia64_mv_tlb_migrate_finish_t(struct mm_struct *)

Definition at line 33 of file machvec.h.

Function Documentation

struct dma_map_ops* dma_get_ops ( struct device )
read

Definition at line 20 of file dma-mapping.c.

int ia64_pci_legacy_read ( struct pci_bus bus,
u16  port,
u32 val,
u8  size 
)

ia64_pci_legacy_read - read from legacy I/O space : bus to read : legacy port value : caller allocated storage for returned value : number of bytes to read

Simply reads bytes from and puts the result in .

Again, this (and the write routine) are generic versions that can be overridden by the platform. This is necessary on platforms that don't support legacy I/O routing or that hard fail on legacy I/O timeouts.

Definition at line 611 of file pci.c.

int ia64_pci_legacy_write ( struct pci_bus bus,
u16  port,
u32  val,
u8  size 
)

ia64_pci_legacy_write - perform a legacy I/O write : bus pointer : port to write : value to write : number of bytes to write from

Simply writes bytes of to .

Definition at line 642 of file pci.c.

void machvec_setup ( char **  )

Definition at line 65 of file machvec.c.

void machvec_timer_interrupt ( int  ,
void  
)

Definition at line 71 of file machvec.c.

void machvec_tlb_migrate_finish ( struct mm_struct )
void swiotlb_dma_init ( void  )

Definition at line 48 of file pci-swiotlb.c.