Searched refs:value_or (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/parport/
H A Dparport_sunbpp.c113 unsigned char value_or = sbus_readb(&regs->p_or); control_sunbpp_to_pc() local
117 if (!(value_or & P_OR_AFXN)) control_sunbpp_to_pc()
119 if (!(value_or & P_OR_INIT)) control_sunbpp_to_pc()
121 if (value_or & P_OR_SLCT_IN) control_sunbpp_to_pc()
124 dprintk((KERN_DEBUG "tcr 0x%x or 0x%x\n", value_tcr, value_or)); control_sunbpp_to_pc()
140 unsigned char value_or = sbus_readb(&regs->p_or); parport_sunbpp_frob_control() local
143 value_tcr, value_or)); parport_sunbpp_frob_control()
153 value_or &= ~P_OR_AFXN; parport_sunbpp_frob_control()
155 value_or |= P_OR_AFXN; parport_sunbpp_frob_control()
160 value_or &= ~P_OR_INIT; parport_sunbpp_frob_control()
162 value_or |= P_OR_INIT; parport_sunbpp_frob_control()
167 value_or |= P_OR_SLCT_IN; parport_sunbpp_frob_control()
169 value_or &= ~P_OR_SLCT_IN; parport_sunbpp_frob_control()
173 sbus_writeb(value_or, &regs->p_or); parport_sunbpp_frob_control()
176 value_tcr, value_or)); parport_sunbpp_frob_control()

Completed in 67 milliseconds