#ifndef __WL1251_IO_H__
#define __WL1251_IO_H__
#include "wl1251.h"
#define HW_ACCESS_MEMORY_MAX_RANGE …
#define HW_ACCESS_PART0_SIZE_ADDR …
#define HW_ACCESS_PART0_START_ADDR …
#define HW_ACCESS_PART1_SIZE_ADDR …
#define HW_ACCESS_PART1_START_ADDR …
#define HW_ACCESS_REGISTER_SIZE …
#define HW_ACCESS_PRAM_MAX_RANGE …
static inline u32 wl1251_read32(struct wl1251 *wl, int addr)
{ … }
static inline void wl1251_write32(struct wl1251 *wl, int addr, u32 val)
{ … }
static inline u32 wl1251_read_elp(struct wl1251 *wl, int addr)
{ … }
static inline void wl1251_write_elp(struct wl1251 *wl, int addr, u32 val)
{ … }
void wl1251_mem_read(struct wl1251 *wl, int addr, void *buf, size_t len);
void wl1251_mem_write(struct wl1251 *wl, int addr, void *buf, size_t len);
u32 wl1251_mem_read32(struct wl1251 *wl, int addr);
void wl1251_mem_write32(struct wl1251 *wl, int addr, u32 val);
u32 wl1251_reg_read32(struct wl1251 *wl, int addr);
void wl1251_reg_write32(struct wl1251 *wl, int addr, u32 val);
void wl1251_set_partition(struct wl1251 *wl,
u32 part_start, u32 part_size,
u32 reg_start, u32 reg_size);
#endif