Home | History | Annotate | Download | only in podulebus

Lines Matching defs:esc

113 	vu_char		  *esc;
139 esc = &sc->sc_iobase[COSC_ESCOFFSET_BASE];
141 rp->esc.esc_tc_low = &esc[COSC_ESCOFFSET_TCL];
142 rp->esc.esc_tc_mid = &esc[COSC_ESCOFFSET_TCM];
143 rp->esc.esc_fifo = &esc[COSC_ESCOFFSET_FIFO];
144 rp->esc.esc_command = &esc[COSC_ESCOFFSET_COMMAND];
145 rp->esc.esc_dest_id = &esc[COSC_ESCOFFSET_DESTID];
146 rp->esc.esc_timeout = &esc[COSC_ESCOFFSET_TIMEOUT];
147 rp->esc.esc_syncper = &esc[COSC_ESCOFFSET_PERIOD];
148 rp->esc.esc_syncoff = &esc[COSC_ESCOFFSET_OFFSET];
149 rp->esc.esc_config1 = &esc[COSC_ESCOFFSET_CONFIG1];
150 rp->esc.esc_clkconv = &esc[COSC_ESCOFFSET_CLOCKCONV];
151 rp->esc.esc_test = &esc[COSC_ESCOFFSET_TEST];
152 rp->esc.esc_config2 = &esc[COSC_ESCOFFSET_CONFIG2];
153 rp->esc.esc_config3 = &esc[COSC_ESCOFFSET_CONFIG3];
154 rp->esc.esc_config4 = &esc[COSC_ESCOFFSET_CONFIG4];
155 rp->esc.esc_tc_high = &esc[COSC_ESCOFFSET_TCH];
156 rp->esc.esc_fifo_bot = &esc[COSC_ESCOFFSET_FIFOBOTTOM];
158 *rp->esc.esc_command = ESC_CMD_RESET_CHIP;
160 *rp->esc.esc_command = ESC_CMD_NOP;
164 switch (*rp->esc.esc_tc_high) {
169 printf(" Unknown controller (%02x)", *rp->esc.esc_tc_high);
314 printf("cosc_intr:%08x %02x\n", (u_int)rp->esc.esc_status, *rp->esc.esc_status);
316 if (*rp->esc.esc_status & ESC_STAT_INTERRUPT_PENDING) {
319 dev->sc_status = *rp->esc.esc_status;
320 dev->sc_interrupt = *rp->esc.esc_interrupt;
323 dev->sc_resel[0] = *rp->esc.esc_fifo;
324 dev->sc_resel[1] = *rp->esc.esc_fifo;
329 } while((*rp->esc.esc_status & ESC_STAT_INTERRUPT_PENDING)