• Home
  • Raw
  • Download

Lines Matching refs:ofs

29 	unsigned long (*translate)(struct map_pci_info *map, unsigned long ofs);
37 unsigned long (*translate)(struct map_pci_info *map, unsigned long ofs);
41 static map_word mtd_pci_read8(struct map_info *_map, unsigned long ofs) in mtd_pci_read8() argument
45 val.x[0]= readb(map->base + map->translate(map, ofs)); in mtd_pci_read8()
51 static map_word mtd_pci_read16(struct map_info *_map, unsigned long ofs)
55 val.x[0] = readw(map->base + map->translate(map, ofs));
60 static map_word mtd_pci_read32(struct map_info *_map, unsigned long ofs) in mtd_pci_read32() argument
64 val.x[0] = readl(map->base + map->translate(map, ofs)); in mtd_pci_read32()
75 static void mtd_pci_write8(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write8() argument
79 writeb(val.x[0], map->base + map->translate(map, ofs)); in mtd_pci_write8()
83 static void mtd_pci_write16(struct map_info *_map, map_word val, unsigned long ofs)
87 writew(val.x[0], map->base + map->translate(map, ofs));
90 static void mtd_pci_write32(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write32() argument
94 writel(val.x[0], map->base + map->translate(map, ofs)); in mtd_pci_write32()
150 intel_iq80310_translate(struct map_pci_info *map, unsigned long ofs) in intel_iq80310_translate() argument
152 unsigned long page_addr = ofs & 0x00400000; in intel_iq80310_translate()
164 ofs += 0x00800000; in intel_iq80310_translate()
167 return ofs; in intel_iq80310_translate()
238 intel_dc21285_translate(struct map_pci_info *map, unsigned long ofs) in intel_dc21285_translate() argument
240 return ofs & 0x00ffffc0 ? ofs : (ofs ^ (1 << 5)); in intel_dc21285_translate()