Lines Matching defs:ecr
314 u_char ecr = 0;
320 /* if ECP mode, configure ecr register */
327 ecr = PPC_DISABLE_INTR;
333 ecr |= PPC_ECR_ECP;
336 ecr |= PPC_ECR_PS2;
339 ecr |= PPC_ECR_STD;
341 w_ecr(ppc, ecr);
359 u_char ecr = 0;
365 /* if ECP mode, configure ecr register */
372 ecr = PPC_DISABLE_INTR;
376 ecr |= PPC_ECR_EPP;
379 ecr |= PPC_ECR_ECP;
382 ecr |= PPC_ECR_PS2;
385 ecr |= PPC_ECR_STD;
387 w_ecr(ppc, ecr);
1533 u_char ctr, ecr, str;
1551 ecr = r_ecr(ppc);
1554 printf("![%x/%x/%x]", ctr, ecr, str);
1569 w_ecr(ppc, ecr | PPC_nFAULT_INTR);
1580 w_ecr(ppc, ecr | PPC_SERVICE_INTR);
1582 ecr = r_ecr(ppc);
1585 if ((ppc->ppc_avm & PPB_ECP) && (ecr & PPC_ENABLE_DMA)) {
1590 w_ecr(ppc, ecr & ~PPC_ENABLE_DMA);
1591 ecr = r_ecr(ppc);