Lines Matching full:part
3 * This file is part of wl1271
57 struct wlcore_partition_set *part = &wl->curr_part; in wlcore_translate_addr() local
69 if ((addr >= part->mem.start) && in wlcore_translate_addr()
70 (addr < part->mem.start + part->mem.size)) in wlcore_translate_addr()
71 return addr - part->mem.start; in wlcore_translate_addr()
72 else if ((addr >= part->reg.start) && in wlcore_translate_addr()
73 (addr < part->reg.start + part->reg.size)) in wlcore_translate_addr()
74 return addr - part->reg.start + part->mem.size; in wlcore_translate_addr()
75 else if ((addr >= part->mem2.start) && in wlcore_translate_addr()
76 (addr < part->mem2.start + part->mem2.size)) in wlcore_translate_addr()
77 return addr - part->mem2.start + part->mem.size + in wlcore_translate_addr()
78 part->reg.size; in wlcore_translate_addr()
79 else if ((addr >= part->mem3.start) && in wlcore_translate_addr()
80 (addr < part->mem3.start + part->mem3.size)) in wlcore_translate_addr()
81 return addr - part->mem3.start + part->mem.size + in wlcore_translate_addr()
82 part->reg.size + part->mem2.size; in wlcore_translate_addr()