Lines Matching refs:atp_readb_base

78 static inline u8 atp_readb_base(struct atp_unit *atp, u8 reg)  in atp_readb_base()  function
330 j = atp_readb_base(dev, 0x29) & 0xfe; in atp870u_intr_handle()
395 (atp_readb_base(dev, 0x3b) & 0x3f) | 0xc0); in atp870u_intr_handle()
398 atp_readb_base(dev, 0x3b) & 0x3f); in atp870u_intr_handle()
405 (atp_readb_base(dev, 0x3a) & 0xf3) | 0x08); in atp870u_intr_handle()
408 atp_readb_base(dev, 0x3a) & 0xf3); in atp870u_intr_handle()
506 j = atp_readb_base(dev, 0x29) | 0x01; in atp870u_intr_handle()
781 j = atp_readb_base(dev, 0x29) & 0xfe; in DEF_SCSI_QCMD()
937 (atp_readb_base(dev, 0x3b) & 0x3f) | 0xc0); in DEF_SCSI_QCMD()
940 atp_readb_base(dev, 0x3b) & 0x3f); in DEF_SCSI_QCMD()
947 (atp_readb_base(dev, 0x3a) & 0xf3) | 0x08); in DEF_SCSI_QCMD()
950 atp_readb_base(dev, 0x3a) & 0xf3); in DEF_SCSI_QCMD()
1328 atpdev->global_map[0] = atp_readb_base(atpdev, 0x2d); in atp870_init()
1340 k = (atp_readb_base(atpdev, 0x3a) & 0xf3) | 0x10; in atp870_init()
1349 atp_writeb_base(atpdev, 0x3a, atp_readb_base(atpdev, 0x3a) | 0x10); in atp870_init()
1351 atp_writeb_base(atpdev, 0x3a, atp_readb_base(atpdev, 0x3a) & 0xef); in atp870_init()
1352 atp_writeb_base(atpdev, 0x3b, atp_readb_base(atpdev, 0x3b) | 0x20); in atp870_init()
1369 host_id = atp_readb_base(atpdev, 0x39) >> 4; in atp880_init()
1376 atpdev->global_map[0] = atp_readb_base(atpdev, 0x35); in atp880_init()
1384 if (atp_readb_base(atpdev, 0x30) == 0xff) in atp880_init()
1387 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x30); in atp880_init()
1388 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x31); in atp880_init()
1389 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x32); in atp880_init()
1390 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x33); in atp880_init()
1393 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x30); in atp880_init()
1394 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x31); in atp880_init()
1395 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x32); in atp880_init()
1396 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x33); in atp880_init()
1399 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x30); in atp880_init()
1400 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x31); in atp880_init()
1401 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x32); in atp880_init()
1402 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x33); in atp880_init()
1405 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x30); in atp880_init()
1406 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x31); in atp880_init()
1407 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x32); in atp880_init()
1408 atpdev->sp[0][m++] = atp_readb_base(atpdev, 0x33); in atp880_init()
1425 k = atp_readb_base(atpdev, 0x38) & 0x80; in atp880_init()
1436 tscam(shpnt, true, atp_readb_base(atpdev, 0x22)); in atp880_init()
1437 atp_is(atpdev, 0, true, atp_readb_base(atpdev, 0x3f) & 0x40); in atp880_init()
1460 c = atp_readb_base(atpdev, 0x29); in atp885_init()
1483 c = atp_readb_base(atpdev, 0x29); in atp885_init()
1510 k = atp_readb_base(atpdev, 0x28) & 0x8f; in atp885_init()
1541 k = atp_readb_base(atpdev, 0x28) & 0xcf; in atp885_init()
1544 k = atp_readb_base(atpdev, 0x1f) | 0x80; in atp885_init()
1546 k = atp_readb_base(atpdev, 0x29) | 0x01; in atp885_init()