Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
whci.c File Reference
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/slab.h>
#include <linux/uwb/whci.h>
#include <linux/uwb/umc.h>

Go to the source code of this file.

Data Structures

struct  whci_card
 

Functions

int whci_wait_for (struct device *dev, u32 __iomem *reg, u32 mask, u32 result, unsigned long max_ms, const char *tag)
 
 EXPORT_SYMBOL_GPL (whci_wait_for)
 
 MODULE_DEVICE_TABLE (pci, whci_id_table)
 
 module_init (whci_init)
 
 module_exit (whci_exit)
 
 MODULE_DESCRIPTION ("WHCI UWB Multi-interface Controller enumerator")
 
 MODULE_AUTHOR ("Cambridge Silicon Radio Ltd.")
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

EXPORT_SYMBOL_GPL ( whci_wait_for  )
MODULE_AUTHOR ( "Cambridge Silicon Radio Ltd."  )
MODULE_DESCRIPTION ( "WHCI UWB Multi-interface Controller enumerator"  )
MODULE_DEVICE_TABLE ( pci  ,
whci_id_table   
)
module_exit ( whci_exit  )
module_init ( whci_init  )
MODULE_LICENSE ( "GPL"  )
int whci_wait_for ( struct device dev,
u32 __iomem reg,
u32  mask,
u32  result,
unsigned long  max_ms,
const char tag 
)

whci_wait_for - wait for a WHCI register to be set

Polls (for at most ms) until '* & ==

Returns
'.

Definition at line 63 of file whci.c.