rxslot 802 dev/ic/midway.c sc->rxslot[lcv].rxhand = NULL; rxslot 803 dev/ic/midway.c sc->rxslot[lcv].oth_flags = ENOTHER_FREE; rxslot 804 dev/ic/midway.c bzero(&sc->rxslot[lcv].indma, sizeof(sc->rxslot[lcv].indma)); rxslot 805 dev/ic/midway.c bzero(&sc->rxslot[lcv].q, sizeof(sc->rxslot[lcv].q)); rxslot 806 dev/ic/midway.c midvloc = sc->rxslot[lcv].start = ptr; rxslot 809 dev/ic/midway.c sc->rxslot[lcv].stop = ptr; rxslot 814 dev/ic/midway.c sc->rxslot[lcv].mode = midvloc | rxslot 819 dev/ic/midway.c lcv, sc->rxslot[lcv].start, sc->rxslot[lcv].stop, sc->rxslot[lcv].mode); rxslot 1116 dev/ic/midway.c sc->rxslot[slot].oth_flags |= ENOTHER_RAW; rxslot 1117 dev/ic/midway.c sc->rxslot[slot].raw_threshold = ario->rawvalue; rxslot 1119 dev/ic/midway.c sc->rxslot[slot].oth_flags &= (~ENOTHER_RAW); rxslot 1120 dev/ic/midway.c sc->rxslot[slot].raw_threshold = 0; rxslot 1210 dev/ic/midway.c if (sc->rxslot[slot].oth_flags & ENOTHER_FREE) rxslot 1215 dev/ic/midway.c sc->rxslot[slot].rxhand = NULL; rxslot 1216 dev/ic/midway.c oldmode = sc->rxslot[slot].mode; rxslot 1218 dev/ic/midway.c sc->rxslot[slot].mode = MIDV_SETMODE(oldmode, newmode); rxslot 1219 dev/ic/midway.c sc->rxslot[slot].atm_vci = vci; rxslot 1220 dev/ic/midway.c sc->rxslot[slot].atm_flags = flags; rxslot 1221 dev/ic/midway.c sc->rxslot[slot].oth_flags = 0; rxslot 1222 dev/ic/midway.c sc->rxslot[slot].rxhand = pi->rxhand; rxslot 1223 dev/ic/midway.c if (sc->rxslot[slot].indma.ifq_head || sc->rxslot[slot].q.ifq_head) rxslot 1239 dev/ic/midway.c if ((sc->rxslot[slot].oth_flags & (ENOTHER_FREE|ENOTHER_DRAIN)) != 0) rxslot 1247 dev/ic/midway.c sc->rxslot[slot].rxhand = NULL; rxslot 1248 dev/ic/midway.c sc->rxslot[slot].mode = newmode; rxslot 1255 dev/ic/midway.c if (sc->rxslot[slot].indma.ifq_head || rxslot 1256 dev/ic/midway.c sc->rxslot[slot].q.ifq_head || rxslot 1257 dev/ic/midway.c (sc->rxslot[slot].oth_flags & ENOTHER_SWSL) != 0) { rxslot 1258 dev/ic/midway.c sc->rxslot[slot].oth_flags |= ENOTHER_DRAIN; rxslot 1260 dev/ic/midway.c sc->rxslot[slot].oth_flags = ENOTHER_FREE; rxslot 1261 dev/ic/midway.c sc->rxslot[slot].atm_vci = RX_NONE; rxslot 1267 dev/ic/midway.c (sc->rxslot[slot].oth_flags & ENOTHER_DRAIN) ? "draining" : "free"); rxslot 1305 dev/ic/midway.c IF_DEQUEUE(&sc->rxslot[slot].indma, m); rxslot 1311 dev/ic/midway.c IF_DEQUEUE(&sc->rxslot[slot].q, m); rxslot 1316 dev/ic/midway.c sc->rxslot[slot].oth_flags &= ~ENOTHER_SWSL; rxslot 1317 dev/ic/midway.c if (sc->rxslot[slot].oth_flags & ENOTHER_DRAIN) { rxslot 1318 dev/ic/midway.c sc->rxslot[slot].oth_flags = ENOTHER_FREE; rxslot 1471 dev/ic/midway.c EN_WRITE(sc, MID_VC(vc), sc->rxslot[slot].mode); /* set mode, size, loc */ rxslot 1472 dev/ic/midway.c sc->rxslot[slot].cur = sc->rxslot[slot].start; rxslot 2478 dev/ic/midway.c IF_DEQUEUE(&sc->rxslot[slot].indma, m); rxslot 2485 dev/ic/midway.c if (sc->rxslot[slot].oth_flags & ENOTHER_DRAIN) { /* drain? */ rxslot 2488 dev/ic/midway.c vci = sc->rxslot[slot].atm_vci; rxslot 2489 dev/ic/midway.c if (sc->rxslot[slot].indma.ifq_head == NULL && rxslot 2490 dev/ic/midway.c sc->rxslot[slot].q.ifq_head == NULL && rxslot 2492 dev/ic/midway.c (sc->rxslot[slot].oth_flags & ENOTHER_SWSL) == 0) { rxslot 2493 dev/ic/midway.c sc->rxslot[slot].oth_flags = ENOTHER_FREE; /* done drain */ rxslot 2494 dev/ic/midway.c sc->rxslot[slot].atm_vci = RX_NONE; rxslot 2502 dev/ic/midway.c ATM_PH_FLAGS(&ah) = sc->rxslot[slot].atm_flags; rxslot 2504 dev/ic/midway.c ATM_PH_SETVCI(&ah, sc->rxslot[slot].atm_vci); rxslot 2507 dev/ic/midway.c sc->sc_dev.dv_xname, slot, sc->rxslot[slot].atm_vci, m, rxslot 2508 dev/ic/midway.c EN_DQ_LEN(drq), sc->rxslot[slot].rxhand); rxslot 2517 dev/ic/midway.c atm_input(&sc->enif, &ah, m, sc->rxslot[slot].rxhand); rxslot 2555 dev/ic/midway.c EN_WRITE(sc, MID_VC(vci), sc->rxslot[slot].mode); /* remove from hwsl */ rxslot 2563 dev/ic/midway.c if ((sc->rxslot[slot].oth_flags & ENOTHER_SWSL) == 0) { rxslot 2566 dev/ic/midway.c sc->rxslot[slot].oth_flags |= ENOTHER_SWSL; rxslot 2646 dev/ic/midway.c vci = sc->rxslot[slot].atm_vci; rxslot 2655 dev/ic/midway.c raw = sc->rxslot[slot].oth_flags & ENOTHER_RAW; rxslot 2656 dev/ic/midway.c start= sc->rxslot[slot].start; rxslot 2657 dev/ic/midway.c stop= sc->rxslot[slot].stop; rxslot 2658 dev/ic/midway.c cur = sc->rxslot[slot].cur; rxslot 2673 dev/ic/midway.c sc->rxslot[slot].oth_flags &= ~ENOTHER_SWSL; rxslot 2697 dev/ic/midway.c if (mlen < sc->rxslot[slot].raw_threshold) rxslot 2703 dev/ic/midway.c aal5 = (sc->rxslot[slot].atm_flags & ATM_PH_AAL5); rxslot 2704 dev/ic/midway.c llc = (aal5 && (sc->rxslot[slot].atm_flags & ATM_PH_LLCSNAP)) ? 1 : 0; rxslot 2749 dev/ic/midway.c m = sc->rxslot[slot].q.ifq_head; rxslot 2762 dev/ic/midway.c IF_DEQUEUE(&sc->rxslot[slot].q, m); rxslot 2810 dev/ic/midway.c IF_ENQUEUE(&sc->rxslot[slot].q, m); rxslot 3002 dev/ic/midway.c IF_ENQUEUE(&sc->rxslot[slot].indma, m); rxslot 3004 dev/ic/midway.c sc->rxslot[slot].cur = cur; /* update master copy of 'cur' */ rxslot 3142 dev/ic/midway.c sc->rxslot[slot].atm_vci, sc->rxslot[slot].start, rxslot 3143 dev/ic/midway.c sc->rxslot[slot].stop, sc->rxslot[slot].cur); rxslot 3145 dev/ic/midway.c sc->rxslot[slot].mode, sc->rxslot[slot].atm_flags, rxslot 3146 dev/ic/midway.c sc->rxslot[slot].oth_flags); rxslot 3148 dev/ic/midway.c EN_READ(sc, MID_VC(sc->rxslot[slot].atm_vci)), rxslot 3149 dev/ic/midway.c EN_READ(sc, MID_DST_RP(sc->rxslot[slot].atm_vci)), rxslot 3150 dev/ic/midway.c EN_READ(sc, MID_WP_ST_CNT(sc->rxslot[slot].atm_vci))); rxslot 162 dev/ic/midwayvar.h } rxslot[EN_MAXNRX]; /* recv info */