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/irqreturn.h>

Go to the source code of this file.

Macros

#define HW_ACCESS_MEMORY_MAX_RANGE   0x1FFC0
 
#define HW_PARTITION_REGISTERS_ADDR   0x1FFC0
 
#define HW_PART0_SIZE_ADDR   (HW_PARTITION_REGISTERS_ADDR)
 
#define HW_PART0_START_ADDR   (HW_PARTITION_REGISTERS_ADDR + 4)
 
#define HW_PART1_SIZE_ADDR   (HW_PARTITION_REGISTERS_ADDR + 8)
 
#define HW_PART1_START_ADDR   (HW_PARTITION_REGISTERS_ADDR + 12)
 
#define HW_PART2_SIZE_ADDR   (HW_PARTITION_REGISTERS_ADDR + 16)
 
#define HW_PART2_START_ADDR   (HW_PARTITION_REGISTERS_ADDR + 20)
 
#define HW_PART3_START_ADDR   (HW_PARTITION_REGISTERS_ADDR + 24)
 
#define HW_ACCESS_REGISTER_SIZE   4
 
#define HW_ACCESS_PRAM_MAX_RANGE   0x3c000
 

Functions

void wlcore_disable_interrupts (struct wl1271 *wl)
 
void wlcore_disable_interrupts_nosync (struct wl1271 *wl)
 
void wlcore_enable_interrupts (struct wl1271 *wl)
 
void wlcore_synchronize_interrupts (struct wl1271 *wl)
 
void wl1271_io_reset (struct wl1271 *wl)
 
void wl1271_io_init (struct wl1271 *wl)
 
int wlcore_translate_addr (struct wl1271 *wl, int addr)
 
int wlcore_set_partition (struct wl1271 *wl, const struct wlcore_partition_set *p)
 
bool wl1271_set_block_size (struct wl1271 *wl)
 
int wl1271_tx_dummy_packet (struct wl1271 *wl)
 

Macro Definition Documentation

#define HW_ACCESS_MEMORY_MAX_RANGE   0x1FFC0

Definition at line 30 of file io.h.

#define HW_ACCESS_PRAM_MAX_RANGE   0x3c000

Definition at line 43 of file io.h.

#define HW_ACCESS_REGISTER_SIZE   4

Definition at line 41 of file io.h.

#define HW_PART0_SIZE_ADDR   (HW_PARTITION_REGISTERS_ADDR)

Definition at line 33 of file io.h.

#define HW_PART0_START_ADDR   (HW_PARTITION_REGISTERS_ADDR + 4)

Definition at line 34 of file io.h.

#define HW_PART1_SIZE_ADDR   (HW_PARTITION_REGISTERS_ADDR + 8)

Definition at line 35 of file io.h.

#define HW_PART1_START_ADDR   (HW_PARTITION_REGISTERS_ADDR + 12)

Definition at line 36 of file io.h.

#define HW_PART2_SIZE_ADDR   (HW_PARTITION_REGISTERS_ADDR + 16)

Definition at line 37 of file io.h.

#define HW_PART2_START_ADDR   (HW_PARTITION_REGISTERS_ADDR + 20)

Definition at line 38 of file io.h.

#define HW_PART3_START_ADDR   (HW_PARTITION_REGISTERS_ADDR + 24)

Definition at line 39 of file io.h.

#define HW_PARTITION_REGISTERS_ADDR   0x1FFC0

Definition at line 32 of file io.h.

Function Documentation

void wl1271_io_init ( struct wl1271 wl)

Definition at line 196 of file io.c.

void wl1271_io_reset ( struct wl1271 wl)

Definition at line 190 of file io.c.

bool wl1271_set_block_size ( struct wl1271 wl)

Definition at line 35 of file io.c.

int wl1271_tx_dummy_packet ( struct wl1271 wl)

Definition at line 1228 of file main.c.

void wlcore_disable_interrupts ( struct wl1271 wl)

Definition at line 45 of file io.c.

void wlcore_disable_interrupts_nosync ( struct wl1271 wl)

Definition at line 51 of file io.c.

void wlcore_enable_interrupts ( struct wl1271 wl)

Definition at line 57 of file io.c.

int wlcore_set_partition ( struct wl1271 wl,
const struct wlcore_partition_set p 
)

Definition at line 137 of file io.c.

void wlcore_synchronize_interrupts ( struct wl1271 wl)

Definition at line 63 of file io.c.

int wlcore_translate_addr ( struct wl1271 wl,
int  addr 
)

Definition at line 69 of file io.c.