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)
128 writeb(ctrl, eh->ctrl_port); in etherh_set_ctrl()
135 writeb(ctrl, eh->ctrl_port); in etherh_clr_ctrl()
185 writeb((readb(addr) & 0xf8) | 1, addr); in etherh_setif()
188 writeb((readb(addr) & 0xf8), addr); in etherh_setif()
287 writeb(E8390_NODMA+E8390_PAGE0+E8390_STOP, addr); in etherh_reset()
335 writeb (E8390_NODMA | E8390_PAGE0 | E8390_START, addr + E8390_CMD); in etherh_block_output()
337 writeb (0x42, addr + EN0_RCNTLO); in etherh_block_output()
338 writeb (0x00, addr + EN0_RCNTHI); in etherh_block_output()
339 writeb (0x42, addr + EN0_RSARLO); in etherh_block_output()
340 writeb (0x00, addr + EN0_RSARHI); in etherh_block_output()
341 writeb (E8390_RREAD | E8390_START, addr + E8390_CMD); in etherh_block_output()
345 writeb (ENISR_RDC, addr + EN0_ISR); in etherh_block_output()
346 writeb (count, addr + EN0_RCNTLO); in etherh_block_output()
347 writeb (count >> 8, addr + EN0_RCNTHI); in etherh_block_output()
348 writeb (0, addr + EN0_RSARLO); in etherh_block_output()
349 writeb (start_page, addr + EN0_RSARHI); in etherh_block_output()
350 writeb (E8390_RWRITE | E8390_START, addr + E8390_CMD); in etherh_block_output()
367 writeb (ENISR_RDC, addr + EN0_ISR); in etherh_block_output()
394 writeb (E8390_NODMA | E8390_PAGE0 | E8390_START, addr + E8390_CMD); in etherh_block_input()
395 writeb (count, addr + EN0_RCNTLO); in etherh_block_input()
396 writeb (count >> 8, addr + EN0_RCNTHI); in etherh_block_input()
397 writeb (ring_offset, addr + EN0_RSARLO); in etherh_block_input()
398 writeb (ring_offset >> 8, addr + EN0_RSARHI); in etherh_block_input()
399 writeb (E8390_RREAD | E8390_START, addr + E8390_CMD); in etherh_block_input()
408 writeb (ENISR_RDC, addr + EN0_ISR); in etherh_block_input()
433 writeb (E8390_NODMA | E8390_PAGE0 | E8390_START, addr + E8390_CMD); in etherh_get_header()
434 writeb (sizeof (*hdr), addr + EN0_RCNTLO); in etherh_get_header()
435 writeb (0, addr + EN0_RCNTHI); in etherh_get_header()
436 writeb (0, addr + EN0_RSARLO); in etherh_get_header()
437 writeb (ring_page, addr + EN0_RSARHI); in etherh_get_header()
438 writeb (E8390_RREAD | E8390_START, addr + E8390_CMD); in etherh_get_header()
445 writeb (ENISR_RDC, addr + EN0_ISR); in etherh_get_header()