Lines Matching defs:mode
14 * - for selecting the port-mode this driver uses
16 * - 0.34 - added sample code for changing from ECP to PS/2 bidi mode
23 * - 0.37 - changed inb_p/outb_p to macro calls (kernel-mode)
181 /** in USER-Mode: probe the specified port and try to get the port-mode
186 int mode, mts;
191 if( SANE_STATUS_GOOD != sanei_pp_getmodes( ps->pardev, &mode )) {
192 DBG( DBG_HIGH, "Cannot get port mode!\n" );
198 if( mode & SANEI_PP_MODE_SPP ) {
199 DBG( DBG_LOW, "Setting SPP-mode\n" );
203 if( mode & SANEI_PP_MODE_BIDI ) {
204 DBG( DBG_LOW, "Setting PS/2-mode\n" );
208 if( mode & SANEI_PP_MODE_EPP ) {
209 DBG( DBG_LOW, "Setting EPP-mode\n" );
213 if( mode & SANEI_PP_MODE_ECP ) {
264 /** Checks if a timer has been expired or not. In Kernel-mode, the scheduler