sys/dev/cardbus/ahc_cardbus.c
208
sblkctl = ahc_inb(ahc, SBLKCTL);
sys/dev/eisa/ahc_eisa.c
191
biosctrl = ahc_inb(ahc, HA_274_BIOSCTRL);
sys/dev/eisa/ahc_eisa.c
192
scsiconf = ahc_inb(ahc, SCSICONF);
sys/dev/eisa/ahc_eisa.c
193
scsiconf1 = ahc_inb(ahc, SCSICONF + 1);
sys/dev/eisa/ahc_eisa.c
199
ahc_inb(ahc, i),
sys/dev/eisa/ahc_eisa.c
200
ahc_inb(ahc, i+1),
sys/dev/eisa/ahc_eisa.c
201
ahc_inb(ahc, i+2),
sys/dev/eisa/ahc_eisa.c
202
ahc_inb(ahc, i+3),
sys/dev/eisa/ahc_eisa.c
203
ahc_inb(ahc, i+4),
sys/dev/eisa/ahc_eisa.c
204
ahc_inb(ahc, i+5),
sys/dev/eisa/ahc_eisa.c
205
ahc_inb(ahc, i+6),
sys/dev/eisa/ahc_eisa.c
206
ahc_inb(ahc, i+7));
sys/dev/eisa/ahc_eisa.c
228
if ((ahc_inb(ahc, HA_274_BIOSGLOBAL) & HA_274_EXTENDED_TRANS))
sys/dev/ic/aic77xx.c
110
hostconf = ahc_inb(ahc, HOSTCONF);
sys/dev/ic/aic77xx.c
95
sblkctl_orig = ahc_inb(ahc, SBLKCTL);
sys/dev/ic/aic77xx.c
98
sblkctl = ahc_inb(ahc, SBLKCTL);
sys/dev/ic/aic7xxx.c
1010
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
1013
&& (ahc_inb(ahc, SEQ_FLAGS) & NOT_IDENTIFIED) != 0)
sys/dev/ic/aic7xxx.c
1020
now_lvd = ahc_inb(ahc, SBLKCTL) & ENAB40;
sys/dev/ic/aic7xxx.c
1040
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) ^ SELBUSB);
sys/dev/ic/aic7xxx.c
1062
lastphase = ahc_inb(ahc, LASTPHASE);
sys/dev/ic/aic7xxx.c
1063
curphase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK;
sys/dev/ic/aic7xxx.c
1064
sstat2 = ahc_inb(ahc, SSTAT2);
sys/dev/ic/aic7xxx.c
1077
if ((ahc_inb(ahc, SSTAT1) & SCSIPERR) != 0
sys/dev/ic/aic7xxx.c
1097
SCSIID_TARGET(ahc, ahc_inb(ahc, SAVED_SCSIID)));
sys/dev/ic/aic7xxx.c
1098
scsirate = ahc_inb(ahc, SCSIRATE);
sys/dev/ic/aic7xxx.c
1162
ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) & ~ENBUSFREE);
sys/dev/ic/aic7xxx.c
1175
scbptr = ahc_inb(ahc, WAITING_SCBH);
sys/dev/ic/aic7xxx.c
1177
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
1209
&& (ahc_inb(ahc, SIMODE1) & ENBUSFREE) != 0) {
sys/dev/ic/aic7xxx.c
1225
ahc_inb(ahc, SCSISEQ) & (ENSELI|ENRSELI|ENAUTOATNP));
sys/dev/ic/aic7xxx.c
1233
ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) & ~ENBUSFREE);
sys/dev/ic/aic7xxx.c
1242
lastphase = ahc_inb(ahc, LASTPHASE);
sys/dev/ic/aic7xxx.c
1243
saved_scsiid = ahc_inb(ahc, SAVED_SCSIID);
sys/dev/ic/aic7xxx.c
1244
saved_lun = ahc_inb(ahc, SAVED_LUN);
sys/dev/ic/aic7xxx.c
1376
ahc_inb(ahc, SEQADDR0)
sys/dev/ic/aic7xxx.c
1377
| (ahc_inb(ahc, SEQADDR1) << 8));
sys/dev/ic/aic7xxx.c
1430
seqaddr = ahc_inb(ahc, SEQADDR0)
sys/dev/ic/aic7xxx.c
1431
| (ahc_inb(ahc, SEQADDR1) << 8);
sys/dev/ic/aic7xxx.c
1466
simode0 = ahc_inb(ahc, SIMODE0);
sys/dev/ic/aic7xxx.c
1468
simode1 = ahc_inb(ahc, SIMODE1);
sys/dev/ic/aic7xxx.c
1482
ahc_outb(ahc, SEQCTL, ahc_inb(ahc, SEQCTL) | STEP);
sys/dev/ic/aic7xxx.c
1496
ahc_outb(ahc, SEQCTL, ahc_inb(ahc, SEQCTL) & ~STEP);
sys/dev/ic/aic7xxx.c
1643
if ((ahc_inb(ahc, SBLKCTL) & ENAB40) != 0
sys/dev/ic/aic7xxx.c
1644
&& (ahc_inb(ahc, SSTAT2) & EXP_ACTIVE) == 0) {
sys/dev/ic/aic7xxx.c
1968
sxfrctl0 = ahc_inb(ahc, SXFRCTL0);
sys/dev/ic/aic7xxx.c
2136
saved_scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/ic/aic7xxx.c
2144
scb_tag = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
2150
control = ahc_inb(ahc, SCB_CONTROL);
sys/dev/ic/aic7xxx.c
2171
if (ahc_inb(ahc, SSTAT0) & TARGET)
sys/dev/ic/aic7xxx.c
2178
&& (ahc_inb(ahc, SEQ_FLAGS)
sys/dev/ic/aic7xxx.c
2181
our_id = ahc_inb(ahc, TARGIDIN) & OID;
sys/dev/ic/aic7xxx.c
2183
our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID;
sys/dev/ic/aic7xxx.c
2185
our_id = ahc_inb(ahc, SCSIID) & OID;
sys/dev/ic/aic7xxx.c
2187
saved_scsiid = ahc_inb(ahc, SAVED_SCSIID);
sys/dev/ic/aic7xxx.c
2191
ahc_inb(ahc, SAVED_LUN),
sys/dev/ic/aic7xxx.c
2260
scsisigo |= ahc_inb(ahc, SCSISIGI);
sys/dev/ic/aic7xxx.c
2283
&& ahc_inb(ahc, MSG_OUT) == MSG_IDENTIFYFLAG) {
sys/dev/ic/aic7xxx.c
2312
ahc_outb(ahc, SCSISEQ, (ahc_inb(ahc, SCSISEQ) & ~ENSELO));
sys/dev/ic/aic7xxx.c
2329
ahc_outb(ahc, SCSISEQ, (ahc_inb(ahc, SCSISEQ) & ~ENSELO));
sys/dev/ic/aic7xxx.c
2339
ahc_inb(ahc, MSG_OUT), scb->flags);
sys/dev/ic/aic7xxx.c
2346
ahc_outb(ahc, SCB_CONTROL, ahc_inb(ahc, SCB_CONTROL) & ~MK_MESSAGE);
sys/dev/ic/aic7xxx.c
2529
if ((ahc_inb(ahc, SCSISIGI) & ATNI) != 0) {
sys/dev/ic/aic7xxx.c
2538
ahc_inb(ahc, SEQ_FLAGS2) & ~TARGET_MSG_PENDING);
sys/dev/ic/aic7xxx.c
2553
scbid = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
2555
seq_flags = ahc_inb(ahc, SEQ_FLAGS);
sys/dev/ic/aic7xxx.c
2556
curphase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK;
sys/dev/ic/aic7xxx.c
2557
lastphase = ahc_inb(ahc, LASTPHASE);
sys/dev/ic/aic7xxx.c
2582
} else if ((ahc_inb(ahc, SCB_CONTROL) & STATUS_RCVD) == 0) {
sys/dev/ic/aic7xxx.c
2617
ahc_inb(ahc, SCSISEQ) & ~ENSELO);
sys/dev/ic/aic7xxx.c
2647
bus_phase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK;
sys/dev/ic/aic7xxx.c
2766
ahc->msgin_buf[ahc->msgin_index] = ahc_inb(ahc, SCSIBUSL);
sys/dev/ic/aic7xxx.c
2804
(void)ahc_inb(ahc, SCSIDATL);
sys/dev/ic/aic7xxx.c
2822
if ((ahc_inb(ahc, SCSISIGI) & ATNI) != 0
sys/dev/ic/aic7xxx.c
283
ahc_outb(ahc, SXFRCTL1, ahc_inb(ahc, SXFRCTL1) & ~BITBUCKET);
sys/dev/ic/aic7xxx.c
2840
(void)ahc_inb(ahc, SCSIDATL);
sys/dev/ic/aic7xxx.c
2842
ahc_inb(ahc, SXFRCTL0) | SPIOEN);
sys/dev/ic/aic7xxx.c
2849
ahc_inb(ahc, SXFRCTL0) & ~SPIOEN);
sys/dev/ic/aic7xxx.c
2857
ahc_outb(ahc, SXFRCTL0, ahc_inb(ahc, SXFRCTL0) | SPIOEN);
sys/dev/ic/aic7xxx.c
2870
lastbyte = (ahc_inb(ahc, SCSISIGI) & ATNI) == 0;
sys/dev/ic/aic7xxx.c
2877
ahc_outb(ahc, SXFRCTL0, ahc_inb(ahc, SXFRCTL0) & ~SPIOEN);
sys/dev/ic/aic7xxx.c
2878
ahc->msgin_buf[ahc->msgin_index] = ahc_inb(ahc, SCSIDATL);
sys/dev/ic/aic7xxx.c
2906
ahc_inb(ahc, SXFRCTL0) | SPIOEN);
sys/dev/ic/aic7xxx.c
2918
ahc_inb(ahc, SXFRCTL0) | SPIOEN);
sys/dev/ic/aic7xxx.c
299
ahc_inb(ahc, SCSISEQ_TEMPLATE) & (ENSELI|ENRSELI|ENAUTOATNP));
sys/dev/ic/aic7xxx.c
311
if ((ahc_inb(ahc, SEQ_FLAGS2) & SCB_DMA) != 0) {
sys/dev/ic/aic7xxx.c
314
ahc_inb(ahc, SEQ_FLAGS2) & ~SCB_DMA);
sys/dev/ic/aic7xxx.c
3352
tag = ahc_inb(ahc, INITIATOR_TAG);
sys/dev/ic/aic7xxx.c
3418
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
3424
last_msg = ahc_inb(ahc, LAST_MSG);
sys/dev/ic/aic7xxx.c
3514
ahc_inb(ahc, SCB_CONTROL) & mask);
sys/dev/ic/aic7xxx.c
3568
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
3574
if ((ahc_inb(ahc, SEQ_FLAGS) & DPHASE) == 0
sys/dev/ic/aic7xxx.c
3590
sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR);
sys/dev/ic/aic7xxx.c
3592
&& ahc_inb(ahc, DATA_COUNT_ODD) == 1) {
sys/dev/ic/aic7xxx.c
3606
sgptr |= (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 3) << 24)
sys/dev/ic/aic7xxx.c
3607
| (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 2) << 16)
sys/dev/ic/aic7xxx.c
3608
| (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 1) << 8);
sys/dev/ic/aic7xxx.c
3610
data_cnt = (ahc_inb(ahc, SCB_RESIDUAL_DATACNT+3) << 24)
sys/dev/ic/aic7xxx.c
3611
| (ahc_inb(ahc, SCB_RESIDUAL_DATACNT+2) << 16)
sys/dev/ic/aic7xxx.c
3612
| (ahc_inb(ahc, SCB_RESIDUAL_DATACNT+1) << 8)
sys/dev/ic/aic7xxx.c
3613
| (ahc_inb(ahc, SCB_RESIDUAL_DATACNT));
sys/dev/ic/aic7xxx.c
3615
data_addr = (ahc_inb(ahc, SHADDR + 3) << 24)
sys/dev/ic/aic7xxx.c
3616
| (ahc_inb(ahc, SHADDR + 2) << 16)
sys/dev/ic/aic7xxx.c
3617
| (ahc_inb(ahc, SHADDR + 1) << 8)
sys/dev/ic/aic7xxx.c
3618
| (ahc_inb(ahc, SHADDR));
sys/dev/ic/aic7xxx.c
3681
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
3683
sgptr = (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 3) << 24)
sys/dev/ic/aic7xxx.c
3684
| (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 2) << 16)
sys/dev/ic/aic7xxx.c
3685
| (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 1) << 8)
sys/dev/ic/aic7xxx.c
3686
| ahc_inb(ahc, SCB_RESIDUAL_SGPTR);
sys/dev/ic/aic7xxx.c
3694
resid = (ahc_inb(ahc, SCB_RESIDUAL_DATACNT + 2) << 16)
sys/dev/ic/aic7xxx.c
3695
| (ahc_inb(ahc, SCB_RESIDUAL_DATACNT + 1) << 8)
sys/dev/ic/aic7xxx.c
3696
| ahc_inb(ahc, SCB_RESIDUAL_DATACNT);
sys/dev/ic/aic7xxx.c
3704
dscommand1 = ahc_inb(ahc, DSCOMMAND1);
sys/dev/ic/aic7xxx.c
3810
ahc->unpause = ahc_inb(ahc, HCNTRL) & IRQMS;
sys/dev/ic/aic7xxx.c
4003
if ((ahc_inb(ahc, HCNTRL) & CHIPRST) != 0) {
sys/dev/ic/aic7xxx.c
4019
sblkctl1 = ahc_inb(ahc, SBLKCTL);
sys/dev/ic/aic7xxx.c
4021
sxfrctl1_b = ahc_inb(ahc, SXFRCTL1);
sys/dev/ic/aic7xxx.c
4024
sxfrctl1_a = ahc_inb(ahc, SXFRCTL1);
sys/dev/ic/aic7xxx.c
4037
} while (--wait && !(ahc_inb(ahc, HCNTRL) & CHIPRSTACK));
sys/dev/ic/aic7xxx.c
4046
sblkctl = ahc_inb(ahc, SBLKCTL) & (SELBUSB|SELWIDE);
sys/dev/ic/aic7xxx.c
407
error = ahc_inb(ahc, ERROR);
sys/dev/ic/aic7xxx.c
4079
sblkctl1 = ahc_inb(ahc, SBLKCTL);
sys/dev/ic/aic7xxx.c
4105
if (ahc_inb(ahc, SCB_BASE) != i)
sys/dev/ic/aic7xxx.c
4108
if (ahc_inb(ahc, SCB_BASE) != 0)
sys/dev/ic/aic7xxx.c
412
ahc_inb(ahc, SEQADDR0) |
sys/dev/ic/aic7xxx.c
413
(ahc_inb(ahc, SEQADDR1) << 8));
sys/dev/ic/aic7xxx.c
4453
printf (" 0x%x", ahc_inb(ahc, i));
sys/dev/ic/aic7xxx.c
4460
printf (" 0x%x", ahc_inb(ahc, i));
sys/dev/ic/aic7xxx.c
4590
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) | SELBUSB);
sys/dev/ic/aic7xxx.c
4593
scsi_conf = ahc_inb(ahc, SCSICONF + 1);
sys/dev/ic/aic7xxx.c
4597
ahc_outb(ahc, SIMODE0, ahc_inb(ahc, SIMODE0)|ENIOERR);
sys/dev/ic/aic7xxx.c
4606
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~SELBUSB);
sys/dev/ic/aic7xxx.c
4614
scsi_conf = ahc_inb(ahc, SCSICONF);
sys/dev/ic/aic7xxx.c
4619
ahc_outb(ahc, SIMODE0, ahc_inb(ahc, SIMODE0)|ENIOERR);
sys/dev/ic/aic7xxx.c
463
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
4651
discenable = ~((ahc_inb(ahc, DISC_DSB + 1) << 8)
sys/dev/ic/aic7xxx.c
4652
| ahc_inb(ahc, DISC_DSB));
sys/dev/ic/aic7xxx.c
4654
ultraenb = (ahc_inb(ahc, ULTRA_ENB + 1) << 8)
sys/dev/ic/aic7xxx.c
4655
| ahc_inb(ahc, ULTRA_ENB);
sys/dev/ic/aic7xxx.c
4695
scsirate = ahc_inb(ahc, TARG_SCSIRATE + i);
sys/dev/ic/aic7xxx.c
4712
offset = ahc_inb(ahc, TARG_OFFSET + i);
sys/dev/ic/aic7xxx.c
4881
(ahc_inb(ahc, SBLKCTL) & (ENAB40|ENAB20)) == 0 && wait;
sys/dev/ic/aic7xxx.c
4895
hcntrl = ahc_inb(ahc, HCNTRL);
sys/dev/ic/aic7xxx.c
4931
ahc_outb(ahc, SCSISEQ, ahc_inb(ahc, SCSISEQ) & ~ENSELO);
sys/dev/ic/aic7xxx.c
4936
&& (((intstat = ahc_inb(ahc, INTSTAT)) & INT_PEND) != 0
sys/dev/ic/aic7xxx.c
4937
|| (ahc_inb(ahc, SSTAT0) & (SELDO|SELINGO))));
sys/dev/ic/aic7xxx.c
4940
ahc_inb(ahc, INTSTAT));
sys/dev/ic/aic7xxx.c
4969
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) | SELBUSB);
sys/dev/ic/aic7xxx.c
4970
ahc->suspend_state.channel[1].scsiseq = ahc_inb(ahc, SCSISEQ);
sys/dev/ic/aic7xxx.c
4971
ahc->suspend_state.channel[1].sxfrctl0 = ahc_inb(ahc, SXFRCTL0);
sys/dev/ic/aic7xxx.c
4972
ahc->suspend_state.channel[1].sxfrctl1 = ahc_inb(ahc, SXFRCTL1);
sys/dev/ic/aic7xxx.c
4973
ahc->suspend_state.channel[1].simode0 = ahc_inb(ahc, SIMODE0);
sys/dev/ic/aic7xxx.c
4974
ahc->suspend_state.channel[1].simode1 = ahc_inb(ahc, SIMODE1);
sys/dev/ic/aic7xxx.c
4975
ahc->suspend_state.channel[1].seltimer = ahc_inb(ahc, SELTIMER);
sys/dev/ic/aic7xxx.c
4976
ahc->suspend_state.channel[1].seqctl = ahc_inb(ahc, SEQCTL);
sys/dev/ic/aic7xxx.c
4977
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~SELBUSB);
sys/dev/ic/aic7xxx.c
4979
ahc->suspend_state.channel[0].scsiseq = ahc_inb(ahc, SCSISEQ);
sys/dev/ic/aic7xxx.c
4980
ahc->suspend_state.channel[0].sxfrctl0 = ahc_inb(ahc, SXFRCTL0);
sys/dev/ic/aic7xxx.c
4981
ahc->suspend_state.channel[0].sxfrctl1 = ahc_inb(ahc, SXFRCTL1);
sys/dev/ic/aic7xxx.c
4982
ahc->suspend_state.channel[0].simode0 = ahc_inb(ahc, SIMODE0);
sys/dev/ic/aic7xxx.c
4983
ahc->suspend_state.channel[0].simode1 = ahc_inb(ahc, SIMODE1);
sys/dev/ic/aic7xxx.c
4984
ahc->suspend_state.channel[0].seltimer = ahc_inb(ahc, SELTIMER);
sys/dev/ic/aic7xxx.c
4985
ahc->suspend_state.channel[0].seqctl = ahc_inb(ahc, SEQCTL);
sys/dev/ic/aic7xxx.c
4988
ahc->suspend_state.dscommand0 = ahc_inb(ahc, DSCOMMAND0);
sys/dev/ic/aic7xxx.c
4989
ahc->suspend_state.dspcistatus = ahc_inb(ahc, DSPCISTATUS);
sys/dev/ic/aic7xxx.c
4995
sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE;
sys/dev/ic/aic7xxx.c
4997
ahc->suspend_state.optionmode = ahc_inb(ahc, OPTIONMODE);
sys/dev/ic/aic7xxx.c
4999
ahc->suspend_state.crccontrol1 = ahc_inb(ahc, CRCCONTROL1);
sys/dev/ic/aic7xxx.c
5003
ahc->suspend_state.scbbaddr = ahc_inb(ahc, SCBBADDR);
sys/dev/ic/aic7xxx.c
5006
ahc->suspend_state.dff_thrsh = ahc_inb(ahc, DFF_THRSH);
sys/dev/ic/aic7xxx.c
5010
*ptr++ = ahc_inb(ahc, SRAM_BASE + i);
sys/dev/ic/aic7xxx.c
5014
*ptr++ = ahc_inb(ahc, TARG_OFFSET + i);
sys/dev/ic/aic7xxx.c
5046
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) | SELBUSB);
sys/dev/ic/aic7xxx.c
5055
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~SELBUSB);
sys/dev/ic/aic7xxx.c
5077
sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE;
sys/dev/ic/aic7xxx.c
5129
saved_scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/ic/aic7xxx.c
5131
scbid = ahc_inb(ahc, SCB_64_BTT + TCL_TARGET_OFFSET(tcl));
sys/dev/ic/aic7xxx.c
5135
scbid = ahc_inb(ahc, BUSY_TARGETS + target_offset);
sys/dev/ic/aic7xxx.c
5149
saved_scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/ic/aic7xxx.c
5167
saved_scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/ic/aic7xxx.c
5279
qinpos = ahc_inb(ahc, SNSCB_QOFF);
sys/dev/ic/aic7xxx.c
5282
qinpos = ahc_inb(ahc, QINPOS);
sys/dev/ic/aic7xxx.c
5306
qinstart = ahc_inb(ahc, SNSCB_QOFF);
sys/dev/ic/aic7xxx.c
5309
qinstart = ahc_inb(ahc, QINPOS);
sys/dev/ic/aic7xxx.c
5426
curscbptr = ahc_inb(ahc, SCBPTR);
sys/dev/ic/aic7xxx.c
5427
next = ahc_inb(ahc, WAITING_SCBH); /* Start at head of list. */
sys/dev/ic/aic7xxx.c
5434
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
5477
next = ahc_inb(ahc, SCB_NEXT);
sys/dev/ic/aic7xxx.c
5483
next = ahc_inb(ahc, SCB_NEXT);
sys/dev/ic/aic7xxx.c
5606
next = ahc_inb(ahc, DISCONNECTED_SCBH);
sys/dev/ic/aic7xxx.c
5611
active_scb = ahc_inb(ahc, SCBPTR);
sys/dev/ic/aic7xxx.c
5620
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
5643
next = ahc_inb(ahc, SCB_NEXT);
sys/dev/ic/aic7xxx.c
5649
next = ahc_inb(ahc, SCB_NEXT);
sys/dev/ic/aic7xxx.c
5667
next = ahc_inb(ahc, SCB_NEXT);
sys/dev/ic/aic7xxx.c
5697
ahc_outb(ahc, SCB_NEXT, ahc_inb(ahc, FREE_SCBH));
sys/dev/ic/aic7xxx.c
5698
ahc_outb(ahc, FREE_SCBH, ahc_inb(ahc, SCBPTR));
sys/dev/ic/aic7xxx.c
5715
curscb = ahc_inb(ahc, SCBPTR);
sys/dev/ic/aic7xxx.c
5717
next = ahc_inb(ahc, SCB_NEXT);
sys/dev/ic/aic7xxx.c
5733
ahc_outb(ahc, SCSISEQ, (ahc_inb(ahc, SCSISEQ) & ~ENSELO));
sys/dev/ic/aic7xxx.c
5778
active_scb = ahc_inb(ahc, SCBPTR);
sys/dev/ic/aic7xxx.c
5851
scbid = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
5894
ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) & ~ENSCSIRST);
sys/dev/ic/aic7xxx.c
5895
scsiseq = ahc_inb(ahc, SCSISEQ);
sys/dev/ic/aic7xxx.c
5905
ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) | ENSCSIRST);
sys/dev/ic/aic7xxx.c
5957
sblkctl = ahc_inb(ahc, SBLKCTL);
sys/dev/ic/aic7xxx.c
5962
scsiseq = ahc_inb(ahc, SCSISEQ_TEMPLATE);
sys/dev/ic/aic7xxx.c
5969
simode1 = ahc_inb(ahc, SIMODE1) & ~(ENBUSFREE|ENSCSIRST);
sys/dev/ic/aic7xxx.c
5988
simode1 = ahc_inb(ahc, SIMODE1) & ~(ENBUSFREE|ENSCSIRST);
sys/dev/ic/aic7xxx.c
599
ahc_inb(ahc, SCSISEQ) & (ENSELI|ENRSELI|ENAUTOATNP));
sys/dev/ic/aic7xxx.c
606
ahc_inb(ahc, SAVED_SCSIID), ahc_inb(ahc, SAVED_LUN),
sys/dev/ic/aic7xxx.c
607
ahc_inb(ahc, ARG_1), ahc_inb(ahc, ACCUM));
sys/dev/ic/aic7xxx.c
610
ahc_inb(ahc, SEQ_FLAGS), ahc_inb(ahc, SCBPTR),
sys/dev/ic/aic7xxx.c
612
BUILD_TCL(ahc_inb(ahc, SAVED_SCSIID),
sys/dev/ic/aic7xxx.c
613
ahc_inb(ahc, SAVED_LUN))),
sys/dev/ic/aic7xxx.c
614
ahc_inb(ahc, SINDEX));
sys/dev/ic/aic7xxx.c
617
ahc_inb(ahc, SCSIID), ahc_inb(ahc, SCB_SCSIID),
sys/dev/ic/aic7xxx.c
618
ahc_inb(ahc, SCB_LUN), ahc_inb(ahc, SCB_TAG),
sys/dev/ic/aic7xxx.c
619
ahc_inb(ahc, SCB_CONTROL));
sys/dev/ic/aic7xxx.c
621
ahc_inb(ahc, SCSIBUSL), ahc_inb(ahc, SCSISIGI));
sys/dev/ic/aic7xxx.c
622
printf("SXFRCTL0 == 0x%x\n", ahc_inb(ahc, SXFRCTL0));
sys/dev/ic/aic7xxx.c
623
printf("SEQCTL == 0x%x\n", ahc_inb(ahc, SEQCTL));
sys/dev/ic/aic7xxx.c
635
u_int rejbyte = ahc_inb(ahc, ACCUM);
sys/dev/ic/aic7xxx.c
656
lastphase = ahc_inb(ahc, LASTPHASE);
sys/dev/ic/aic7xxx.c
660
lastphase, ahc_inb(ahc, SCSISIGI));
sys/dev/ic/aic7xxx.c
6622
saved_scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/ic/aic7xxx.c
6623
last_phase = ahc_inb(ahc, LASTPHASE);
sys/dev/ic/aic7xxx.c
6627
ahc_inb(ahc, SEQADDR0) | (ahc_inb(ahc, SEQADDR1) << 8));
sys/dev/ic/aic7xxx.c
6631
ahc_inb(ahc, ACCUM), ahc_inb(ahc, SINDEX), ahc_inb(ahc, DINDEX),
sys/dev/ic/aic7xxx.c
6632
ahc_inb(ahc, ARG_2));
sys/dev/ic/aic7xxx.c
6633
printf("HCNT = 0x%x SCBPTR = 0x%x\n", ahc_inb(ahc, HCNT),
sys/dev/ic/aic7xxx.c
6634
ahc_inb(ahc, SCBPTR));
sys/dev/ic/aic7xxx.c
6637
ahc_scsiphase_print(ahc_inb(ahc, SCSIPHASE), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6638
ahc_scsisigi_print(ahc_inb(ahc, SCSISIGI), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6639
ahc_error_print(ahc_inb(ahc, ERROR), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6640
ahc_scsibusl_print(ahc_inb(ahc, SCSIBUSL), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6641
ahc_lastphase_print(ahc_inb(ahc, LASTPHASE), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6642
ahc_scsiseq_print(ahc_inb(ahc, SCSISEQ), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6643
ahc_sblkctl_print(ahc_inb(ahc, SBLKCTL), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6644
ahc_scsirate_print(ahc_inb(ahc, SCSIRATE), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6645
ahc_seqctl_print(ahc_inb(ahc, SEQCTL), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6646
ahc_seq_flags_print(ahc_inb(ahc, SEQ_FLAGS), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6647
ahc_sstat0_print(ahc_inb(ahc, SSTAT0), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6648
ahc_sstat1_print(ahc_inb(ahc, SSTAT1), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6649
ahc_sstat2_print(ahc_inb(ahc, SSTAT2), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6650
ahc_sstat3_print(ahc_inb(ahc, SSTAT3), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6651
ahc_simode0_print(ahc_inb(ahc, SIMODE0), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6652
ahc_simode1_print(ahc_inb(ahc, SIMODE1), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6653
ahc_sxfrctl0_print(ahc_inb(ahc, SXFRCTL0), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6654
ahc_dfcntrl_print(ahc_inb(ahc, DFCNTRL), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6655
ahc_dfstatus_print(ahc_inb(ahc, DFSTATUS), &cur_col, 50);
sys/dev/ic/aic7xxx.c
6660
printf(" 0x%x", ahc_inb(ahc, STACK)|(ahc_inb(ahc, STACK) << 8));
sys/dev/ic/aic7xxx.c
6663
printf("Card NEXTQSCB = %d\n", ahc_inb(ahc, NEXT_QUEUED_SCB));
sys/dev/ic/aic7xxx.c
6667
qinpos = ahc_inb(ahc, SNSCB_QOFF);
sys/dev/ic/aic7xxx.c
667
lastphase = ahc_inb(ahc, LASTPHASE);
sys/dev/ic/aic7xxx.c
6670
qinpos = ahc_inb(ahc, QINPOS);
sys/dev/ic/aic7xxx.c
6679
scb_index = ahc_inb(ahc, WAITING_SCBH);
sys/dev/ic/aic7xxx.c
6683
printf("%d:%d ", scb_index, ahc_inb(ahc, SCB_TAG));
sys/dev/ic/aic7xxx.c
6684
scb_index = ahc_inb(ahc, SCB_NEXT);
sys/dev/ic/aic7xxx.c
6689
scb_index = ahc_inb(ahc, DISCONNECTED_SCBH);
sys/dev/ic/aic7xxx.c
6693
printf("%d:%d ", scb_index, ahc_inb(ahc, SCB_TAG));
sys/dev/ic/aic7xxx.c
6694
scb_index = ahc_inb(ahc, SCB_NEXT);
sys/dev/ic/aic7xxx.c
6709
scb_index = ahc_inb(ahc, FREE_SCBH);
sys/dev/ic/aic7xxx.c
671
lastphase, ahc_inb(ahc, SCSISIGI));
sys/dev/ic/aic7xxx.c
6714
scb_index = ahc_inb(ahc, SCB_NEXT);
sys/dev/ic/aic7xxx.c
6723
ahc_scb_control_print(ahc_inb(ahc, SCB_CONTROL), &cur_col, 60);
sys/dev/ic/aic7xxx.c
6724
ahc_scb_scsiid_print(ahc_inb(ahc, SCB_SCSIID), &cur_col, 60);
sys/dev/ic/aic7xxx.c
6725
ahc_scb_lun_print(ahc_inb(ahc, SCB_LUN), &cur_col, 60);
sys/dev/ic/aic7xxx.c
6726
ahc_scb_tag_print(ahc_inb(ahc, SCB_TAG), &cur_col, 60);
sys/dev/ic/aic7xxx.c
6742
ahc_scb_control_print(ahc_inb(ahc, SCB_CONTROL),
sys/dev/ic/aic7xxx.c
6744
ahc_scb_tag_print(ahc_inb(ahc, SCB_TAG), &cur_col, 60);
sys/dev/ic/aic7xxx.c
693
bus_phase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK;
sys/dev/ic/aic7xxx.c
7001
targid_mask = ahc_inb(ahc, TARGID)
sys/dev/ic/aic7xxx.c
7002
| (ahc_inb(ahc, TARGID + 1) << 8);
sys/dev/ic/aic7xxx.c
7025
sblkctl = ahc_inb(ahc, SBLKCTL);
sys/dev/ic/aic7xxx.c
7050
scsiseq = ahc_inb(ahc, SCSISEQ_TEMPLATE);
sys/dev/ic/aic7xxx.c
7053
scsiseq = ahc_inb(ahc, SCSISEQ);
sys/dev/ic/aic7xxx.c
708
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
7124
targid_mask = ahc_inb(ahc, TARGID)
sys/dev/ic/aic7xxx.c
7125
| (ahc_inb(ahc, TARGID + 1)
sys/dev/ic/aic7xxx.c
7149
scsiseq = ahc_inb(ahc, SCSISEQ_TEMPLATE);
sys/dev/ic/aic7xxx.c
7152
scsiseq = ahc_inb(ahc, SCSISEQ);
sys/dev/ic/aic7xxx.c
7185
scsiid = ahc_inb(ahc, SCSIID_ULTRA2);
sys/dev/ic/aic7xxx.c
7187
scsiid = ahc_inb(ahc, SCSIID);
sys/dev/ic/aic7xxx.c
7246
hs_mailbox = ahc_inb(ahc, HS_MAILBOX);
sys/dev/ic/aic7xxx.c
757
&& (ahc_inb(ahc, SSTAT1) & SCSIPERR) != 0) {
sys/dev/ic/aic7xxx.c
768
curphase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK;
sys/dev/ic/aic7xxx.c
772
if ((ahc_inb(ahc, SCSISIGI) & (CDI|MSGI)) == 0) {
sys/dev/ic/aic7xxx.c
782
ahc_inb(ahc, SXFRCTL1) | BITBUCKET);
sys/dev/ic/aic7xxx.c
785
if ((ahc_inb(ahc, SCSISIGI)
sys/dev/ic/aic7xxx.c
791
ahc_inb(ahc, SXFRCTL1) & ~BITBUCKET);
sys/dev/ic/aic7xxx.c
799
scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
808
(void)ahc_inb(ahc, SCSIDATL);
sys/dev/ic/aic7xxx.c
823
u_int scbindex = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
824
u_int lastphase = ahc_inb(ahc, LASTPHASE);
sys/dev/ic/aic7xxx.c
839
ahc_inb(ahc, SEQ_FLAGS) & DPHASE ? "Have" : "Haven't",
sys/dev/ic/aic7xxx.c
872
ahc_inb(ahc, SXFRCTL0) | CLRSTCNT|CLRCHN);
sys/dev/ic/aic7xxx.c
874
ahc_inb(ahc, SXFRCTL0) | CLRSTCNT|CLRCHN);
sys/dev/ic/aic7xxx.c
880
dscommand1 = ahc_inb(ahc, DSCOMMAND1);
sys/dev/ic/aic7xxx.c
894
scbindex = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx.c
920
scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/ic/aic7xxx.c
922
scbptr, ahc_inb(ahc, ARG_1),
sys/dev/ic/aic7xxx.c
933
ahc_inb(ahc, SAVED_SCSIID), ahc_inb(ahc, SAVED_LUN),
sys/dev/ic/aic7xxx.c
934
ahc_inb(ahc, ARG_1), ahc_inb(ahc, ACCUM));
sys/dev/ic/aic7xxx.c
937
ahc_inb(ahc, SEQ_FLAGS), ahc_inb(ahc, SCBPTR),
sys/dev/ic/aic7xxx.c
939
BUILD_TCL(ahc_inb(ahc, SAVED_SCSIID),
sys/dev/ic/aic7xxx.c
940
ahc_inb(ahc, SAVED_LUN))),
sys/dev/ic/aic7xxx.c
941
ahc_inb(ahc, SINDEX),
sys/dev/ic/aic7xxx.c
942
ahc_inb(ahc, ACCUM));
sys/dev/ic/aic7xxx.c
945
ahc_inb(ahc, SCSIID), ahc_inb(ahc, SCB_SCSIID),
sys/dev/ic/aic7xxx.c
946
ahc_inb(ahc, SCB_LUN), ahc_inb(ahc, SCB_TAG),
sys/dev/ic/aic7xxx.c
947
ahc_inb(ahc, SCB_CONTROL));
sys/dev/ic/aic7xxx.c
949
ahc_inb(ahc, SCSIBUSL), ahc_inb(ahc, SCSISIGI));
sys/dev/ic/aic7xxx.c
957
intstat, ahc_inb(ahc, SCSISIGI));
sys/dev/ic/aic7xxx.c
980
&& ((ahc_inb(ahc, SBLKCTL) & SELBUSB) != 0))
sys/dev/ic/aic7xxx.c
987
status0 = ahc_inb(ahc, SSTAT0) & IOERR;
sys/dev/ic/aic7xxx.c
990
status = ahc_inb(ahc, SSTAT1) & (SELTO|SCSIRSTI|BUSFREE|SCSIPERR);
sys/dev/ic/aic7xxx.c
994
ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) ^ SELBUSB);
sys/dev/ic/aic7xxx.c
995
status = ahc_inb(ahc, SSTAT1)
sys/dev/ic/aic7xxx_inline.h
119
if ((ahc_inb(ahc, INTSTAT) & (SCSIINT | SEQINT | BRKADRINT)) == 0)
sys/dev/ic/aic7xxx_inline.h
310
return ((ahc_inb(ahc, port+1) << 8) | ahc_inb(ahc, port));
sys/dev/ic/aic7xxx_inline.h
323
return ((ahc_inb(ahc, port))
sys/dev/ic/aic7xxx_inline.h
324
| (ahc_inb(ahc, port+1) << 8)
sys/dev/ic/aic7xxx_inline.h
325
| (ahc_inb(ahc, port+2) << 16)
sys/dev/ic/aic7xxx_inline.h
326
| (ahc_inb(ahc, port+3) << 24));
sys/dev/ic/aic7xxx_inline.h
341
return ((ahc_inb(ahc, port))
sys/dev/ic/aic7xxx_inline.h
342
| (ahc_inb(ahc, port+1) << 8)
sys/dev/ic/aic7xxx_inline.h
343
| (ahc_inb(ahc, port+2) << 16)
sys/dev/ic/aic7xxx_inline.h
344
| (ahc_inb(ahc, port+3) << 24)
sys/dev/ic/aic7xxx_inline.h
345
| (((uint64_t)ahc_inb(ahc, port+4)) << 32)
sys/dev/ic/aic7xxx_inline.h
346
| (((uint64_t)ahc_inb(ahc, port+5)) << 40)
sys/dev/ic/aic7xxx_inline.h
347
| (((uint64_t)ahc_inb(ahc, port+6)) << 48)
sys/dev/ic/aic7xxx_inline.h
348
| (((uint64_t)ahc_inb(ahc, port+7)) << 56));
sys/dev/ic/aic7xxx_inline.h
605
intstat = ahc_inb(ahc, INTSTAT);
sys/dev/ic/aic7xxx_inline.h
642
&& (ahc_inb(ahc, ERROR) & PCIERRSTAT) != 0)
sys/dev/ic/aic7xxx_inline.h
71
(void)ahc_inb(ahc, CCSCBCTL);
sys/dev/ic/aic7xxx_inline.h
81
return ((ahc_inb(ahc, HCNTRL) & PAUSE) != 0);
sys/dev/ic/aic7xxx_osm.c
1017
ahc_inb(ahc, SCB_CONTROL)
sys/dev/ic/aic7xxx_osm.c
703
if (ahc_inb(ahc, INTSTAT) & INT_PEND)
sys/dev/ic/aic7xxx_osm.c
838
last_phase = ahc_inb(ahc, LASTPHASE);
sys/dev/ic/aic7xxx_osm.c
883
saved_scbptr = ahc_inb(ahc, SCBPTR);
sys/dev/ic/aic7xxx_osm.c
884
active_scb_index = ahc_inb(ahc, SCB_TAG);
sys/dev/ic/aic7xxx_osm.c
886
if ((ahc_inb(ahc, SEQ_FLAGS) & NOT_IDENTIFIED) == 0
sys/dev/ic/aic7xxx_osm.c
954
&& (ahc_inb(ahc, SSTAT0) & TARGET) != 0) {
sys/dev/ic/aic7xxx_osm.h
244
(void)ahc_inb(ahc, INTSTAT);
sys/dev/ic/aic7xxx_seeprom.c
170
if (ahc_inb(ahc, SCB_BASE) == 'A'
sys/dev/ic/aic7xxx_seeprom.c
171
&& ahc_inb(ahc, SCB_BASE + 1) == 'D'
sys/dev/ic/aic7xxx_seeprom.c
172
&& ahc_inb(ahc, SCB_BASE + 2) == 'P'
sys/dev/ic/aic7xxx_seeprom.c
173
&& ahc_inb(ahc, SCB_BASE + 3) == 'T') {
sys/dev/ic/aic7xxx_seeprom.c
182
*sc_data = ahc_inb(ahc, SRAM_BASE + j)
sys/dev/ic/aic7xxx_seeprom.c
183
| ahc_inb(ahc, SRAM_BASE + j + 1) << 8;
sys/dev/ic/aic7xxx_seeprom.c
222
if ((ahc_inb(ahc, SPIOCAP) & SSPIOCPS) == 0)
sys/dev/ic/aic7xxx_seeprom.c
653
spiocap = ahc_inb(ahc, SPIOCAP);
sys/dev/ic/aic7xxx_seeprom.c
659
brdctl = ahc_inb(ahc, BRDCTL);
sys/dev/ic/aic7xxx_seeprom.c
663
*eeprom_present = (ahc_inb(ahc, SPIOCAP) & EEPROM) ? 1 : 0;
sys/dev/ic/aic7xxx_seeprom.c
672
&& (ahc_inb(ahc, SPIOCAP) & SEEPROM) == 0)
sys/dev/ic/aic7xxx_seeprom.c
750
value = ahc_inb(ahc, BRDCTL);
sys/dev/pci/ahc_pci.c
1024
sblkctl = ahc_inb(ahc, SBLKCTL);
sys/dev/pci/ahc_pci.c
1151
ramps = (ahc_inb(ahc, DSCOMMAND0) & RAMPS) != 0;
sys/dev/pci/ahc_pci.c
1194
dscommand0 = ahc_inb(ahc, DSCOMMAND0);
sys/dev/pci/ahc_pci.c
1273
if ((ahc_inb(ahc, INTSTAT) & BRKADRINT) == 0
sys/dev/pci/ahc_pci.c
1274
|| (ahc_inb(ahc, ERROR) & MPARERR) == 0)
sys/dev/pci/ahc_pci.c
1285
&& ((ahc_inb(ahc, INTSTAT) & BRKADRINT) == 0
sys/dev/pci/ahc_pci.c
1286
|| (ahc_inb(ahc, ERROR) & MPARERR) == 0))
sys/dev/pci/ahc_pci.c
1359
hcntrl = ahc_inb(ahc, HCNTRL);
sys/dev/pci/ahc_pci.c
1405
error = ahc_inb(ahc, ERROR);
sys/dev/pci/ahc_pci.c
1414
ahc_inb(ahc, SEQADDR0) | (ahc_inb(ahc, SEQADDR1) << 8));
sys/dev/pci/ahc_pci.c
913
if ((ahc_inb(ahc, HCNTRL) & POWRDN) == 0) {
sys/dev/pci/ahc_pci.c
916
our_id = ahc_inb(ahc, SCSIID_ULTRA2) & OID;
sys/dev/pci/ahc_pci.c
918
our_id = ahc_inb(ahc, SCSIID) & OID;
sys/dev/pci/ahc_pci.c
919
sxfrctl1 = ahc_inb(ahc, SXFRCTL1) & STPWEN;
sys/dev/pci/ahc_pci.c
920
scsiseq = ahc_inb(ahc, SCSISEQ);
sys/dev/pci/ahc_pci.c
935
sfunct = ahc_inb(ahc, SFUNCT) & ~ALT_MODE;
sys/dev/pci/ahc_pci.c
967
dscommand0 = ahc_inb(ahc, DSCOMMAND0);