Lines Matching defs:ihdr
676 struct mtp_init_hdr *ihdr = buf;
681 switch (ihdr->type) {
683 if (strcmp(ihdr->name, "keyboard") == 0) {
684 sc->sc_iface_kbd = ihdr->iface;
685 apldchidev_handle_init(sc, ihdr->iface,
686 ihdr + 1, len - sizeof(*ihdr));
688 if (strcmp(ihdr->name, "multi-touch") == 0) {
689 sc->sc_iface_mt = ihdr->iface;
690 apldchidev_handle_init(sc, ihdr->iface,
691 ihdr + 1, len - sizeof(*ihdr));
693 if (strcmp(ihdr->name, "stm") == 0) {
694 sc->sc_iface_stm = ihdr->iface;
695 apldchidev_handle_init(sc, ihdr->iface,
696 ihdr + 1, len - sizeof(*ihdr));
700 iface = ihdr->unk1;
726 sc->sc_dev.dv_xname, ihdr->type);