Searched refs:MID_VC (Results 1 – 2 of 2) sorted by relevance
| /mirbsd/src/sys/dev/ic/ |
| D | midwayreg.h | 161 #define MID_VC(N) (MID_RAMOFF+((N)*0x10)) macro 179 #define MID_DST_RP(N) (MID_VC(N)|0x4) 185 #define MID_WP_ST_CNT(N) (MID_VC(N)|0x8) /* write pointer/state/count */ 194 #define MID_CRC(N) (MID_VC(N)|0xc) /* CRC */
|
| D | midway.c | 964 EN_WRITE(sc, MID_VC(0), (midvloc << MIDV_LOCSHIFT) 1247 oldmode = EN_READ(sc, MID_VC(vci)); 1249 EN_WRITE(sc, MID_VC(vci), (newmode | (oldmode & MIDV_INSERVICE))); 1464 u_int32_t reg = EN_READ(sc, MID_VC(vc)); 1467 EN_WRITE(sc, MID_VC(vc), reg); 1476 EN_WRITE(sc, MID_VC(vc), sc->rxslot[slot].mode); /* set mode, size, loc */ 2496 (EN_READ(sc, MID_VC(vci)) & MIDV_INSERVICE) == 0 && 2557 EN_WRITE(sc, MID_VC(vci), MIDV_TRASH); /* rx off, damn it! */ 2560 EN_WRITE(sc, MID_VC(vci), sc->rxslot[slot].mode); /* remove from hwsl */ 3153 EN_READ(sc, MID_VC(sc->rxslot[slot].atm_vci)),
|