Lines Matching full:pads
72 struct gc_pad pads[GC_MAX_DEVICES]; member
119 #define GC_N64_OUT 0x1d /* output bits to the 4 pads */
158 * Each pad uses one bit per byte. So all pads connected to this port
213 if (gc->pads[i].type != GC_N64) in gc_n64_process_packet()
216 dev = gc->pads[i].dev; in gc_n64_process_packet()
316 #define GC_NES_LENGTH 8 /* The NES pads use 8 bits of data */
334 * Each pad uses one bit per byte. So all pads connected to
370 pad = &gc->pads[i]; in gc_nes_process_packet()
478 pad = &gc->pads[i]; in gc_multi_process_packet()
562 struct gc_pad *pad = &gc->pads[j]; in gc_psx_command()
601 struct gc_pad *pad = &gc->pads[i]; in gc_psx_read_packet()
717 pad = &gc->pads[i]; in gc_psx_process_packet()
724 * gc_timer() initiates reads of console pads data.
732 * N64 pads - must be read first, any read confuses them for 200 us in gc_timer()
739 * NES and SNES pads or mouse in gc_timer()
799 struct gc_pad *pad = &gc->pads[idx]; in gc_setup_pad()
925 int *pads, n_pads; in gc_attach() local
940 pads = gc_cfg[port_idx].args + 1; in gc_attach()
965 if (!pads[i]) in gc_attach()
968 if (gc_setup_pad(gc, i, pads[i])) in gc_attach()
984 if (gc->pads[i].dev) in gc_attach()
985 input_unregister_device(gc->pads[i].dev); in gc_attach()
1009 if (gc->pads[i].dev) in gc_detach()
1010 input_unregister_device(gc->pads[i].dev); in gc_detach()