Lines Matching refs:pads
91 struct gc_pad pads[GC_MAX_DEVICES]; member
231 if (gc->pads[i].type != GC_N64) in gc_n64_process_packet()
234 dev = gc->pads[i].dev; in gc_n64_process_packet()
388 pad = &gc->pads[i]; in gc_nes_process_packet()
496 pad = &gc->pads[i]; in gc_multi_process_packet()
580 struct gc_pad *pad = &gc->pads[j]; in gc_psx_command()
619 struct gc_pad *pad = &gc->pads[i]; in gc_psx_read_packet()
734 pad = &gc->pads[i]; in gc_psx_process_packet()
816 struct gc_pad *pad = &gc->pads[idx]; in gc_setup_pad()
929 static struct gc __init *gc_probe(int parport, int *pads, int n_pads) in gc_probe() argument
964 if (!pads[i]) in gc_probe()
967 err = gc_setup_pad(gc, i, pads[i]); in gc_probe()
985 if (gc->pads[i].dev) in gc_probe()
986 input_unregister_device(gc->pads[i].dev); in gc_probe()
1002 if (gc->pads[i].dev) in gc_remove()
1003 input_unregister_device(gc->pads[i].dev); in gc_remove()