Searched refs:idmem (Results 1 – 3 of 3) sorted by relevance
350 u8 __iomem *idmem; in ipack_device_read_id() local354 idmem = ioremap(dev->region[IPACK_ID_SPACE].start, in ipack_device_read_id()356 if (!idmem) { in ipack_device_read_id()365 if ((ioread8(idmem + 1) == 'I') && in ipack_device_read_id()366 (ioread8(idmem + 3) == 'P') && in ipack_device_read_id()367 (ioread8(idmem + 5) == 'A') && in ipack_device_read_id()368 ((ioread8(idmem + 7) == 'C') || in ipack_device_read_id()369 (ioread8(idmem + 7) == 'H'))) { in ipack_device_read_id()371 dev->id_avail = ioread8(idmem + 0x15); in ipack_device_read_id()376 } else if ((ioread8(idmem + 0) == 'I') && in ipack_device_read_id()[all …]
544 void __iomem *idmem; in icside_probe() local559 idmem = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0); in icside_probe()560 if (idmem) { in icside_probe()563 type = readb(idmem + ICS_IDENT_OFFSET) & 1; in icside_probe()564 type |= (readb(idmem + ICS_IDENT_OFFSET + 4) & 1) << 1; in icside_probe()565 type |= (readb(idmem + ICS_IDENT_OFFSET + 8) & 1) << 2; in icside_probe()566 type |= (readb(idmem + ICS_IDENT_OFFSET + 12) & 1) << 3; in icside_probe()567 ecardm_iounmap(ec, idmem); in icside_probe()
482 void __iomem *idmem; in pata_icside_probe() local498 idmem = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0); in pata_icside_probe()499 if (idmem) { in pata_icside_probe()502 type = readb(idmem + ICS_IDENT_OFFSET) & 1; in pata_icside_probe()503 type |= (readb(idmem + ICS_IDENT_OFFSET + 4) & 1) << 1; in pata_icside_probe()504 type |= (readb(idmem + ICS_IDENT_OFFSET + 8) & 1) << 2; in pata_icside_probe()505 type |= (readb(idmem + ICS_IDENT_OFFSET + 12) & 1) << 3; in pata_icside_probe()506 ecardm_iounmap(ec, idmem); in pata_icside_probe()