• Home
  • Raw
  • Download

Lines Matching refs:wl

23 static inline u32 wl1251_read32(struct wl1251 *wl, int addr)  in wl1251_read32()  argument
25 wl->if_ops->read(wl, addr, &wl->buffer_32, sizeof(wl->buffer_32)); in wl1251_read32()
27 return le32_to_cpu(wl->buffer_32); in wl1251_read32()
30 static inline void wl1251_write32(struct wl1251 *wl, int addr, u32 val) in wl1251_write32() argument
32 wl->buffer_32 = cpu_to_le32(val); in wl1251_write32()
33 wl->if_ops->write(wl, addr, &wl->buffer_32, sizeof(wl->buffer_32)); in wl1251_write32()
36 static inline u32 wl1251_read_elp(struct wl1251 *wl, int addr) in wl1251_read_elp() argument
40 if (wl->if_ops->read_elp) in wl1251_read_elp()
41 wl->if_ops->read_elp(wl, addr, &response); in wl1251_read_elp()
43 wl->if_ops->read(wl, addr, &response, sizeof(u32)); in wl1251_read_elp()
48 static inline void wl1251_write_elp(struct wl1251 *wl, int addr, u32 val) in wl1251_write_elp() argument
50 if (wl->if_ops->write_elp) in wl1251_write_elp()
51 wl->if_ops->write_elp(wl, addr, val); in wl1251_write_elp()
53 wl->if_ops->write(wl, addr, &val, sizeof(u32)); in wl1251_write_elp()
57 void wl1251_mem_read(struct wl1251 *wl, int addr, void *buf, size_t len);
58 void wl1251_mem_write(struct wl1251 *wl, int addr, void *buf, size_t len);
59 u32 wl1251_mem_read32(struct wl1251 *wl, int addr);
60 void wl1251_mem_write32(struct wl1251 *wl, int addr, u32 val);
62 u32 wl1251_reg_read32(struct wl1251 *wl, int addr);
63 void wl1251_reg_write32(struct wl1251 *wl, int addr, u32 val);
65 void wl1251_set_partition(struct wl1251 *wl,