Home
last modified time | relevance | path

Searched refs:idmem (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/ide/
Dicside.c545 void __iomem *idmem; in icside_probe() local
560 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()
/linux-2.6.39/drivers/ata/
Dpata_icside.c482 void __iomem *idmem; in pata_icside_probe() local
498 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()