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

Go to the source code of this file.

Macros

#define arch_has_dev_port()   (1)
 

Functions

void __iowrite32_copy (void __iomem *to, const void *from, size_t count)
 
void __iowrite64_copy (void __iomem *to, const void *from, size_t count)
 
void __iomemdevm_ioremap (struct device *dev, resource_size_t offset, unsigned long size)
 
void __iomemdevm_ioremap_nocache (struct device *dev, resource_size_t offset, unsigned long size)
 
void devm_iounmap (struct device *dev, void __iomem *addr)
 
int check_signature (const volatile void __iomem *io_addr, const unsigned char *signature, int length)
 
void devm_ioremap_release (struct device *dev, void *res)
 

Macro Definition Documentation

#define arch_has_dev_port ( )    (1)

Definition at line 76 of file io.h.

Function Documentation

void __iowrite32_copy ( void __iomem to,
const void from,
size_t  count 
)
void __iowrite64_copy ( void __iomem to,
const void from,
size_t  count 
)
int check_signature ( const volatile void __iomem io_addr,
const unsigned char signature,
int  length 
)

check_signature - find BIOS signatures : mmio address to check : signature block : length of signature

Perform a signature comparison with the mmio address io_addr. This address should have been obtained by ioremap. Returns 1 on a match.

Definition at line 15 of file check_signature.c.

void __iomem* devm_ioremap ( struct device dev,
resource_size_t  offset,
unsigned long  size 
)

devm_ioremap - Managed ioremap() : Generic device to remap IO address for : BUS offset to map : Size of map

Managed ioremap(). Map is automatically unmapped on driver detach.

Definition at line 24 of file devres.c.

void __iomem* devm_ioremap_nocache ( struct device dev,
resource_size_t  offset,
unsigned long  size 
)

devm_ioremap_nocache - Managed ioremap_nocache() : Generic device to remap IO address for : BUS offset to map : Size of map

Managed ioremap_nocache(). Map is automatically unmapped on driver detach.

Definition at line 53 of file devres.c.

void devm_ioremap_release ( struct device dev,
void res 
)

Definition at line 6 of file devres.c.

void devm_iounmap ( struct device dev,
void __iomem addr 
)

devm_iounmap - Managed iounmap() : Generic device to unmap for : Address to unmap

Managed iounmap(). must have been mapped using devm_ioremap*().

Definition at line 80 of file devres.c.