Lines Matching refs:base_addr

189 	wl3501_outb(page, this->base_addr + WL3501_NIC_BSS);  in wl3501_switch_page()
200 int base_addr = this->base_addr; in wl3501_get_flash_mac_addr() local
203 wl3501_outb(WL3501_BSS_FPAGE3, base_addr + WL3501_NIC_BSS); /* BSS */ in wl3501_get_flash_mac_addr()
204 wl3501_outb(0x00, base_addr + WL3501_NIC_LMAL); /* LMAL */ in wl3501_get_flash_mac_addr()
205 wl3501_outb(0x40, base_addr + WL3501_NIC_LMAH); /* LMAH */ in wl3501_get_flash_mac_addr()
209 this->mac_addr[0] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
211 this->mac_addr[1] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
213 this->mac_addr[2] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
215 this->mac_addr[3] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
217 this->mac_addr[4] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
219 this->mac_addr[5] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
221 this->reg_domain = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
223 wl3501_outb(WL3501_BSS_FPAGE0, base_addr + WL3501_NIC_BSS); in wl3501_get_flash_mac_addr()
224 wl3501_outb(0x04, base_addr + WL3501_NIC_LMAL); in wl3501_get_flash_mac_addr()
225 wl3501_outb(0x40, base_addr + WL3501_NIC_LMAH); in wl3501_get_flash_mac_addr()
227 this->version[0] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
229 this->version[1] = inb(base_addr + WL3501_NIC_IODPA); in wl3501_get_flash_mac_addr()
252 wl3501_outb(dest & 0xff, this->base_addr + WL3501_NIC_LMAL); in wl3501_set_to_wla()
253 wl3501_outb(((dest >> 8) & 0x7f), this->base_addr + WL3501_NIC_LMAH); in wl3501_set_to_wla()
256 wl3501_outsb(this->base_addr + WL3501_NIC_IODPA, src, size); in wl3501_set_to_wla()
274 wl3501_outb(src & 0xff, this->base_addr + WL3501_NIC_LMAL); in wl3501_get_from_wla()
275 wl3501_outb((src >> 8) & 0x7f, this->base_addr + WL3501_NIC_LMAH); in wl3501_get_from_wla()
278 insb(this->base_addr + WL3501_NIC_IODPA, dest, size); in wl3501_get_from_wla()
718 u8 old = inb(this->base_addr + WL3501_NIC_GCR); in wl3501_block_interrupt()
722 wl3501_outb(new, this->base_addr + WL3501_NIC_GCR); in wl3501_block_interrupt()
735 u8 old = inb(this->base_addr + WL3501_NIC_GCR); in wl3501_unblock_interrupt()
739 wl3501_outb(new, this->base_addr + WL3501_NIC_GCR); in wl3501_unblock_interrupt()
1096 wl3501_outb(WL3501_GCR_ECINT, this->base_addr + WL3501_NIC_GCR); in wl3501_ack_interrupt()
1133 wl3501_outb_p(WL3501_GCR_CORESET, this->base_addr + WL3501_NIC_GCR); in wl3501_reset_board()
1134 wl3501_outb_p(0, this->base_addr + WL3501_NIC_GCR); in wl3501_reset_board()
1135 wl3501_outb_p(WL3501_GCR_CORESET, this->base_addr + WL3501_NIC_GCR); in wl3501_reset_board()
1141 wl3501_outb_p(0, this->base_addr + WL3501_NIC_GCR); in wl3501_reset_board()
1920 dev->base_addr = link->resource[0]->start; in wl3501_config()
1929 this->base_addr = dev->base_addr; in wl3501_config()
1944 dev->name, this->base_addr, (int)dev->irq, in wl3501_config()