Searched refs:idmem (Results 1 – 2 of 2) sorted by relevance
545 void __iomem *idmem; in icside_probe() local560 idmem = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0); in icside_probe()561 if (idmem) { in icside_probe()564 type = readb(idmem + ICS_IDENT_OFFSET) & 1; in icside_probe()565 type |= (readb(idmem + ICS_IDENT_OFFSET + 4) & 1) << 1; in icside_probe()566 type |= (readb(idmem + ICS_IDENT_OFFSET + 8) & 1) << 2; in icside_probe()567 type |= (readb(idmem + ICS_IDENT_OFFSET + 12) & 1) << 3; in icside_probe()568 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()