Lines Matching refs:child
417 * Destroy child gameport port (if any) that has not been fully registered yet.
419 * Note that we rely on the fact that port can have only one child and therefore
420 * only one child registration request can be pending. Additionally, children
422 * pending registration together with a child.
427 struct gameport *gameport, *child = NULL;
436 child = gameport;
443 return child;
557 gameport->parent->child = gameport;
585 struct gameport *child;
587 child = gameport_get_pending_child(gameport);
588 if (child) {
589 gameport_remove_pending_events(child);
590 put_device(&child->dev);
594 gameport->parent->child = NULL;
621 gameport = gameport->child;
627 * all child ports are unbound and destroyed.
633 if (gameport->child) {
639 for (s = gameport; s->child; s = s->child)