• Home
  • Raw
  • Download

Lines Matching refs:offset

57 void __iomem *microdev_ioport_map(unsigned long offset, unsigned int len)  in microdev_ioport_map()  argument
61 if ((offset >= IO_LAN91C111_BASE) && in microdev_ioport_map()
62 (offset < IO_LAN91C111_BASE + IO_LAN91C111_EXTENT)) { in microdev_ioport_map()
66 result = IO_LAN91C111_PHYS + offset - IO_LAN91C111_BASE; in microdev_ioport_map()
67 } else if ((offset >= IO_SUPERIO_BASE) && in microdev_ioport_map()
68 (offset < IO_SUPERIO_BASE + IO_SUPERIO_EXTENT)) { in microdev_ioport_map()
74 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map()
75 } else if (((offset >= IO_IDE1_BASE) && in microdev_ioport_map()
76 (offset < IO_IDE1_BASE + IO_IDE_EXTENT)) || in microdev_ioport_map()
77 (offset == IO_IDE1_MISC)) { in microdev_ioport_map()
83 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map()
84 } else if (((offset >= IO_IDE2_BASE) && in microdev_ioport_map()
85 (offset < IO_IDE2_BASE + IO_IDE_EXTENT)) || in microdev_ioport_map()
86 (offset == IO_IDE2_MISC)) { in microdev_ioport_map()
92 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map()
93 } else if ((offset >= IO_SERIAL1_BASE) && in microdev_ioport_map()
94 (offset < IO_SERIAL1_BASE + IO_SERIAL_EXTENT)) { in microdev_ioport_map()
100 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map()
101 } else if ((offset >= IO_SERIAL2_BASE) && in microdev_ioport_map()
102 (offset < IO_SERIAL2_BASE + IO_SERIAL_EXTENT)) { in microdev_ioport_map()
108 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map()
109 } else if ((offset >= IO_ISP1161_BASE) && in microdev_ioport_map()
110 (offset < IO_ISP1161_BASE + IO_ISP1161_EXTENT)) { in microdev_ioport_map()
114 result = IO_ISP1161_PHYS + offset - IO_ISP1161_BASE; in microdev_ioport_map()
120 __func__, offset); in microdev_ioport_map()