Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wpan-phy.h File Reference
#include <linux/netdevice.h>
#include <linux/mutex.h>
#include <linux/bug.h>

Go to the source code of this file.

Data Structures

struct  wpan_phy
 

Macros

#define WPAN_NUM_CHANNELS   27
 
#define WPAN_NUM_PAGES   32
 
#define to_phy(_dev)   container_of(_dev, struct wpan_phy, dev)
 

Functions

struct wpan_phywpan_phy_alloc (size_t priv_size)
 
int wpan_phy_register (struct wpan_phy *phy)
 
void wpan_phy_unregister (struct wpan_phy *phy)
 
void wpan_phy_free (struct wpan_phy *phy)
 
int wpan_phy_for_each (int(*fn)(struct wpan_phy *phy, void *data), void *data)
 
struct wpan_phywpan_phy_find (const char *str)
 

Macro Definition Documentation

#define to_phy (   _dev)    container_of(_dev, struct wpan_phy, dev)

Definition at line 60 of file wpan-phy.h.

#define WPAN_NUM_CHANNELS   27

Definition at line 33 of file wpan-phy.h.

#define WPAN_NUM_PAGES   32

Definition at line 34 of file wpan-phy.h.

Function Documentation

struct wpan_phy* wpan_phy_alloc ( size_t  priv_size)
read

Definition at line 145 of file wpan-class.c.

struct wpan_phy* wpan_phy_find ( const char str)
read

Definition at line 99 of file wpan-class.c.

int wpan_phy_for_each ( int(*)(struct wpan_phy *phy, void *data fn,
void data 
)

Definition at line 127 of file wpan-class.c.

void wpan_phy_free ( struct wpan_phy phy)

Definition at line 191 of file wpan-class.c.

int wpan_phy_register ( struct wpan_phy phy)

Definition at line 179 of file wpan-class.c.

void wpan_phy_unregister ( struct wpan_phy phy)

Definition at line 185 of file wpan-class.c.