Lines Matching defs:modes
76 /* ECR modes */
953 static const char *const modes[] = {
992 : modes[cr4 & 0x03],
1033 static const char *const modes[] = {
1079 modes[crf0 & 0x07]);
1550 pb->modes |= PARPORT_MODE_TRISTATE;
1755 * This bit is always high in non EPP modes.
1766 pb->modes |= PARPORT_MODE_EPP;
1807 /* Don't bother probing for modes we know we won't use. */
1888 if (pb->modes & PARPORT_MODE_PCECR)
1893 if (pb->modes & PARPORT_MODE_PCECR)
1908 if (pb->modes & PARPORT_MODE_PCECR)
1944 (pb->modes & PARPORT_MODE_EPP))
1949 if (pb->irq == PARPORT_IRQ_NONE && (pb->modes & PARPORT_MODE_EPP))
2064 p->modes = PARPORT_MODE_PCSPP | PARPORT_MODE_SAFEININT;
2087 p->size = (p->modes & PARPORT_MODE_EPP) ? 8 : 3;
2118 p->modes |= PARPORT_MODE_ECP | PARPORT_MODE_COMPAT;
2127 p->modes |= PARPORT_MODE_DMA;
2139 if (p->modes & PARPORT_MODE_##x) \
2161 if (ECR_res && (p->modes & PARPORT_MODE_ECP) == 0) {
2166 if (EPP_res && (p->modes & PARPORT_MODE_EPP) == 0) {
2262 if (p->modes & PARPORT_MODE_ECP)