Symbol: ahc_inb
sys/dev/aic7xxx/aic7770.c
160
intdef = ahc_inb(ahc, INTDEF);
sys/dev/aic7xxx/aic7770.c
185
biosctrl = ahc_inb(ahc, HA_274_BIOSCTRL);
sys/dev/aic7xxx/aic7770.c
186
scsiconf = ahc_inb(ahc, SCSICONF);
sys/dev/aic7xxx/aic7770.c
187
scsiconf1 = ahc_inb(ahc, SCSICONF + 1);
sys/dev/aic7xxx/aic7770.c
209
if ((ahc_inb(ahc, HA_274_BIOSGLOBAL) & HA_274_EXTENDED_TRANS))
sys/dev/aic7xxx/aic7770.c
229
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~AUTOFLUSHDIS);
sys/dev/aic7xxx/aic7770.c
232
hostconf = ahc_inb(ahc, HOSTCONF);
sys/dev/aic7xxx/aic7770.c
271
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~AUTOFLUSHDIS);
sys/dev/aic7xxx/aic7xxx.c
1004
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
1007
&& (ahc_inb(ahc, SEQ_FLAGS) & NOT_IDENTIFIED) != 0)
sys/dev/aic7xxx/aic7xxx.c
1014
now_lvd = ahc_inb(ahc, SBLKCTL) & ENAB40;
sys/dev/aic7xxx/aic7xxx.c
1034
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) ^ SELBUSB);
sys/dev/aic7xxx/aic7xxx.c
1057
lastphase = ahc_inb(ahc, LASTPHASE);
sys/dev/aic7xxx/aic7xxx.c
1058
curphase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK;
sys/dev/aic7xxx/aic7xxx.c
1059
sstat2 = ahc_inb(ahc, SSTAT2);
sys/dev/aic7xxx/aic7xxx.c
1072
if ((ahc_inb(ahc, SSTAT1) & SCSIPERR) != 0
sys/dev/aic7xxx/aic7xxx.c
1092
SCSIID_TARGET(ahc, ahc_inb(ahc, SAVED_SCSIID)));
sys/dev/aic7xxx/aic7xxx.c
1093
scsirate = ahc_inb(ahc, SCSIRATE);
sys/dev/aic7xxx/aic7xxx.c
1159
ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) & ~ENBUSFREE);
sys/dev/aic7xxx/aic7xxx.c
1172
scbptr = ahc_inb(ahc, WAITING_SCBH);
sys/dev/aic7xxx/aic7xxx.c
1174
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
1209
&& (ahc_inb(ahc, SIMODE1) & ENBUSFREE) != 0) {
sys/dev/aic7xxx/aic7xxx.c
1226
ahc_inb(ahc, SCSISEQ) & (ENSELI|ENRSELI|ENAUTOATNP));
sys/dev/aic7xxx/aic7xxx.c
1234
ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) & ~ENBUSFREE);
sys/dev/aic7xxx/aic7xxx.c
1243
lastphase = ahc_inb(ahc, LASTPHASE);
sys/dev/aic7xxx/aic7xxx.c
1244
saved_scsiid = ahc_inb(ahc, SAVED_SCSIID);
sys/dev/aic7xxx/aic7xxx.c
1245
saved_lun = ahc_inb(ahc, SAVED_LUN);
sys/dev/aic7xxx/aic7xxx.c
1382
ahc_inb(ahc, SEQADDR0)
sys/dev/aic7xxx/aic7xxx.c
1383
| (ahc_inb(ahc, SEQADDR1) << 8));
sys/dev/aic7xxx/aic7xxx.c
1434
seqaddr = ahc_inb(ahc, SEQADDR0)
sys/dev/aic7xxx/aic7xxx.c
1435
| (ahc_inb(ahc, SEQADDR1) << 8);
sys/dev/aic7xxx/aic7xxx.c
1467
simode0 = ahc_inb(ahc, SIMODE0);
sys/dev/aic7xxx/aic7xxx.c
1469
simode1 = ahc_inb(ahc, SIMODE1);
sys/dev/aic7xxx/aic7xxx.c
1647
if ((ahc_inb(ahc, SBLKCTL) & ENAB40) != 0
sys/dev/aic7xxx/aic7xxx.c
1648
&& (ahc_inb(ahc, SSTAT2) & EXP_ACTIVE) == 0) {
sys/dev/aic7xxx/aic7xxx.c
1968
sxfrctl0 = ahc_inb(ahc, SXFRCTL0);
sys/dev/aic7xxx/aic7xxx.c
2138
saved_scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/aic7xxx/aic7xxx.c
2146
scb_tag = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
2152
control = ahc_inb(ahc, SCB_CONTROL);
sys/dev/aic7xxx/aic7xxx.c
2173
if (ahc_inb(ahc, SSTAT0) & TARGET)
sys/dev/aic7xxx/aic7xxx.c
2180
&& (ahc_inb(ahc, SEQ_FLAGS)
sys/dev/aic7xxx/aic7xxx.c
2183
our_id = ahc_inb(ahc, TARGIDIN) & OID;
sys/dev/aic7xxx/aic7xxx.c
2185
our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID;
sys/dev/aic7xxx/aic7xxx.c
2187
our_id = ahc_inb(ahc, SCSIID) & OID;
sys/dev/aic7xxx/aic7xxx.c
2189
saved_scsiid = ahc_inb(ahc, SAVED_SCSIID);
sys/dev/aic7xxx/aic7xxx.c
2193
ahc_inb(ahc, SAVED_LUN),
sys/dev/aic7xxx/aic7xxx.c
2261
scsisigo |= ahc_inb(ahc, SCSISIGI);
sys/dev/aic7xxx/aic7xxx.c
2284
&& ahc_inb(ahc, MSG_OUT) == MSG_IDENTIFYFLAG) {
sys/dev/aic7xxx/aic7xxx.c
2313
ahc_outb(ahc, SCSISEQ, (ahc_inb(ahc, SCSISEQ) & ~ENSELO));
sys/dev/aic7xxx/aic7xxx.c
2330
ahc_outb(ahc, SCSISEQ, (ahc_inb(ahc, SCSISEQ) & ~ENSELO));
sys/dev/aic7xxx/aic7xxx.c
2340
ahc_inb(ahc, MSG_OUT), scb->flags);
sys/dev/aic7xxx/aic7xxx.c
2347
ahc_outb(ahc, SCB_CONTROL, ahc_inb(ahc, SCB_CONTROL) & ~MK_MESSAGE);
sys/dev/aic7xxx/aic7xxx.c
2530
if ((ahc_inb(ahc, SCSISIGI) & ATNI) != 0) {
sys/dev/aic7xxx/aic7xxx.c
2539
ahc_inb(ahc, SEQ_FLAGS2) & ~TARGET_MSG_PENDING);
sys/dev/aic7xxx/aic7xxx.c
2554
scbid = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
2556
seq_flags = ahc_inb(ahc, SEQ_FLAGS);
sys/dev/aic7xxx/aic7xxx.c
2557
curphase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK;
sys/dev/aic7xxx/aic7xxx.c
2558
lastphase = ahc_inb(ahc, LASTPHASE);
sys/dev/aic7xxx/aic7xxx.c
256
ahc_outb(ahc, SXFRCTL1, ahc_inb(ahc, SXFRCTL1) & ~BITBUCKET);
sys/dev/aic7xxx/aic7xxx.c
2582
} else if ((ahc_inb(ahc, SCB_CONTROL) & STATUS_RCVD) == 0) {
sys/dev/aic7xxx/aic7xxx.c
2617
ahc_inb(ahc, SCSISEQ) & ~ENSELO);
sys/dev/aic7xxx/aic7xxx.c
2647
bus_phase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK;
sys/dev/aic7xxx/aic7xxx.c
272
ahc_inb(ahc, SCSISEQ_TEMPLATE) & (ENSELI|ENRSELI|ENAUTOATNP));
sys/dev/aic7xxx/aic7xxx.c
2766
ahc->msgin_buf[ahc->msgin_index] = ahc_inb(ahc, SCSIBUSL);
sys/dev/aic7xxx/aic7xxx.c
2804
ahc_inb(ahc, SCSIDATL);
sys/dev/aic7xxx/aic7xxx.c
2828
if ((ahc_inb(ahc, SCSISIGI) & ATNI) != 0
sys/dev/aic7xxx/aic7xxx.c
284
if ((ahc_inb(ahc, SEQ_FLAGS2) & SCB_DMA) != 0) {
sys/dev/aic7xxx/aic7xxx.c
2846
ahc_inb(ahc, SXFRCTL0) & ~SPIOEN);
sys/dev/aic7xxx/aic7xxx.c
2854
while ((ahc_inb(ahc, SCSISIGI) & ACKI) != 0)
sys/dev/aic7xxx/aic7xxx.c
287
ahc_inb(ahc, SEQ_FLAGS2) & ~SCB_DMA);
sys/dev/aic7xxx/aic7xxx.c
2870
ahc_inb(ahc, SXFRCTL0) | SPIOEN);
sys/dev/aic7xxx/aic7xxx.c
2877
ahc_inb(ahc, SXFRCTL0) & ~SPIOEN);
sys/dev/aic7xxx/aic7xxx.c
2890
ahc_outb(ahc, SXFRCTL0, ahc_inb(ahc, SXFRCTL0) | SPIOEN);
sys/dev/aic7xxx/aic7xxx.c
2909
lastbyte = (ahc_inb(ahc, SCSISIGI) & ATNI) == 0;
sys/dev/aic7xxx/aic7xxx.c
2916
ahc_outb(ahc, SXFRCTL0, ahc_inb(ahc, SXFRCTL0) & ~SPIOEN);
sys/dev/aic7xxx/aic7xxx.c
2917
ahc->msgin_buf[ahc->msgin_index] = ahc_inb(ahc, SCSIDATL);
sys/dev/aic7xxx/aic7xxx.c
2978
ahc_inb(ahc, SXFRCTL0) | SPIOEN);
sys/dev/aic7xxx/aic7xxx.c
2990
ahc_inb(ahc, SXFRCTL0) | SPIOEN);
sys/dev/aic7xxx/aic7xxx.c
3428
tag = ahc_inb(ahc, INITIATOR_TAG);
sys/dev/aic7xxx/aic7xxx.c
3494
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
3500
last_msg = ahc_inb(ahc, LAST_MSG);
sys/dev/aic7xxx/aic7xxx.c
3581
ahc_inb(ahc, SCB_CONTROL) & mask);
sys/dev/aic7xxx/aic7xxx.c
3633
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
3639
if ((ahc_inb(ahc, SEQ_FLAGS) & DPHASE) == 0
sys/dev/aic7xxx/aic7xxx.c
3655
sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR);
sys/dev/aic7xxx/aic7xxx.c
3657
&& (ahc_inb(ahc, SCB_LUN) & SCB_XFERLEN_ODD) != 0) {
sys/dev/aic7xxx/aic7xxx.c
3719
ahc_inb(ahc, SCB_LUN) ^ SCB_XFERLEN_ODD);
sys/dev/aic7xxx/aic7xxx.c
3738
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
3740
sgptr = (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 3) << 24)
sys/dev/aic7xxx/aic7xxx.c
3741
| (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 2) << 16)
sys/dev/aic7xxx/aic7xxx.c
3742
| (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 1) << 8)
sys/dev/aic7xxx/aic7xxx.c
3743
| ahc_inb(ahc, SCB_RESIDUAL_SGPTR);
sys/dev/aic7xxx/aic7xxx.c
3751
resid = (ahc_inb(ahc, SCB_RESIDUAL_DATACNT + 2) << 16)
sys/dev/aic7xxx/aic7xxx.c
3752
| (ahc_inb(ahc, SCB_RESIDUAL_DATACNT + 1) << 8)
sys/dev/aic7xxx/aic7xxx.c
3753
| ahc_inb(ahc, SCB_RESIDUAL_DATACNT);
sys/dev/aic7xxx/aic7xxx.c
3761
dscommand1 = ahc_inb(ahc, DSCOMMAND1);
sys/dev/aic7xxx/aic7xxx.c
391
error = ahc_inb(ahc, ERROR);
sys/dev/aic7xxx/aic7xxx.c
3915
ahc->unpause = ahc_inb(ahc, HCNTRL) & IRQMS;
sys/dev/aic7xxx/aic7xxx.c
396
ahc_inb(ahc, SEQADDR0) |
sys/dev/aic7xxx/aic7xxx.c
397
(ahc_inb(ahc, SEQADDR1) << 8));
sys/dev/aic7xxx/aic7xxx.c
4115
sblkctl = ahc_inb(ahc, SBLKCTL);
sys/dev/aic7xxx/aic7xxx.c
4117
sxfrctl1_b = ahc_inb(ahc, SXFRCTL1);
sys/dev/aic7xxx/aic7xxx.c
4120
sxfrctl1_a = ahc_inb(ahc, SXFRCTL1);
sys/dev/aic7xxx/aic7xxx.c
4133
} while (--wait && !(ahc_inb(ahc, HCNTRL) & CHIPRSTACK));
sys/dev/aic7xxx/aic7xxx.c
4142
sblkctl = ahc_inb(ahc, SBLKCTL) & (SELBUSB|SELWIDE);
sys/dev/aic7xxx/aic7xxx.c
4174
sblkctl = ahc_inb(ahc, SBLKCTL);
sys/dev/aic7xxx/aic7xxx.c
4206
if (ahc_inb(ahc, SCB_BASE) != i)
sys/dev/aic7xxx/aic7xxx.c
4209
if (ahc_inb(ahc, SCB_BASE) != 0)
sys/dev/aic7xxx/aic7xxx.c
447
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
4604
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) | SELBUSB);
sys/dev/aic7xxx/aic7xxx.c
4607
scsi_conf = ahc_inb(ahc, SCSICONF + 1);
sys/dev/aic7xxx/aic7xxx.c
4611
ahc_outb(ahc, SIMODE0, ahc_inb(ahc, SIMODE0)|ENIOERR);
sys/dev/aic7xxx/aic7xxx.c
4616
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~SELBUSB);
sys/dev/aic7xxx/aic7xxx.c
4623
scsi_conf = ahc_inb(ahc, SCSICONF);
sys/dev/aic7xxx/aic7xxx.c
4628
ahc_outb(ahc, SIMODE0, ahc_inb(ahc, SIMODE0)|ENIOERR);
sys/dev/aic7xxx/aic7xxx.c
4761
(ahc_inb(ahc, SBLKCTL) & (ENAB40|ENAB20)) == 0 && wait;
sys/dev/aic7xxx/aic7xxx.c
4798
printf (" 0x%x", ahc_inb(ahc, i));
sys/dev/aic7xxx/aic7xxx.c
4805
printf (" 0x%x", ahc_inb(ahc, i));
sys/dev/aic7xxx/aic7xxx.c
4976
scsi_conf = ahc_inb(ahc, SCSICONF + 1);
sys/dev/aic7xxx/aic7xxx.c
4982
scsi_conf = ahc_inb(ahc, SCSICONF);
sys/dev/aic7xxx/aic7xxx.c
5000
discenable = ~((ahc_inb(ahc, DISC_DSB + 1) << 8)
sys/dev/aic7xxx/aic7xxx.c
5001
| ahc_inb(ahc, DISC_DSB));
sys/dev/aic7xxx/aic7xxx.c
5003
ultraenb = (ahc_inb(ahc, ULTRA_ENB + 1) << 8)
sys/dev/aic7xxx/aic7xxx.c
5004
| ahc_inb(ahc, ULTRA_ENB);
sys/dev/aic7xxx/aic7xxx.c
5044
scsirate = ahc_inb(ahc, TARG_SCSIRATE + i);
sys/dev/aic7xxx/aic7xxx.c
5061
offset = ahc_inb(ahc, TARG_OFFSET + i);
sys/dev/aic7xxx/aic7xxx.c
5121
hcntrl = ahc_inb(ahc, HCNTRL);
sys/dev/aic7xxx/aic7xxx.c
5162
ahc_outb(ahc, SCSISEQ, ahc_inb(ahc, SCSISEQ) & ~ENSELO);
sys/dev/aic7xxx/aic7xxx.c
5163
intstat = ahc_inb(ahc, INTSTAT);
sys/dev/aic7xxx/aic7xxx.c
5166
intstat = ahc_inb(ahc, INTSTAT);
sys/dev/aic7xxx/aic7xxx.c
5171
|| (ahc_inb(ahc, SSTAT0) & (SELDO|SELINGO)) != 0));
sys/dev/aic7xxx/aic7xxx.c
5174
ahc_inb(ahc, INTSTAT));
sys/dev/aic7xxx/aic7xxx.c
5230
saved_scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/aic7xxx/aic7xxx.c
5232
scbid = ahc_inb(ahc, SCB_64_BTT + TCL_TARGET_OFFSET(tcl));
sys/dev/aic7xxx/aic7xxx.c
5236
scbid = ahc_inb(ahc, BUSY_TARGETS + target_offset);
sys/dev/aic7xxx/aic7xxx.c
5250
saved_scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/aic7xxx/aic7xxx.c
5268
saved_scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/aic7xxx/aic7xxx.c
5378
qinpos = ahc_inb(ahc, SNSCB_QOFF);
sys/dev/aic7xxx/aic7xxx.c
5381
qinpos = ahc_inb(ahc, QINPOS);
sys/dev/aic7xxx/aic7xxx.c
5405
qinstart = ahc_inb(ahc, SNSCB_QOFF);
sys/dev/aic7xxx/aic7xxx.c
5408
qinstart = ahc_inb(ahc, QINPOS);
sys/dev/aic7xxx/aic7xxx.c
5525
curscbptr = ahc_inb(ahc, SCBPTR);
sys/dev/aic7xxx/aic7xxx.c
5526
next = ahc_inb(ahc, WAITING_SCBH); /* Start at head of list. */
sys/dev/aic7xxx/aic7xxx.c
5533
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
5576
next = ahc_inb(ahc, SCB_NEXT);
sys/dev/aic7xxx/aic7xxx.c
5582
next = ahc_inb(ahc, SCB_NEXT);
sys/dev/aic7xxx/aic7xxx.c
5700
next = ahc_inb(ahc, DISCONNECTED_SCBH);
sys/dev/aic7xxx/aic7xxx.c
5705
active_scb = ahc_inb(ahc, SCBPTR);
sys/dev/aic7xxx/aic7xxx.c
5714
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
5737
next = ahc_inb(ahc, SCB_NEXT);
sys/dev/aic7xxx/aic7xxx.c
5743
next = ahc_inb(ahc, SCB_NEXT);
sys/dev/aic7xxx/aic7xxx.c
5761
next = ahc_inb(ahc, SCB_NEXT);
sys/dev/aic7xxx/aic7xxx.c
5791
ahc_outb(ahc, SCB_NEXT, ahc_inb(ahc, FREE_SCBH));
sys/dev/aic7xxx/aic7xxx.c
5792
ahc_outb(ahc, FREE_SCBH, ahc_inb(ahc, SCBPTR));
sys/dev/aic7xxx/aic7xxx.c
5809
curscb = ahc_inb(ahc, SCBPTR);
sys/dev/aic7xxx/aic7xxx.c
5811
next = ahc_inb(ahc, SCB_NEXT);
sys/dev/aic7xxx/aic7xxx.c
5827
ahc_outb(ahc, SCSISEQ, (ahc_inb(ahc, SCSISEQ) & ~ENSELO));
sys/dev/aic7xxx/aic7xxx.c
5872
active_scb = ahc_inb(ahc, SCBPTR);
sys/dev/aic7xxx/aic7xxx.c
5944
scbid = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
595
ahc_inb(ahc, SCSISEQ) & (ENSELI|ENRSELI|ENAUTOATNP));
sys/dev/aic7xxx/aic7xxx.c
5987
ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) & ~ENSCSIRST);
sys/dev/aic7xxx/aic7xxx.c
5988
scsiseq = ahc_inb(ahc, SCSISEQ);
sys/dev/aic7xxx/aic7xxx.c
5998
ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) | ENSCSIRST);
sys/dev/aic7xxx/aic7xxx.c
602
ahc_inb(ahc, SAVED_SCSIID), ahc_inb(ahc, SAVED_LUN),
sys/dev/aic7xxx/aic7xxx.c
603
ahc_inb(ahc, ARG_1), ahc_inb(ahc, ACCUM));
sys/dev/aic7xxx/aic7xxx.c
6050
sblkctl = ahc_inb(ahc, SBLKCTL);
sys/dev/aic7xxx/aic7xxx.c
6055
scsiseq = ahc_inb(ahc, SCSISEQ_TEMPLATE);
sys/dev/aic7xxx/aic7xxx.c
606
ahc_inb(ahc, SEQ_FLAGS), ahc_inb(ahc, SCBPTR),
sys/dev/aic7xxx/aic7xxx.c
6062
simode1 = ahc_inb(ahc, SIMODE1) & ~(ENBUSFREE|ENSCSIRST);
sys/dev/aic7xxx/aic7xxx.c
608
BUILD_TCL(ahc_inb(ahc, SAVED_SCSIID),
sys/dev/aic7xxx/aic7xxx.c
6081
simode1 = ahc_inb(ahc, SIMODE1) & ~(ENBUSFREE|ENSCSIRST);
sys/dev/aic7xxx/aic7xxx.c
609
ahc_inb(ahc, SAVED_LUN))),
sys/dev/aic7xxx/aic7xxx.c
610
ahc_inb(ahc, SINDEX));
sys/dev/aic7xxx/aic7xxx.c
613
ahc_inb(ahc, SCSIID), ahc_inb(ahc, SCB_SCSIID),
sys/dev/aic7xxx/aic7xxx.c
614
ahc_inb(ahc, SCB_LUN), ahc_inb(ahc, SCB_TAG),
sys/dev/aic7xxx/aic7xxx.c
615
ahc_inb(ahc, SCB_CONTROL));
sys/dev/aic7xxx/aic7xxx.c
617
ahc_inb(ahc, SCSIBUSL), ahc_inb(ahc, SCSISIGI));
sys/dev/aic7xxx/aic7xxx.c
618
printf("SXFRCTL0 == 0x%x\n", ahc_inb(ahc, SXFRCTL0));
sys/dev/aic7xxx/aic7xxx.c
619
printf("SEQCTL == 0x%x\n", ahc_inb(ahc, SEQCTL));
sys/dev/aic7xxx/aic7xxx.c
631
u_int rejbyte = ahc_inb(ahc, ACCUM);
sys/dev/aic7xxx/aic7xxx.c
652
lastphase = ahc_inb(ahc, LASTPHASE);
sys/dev/aic7xxx/aic7xxx.c
656
lastphase, ahc_inb(ahc, SCSISIGI));
sys/dev/aic7xxx/aic7xxx.c
663
lastphase = ahc_inb(ahc, LASTPHASE);
sys/dev/aic7xxx/aic7xxx.c
667
lastphase, ahc_inb(ahc, SCSISIGI));
sys/dev/aic7xxx/aic7xxx.c
6711
saved_scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/aic7xxx/aic7xxx.c
6712
last_phase = ahc_inb(ahc, LASTPHASE);
sys/dev/aic7xxx/aic7xxx.c
6716
ahc_inb(ahc, SEQADDR0) | (ahc_inb(ahc, SEQADDR1) << 8));
sys/dev/aic7xxx/aic7xxx.c
6720
ahc_inb(ahc, ACCUM), ahc_inb(ahc, SINDEX), ahc_inb(ahc, DINDEX),
sys/dev/aic7xxx/aic7xxx.c
6721
ahc_inb(ahc, ARG_2));
sys/dev/aic7xxx/aic7xxx.c
6722
printf("HCNT = 0x%x SCBPTR = 0x%x\n", ahc_inb(ahc, HCNT),
sys/dev/aic7xxx/aic7xxx.c
6723
ahc_inb(ahc, SCBPTR));
sys/dev/aic7xxx/aic7xxx.c
6726
ahc_scsiphase_print(ahc_inb(ahc, SCSIPHASE), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6727
ahc_scsisigi_print(ahc_inb(ahc, SCSISIGI), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6728
ahc_error_print(ahc_inb(ahc, ERROR), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6729
ahc_scsibusl_print(ahc_inb(ahc, SCSIBUSL), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6730
ahc_lastphase_print(ahc_inb(ahc, LASTPHASE), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6731
ahc_scsiseq_print(ahc_inb(ahc, SCSISEQ), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6732
ahc_sblkctl_print(ahc_inb(ahc, SBLKCTL), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6733
ahc_scsirate_print(ahc_inb(ahc, SCSIRATE), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6734
ahc_seqctl_print(ahc_inb(ahc, SEQCTL), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6735
ahc_seq_flags_print(ahc_inb(ahc, SEQ_FLAGS), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6736
ahc_sstat0_print(ahc_inb(ahc, SSTAT0), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6737
ahc_sstat1_print(ahc_inb(ahc, SSTAT1), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6738
ahc_sstat2_print(ahc_inb(ahc, SSTAT2), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6739
ahc_sstat3_print(ahc_inb(ahc, SSTAT3), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6740
ahc_simode0_print(ahc_inb(ahc, SIMODE0), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6741
ahc_simode1_print(ahc_inb(ahc, SIMODE1), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6742
ahc_sxfrctl0_print(ahc_inb(ahc, SXFRCTL0), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6743
ahc_dfcntrl_print(ahc_inb(ahc, DFCNTRL), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6744
ahc_dfstatus_print(ahc_inb(ahc, DFSTATUS), &cur_col, 50);
sys/dev/aic7xxx/aic7xxx.c
6749
printf(" 0x%x", ahc_inb(ahc, STACK)|(ahc_inb(ahc, STACK) << 8));
sys/dev/aic7xxx/aic7xxx.c
6752
printf("Card NEXTQSCB = %d\n", ahc_inb(ahc, NEXT_QUEUED_SCB));
sys/dev/aic7xxx/aic7xxx.c
6756
qinpos = ahc_inb(ahc, SNSCB_QOFF);
sys/dev/aic7xxx/aic7xxx.c
6759
qinpos = ahc_inb(ahc, QINPOS);
sys/dev/aic7xxx/aic7xxx.c
6768
scb_index = ahc_inb(ahc, WAITING_SCBH);
sys/dev/aic7xxx/aic7xxx.c
6772
printf("%d:%d ", scb_index, ahc_inb(ahc, SCB_TAG));
sys/dev/aic7xxx/aic7xxx.c
6773
scb_index = ahc_inb(ahc, SCB_NEXT);
sys/dev/aic7xxx/aic7xxx.c
6778
scb_index = ahc_inb(ahc, DISCONNECTED_SCBH);
sys/dev/aic7xxx/aic7xxx.c
6782
printf("%d:%d ", scb_index, ahc_inb(ahc, SCB_TAG));
sys/dev/aic7xxx/aic7xxx.c
6783
scb_index = ahc_inb(ahc, SCB_NEXT);
sys/dev/aic7xxx/aic7xxx.c
6798
scb_index = ahc_inb(ahc, FREE_SCBH);
sys/dev/aic7xxx/aic7xxx.c
6803
scb_index = ahc_inb(ahc, SCB_NEXT);
sys/dev/aic7xxx/aic7xxx.c
6812
ahc_scb_control_print(ahc_inb(ahc, SCB_CONTROL), &cur_col, 60);
sys/dev/aic7xxx/aic7xxx.c
6813
ahc_scb_scsiid_print(ahc_inb(ahc, SCB_SCSIID), &cur_col, 60);
sys/dev/aic7xxx/aic7xxx.c
6814
ahc_scb_lun_print(ahc_inb(ahc, SCB_LUN), &cur_col, 60);
sys/dev/aic7xxx/aic7xxx.c
6815
ahc_scb_tag_print(ahc_inb(ahc, SCB_TAG), &cur_col, 60);
sys/dev/aic7xxx/aic7xxx.c
6831
ahc_scb_control_print(ahc_inb(ahc, SCB_CONTROL),
sys/dev/aic7xxx/aic7xxx.c
6833
ahc_scb_tag_print(ahc_inb(ahc, SCB_TAG), &cur_col, 60);
sys/dev/aic7xxx/aic7xxx.c
689
bus_phase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK;
sys/dev/aic7xxx/aic7xxx.c
6980
last_phase = ahc_inb(ahc, LASTPHASE);
sys/dev/aic7xxx/aic7xxx.c
704
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
7047
saved_scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/aic7xxx/aic7xxx.c
7048
active_scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
7050
if ((ahc_inb(ahc, SEQ_FLAGS) & NOT_IDENTIFIED) == 0
sys/dev/aic7xxx/aic7xxx.c
7094
&& (ahc_inb(ahc, SSTAT1) & REQINIT) == 0) {
sys/dev/aic7xxx/aic7xxx.c
7109
&& (ahc_inb(ahc, SSTAT0) & TARGET) != 0) {
sys/dev/aic7xxx/aic7xxx.c
7173
ahc_inb(ahc, SCB_CONTROL)
sys/dev/aic7xxx/aic7xxx.c
7457
targid_mask = ahc_inb(ahc, TARGID)
sys/dev/aic7xxx/aic7xxx.c
7458
| (ahc_inb(ahc, TARGID + 1) << 8);
sys/dev/aic7xxx/aic7xxx.c
7481
sblkctl = ahc_inb(ahc, SBLKCTL);
sys/dev/aic7xxx/aic7xxx.c
7506
scsiseq = ahc_inb(ahc, SCSISEQ_TEMPLATE);
sys/dev/aic7xxx/aic7xxx.c
7509
scsiseq = ahc_inb(ahc, SCSISEQ);
sys/dev/aic7xxx/aic7xxx.c
753
&& (ahc_inb(ahc, SSTAT1) & SCSIPERR) != 0) {
sys/dev/aic7xxx/aic7xxx.c
7583
targid_mask = ahc_inb(ahc, TARGID)
sys/dev/aic7xxx/aic7xxx.c
7584
| (ahc_inb(ahc, TARGID + 1)
sys/dev/aic7xxx/aic7xxx.c
7607
scsiseq = ahc_inb(ahc, SCSISEQ_TEMPLATE);
sys/dev/aic7xxx/aic7xxx.c
7610
scsiseq = ahc_inb(ahc, SCSISEQ);
sys/dev/aic7xxx/aic7xxx.c
763
curphase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK;
sys/dev/aic7xxx/aic7xxx.c
7650
scsiid = ahc_inb(ahc, SCSIID_ULTRA2);
sys/dev/aic7xxx/aic7xxx.c
7652
scsiid = ahc_inb(ahc, SCSIID);
sys/dev/aic7xxx/aic7xxx.c
767
if ((ahc_inb(ahc, SCSISIGI) & (CDI|MSGI)) == 0) {
sys/dev/aic7xxx/aic7xxx.c
7710
hs_mailbox = ahc_inb(ahc, HS_MAILBOX);
sys/dev/aic7xxx/aic7xxx.c
777
ahc_inb(ahc, SXFRCTL1) | BITBUCKET);
sys/dev/aic7xxx/aic7xxx.c
780
if ((ahc_inb(ahc, SCSISIGI)
sys/dev/aic7xxx/aic7xxx.c
786
ahc_inb(ahc, SXFRCTL1) & ~BITBUCKET);
sys/dev/aic7xxx/aic7xxx.c
794
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
803
ahc_inb(ahc, SCSIDATL);
sys/dev/aic7xxx/aic7xxx.c
818
u_int scbindex = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
819
u_int lastphase = ahc_inb(ahc, LASTPHASE);
sys/dev/aic7xxx/aic7xxx.c
834
ahc_inb(ahc, SEQ_FLAGS) & DPHASE ? "Have" : "Haven't",
sys/dev/aic7xxx/aic7xxx.c
866
ahc_inb(ahc, SXFRCTL0) | CLRSTCNT|CLRCHN);
sys/dev/aic7xxx/aic7xxx.c
868
ahc_inb(ahc, SXFRCTL0) | CLRSTCNT|CLRCHN);
sys/dev/aic7xxx/aic7xxx.c
874
dscommand1 = ahc_inb(ahc, DSCOMMAND1);
sys/dev/aic7xxx/aic7xxx.c
888
scbindex = ahc_inb(ahc, SCB_TAG);
sys/dev/aic7xxx/aic7xxx.c
914
scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/aic7xxx/aic7xxx.c
916
scbptr, ahc_inb(ahc, ARG_1),
sys/dev/aic7xxx/aic7xxx.c
927
ahc_inb(ahc, SAVED_SCSIID), ahc_inb(ahc, SAVED_LUN),
sys/dev/aic7xxx/aic7xxx.c
928
ahc_inb(ahc, ARG_1), ahc_inb(ahc, ACCUM));
sys/dev/aic7xxx/aic7xxx.c
931
ahc_inb(ahc, SEQ_FLAGS), ahc_inb(ahc, SCBPTR),
sys/dev/aic7xxx/aic7xxx.c
933
BUILD_TCL(ahc_inb(ahc, SAVED_SCSIID),
sys/dev/aic7xxx/aic7xxx.c
934
ahc_inb(ahc, SAVED_LUN))),
sys/dev/aic7xxx/aic7xxx.c
935
ahc_inb(ahc, SINDEX),
sys/dev/aic7xxx/aic7xxx.c
936
ahc_inb(ahc, ACCUM));
sys/dev/aic7xxx/aic7xxx.c
939
ahc_inb(ahc, SCSIID), ahc_inb(ahc, SCB_SCSIID),
sys/dev/aic7xxx/aic7xxx.c
940
ahc_inb(ahc, SCB_LUN), ahc_inb(ahc, SCB_TAG),
sys/dev/aic7xxx/aic7xxx.c
941
ahc_inb(ahc, SCB_CONTROL));
sys/dev/aic7xxx/aic7xxx.c
943
ahc_inb(ahc, SCSIBUSL), ahc_inb(ahc, SCSISIGI));
sys/dev/aic7xxx/aic7xxx.c
951
intstat, ahc_inb(ahc, SCSISIGI));
sys/dev/aic7xxx/aic7xxx.c
974
&& ((ahc_inb(ahc, SBLKCTL) & SELBUSB) != 0))
sys/dev/aic7xxx/aic7xxx.c
981
status0 = ahc_inb(ahc, SSTAT0) & IOERR;
sys/dev/aic7xxx/aic7xxx.c
984
status = ahc_inb(ahc, SSTAT1) & (SELTO|SCSIRSTI|BUSFREE|SCSIPERR);
sys/dev/aic7xxx/aic7xxx.c
988
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) ^ SELBUSB);
sys/dev/aic7xxx/aic7xxx.c
989
status = ahc_inb(ahc, SSTAT1)
sys/dev/aic7xxx/aic7xxx_93cx6.h
84
ahc_inb(sd->sd_ahc, sd->sd_control_offset)
sys/dev/aic7xxx/aic7xxx_93cx6.h
92
ahc_inb(sd->sd_ahc, sd->sd_status_offset)
sys/dev/aic7xxx/aic7xxx_93cx6.h
94
ahc_inb(sd->sd_ahc, sd->sd_dataout_offset)
sys/dev/aic7xxx/aic7xxx_inline.h
114
if ((ahc_inb(ahc, INTSTAT) & (SCSIINT | SEQINT | BRKADRINT)) == 0)
sys/dev/aic7xxx/aic7xxx_inline.h
303
return ((ahc_inb(ahc, port+1) << 8) | ahc_inb(ahc, port));
sys/dev/aic7xxx/aic7xxx_inline.h
316
return ((ahc_inb(ahc, port))
sys/dev/aic7xxx/aic7xxx_inline.h
317
| (ahc_inb(ahc, port+1) << 8)
sys/dev/aic7xxx/aic7xxx_inline.h
318
| (ahc_inb(ahc, port+2) << 16)
sys/dev/aic7xxx/aic7xxx_inline.h
319
| (ahc_inb(ahc, port+3) << 24));
sys/dev/aic7xxx/aic7xxx_inline.h
334
return ((ahc_inb(ahc, port))
sys/dev/aic7xxx/aic7xxx_inline.h
335
| (ahc_inb(ahc, port+1) << 8)
sys/dev/aic7xxx/aic7xxx_inline.h
336
| (ahc_inb(ahc, port+2) << 16)
sys/dev/aic7xxx/aic7xxx_inline.h
337
| (ahc_inb(ahc, port+3) << 24)
sys/dev/aic7xxx/aic7xxx_inline.h
338
| (((uint64_t)ahc_inb(ahc, port+4)) << 32)
sys/dev/aic7xxx/aic7xxx_inline.h
339
| (((uint64_t)ahc_inb(ahc, port+5)) << 40)
sys/dev/aic7xxx/aic7xxx_inline.h
340
| (((uint64_t)ahc_inb(ahc, port+6)) << 48)
sys/dev/aic7xxx/aic7xxx_inline.h
341
| (((uint64_t)ahc_inb(ahc, port+7)) << 56));
sys/dev/aic7xxx/aic7xxx_inline.h
593
intstat = ahc_inb(ahc, INTSTAT);
sys/dev/aic7xxx/aic7xxx_inline.h
601
&& (ahc_inb(ahc, ERROR) & PCIERRSTAT) != 0)
sys/dev/aic7xxx/aic7xxx_inline.h
66
(void)ahc_inb(ahc, CCSCBCTL);
sys/dev/aic7xxx/aic7xxx_inline.h
76
return ((ahc_inb(ahc, HCNTRL) & PAUSE) != 0);
sys/dev/aic7xxx/aic7xxx_osm.h
164
ahc_inb(ahc, INTSTAT);
sys/dev/aic7xxx/aic7xxx_pci.c
1006
ahc->bus_softc.pci_softc.dscommand0 = ahc_inb(ahc, DSCOMMAND0);
sys/dev/aic7xxx/aic7xxx_pci.c
1007
ahc->bus_softc.pci_softc.dspcistatus = ahc_inb(ahc, DSPCISTATUS);
sys/dev/aic7xxx/aic7xxx_pci.c
1011
sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE;
sys/dev/aic7xxx/aic7xxx_pci.c
1013
ahc->bus_softc.pci_softc.optionmode = ahc_inb(ahc, OPTIONMODE);
sys/dev/aic7xxx/aic7xxx_pci.c
1017
ahc_inb(ahc, CRCCONTROL1);
sys/dev/aic7xxx/aic7xxx_pci.c
1020
ahc->bus_softc.pci_softc.scbbaddr = ahc_inb(ahc, SCBBADDR);
sys/dev/aic7xxx/aic7xxx_pci.c
1023
ahc->bus_softc.pci_softc.dff_thrsh = ahc_inb(ahc, DFF_THRSH);
sys/dev/aic7xxx/aic7xxx_pci.c
1064
ramps = (ahc_inb(ahc, DSCOMMAND0) & RAMPS) != 0;
sys/dev/aic7xxx/aic7xxx_pci.c
1107
dscommand0 = ahc_inb(ahc, DSCOMMAND0);
sys/dev/aic7xxx/aic7xxx_pci.c
1186
if ((ahc_inb(ahc, INTSTAT) & BRKADRINT) == 0
sys/dev/aic7xxx/aic7xxx_pci.c
1187
|| (ahc_inb(ahc, ERROR) & MPARERR) == 0)
sys/dev/aic7xxx/aic7xxx_pci.c
1198
&& ((ahc_inb(ahc, INTSTAT) & BRKADRINT) == 0
sys/dev/aic7xxx/aic7xxx_pci.c
1199
|| (ahc_inb(ahc, ERROR) & MPARERR) == 0))
sys/dev/aic7xxx/aic7xxx_pci.c
1271
hcntrl = ahc_inb(ahc, HCNTRL);
sys/dev/aic7xxx/aic7xxx_pci.c
1410
if (ahc_inb(ahc, SCB_BASE) == 'A'
sys/dev/aic7xxx/aic7xxx_pci.c
1411
&& ahc_inb(ahc, SCB_BASE + 1) == 'D'
sys/dev/aic7xxx/aic7xxx_pci.c
1412
&& ahc_inb(ahc, SCB_BASE + 2) == 'P'
sys/dev/aic7xxx/aic7xxx_pci.c
1413
&& ahc_inb(ahc, SCB_BASE + 3) == 'T') {
sys/dev/aic7xxx/aic7xxx_pci.c
1422
*sc_data = ahc_inb(ahc, SRAM_BASE + j)
sys/dev/aic7xxx/aic7xxx_pci.c
1423
| ahc_inb(ahc, SRAM_BASE + j + 1) << 8;
sys/dev/aic7xxx/aic7xxx_pci.c
1462
if ((ahc_inb(ahc, SPIOCAP) & SSPIOCPS) == 0)
sys/dev/aic7xxx/aic7xxx_pci.c
1896
spiocap = ahc_inb(ahc, SPIOCAP);
sys/dev/aic7xxx/aic7xxx_pci.c
1906
brdctl = ahc_inb(ahc, BRDCTL);
sys/dev/aic7xxx/aic7xxx_pci.c
1909
*eeprom_present = (ahc_inb(ahc, SPIOCAP) & EEPROM) ? 1 : 0;
sys/dev/aic7xxx/aic7xxx_pci.c
1918
&& (ahc_inb(ahc, SPIOCAP) & SEEPROM) == 0)
sys/dev/aic7xxx/aic7xxx_pci.c
1996
value = ahc_inb(ahc, BRDCTL);
sys/dev/aic7xxx/aic7xxx_pci.c
2007
error = ahc_inb(ahc, ERROR);
sys/dev/aic7xxx/aic7xxx_pci.c
2018
ahc_inb(ahc, SEQADDR0) | (ahc_inb(ahc, SEQADDR1) << 8));
sys/dev/aic7xxx/aic7xxx_pci.c
2082
sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE;
sys/dev/aic7xxx/aic7xxx_pci.c
861
if ((ahc_inb(ahc, HCNTRL) & POWRDN) == 0) {
sys/dev/aic7xxx/aic7xxx_pci.c
864
our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID;
sys/dev/aic7xxx/aic7xxx_pci.c
866
our_id = ahc_inb(ahc, SCSIID) & OID;
sys/dev/aic7xxx/aic7xxx_pci.c
867
sxfrctl1 = ahc_inb(ahc, SXFRCTL1) & STPWEN;
sys/dev/aic7xxx/aic7xxx_pci.c
868
scsiseq = ahc_inb(ahc, SCSISEQ);
sys/dev/aic7xxx/aic7xxx_pci.c
883
sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE;
sys/dev/aic7xxx/aic7xxx_pci.c
894
dscommand0 = ahc_inb(ahc, DSCOMMAND0);
sys/dev/aic7xxx/aic7xxx_pci.c
947
sblkctl = ahc_inb(ahc, SBLKCTL);