Lines Matching refs:which_port
424 int which_port, i; in i8042_cleanup() local
436 for (which_port = 0; which_port < NUM_PORTS; which_port++) { in i8042_cleanup()
437 port = &global->i8042_ports[which_port]; in i8042_cleanup()
488 for (which_port = 0; which_port < NUM_PORTS; which_port++) { in i8042_cleanup()
490 port = &global->i8042_ports[which_port]; in i8042_cleanup()
565 enum i8042_ports which_port; in i8042_attach() local
678 for (which_port = 0; which_port < NUM_PORTS; ++which_port) { in i8042_attach()
679 port = &global->i8042_ports[which_port]; in i8042_attach()
682 port->which = which_port; in i8042_attach()
695 (which_port < global->nintrs) ? which_port : 0]; in i8042_attach()
833 enum i8042_ports which_port; in i8042_map() local
844 which_port = *(int *)mp->map_obj.rp; in i8042_map()
873 which_port = iprop[rnumber]; in i8042_map()
876 if (which_port != MAIN_PORT && which_port != AUX_PORT) { in i8042_map()
880 which_port, in i8042_map()
906 port = &global->i8042_ports[which_port]; in i8042_map()
1006 enum i8042_ports which_port; in i8042_intr() local
1024 which_port = (stat & I8042_STAT_AUXBF) ? AUX_PORT : MAIN_PORT; in i8042_intr()
1026 port = &global->i8042_ports[which_port]; in i8042_intr()
1039 which_port, port->overruns); in i8042_intr()
1463 int which_port; in i8042_ctlops() local
1483 which_port = iprop[0]; in i8042_ctlops()
1486 (void) sprintf(name, "%d", which_port); in i8042_ctlops()
1489 (caddr_t)&global->i8042_ports[which_port]); in i8042_ctlops()