Lines Matching refs:writeb

52 #define ei_outb(_v,_p)	 writeb(_v,(void __iomem *)_p)
54 #define ei_outb_p(_v,_p) writeb(_v,(void __iomem *)_p)
123 writeb(ctrl, eh->ctrl_port); in etherh_set_ctrl()
130 writeb(ctrl, eh->ctrl_port); in etherh_clr_ctrl()
180 writeb((readb(addr) & 0xf8) | 1, addr); in etherh_setif()
183 writeb((readb(addr) & 0xf8), addr); in etherh_setif()
282 writeb(E8390_NODMA+E8390_PAGE0+E8390_STOP, addr); in etherh_reset()
330 writeb (E8390_NODMA | E8390_PAGE0 | E8390_START, addr + E8390_CMD); in etherh_block_output()
332 writeb (0x42, addr + EN0_RCNTLO); in etherh_block_output()
333 writeb (0x00, addr + EN0_RCNTHI); in etherh_block_output()
334 writeb (0x42, addr + EN0_RSARLO); in etherh_block_output()
335 writeb (0x00, addr + EN0_RSARHI); in etherh_block_output()
336 writeb (E8390_RREAD | E8390_START, addr + E8390_CMD); in etherh_block_output()
340 writeb (ENISR_RDC, addr + EN0_ISR); in etherh_block_output()
341 writeb (count, addr + EN0_RCNTLO); in etherh_block_output()
342 writeb (count >> 8, addr + EN0_RCNTHI); in etherh_block_output()
343 writeb (0, addr + EN0_RSARLO); in etherh_block_output()
344 writeb (start_page, addr + EN0_RSARHI); in etherh_block_output()
345 writeb (E8390_RWRITE | E8390_START, addr + E8390_CMD); in etherh_block_output()
362 writeb (ENISR_RDC, addr + EN0_ISR); in etherh_block_output()
389 writeb (E8390_NODMA | E8390_PAGE0 | E8390_START, addr + E8390_CMD); in etherh_block_input()
390 writeb (count, addr + EN0_RCNTLO); in etherh_block_input()
391 writeb (count >> 8, addr + EN0_RCNTHI); in etherh_block_input()
392 writeb (ring_offset, addr + EN0_RSARLO); in etherh_block_input()
393 writeb (ring_offset >> 8, addr + EN0_RSARHI); in etherh_block_input()
394 writeb (E8390_RREAD | E8390_START, addr + E8390_CMD); in etherh_block_input()
403 writeb (ENISR_RDC, addr + EN0_ISR); in etherh_block_input()
428 writeb (E8390_NODMA | E8390_PAGE0 | E8390_START, addr + E8390_CMD); in etherh_get_header()
429 writeb (sizeof (*hdr), addr + EN0_RCNTLO); in etherh_get_header()
430 writeb (0, addr + EN0_RCNTHI); in etherh_get_header()
431 writeb (0, addr + EN0_RSARLO); in etherh_get_header()
432 writeb (ring_page, addr + EN0_RSARHI); in etherh_get_header()
433 writeb (E8390_RREAD | E8390_START, addr + E8390_CMD); in etherh_get_header()
440 writeb (ENISR_RDC, addr + EN0_ISR); in etherh_get_header()