Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/ipack/
Dipack.c347 u8 __iomem *idmem; in ipack_device_read_id() local
351 idmem = ioremap(dev->region[IPACK_ID_SPACE].start, in ipack_device_read_id()
353 if (!idmem) { in ipack_device_read_id()
362 if ((ioread8(idmem + 1) == 'I') && in ipack_device_read_id()
363 (ioread8(idmem + 3) == 'P') && in ipack_device_read_id()
364 (ioread8(idmem + 5) == 'A') && in ipack_device_read_id()
365 ((ioread8(idmem + 7) == 'C') || in ipack_device_read_id()
366 (ioread8(idmem + 7) == 'H'))) { in ipack_device_read_id()
368 dev->id_avail = ioread8(idmem + 0x15); in ipack_device_read_id()
373 } else if ((ioread8(idmem + 0) == 'I') && in ipack_device_read_id()
[all …]
/linux-6.6.21/drivers/ata/
Dpata_icside.c487 void __iomem *idmem; in pata_icside_probe() local
503 idmem = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0); in pata_icside_probe()
504 if (idmem) { in pata_icside_probe()
507 type = readb(idmem + ICS_IDENT_OFFSET) & 1; in pata_icside_probe()
508 type |= (readb(idmem + ICS_IDENT_OFFSET + 4) & 1) << 1; in pata_icside_probe()
509 type |= (readb(idmem + ICS_IDENT_OFFSET + 8) & 1) << 2; in pata_icside_probe()
510 type |= (readb(idmem + ICS_IDENT_OFFSET + 12) & 1) << 3; in pata_icside_probe()
511 ecardm_iounmap(ec, idmem); in pata_icside_probe()