Lines Matching refs:writeb
55 #define ei_outb(_v,_p) writeb(_v,(void __iomem *)_p)
57 #define ei_outb_p(_v,_p) writeb(_v,(void __iomem *)_p)
126 writeb(ctrl, eh->ctrl_port); in etherh_set_ctrl()
133 writeb(ctrl, eh->ctrl_port); in etherh_clr_ctrl()
183 writeb((readb(addr) & 0xf8) | 1, addr); in etherh_setif()
186 writeb((readb(addr) & 0xf8), addr); in etherh_setif()
285 writeb(E8390_NODMA+E8390_PAGE0+E8390_STOP, addr); in etherh_reset()
333 writeb (E8390_NODMA | E8390_PAGE0 | E8390_START, addr + E8390_CMD); in etherh_block_output()
335 writeb (0x42, addr + EN0_RCNTLO); in etherh_block_output()
336 writeb (0x00, addr + EN0_RCNTHI); in etherh_block_output()
337 writeb (0x42, addr + EN0_RSARLO); in etherh_block_output()
338 writeb (0x00, addr + EN0_RSARHI); in etherh_block_output()
339 writeb (E8390_RREAD | E8390_START, addr + E8390_CMD); in etherh_block_output()
343 writeb (ENISR_RDC, addr + EN0_ISR); in etherh_block_output()
344 writeb (count, addr + EN0_RCNTLO); in etherh_block_output()
345 writeb (count >> 8, addr + EN0_RCNTHI); in etherh_block_output()
346 writeb (0, addr + EN0_RSARLO); in etherh_block_output()
347 writeb (start_page, addr + EN0_RSARHI); in etherh_block_output()
348 writeb (E8390_RWRITE | E8390_START, addr + E8390_CMD); in etherh_block_output()
365 writeb (ENISR_RDC, addr + EN0_ISR); in etherh_block_output()
392 writeb (E8390_NODMA | E8390_PAGE0 | E8390_START, addr + E8390_CMD); in etherh_block_input()
393 writeb (count, addr + EN0_RCNTLO); in etherh_block_input()
394 writeb (count >> 8, addr + EN0_RCNTHI); in etherh_block_input()
395 writeb (ring_offset, addr + EN0_RSARLO); in etherh_block_input()
396 writeb (ring_offset >> 8, addr + EN0_RSARHI); in etherh_block_input()
397 writeb (E8390_RREAD | E8390_START, addr + E8390_CMD); in etherh_block_input()
406 writeb (ENISR_RDC, addr + EN0_ISR); in etherh_block_input()
431 writeb (E8390_NODMA | E8390_PAGE0 | E8390_START, addr + E8390_CMD); in etherh_get_header()
432 writeb (sizeof (*hdr), addr + EN0_RCNTLO); in etherh_get_header()
433 writeb (0, addr + EN0_RCNTHI); in etherh_get_header()
434 writeb (0, addr + EN0_RSARLO); in etherh_get_header()
435 writeb (ring_page, addr + EN0_RSARHI); in etherh_get_header()
436 writeb (E8390_RREAD | E8390_START, addr + E8390_CMD); in etherh_get_header()
443 writeb (ENISR_RDC, addr + EN0_ISR); in etherh_get_header()