Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pio.h File Reference
#include "b43.h"
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/list.h>
#include <linux/skbuff.h>

Go to the source code of this file.

Data Structures

struct  b43_pio_txpacket
 
struct  b43_pio_txqueue
 
struct  b43_pio_rxqueue
 

Macros

#define B43_PIO_TXCTL   0x00
 
#define B43_PIO_TXCTL_WRITELO   0x0001
 
#define B43_PIO_TXCTL_WRITEHI   0x0002
 
#define B43_PIO_TXCTL_EOF   0x0004
 
#define B43_PIO_TXCTL_FREADY   0x0008
 
#define B43_PIO_TXCTL_FLUSHREQ   0x0020
 
#define B43_PIO_TXCTL_FLUSHPEND   0x0040
 
#define B43_PIO_TXCTL_SUSPREQ   0x0080
 
#define B43_PIO_TXCTL_QSUSP   0x0100
 
#define B43_PIO_TXCTL_COMMCNT   0xFC00
 
#define B43_PIO_TXCTL_COMMCNT_SHIFT   10
 
#define B43_PIO_TXDATA   0x02
 
#define B43_PIO_TXQBUFSIZE   0x04
 
#define B43_PIO_RXCTL   0x00
 
#define B43_PIO_RXCTL_FRAMERDY   0x0001
 
#define B43_PIO_RXCTL_DATARDY   0x0002
 
#define B43_PIO_RXDATA   0x02
 
#define B43_PIO8_TXCTL   0x00
 
#define B43_PIO8_TXCTL_0_7   0x00000001
 
#define B43_PIO8_TXCTL_8_15   0x00000002
 
#define B43_PIO8_TXCTL_16_23   0x00000004
 
#define B43_PIO8_TXCTL_24_31   0x00000008
 
#define B43_PIO8_TXCTL_EOF   0x00000010
 
#define B43_PIO8_TXCTL_FREADY   0x00000080
 
#define B43_PIO8_TXCTL_SUSPREQ   0x00000100
 
#define B43_PIO8_TXCTL_QSUSP   0x00000200
 
#define B43_PIO8_TXCTL_FLUSHREQ   0x00000400
 
#define B43_PIO8_TXCTL_FLUSHPEND   0x00000800
 
#define B43_PIO8_TXDATA   0x04
 
#define B43_PIO8_RXCTL   0x00
 
#define B43_PIO8_RXCTL_FRAMERDY   0x00000001
 
#define B43_PIO8_RXCTL_DATARDY   0x00000002
 
#define B43_PIO8_RXDATA   0x04
 
#define B43_PIO_MAX_NR_TXPACKETS   32
 

Functions

int b43_pio_init (struct b43_wldev *dev)
 
void b43_pio_free (struct b43_wldev *dev)
 
int b43_pio_tx (struct b43_wldev *dev, struct sk_buff *skb)
 
void b43_pio_handle_txstatus (struct b43_wldev *dev, const struct b43_txstatus *status)
 
void b43_pio_rx (struct b43_pio_rxqueue *q)
 
void b43_pio_tx_suspend (struct b43_wldev *dev)
 
void b43_pio_tx_resume (struct b43_wldev *dev)
 

Macro Definition Documentation

#define B43_PIO8_RXCTL   0x00

Definition at line 48 of file pio.h.

#define B43_PIO8_RXCTL_DATARDY   0x00000002

Definition at line 50 of file pio.h.

#define B43_PIO8_RXCTL_FRAMERDY   0x00000001

Definition at line 49 of file pio.h.

#define B43_PIO8_RXDATA   0x04

Definition at line 51 of file pio.h.

#define B43_PIO8_TXCTL   0x00

Definition at line 35 of file pio.h.

#define B43_PIO8_TXCTL_0_7   0x00000001

Definition at line 36 of file pio.h.

#define B43_PIO8_TXCTL_16_23   0x00000004

Definition at line 38 of file pio.h.

#define B43_PIO8_TXCTL_24_31   0x00000008

Definition at line 39 of file pio.h.

#define B43_PIO8_TXCTL_8_15   0x00000002

Definition at line 37 of file pio.h.

#define B43_PIO8_TXCTL_EOF   0x00000010

Definition at line 40 of file pio.h.

#define B43_PIO8_TXCTL_FLUSHPEND   0x00000800

Definition at line 45 of file pio.h.

#define B43_PIO8_TXCTL_FLUSHREQ   0x00000400

Definition at line 44 of file pio.h.

#define B43_PIO8_TXCTL_FREADY   0x00000080

Definition at line 41 of file pio.h.

#define B43_PIO8_TXCTL_QSUSP   0x00000200

Definition at line 43 of file pio.h.

#define B43_PIO8_TXCTL_SUSPREQ   0x00000100

Definition at line 42 of file pio.h.

#define B43_PIO8_TXDATA   0x04

Definition at line 46 of file pio.h.

#define B43_PIO_MAX_NR_TXPACKETS   32

Definition at line 55 of file pio.h.

#define B43_PIO_RXCTL   0x00

Definition at line 28 of file pio.h.

#define B43_PIO_RXCTL_DATARDY   0x0002

Definition at line 30 of file pio.h.

#define B43_PIO_RXCTL_FRAMERDY   0x0001

Definition at line 29 of file pio.h.

#define B43_PIO_RXDATA   0x02

Definition at line 31 of file pio.h.

#define B43_PIO_TXCTL   0x00

Definition at line 14 of file pio.h.

#define B43_PIO_TXCTL_COMMCNT   0xFC00

Definition at line 23 of file pio.h.

#define B43_PIO_TXCTL_COMMCNT_SHIFT   10

Definition at line 24 of file pio.h.

#define B43_PIO_TXCTL_EOF   0x0004

Definition at line 17 of file pio.h.

#define B43_PIO_TXCTL_FLUSHPEND   0x0040

Definition at line 20 of file pio.h.

#define B43_PIO_TXCTL_FLUSHREQ   0x0020

Definition at line 19 of file pio.h.

#define B43_PIO_TXCTL_FREADY   0x0008

Definition at line 18 of file pio.h.

#define B43_PIO_TXCTL_QSUSP   0x0100

Definition at line 22 of file pio.h.

#define B43_PIO_TXCTL_SUSPREQ   0x0080

Definition at line 21 of file pio.h.

#define B43_PIO_TXCTL_WRITEHI   0x0002

Definition at line 16 of file pio.h.

#define B43_PIO_TXCTL_WRITELO   0x0001

Definition at line 15 of file pio.h.

#define B43_PIO_TXDATA   0x02

Definition at line 25 of file pio.h.

#define B43_PIO_TXQBUFSIZE   0x04

Definition at line 26 of file pio.h.

Function Documentation

void b43_pio_free ( struct b43_wldev dev)

Definition at line 232 of file pio.c.

void b43_pio_handle_txstatus ( struct b43_wldev dev,
const struct b43_txstatus status 
)

Definition at line 576 of file pio.c.

int b43_pio_init ( struct b43_wldev dev)

Definition at line 248 of file pio.c.

void b43_pio_rx ( struct b43_pio_rxqueue q)

Definition at line 775 of file pio.c.

int b43_pio_tx ( struct b43_wldev dev,
struct sk_buff skb 
)

Definition at line 502 of file pio.c.

void b43_pio_tx_resume ( struct b43_wldev dev)

Definition at line 826 of file pio.c.

void b43_pio_tx_suspend ( struct b43_wldev dev)

Definition at line 816 of file pio.c.