Home
last modified time | relevance | path

Searched refs:db9_mode (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/input/joystick/
Ddb9.c549 const struct db9_mode_data *db9_mode; in db9_attach() local
577 db9_mode = &db9_modes[mode]; in db9_attach()
579 if (db9_mode->bidirectional && !(pp->modes & PARPORT_MODE_TRISTATE)) { in db9_attach()
603 for (i = 0; i < (min(db9_mode->n_pads, DB9_MAX_DEVICES)); i++) { in db9_attach()
614 input_dev->name = db9_mode->name; in db9_attach()
627 for (j = 0; j < db9_mode->n_buttons; j++) in db9_attach()
628 set_bit(db9_mode->buttons[j], input_dev->keybit); in db9_attach()
629 for (j = 0; j < db9_mode->n_axis; j++) { in db9_attach()