Searched refs:idmem (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/ipack/
H A Dipack.c353 u8 __iomem *idmem; ipack_device_read_id() local
357 idmem = ioremap(dev->region[IPACK_ID_SPACE].start, ipack_device_read_id()
359 if (!idmem) { ipack_device_read_id()
368 if ((ioread8(idmem + 1) == 'I') && ipack_device_read_id()
369 (ioread8(idmem + 3) == 'P') && ipack_device_read_id()
370 (ioread8(idmem + 5) == 'A') && ipack_device_read_id()
371 ((ioread8(idmem + 7) == 'C') || ipack_device_read_id()
372 (ioread8(idmem + 7) == 'H'))) { ipack_device_read_id()
374 dev->id_avail = ioread8(idmem + 0x15); ipack_device_read_id()
379 } else if ((ioread8(idmem + 0) == 'I') && ipack_device_read_id()
380 (ioread8(idmem + 1) == 'V') && ipack_device_read_id()
381 (ioread8(idmem + 2) == 'A') && ipack_device_read_id()
382 (ioread8(idmem + 3) == 'T') && ipack_device_read_id()
383 (ioread8(idmem + 4) == ' ') && ipack_device_read_id()
384 (ioread8(idmem + 5) == '4')) { ipack_device_read_id()
386 dev->id_avail = ioread16be(idmem + 0x16); ipack_device_read_id()
411 dev->id[i] = ioread8(idmem + (i << 1) + 1); ipack_device_read_id()
413 dev->id[i] = ioread8(idmem + i); ipack_device_read_id()
427 iounmap(idmem); ipack_device_read_id()
/linux-4.4.14/drivers/ide/
H A Dicside.c543 void __iomem *idmem; icside_probe() local
558 idmem = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0); icside_probe()
559 if (idmem) { icside_probe()
562 type = readb(idmem + ICS_IDENT_OFFSET) & 1; icside_probe()
563 type |= (readb(idmem + ICS_IDENT_OFFSET + 4) & 1) << 1; icside_probe()
564 type |= (readb(idmem + ICS_IDENT_OFFSET + 8) & 1) << 2; icside_probe()
565 type |= (readb(idmem + ICS_IDENT_OFFSET + 12) & 1) << 3; icside_probe()
566 ecardm_iounmap(ec, idmem); icside_probe()
/linux-4.4.14/drivers/ata/
H A Dpata_icside.c481 void __iomem *idmem; pata_icside_probe() local
497 idmem = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0); pata_icside_probe()
498 if (idmem) { pata_icside_probe()
501 type = readb(idmem + ICS_IDENT_OFFSET) & 1; pata_icside_probe()
502 type |= (readb(idmem + ICS_IDENT_OFFSET + 4) & 1) << 1; pata_icside_probe()
503 type |= (readb(idmem + ICS_IDENT_OFFSET + 8) & 1) << 2; pata_icside_probe()
504 type |= (readb(idmem + ICS_IDENT_OFFSET + 12) & 1) << 3; pata_icside_probe()
505 ecardm_iounmap(ec, idmem); pata_icside_probe()

Completed in 407 milliseconds