Home
last modified time | relevance | path

Searched refs:scsiid (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/scsi/aic7xxx/
H A Daic7xxx.h68 #define SCSIID_TARGET(ahc, scsiid) \ argument
71 #define SCSIID_OUR_ID(scsiid) \ argument
72 ((scsiid) & OID)
73 #define SCSIID_CHANNEL(ahc, scsiid) \ argument
75 ? ((((scsiid) & TWIN_CHNLB) != 0) ? 'B' : 'A') \
78 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B')
80 SCSIID_OUR_ID((scb)->hscb->scsiid)
82 SCSIID_TARGET((ahc), (scb)->hscb->scsiid)
84 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid)
103 #define BUILD_TCL(scsiid, lun) \ argument
[all …]
H A Daic79xx.h71 #define SCSIID_TARGET(ahd, scsiid) \ argument
72 (((scsiid) & TID) >> TID_SHIFT)
73 #define SCSIID_OUR_ID(scsiid) \ argument
74 ((scsiid) & OID)
75 #define SCSIID_CHANNEL(ahd, scsiid) ('A') argument
78 SCSIID_OUR_ID((scb)->hscb->scsiid)
82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid)
104 #define BUILD_TCL(scsiid, lun) \ argument
105 ((lun) | (((scsiid) & TID) << 4))
131 dst->hscb->scsiid = src->hscb->scsiid; \
[all …]
H A Daic79xx_inline.h151 dst->hscb->scsiid = src->hscb->scsiid; \
H A Daic7xxx_osm.c806 unsigned int scsiid = (sdev->id << TID_SHIFT) & TID; in ahc_build_scsiid() local
809 scsiid |= ahc->our_id; in ahc_build_scsiid()
811 scsiid |= ahc->our_id_b | TWIN_CHNLB; in ahc_build_scsiid()
812 return scsiid; in ahc_build_scsiid()
1468 hscb->scsiid = ahc_build_scsiid(ahc, cmd->device); in ahc_linux_run_command()
2190 && ahc_inb(ahc, SAVED_SCSIID) == pending_scb->hscb->scsiid in ahc_linux_queue_recovery_cmd()
H A Daic7xxx_core.c2086 hscb->scsiid,
2823 our_id = SCSIID_OUR_ID(scb->hscb->scsiid); in ahc_scb_devinfo()
7699 u_int scsiid; in ahc_update_scsiid() local
7711 scsiid = ahc_inb(ahc, SCSIID_ULTRA2); in ahc_update_scsiid()
7713 scsiid = ahc_inb(ahc, SCSIID); in ahc_update_scsiid()
7714 scsiid_mask = 0x1 << (scsiid & OID); in ahc_update_scsiid()
7724 scsiid &= TID; in ahc_update_scsiid()
7725 scsiid |= our_id; in ahc_update_scsiid()
7728 ahc_outb(ahc, SCSIID_ULTRA2, scsiid); in ahc_update_scsiid()
7730 ahc_outb(ahc, SCSIID, scsiid); in ahc_update_scsiid()
[all …]
H A Daic79xx_core.c874 SCB_GET_TAG(scb), scb->hscb->scsiid, in ahd_queue_scb()
3574 hscb->scsiid,
10538 u_int scsiid; in ahd_update_scsiid() local
10550 scsiid = ahd_inb(ahd, SCSIID_ULTRA2); in ahd_update_scsiid()
10552 scsiid = ahd_inb(ahd, SCSIID); in ahd_update_scsiid()
10553 scsiid_mask = 0x1 << (scsiid & OID); in ahd_update_scsiid()
10563 scsiid &= TID; in ahd_update_scsiid()
10564 scsiid |= our_id; in ahd_update_scsiid()
10567 ahd_outb(ahd, SCSIID_ULTRA2, scsiid); in ahd_update_scsiid()
10569 ahd_outb(ahd, SCSIID, scsiid); in ahd_update_scsiid()
[all …]
H A Daic79xx_osm.c826 reset_scb->hscb->scsiid = ahd_build_scsiid(ahd, cmd->device); in ahd_linux_dev_reset()
1585 hscb->scsiid = ahd_build_scsiid(ahd, cmd->device); in ahd_linux_run_command()
H A Daic79xx.seq1081 #define INDEX_DISC_LIST(scsiid, lun) \
1082 and A, 0xC0, scsiid; \
1085 and SINDEX, 0x30, scsiid; \
/linux/drivers/scsi/
H A Daha152x.c348 static int scsiid[] = {7, 7}; variable
769 SETPORT(SCSIID, setup->scsiid << 4); in aha152x_probe_one()
770 shpnt->this_id = setup->scsiid; in aha152x_probe_one()
3089 if ((setup->scsiid < 0) || (setup->scsiid > 7)) in checksetup()
3140 override.scsiid, in aha152x_init()
3161 override.scsiid, in aha152x_init()
3189 setup[setup_count].scsiid = scsiid[0]; in aha152x_init()
3203 setup[setup_count].scsiid, in aha152x_init()
3226 setup[setup_count].scsiid = scsiid[1]; in aha152x_init()
3239 setup[setup_count].scsiid, in aha152x_init()
[all …]
H A Daha152x.h321 int scsiid; member
/linux/drivers/scsi/pcmcia/
H A Daha152x_stub.c169 s.scsiid = host_id; in aha152x_config_cs()
/linux/Documentation/scsi/
H A Daha152x.rst100 scsiid=SCSIID0[,SCSIID1]