Lines Matching defs:child
425 * Destroy child gameport port (if any) that has not been fully registered yet.
427 * Note that we rely on the fact that port can have only one child and therefore
428 * only one child registration request can be pending. Additionally, children
430 * pending registration together with a child.
435 struct gameport *gameport, *child = NULL;
444 child = gameport;
451 return child;
553 gameport->parent->child = gameport;
581 struct gameport *child;
583 child = gameport_get_pending_child(gameport);
584 if (child) {
585 gameport_remove_pending_events(child);
586 put_device(&child->dev);
590 gameport->parent->child = NULL;
615 gameport = gameport->child;
621 * all child ports are unbound and destroyed.
627 if (gameport->child) {
633 for (s = gameport; s->child; s = s->child)