Lines Matching refs:port
121 /* in GC_N64_OUT is pulled low on the output port (by any routine) for more */
133 struct parport *port = gc->pd->port;
138 parport_write_data(port, GC_N64_POWER_W | data);
146 struct parport *port = gc->pd->port;
151 parport_write_data(port, GC_N64_POWER_W | data);
158 * Each pad uses one bit per byte. So all pads connected to this port
188 parport_write_data(gc->pd->port, GC_N64_POWER_R);
190 data[i] = parport_read_status(gc->pd->port);
191 parport_write_data(gc->pd->port, GC_N64_POWER_R | GC_N64_CLOCK);
335 * this port are read in parallel.
342 parport_write_data(gc->pd->port, GC_NES_POWER | GC_NES_CLOCK | GC_NES_LATCH);
344 parport_write_data(gc->pd->port, GC_NES_POWER | GC_NES_CLOCK);
348 parport_write_data(gc->pd->port, GC_NES_POWER);
349 data[i] = parport_read_status(gc->pd->port) ^ 0x7f;
351 parport_write_data(gc->pd->port, GC_NES_POWER | GC_NES_CLOCK);
462 parport_write_data(gc->pd->port, ~(1 << i));
463 data[i] = parport_read_status(gc->pd->port) ^ 0x7f;
549 struct parport *port = gc->pd->port;
556 parport_write_data(port, cmd | GC_PSX_POWER);
559 read = parport_read_status(port) ^ 0x80;
568 parport_write_data(gc->pd->port, cmd | GC_PSX_CLOCK | GC_PSX_POWER);
587 parport_write_data(gc->pd->port, GC_PSX_CLOCK | GC_PSX_SELECT | GC_PSX_POWER);
590 parport_write_data(gc->pd->port, GC_PSX_CLOCK | GC_PSX_POWER);
619 parport_write_data(gc->pd->port, GC_PSX_CLOCK | GC_PSX_SELECT | GC_PSX_POWER);
776 parport_write_control(gc->pd->port, 0x04);
791 parport_write_control(gc->pd->port, 0x00);
818 "%s/input%d", gc->pd->port->name, idx);
992 static void gc_detach(struct parport *port)
998 if (gc_base[i] && gc_base[i]->parportno == port->number)