Lines Matching refs:ifh

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