Lines Matching defs:scbid
214 u_int scbid);
215 static u_int ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid,
395 u_int scbid;
415 scbid = (ahd_inb(ahd, GSFIFO+1) << 8)
417 scb = ahd_lookup_scb(ahd, scbid);
420 ahd_name(ahd), scbid);
447 ahd_set_scbptr(ahd, scbid);
501 scbid = ahd_inw(ahd, COMPLETE_DMA_SCB_HEAD);
502 while (!SCBID_IS_NULL(scbid)) {
506 ahd_set_scbptr(ahd, scbid);
508 scb = ahd_lookup_scb(ahd, scbid);
511 "SCB %d invalid\n", ahd_name(ahd), scbid);
519 scbid = next_scbid;
523 scbid = ahd_inw(ahd, COMPLETE_SCB_HEAD);
524 while (!SCBID_IS_NULL(scbid)) {
526 ahd_set_scbptr(ahd, scbid);
528 scb = ahd_lookup_scb(ahd, scbid);
531 ahd_name(ahd), scbid);
536 scbid = next_scbid;
907 u_int scbid;
910 scbid = ahd_get_scbptr(ahd);
911 scb = ahd_lookup_scb(ahd, scbid);
916 "(bad status)\n", ahd_name(ahd), scbid);
927 u_int scbid;
931 scbid = ahd_get_scbptr(ahd);
932 scb = ahd_lookup_scb(ahd, scbid);
973 u_int scbid;
975 scbid = ahd_get_scbptr(ahd);
976 scb = ahd_lookup_scb(ahd, scbid);
981 printf("SCB %d Packetized Status Overrun", scbid);
989 u_int scbid;
991 scbid = ahd_get_scbptr(ahd);
992 scb = ahd_lookup_scb(ahd, scbid);
995 printf("CFG4ISTAT: Free SCB %d referenced", scbid);
1032 u_int scbid;
1045 scbid = ahd_get_scbptr(ahd);
1046 scb = ahd_lookup_scb(ahd, scbid);
1360 u_int scbid;
1366 scbid = ahd_get_scbptr(ahd);
1367 scb = ahd_lookup_scb(ahd, scbid);
1385 u_int scbid;
1388 scbid = ahd_get_scbptr(ahd);
1389 scb = ahd_lookup_scb(ahd, scbid);
1439 u_int scbid;
1446 scbid = ahd_get_scbptr(ahd);
1447 scb = ahd_lookup_scb(ahd, scbid);
1509 u_int scbid;
1529 scbid = ahd_get_scbptr(ahd);
1530 scb = ahd_lookup_scb(ahd, scbid);
1752 u_int scbid;
1799 scbid = ahd_get_scbptr(ahd);
1800 scb = ahd_lookup_scb(ahd, scbid);
1986 u_int scbid;
2012 scbid = ahd_inw(ahd, CURRSCB);
2013 scb = ahd_lookup_scb(ahd, scbid);
2040 if (waiting_h != scbid) {
2042 ahd_outw(ahd, WAITING_TID_HEAD, scbid);
2045 ahd_outw(ahd, WAITING_TID_TAIL, scbid);
2051 ahd_set_scbptr(ahd, scbid);
2088 u_int scbid;
2091 scbid = ahd_get_scbptr(ahd);
2092 scb = ahd_lookup_scb(ahd, scbid);
2122 u_int scbid;
2140 scbid = ahd_get_scbptr(ahd);
2141 scb = ahd_lookup_scb(ahd, scbid);
2355 u_int scbid;
2362 scbid = ahd_get_scbptr(ahd);
2363 scb = ahd_lookup_scb(ahd, scbid);
6911 * scbid that should be restored once manipulation
6939 u_int scbid;
6944 scbid = ahd_inw_scbram(ahd, scb_offset);
6946 return (scbid);
6950 ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid)
6956 ahd_outw(ahd, scb_offset, scbid);
7116 u_int scbid;
7234 for (scbid = tid_next; !SCBID_IS_NULL(scbid); scbid = tid_next) {
7245 if (scbid >= ahd->scb_data.numscbs) {
7248 ahd_name(ahd), scbid, ahd->scb_data.numscbs);
7252 scb = ahd_lookup_scb(ahd, scbid);
7255 ahd_name(ahd), scbid);
7259 ahd_set_scbptr(ahd, scbid);
7263 tid_prev = scbid;
7272 tid_head = scbid;
7277 if (tid_head != scbid)
7295 u_int scbid;
7304 for (scbid = next; !SCBID_IS_NULL(scbid); scbid = next) {
7305 if (scbid >= ahd->scb_data.numscbs) {
7308 ahd_name(ahd), scbid, ahd->scb_data.numscbs);
7312 scb = ahd_lookup_scb(ahd, scbid);
7315 ahd_name(ahd), scbid);
7318 ahd_set_scbptr(ahd, scbid);
7322 prev = scbid;
7344 ahd_rem_wscb(ahd, scbid, prev, next, tid);
7349 printf("0x%x ", scbid);
7352 prev = scbid;
7403 ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid,
7421 && ahd_inw(ahd, tail_offset) == scbid)
7423 ahd_add_scb_to_free_list(ahd, scbid);
7433 ahd_add_scb_to_free_list(struct ahd_softc *ahd, u_int scbid)
7497 u_int scbid;
7501 scbid = ahd_find_busy_tcl(ahd, tcl);
7502 scbp = ahd_lookup_scb(ahd, scbid);