Lines Matching refs:offset
55 void __iomem *microdev_ioport_map(unsigned long offset, unsigned int len) in microdev_ioport_map() argument
59 if ((offset >= IO_LAN91C111_BASE) && in microdev_ioport_map()
60 (offset < IO_LAN91C111_BASE + IO_LAN91C111_EXTENT)) { in microdev_ioport_map()
64 result = IO_LAN91C111_PHYS + offset - IO_LAN91C111_BASE; in microdev_ioport_map()
65 } else if ((offset >= IO_SUPERIO_BASE) && in microdev_ioport_map()
66 (offset < IO_SUPERIO_BASE + IO_SUPERIO_EXTENT)) { in microdev_ioport_map()
72 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map()
73 } else if (((offset >= IO_IDE1_BASE) && in microdev_ioport_map()
74 (offset < IO_IDE1_BASE + IO_IDE_EXTENT)) || in microdev_ioport_map()
75 (offset == IO_IDE1_MISC)) { in microdev_ioport_map()
81 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map()
82 } else if (((offset >= IO_IDE2_BASE) && in microdev_ioport_map()
83 (offset < IO_IDE2_BASE + IO_IDE_EXTENT)) || in microdev_ioport_map()
84 (offset == IO_IDE2_MISC)) { in microdev_ioport_map()
90 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map()
91 } else if ((offset >= IO_SERIAL1_BASE) && in microdev_ioport_map()
92 (offset < IO_SERIAL1_BASE + IO_SERIAL_EXTENT)) { in microdev_ioport_map()
98 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map()
99 } else if ((offset >= IO_SERIAL2_BASE) && in microdev_ioport_map()
100 (offset < IO_SERIAL2_BASE + IO_SERIAL_EXTENT)) { in microdev_ioport_map()
106 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map()
107 } else if ((offset >= IO_ISP1161_BASE) && in microdev_ioport_map()
108 (offset < IO_ISP1161_BASE + IO_ISP1161_EXTENT)) { in microdev_ioport_map()
112 result = IO_ISP1161_PHYS + offset - IO_ISP1161_BASE; in microdev_ioport_map()
118 __func__, offset); in microdev_ioport_map()