Lines Matching refs:ifh
460 struct usbd_interface *ifh;
500 status = usbd_device2interface_handle(sc->sc_udev, i, &ifh);
517 uhso_mux_attach(sc, ifh, UHSOPORT(spec));
520 uhso_bulk_attach(sc, ifh, UHSOPORT(spec));
523 uhso_ifnet_attach(sc, ifh, UHSOPORT(spec));
589 struct usbd_interface *ifh;
594 status = usbd_device2interface_handle(udev, 0, &ifh);
598 ed = uhso_get_endpoint(ifh, UE_BULK, UE_DIR_OUT);
602 status = usbd_open_pipe(ifh, ed->bEndpointAddress, 0, &pipe);
690 uhso_get_endpoint(struct usbd_interface *ifh, int type, int dir)
696 (void)usbd_endpoint_count(ifh, &count);
699 ed = usbd_interface2endpoint_descriptor(ifh, i);
727 uhso_mux_attach(struct uhso_softc *sc, struct usbd_interface *ifh, int index)
740 ed = uhso_get_endpoint(ifh, UE_INTERRUPT, UE_DIR_IN);
758 iter.cur = (const uByte *)usbd_get_interface_descriptor(ifh);
779 status = usbd_open_pipe_intr(ifh, addr, USBD_SHORT_XFER_OK, &pipe,
1039 uhso_bulk_attach(struct uhso_softc *sc, struct usbd_interface *ifh, int index)
1046 ed = uhso_get_endpoint(ifh, UE_BULK, UE_DIR_IN);
1053 ed = uhso_get_endpoint(ifh, UE_BULK, UE_DIR_OUT);
1060 id = usbd_get_interface_descriptor(ifh);
1080 hp->hp_ifh = ifh;
1097 ed = uhso_get_endpoint(ifh, UE_INTERRUPT, UE_DIR_IN);
1905 uhso_ifnet_attach(struct uhso_softc *sc, struct usbd_interface *ifh, int index)
1912 ed = uhso_get_endpoint(ifh, UE_BULK, UE_DIR_IN);
1921 ed = uhso_get_endpoint(ifh, UE_BULK, UE_DIR_OUT);
1956 hp->hp_ifh = ifh;