Lines Matching defs:wl
21 bool wl1271_set_block_size(struct wl1271 *wl)
23 if (wl->if_ops->set_block_size) {
24 wl->if_ops->set_block_size(wl->dev, WL12XX_BUS_BLOCK_SIZE);
31 void wlcore_disable_interrupts(struct wl1271 *wl)
33 disable_irq(wl->irq);
37 void wlcore_disable_interrupts_nosync(struct wl1271 *wl)
39 disable_irq_nosync(wl->irq);
43 void wlcore_enable_interrupts(struct wl1271 *wl)
45 enable_irq(wl->irq);
49 void wlcore_synchronize_interrupts(struct wl1271 *wl)
51 synchronize_irq(wl->irq);
55 int wlcore_translate_addr(struct wl1271 *wl, int addr)
57 struct wlcore_partition_set *part = &wl->curr_part;
123 int wlcore_set_partition(struct wl1271 *wl,
129 memcpy(&wl->curr_part, p, sizeof(*p));
140 ret = wlcore_raw_write32(wl, HW_PART0_START_ADDR, p->mem.start);
144 ret = wlcore_raw_write32(wl, HW_PART0_SIZE_ADDR, p->mem.size);
148 ret = wlcore_raw_write32(wl, HW_PART1_START_ADDR, p->reg.start);
152 ret = wlcore_raw_write32(wl, HW_PART1_SIZE_ADDR, p->reg.size);
156 ret = wlcore_raw_write32(wl, HW_PART2_START_ADDR, p->mem2.start);
160 ret = wlcore_raw_write32(wl, HW_PART2_SIZE_ADDR, p->mem2.size);
175 ret = wlcore_raw_write32(wl, HW_PART3_START_ADDR, p->mem3.start);
179 ret = wlcore_raw_write32(wl, HW_PART3_SIZE_ADDR, p->mem3.size);
188 void wl1271_io_reset(struct wl1271 *wl)
190 if (wl->if_ops->reset)
191 wl->if_ops->reset(wl->dev);
194 void wl1271_io_init(struct wl1271 *wl)
196 if (wl->if_ops->init)
197 wl->if_ops->init(wl->dev);