Lines Matching refs:modes
961 static const char *const modes[] = { in show_parconfig_smsc37c669() local
1004 : modes[cr4 & 0x03], in show_parconfig_smsc37c669()
1045 static const char *const modes[] = { in show_parconfig_winbond() local
1093 modes[crf0 & 0x07]); in show_parconfig_winbond()
1567 pb->modes |= PARPORT_MODE_TRISTATE; in parport_PS2_supported()
1786 pb->modes |= PARPORT_MODE_EPP; in parport_EPP_supported()
1908 if (pb->modes & PARPORT_MODE_PCECR) in irq_probe_EPP()
1913 if (pb->modes & PARPORT_MODE_PCECR) in irq_probe_EPP()
1928 if (pb->modes & PARPORT_MODE_PCECR) in irq_probe_EPP()
1964 (pb->modes & PARPORT_MODE_EPP)) in parport_irq_probe()
1969 if (pb->irq == PARPORT_IRQ_NONE && (pb->modes & PARPORT_MODE_EPP)) in parport_irq_probe()
2084 p->modes = PARPORT_MODE_PCSPP | PARPORT_MODE_SAFEININT; in parport_pc_probe_port()
2107 p->size = (p->modes & PARPORT_MODE_EPP) ? 8 : 3; in parport_pc_probe_port()
2138 p->modes |= PARPORT_MODE_ECP | PARPORT_MODE_COMPAT; in parport_pc_probe_port()
2147 p->modes |= PARPORT_MODE_DMA; in parport_pc_probe_port()
2159 if (p->modes & PARPORT_MODE_##x) {\ in parport_pc_probe_port()
2183 if (ECR_res && (p->modes & PARPORT_MODE_ECP) == 0) { in parport_pc_probe_port()
2188 if (EPP_res && (p->modes & PARPORT_MODE_EPP) == 0) { in parport_pc_probe_port()
2288 if (p->modes & PARPORT_MODE_ECP) in parport_pc_unregister_port()