Lines Matching refs:control
99 static unsigned char control_pc_to_mfc3(unsigned char control) in control_pc_to_mfc3() argument
103 if (control & PARPORT_CONTROL_SELECT) /* XXX: What is SELECP? */ in control_pc_to_mfc3()
105 if (control & PARPORT_CONTROL_INIT) /* INITP */ in control_pc_to_mfc3()
107 if (control & PARPORT_CONTROL_AUTOFD) /* AUTOLF */ in control_pc_to_mfc3()
109 if (control & PARPORT_CONTROL_STROBE) /* Strobe */ in control_pc_to_mfc3()
114 static unsigned char control_mfc3_to_pc(unsigned char control) in control_mfc3_to_pc() argument
119 if (control & 128) /* /INITP */ in control_mfc3_to_pc()
121 if (control & 64) /* /AUTOLF */ in control_mfc3_to_pc()
123 if (control & 32) /* /SELECT_IN */ in control_mfc3_to_pc()
128 static void mfc3_write_control(struct parport *p, unsigned char control) in mfc3_write_control() argument
130 DPRINTK(KERN_DEBUG "write_control %02x\n",control); in mfc3_write_control()
131 pia(p)->ppra = (pia(p)->ppra & 0x1f) | control_pc_to_mfc3(control); in mfc3_write_control()