Lines Matching defs:modes
76 /* ECR modes */
972 static const char *const modes[] = {
1011 : modes[cr4 & 0x03],
1052 static const char *const modes[] = {
1098 modes[crf0 & 0x07]);
1572 pb->modes |= PARPORT_MODE_TRISTATE;
1777 * This bit is always high in non EPP modes.
1788 pb->modes |= PARPORT_MODE_EPP;
1829 /* Don't bother probing for modes we know we won't use. */
1910 if (pb->modes & PARPORT_MODE_PCECR)
1915 if (pb->modes & PARPORT_MODE_PCECR)
1930 if (pb->modes & PARPORT_MODE_PCECR)
1966 (pb->modes & PARPORT_MODE_EPP))
1971 if (pb->irq == PARPORT_IRQ_NONE && (pb->modes & PARPORT_MODE_EPP))
2089 p->modes = PARPORT_MODE_PCSPP | PARPORT_MODE_SAFEININT;
2112 p->size = (p->modes & PARPORT_MODE_EPP) ? 8 : 3;
2143 p->modes |= PARPORT_MODE_ECP | PARPORT_MODE_COMPAT;
2145 p->modes |= PARPORT_MODE_DMA;
2151 p->modes &= ~mode_mask;
2154 if ((p->modes & PARPORT_MODE_COMPAT) != 0)
2157 if ((p->modes & PARPORT_MODE_ECP) != 0)
2160 if ((p->modes & (PARPORT_MODE_ECP | PARPORT_MODE_COMPAT)) != 0) {
2161 if ((p->modes & PARPORT_MODE_DMA) != 0)
2172 if (p->modes & PARPORT_MODE_##x) \
2194 if (ECR_res && (p->modes & PARPORT_MODE_ECP) == 0) {
2199 if (EPP_res && (p->modes & PARPORT_MODE_EPP) == 0) {
2305 if (p->modes & PARPORT_MODE_ECP)
2677 /* Bit field of parport modes to exclude. */