Lines Matching refs:udc_regs
160 static struct sun3_udc_regs *udc_regs;
280 udc_regs->addr_hi = (((unsigned long)(addr) & 0xff0000) >> 8);
281 udc_regs->addr_lo = ((unsigned long)(addr) & 0xffff);
282 udc_regs->count = count/2; /* count in words */
283 udc_regs->mode_hi = UDC_MODE_HIWORD;
286 udc_regs->count++;
287 udc_regs->mode_lo = UDC_MODE_LSEND;
288 udc_regs->rsel = UDC_RSEL_SEND;
290 udc_regs->mode_lo = UDC_MODE_LRECV;
291 udc_regs->rsel = UDC_RSEL_RECV;
295 sun3_udc_write(((dvma_vtob(udc_regs) & 0xff0000) >> 8),
298 sun3_udc_write((dvma_vtob(udc_regs) & 0xffff), UDC_CHN_LO);
572 udc_regs = dvma_malloc(sizeof(struct sun3_udc_regs));
573 if (!udc_regs) {
638 if (udc_regs)
639 dvma_free(udc_regs);
654 if (udc_regs)
655 dvma_free(udc_regs);