Lines Matching refs:parent
315 static struct serio *serio_get_pending_child(struct serio *parent) in serio_get_pending_child() argument
326 if (serio->parent == parent) { in serio_get_pending_child()
511 if (serio->parent) { in serio_init_port()
512 serio->dev.parent = &serio->parent->dev; in serio_init_port()
513 serio->depth = serio->parent->depth + 1; in serio_init_port()
525 struct serio *parent = serio->parent; in serio_add_port() local
528 if (parent) { in serio_add_port()
529 serio_pause_rx(parent); in serio_add_port()
530 list_add_tail(&serio->child_node, &parent->children); in serio_add_port()
531 serio_continue_rx(parent); in serio_add_port()
562 if (serio->parent) { in serio_destroy_port()
563 serio_pause_rx(serio->parent); in serio_destroy_port()
565 serio_continue_rx(serio->parent); in serio_destroy_port()
566 serio->parent = NULL; in serio_destroy_port()
624 struct serio *parent = s->parent; in serio_reconnect_subtree() local
626 if (!list_is_last(&s->child_node, &parent->children)) { in serio_reconnect_subtree()
632 s = parent; in serio_reconnect_subtree()
661 struct serio *parent = s->parent; in serio_disconnect_port() local
666 s = parent; in serio_disconnect_port()