Lines Matching defs:mode
41 int mode;
158 * mode, and any error conditions.
198 /* Determine packet transfer mode and prepare for packet construction. */
314 * Puts multiport into digital mode. Multiport LED turns green.
397 grip_name[port->mode], slot);
402 port->mode = GRIP_MODE_RESET;
417 if (port->mode == GRIP_MODE_RESET)
420 port->mode = GRIP_MODE_GP;
425 port->mode = GRIP_MODE_RESET;
458 if (grip->port[slot]->mode == GRIP_MODE_RESET)
460 if (grip->port[slot]->mode != GRIP_MODE_NONE)
473 * Returns whether the multiport was placed into digital mode and
489 dbg("multiport_init(): digital mode activated.\n");
491 dbg("multiport_init(): unable to activate digital mode.\n");
595 input_dev->name = grip_name[port->mode];
598 input_dev->id.product = 0x0100 + port->mode;
609 for (j = 0; (t = grip_abs[port->mode][j]) >= 0; j++)
612 for (j = 0; (t = grip_btn[port->mode][j]) >= 0; j++)
654 if (!grip->port[0]->mode && !grip->port[1]->mode && !grip->port[2]->mode && !grip->port[3]->mode) {