Lines Matching refs:hw_io
52 outb(reg >> 8, dev->hw_io + ENE_ADDR_HI); in ene_set_reg_addr()
53 outb(reg & 0xFF, dev->hw_io + ENE_ADDR_LO); in ene_set_reg_addr()
61 retval = inb(dev->hw_io + ENE_IO); in ene_read_reg()
71 outb(value, dev->hw_io + ENE_IO); in ene_write_reg()
79 outb(inb(dev->hw_io + ENE_IO) | mask, dev->hw_io + ENE_IO); in ene_set_reg_mask()
87 outb(inb(dev->hw_io + ENE_IO) & ~mask, dev->hw_io + ENE_IO); in ene_clear_reg_mask()
1023 dev->hw_io = -1; in ene_probe()
1035 dev->hw_io = pnp_port_start(pnp_dev, 0); in ene_probe()
1097 if (!request_region(dev->hw_io, ENE_IO_SIZE, ENE_DRIVER_NAME)) { in ene_probe()
1110 release_region(dev->hw_io, ENE_IO_SIZE); in ene_probe()
1132 release_region(dev->hw_io, ENE_IO_SIZE); in ene_remove()