Home | History | Annotate | Download | only in ic

Lines Matching defs:icr

254 	uint16_t icr;
259 icr = SUNSCPAL_READ_2(sc, sunscpal_icr);
260 icr |= SUNSCPAL_ICR_DMA_ENABLE |
263 SUNSCPAL_WRITE_2(sc, sunscpal_icr, icr);
313 printf("%s: done, icr=%s\n", __func__, buffer);
324 uint16_t icr;
335 icr = SUNSCPAL_READ_2(sc, sunscpal_icr);
336 icr &= ~(SUNSCPAL_ICR_DMA_ENABLE | SUNSCPAL_ICR_WORD_MODE |
338 SUNSCPAL_WRITE_2(sc, sunscpal_icr, icr);
356 if (icr & (SUNSCPAL_ICR_BUS_ERROR)) {
358 snprintb(buffer, sizeof(buffer), SUNSCPAL_ICR_BITS, icr);
359 printf("sc: DMA error, icr=%s, reset\n", buffer);
403 ((icr & SUNSCPAL_ICR_ODD_LENGTH) != 0)) {